UNPKG

@dolomite-exchange/dolomite-margin

Version:

Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol

15 lines (14 loc) 454 B
import { Contracts } from '../lib/Contracts'; import { ContractConstantCallOptions, Integer } from '../types'; export declare class MultiCall { private contracts; constructor(contracts: Contracts); getCurrentBlockTimestamp(): Promise<Integer>; aggregate(calls: { target: string; callData: string; }[], options?: ContractConstantCallOptions): Promise<{ blockNumber: number; results: string[]; }>; }