UNPKG

@bancor/carbon-sdk

Version:

The SDK is a READ-ONLY tool, intended to facilitate working with Carbon contracts. It's a convenient wrapper around our matching algorithm, allowing programs and users get a ready to use transaction data that will allow them to manage strategies and fulfi

6 lines 384 B
import { EncodedOrder, TokenPair } from '../common/types'; export declare const toPairKey: (token0: string, token1: string) => string; export declare const fromPairKey: (key: string) => TokenPair; export declare const toDirectionKey: (token0: string, token1: string) => string; export declare function isOrderTradable(order: EncodedOrder): boolean; //# sourceMappingURL=utils.d.ts.map