Variables
FCD_URL
FCD_URL: "https://fcd.terra.dev/" = "https://fcd.terra.dev/"
LCD_URL
LCD_URL: "https://lcd.contco.dev/" = "https://lcd.contco.dev/"
LUNA_DENOM
LUNA_DENOM: "uluna" = 'uluna'
MANTLE_URL
MANTLE_URL: "https://mantle.terra.dev/" = 'https://mantle.terra.dev/'
MICRO
MICRO: 1000000 = 1000000
TEFI_API
TEFI_API: "https://api.contco.dev/" = "https://api.contco.dev/"
UUSD_DENOM
UUSD_DENOM: "uusd" = 'uusd'
math
math: { ceil: (n: Value) => string; decimal: (number?: string, decimals?: number) => string; div: (a?: Value, b?: Value) => string; floor: (n: Value) => string; gt: (a: Value, b: Value) => boolean; minus: (a?: Value, b?: Value) => string; plus: (a?: Value, b?: Value) => string; sum: (array: any) => string; times: (a?: Value, b?: Value) => string; toAmount: (amount: string, decimals?: number) => string } = ...
Type declaration
ceil: (n: Value) => string
decimal: (number?: string, decimals?: number) => string
- (number?: string, decimals?: number): string
Parameters
number: string = '0'
decimals: number = 6
Returns string
div: (a?: Value, b?: Value) => string
- (a?: Value, b?: Value): string
Parameters
Optional a: Value
Optional b: Value
Returns string
floor: (n: Value) => string
gt: (a: Value, b: Value) => boolean
- (a: Value, b: Value): boolean
Parameters
Returns boolean
minus: (a?: Value, b?: Value) => string
- (a?: Value, b?: Value): string
Parameters
Optional a: Value
Optional b: Value
Returns string
plus: (a?: Value, b?: Value) => string
- (a?: Value, b?: Value): string
Parameters
Optional a: Value
Optional b: Value
Returns string
sum: (array: any) => string
times: (a?: Value, b?: Value) => string
- (a?: Value, b?: Value): string
Parameters
Optional a: Value
Optional b: Value
Returns string
toAmount: (amount: string, decimals?: number) => string
- (amount: string, decimals?: number): string
Parameters
amount: string
decimals: number = 6
Returns string
networks
networks: Record<string, MirrorNetworkInfo> = ...