@yokaiswap/sdk
Version:
🛠An SDK for building applications on top of YokaiSwap.
9 lines (8 loc) • 598 B
TypeScript
import JSBI from 'jsbi';
import { BigintIsh, SolidityType } from './constants';
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 create2ContractAddressToGodwokenShortAddress(ethAddress: string): string;