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

15 lines 837 B
import { BigNumberish } from '../utils/numerics'; import { PayableOverrides } from 'ethers'; import { Interface } from '@ethersproject/abi'; import { Multicall } from '../abis/types'; import { TradeAction } from '../common/types'; export interface MultiCall { contractAddress: string; interface: Interface; methodName: string; methodParameters: any[]; } export declare const multicall: (calls: MultiCall[], multicallContract: Multicall, blockHeight?: number) => Promise<(import("@ethersproject/abi").Result | never[])[] | undefined>; export declare const isETHAddress: (address: string) => boolean; export declare const buildTradeOverrides: (sourceToken: string, tradeActions: TradeAction[], byTarget: boolean, maxInput: BigNumberish, overrides?: PayableOverrides) => PayableOverrides; //# sourceMappingURL=utils.d.ts.map