UNPKG

maia-core-sdk

Version:

⚒️ An SDK for building applications on top of Maia DAO Ecosytem

30 lines (29 loc) 818 B
import JSBI from 'jsbi'; /** * @name BigintIsh * @description * A type representing a bigint, a string, or a number. This is used for specifying the * amount of tokens, which can be specified as a normal number, a string, or a bigint. */ export declare type BigintIsh = JSBI | string | number; export declare enum Rounding { ROUND_DOWN = 0, ROUND_HALF_UP = 1, ROUND_UP = 2 } /** * @name AddressMap * @description * A type representing a map of chain IDs to addresses. This is used for specifying * the addresses for a protocol/token on different chains. */ export declare type AddressMap = { [chainId: number]: string; }; /** * Return parameters of the create params functions */ export interface MethodReturnParams { calldata: string; value: string; }