UNPKG

mojito-sdk

Version:

🛠 An SDK for building applications on top of mojitoswap.

36 lines (35 loc) • 1.05 kB
import JSBI from 'jsbi'; export declare type BigintIsh = JSBI | bigint | string; export declare enum ChainId { MAINNET = 321, TESTNET = 322 } export declare enum TradeType { EXACT_INPUT = 0, EXACT_OUTPUT = 1 } export declare enum Rounding { ROUND_DOWN = 0, ROUND_HALF_UP = 1, ROUND_UP = 2 } export declare const FACTORY_ADDRESS = "0x917aB4FB0225D6BC87BcFDA636A938D61ecfFc2e"; export declare const INIT_CODE_HASH = "0x5d9d4fd484153b969fae6e8004d08db3e881893e4e7d97be4985120a36a38e30"; export declare const MINIMUM_LIQUIDITY: JSBI; export declare const ZERO: JSBI; export declare const ONE: JSBI; export declare const TWO: JSBI; export declare const THREE: JSBI; export declare const FIVE: JSBI; export declare const TEN: JSBI; export declare const _100: JSBI; export declare const _998: JSBI; export declare const _1000: JSBI; export declare enum SolidityType { uint8 = "uint8", uint256 = "uint256" } export declare const SOLIDITY_TYPE_MAXIMA: { uint8: JSBI; uint256: JSBI; };