alphaswap-sdk
Version:
🛠An SDK for building applications on top of Uniswap on KCC.
8 lines (7 loc) • 499 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;