wormhole/backend/common/settings.ts

29 lines
540 B
TypeScript

/**
* Pricecaster Service.
*
* Fetcher backend component.
*
* (c) 2021 Randlabs, Inc.
*/
export interface IAppSettings extends Record<string, unknown> {
mode: string,
algo: {
token: string,
api: string,
port: string,
},
pyth?: {
solanaClusterName?: string
},
params: {
verbose?: boolean,
symbol: string,
bufferSize: number,
publishIntervalSecs: number,
priceKeeperAppId: BigInt,
validator: string,
mnemo?: string
}
}