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

7 lines 565 B
import { Decimal, BigNumber } from '../utils/numerics'; import { EncodedOrder, DecodedOrder } from '../common/types'; export declare const getEncodedTradeTargetAmount: (amount: BigNumber, order: EncodedOrder) => BigNumber; export declare const getEncodedTradeSourceAmount: (amount: BigNumber, order: EncodedOrder) => BigNumber; export declare const getDecodedTradeTargetAmount: (amount: Decimal, order: DecodedOrder) => Decimal; export declare const getDecodedTradeSourceAmount: (amount: Decimal, order: DecodedOrder) => Decimal; //# sourceMappingURL=trade.d.ts.map