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 542 B
import { Decimal } from '../utils/numerics'; import { EncodedOrder, DecodedOrder } from '../common/types'; export declare const getEncodedTradeTargetAmount: (amount: bigint, order: EncodedOrder) => bigint; export declare const getEncodedTradeSourceAmount: (amount: bigint, order: EncodedOrder) => bigint; export declare const getDecodedTradeTargetAmount: (amount: Decimal, order: DecodedOrder) => Decimal; export declare const getDecodedTradeSourceAmount: (amount: Decimal, order: DecodedOrder) => Decimal; //# sourceMappingURL=trade.d.ts.map