UNPKG

@bayswap/sdk

Version:

SDK for BaySwap smart contract

10 lines (9 loc) 656 B
export declare const getCoinTypeFromFullType: (fullType: string) => string; export declare const getSymbolFromType: (type: string) => string; export declare const getSymbolFromFullType: (fullType: string) => string; export declare const wrapCoinType: (type: string) => string; export declare const unwrapCoinType: (fullType: string) => string; export declare const sortCoin: (coinX: string, coinY: string) => [string, string]; export declare const getTypeFromSupply: (supply: string) => string; export declare const buildPoolName: (coin1: string, coin2: string) => string; export declare const isCoinOrderSorted: (coin1: string, coin2: string) => boolean;