UNPKG

ethereum-multicall-extended

Version:

Multicall allows multiple smart contract constant function calls to be grouped into a single call and the results aggregated into a single result

17 lines (16 loc) 475 B
import { CallContext } from './call-context'; export interface CallReturnContext extends CallContext { returnValues: any[]; /** * This stats if it could decode the result or not */ decoded: boolean; /** * If this context was successful, this will always be try * if you dont use the try aggregate logic */ success: boolean; } export interface Result extends ReadonlyArray<any> { readonly [key: string]: any; }