stargaze-studio/config/app.ts

28 lines
609 B
TypeScript
Raw Normal View History

2022-07-13 13:56:36 +00:00
export interface MappedCoin {
readonly denom: string
readonly fractionalDigits: number
}
export type CoinMap = Readonly<Record<string, MappedCoin>>
export interface FeeOptions {
upload: number
exec: number
init: number
}
export interface AppConfig {
readonly chainId: string
readonly chainName: string
readonly addressPrefix: string
readonly rpcUrl: string
readonly httpUrl?: string
readonly faucetUrl?: string
readonly feeToken: string
readonly stakingToken: string
readonly coinMap: CoinMap
readonly gasPrice: number
readonly fees: FeeOptions
readonly codeId?: number
}