UNPKG

@zenlink-types/bifrost

Version:
29 lines (28 loc) 1.1 kB
import '@polkadot/api-base/types/consts'; import type { NodePrimitivesCurrencyCurrencyId } from '@bifrost-finance/types/interfaces/primitives'; import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; import type { u32 } from '@polkadot/types-codec'; import type { Codec } from '@polkadot/types-codec/types'; export declare type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>; declare module '@polkadot/api-base/types/consts' { interface AugmentedConsts<ApiType extends ApiTypes> { currencies: { getNativeCurrencyId: NodePrimitivesCurrencyCurrencyId & AugmentedConst<ApiType>; /** * Generic const **/ [key: string]: Codec; }; tokens: { maxLocks: u32 & AugmentedConst<ApiType>; /** * The maximum number of named reserves that can exist on an account. **/ maxReserves: u32 & AugmentedConst<ApiType>; /** * Generic const **/ [key: string]: Codec; }; } }