@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 • 354 B
TypeScript
import { Decimal } from '../utils/numerics';
import { DecodedOrder } from '../common/types';
export declare function getMinRate(orders: DecodedOrder[]): Decimal;
export declare function getMaxRate(orders: DecodedOrder[]): Decimal;
export declare function getDepths(orders: DecodedOrder[], rates: Decimal[]): Decimal[];
//# sourceMappingURL=stats.d.ts.map