UNPKG

mojito-testnet-sdk

Version:

🛠 An SDK for building applications on top of mojitoswap in testnet.

10 lines (9 loc) • 627 B
import JSBI from 'jsbi'; import { BigintIsh, SolidityType } from './constants'; import { Token } from './entities/token'; export declare function validateSolidityTypeInstance(value: JSBI, solidityType: SolidityType): void; export declare function validateAndParseAddress(address: string): string; export declare function parseBigintIsh(bigintIsh: BigintIsh): JSBI; export declare function sqrt(y: JSBI): JSBI; export declare function sortedInsert<T>(items: T[], add: T, maxSize: number, comparator: (a: T, b: T) => number): T | null; export declare function getPairSwapFee(tokenA: Token, tokenB: Token): Promise<any>;