@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
8 lines • 318 B
TypeScript
export type DecimalFetcher = (address: string) => Promise<number | undefined> | number | undefined;
export declare class Decimals {
private _fetcher;
private _cachedDecimals;
constructor(fetcher: DecimalFetcher);
fetchDecimals(address: string): Promise<number>;
}
//# sourceMappingURL=decimals.d.ts.map