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

5 lines 446 B
import { Filter, MatchOptions, MatchType, OrdersMap } from '../common/types'; import { BigNumber } from '../utils/numerics'; export declare const matchBySourceAmount: (amount: BigNumber, ordersMap: OrdersMap, matchTypes: MatchType[], filter?: Filter) => MatchOptions; export declare const matchByTargetAmount: (amount: BigNumber, ordersMap: OrdersMap, matchTypes: MatchType[], filter?: Filter) => MatchOptions; //# sourceMappingURL=match.d.ts.map