2024-02-13 16:35:16 -03:00

642 B

Solidity API

Multicall

Contract that batches view function calls and aggregates their results.

CallFailed

error CallFailed(string reason)

0x

Call

struct Call {
  address target;
  bytes callData;
}

Result

struct Result {
  bool success;
  bytes returnData;
}

constructor

constructor() public payable

mtc1

function mtc1(struct Multicall.Call[] calls) external returns (uint256, bytes[])

mtc2

function mtc2(struct Multicall.Call[] calls) external returns (uint256, bytes32, struct Multicall.Result[])