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

19 lines 685 B
import { CarbonController, Multicall, Voucher, Token, CarbonBatcher } from '../abis/types'; import { Provider } from '@ethersproject/providers'; import { ContractsConfig } from './types'; export declare class Contracts { private _provider; private _carbonController; private _multiCall; private _voucher; private _carbonBatcher; private _config; constructor(provider: Provider, config?: ContractsConfig); get carbonController(): CarbonController; get carbonBatcher(): CarbonBatcher; get multicall(): Multicall; get voucher(): Voucher; token(address: string): Token; get provider(): Provider; } //# sourceMappingURL=Contracts.d.ts.map