Expand description
Multicall3 contract interface. See: https://github.com/mds1/multicall
contract IMulticall3 {
struct Call3 { address target; bool allowFailure; bytes callData; }
struct Result { bool success; bytes returnData; }
function aggregate3(Call3[] calldata calls) external payable returns (Result[] memory returnData);
}Structs§
- Call3
- IMulticall3
Instance - A
IMulticall3instance. - Result
- aggregate3
Call - Aggregate calls, returning the results.
Reverts if any call fails when allowFailure is false.
Function with signature
aggregate3((address,bool,bytes)[])and selector0x82ad56cb. - aggregate3
Return - Aggregate calls, returning the results.
Reverts if any call fails when allowFailure is false.
Container type for the return parameters of the
aggregate3((address,bool,bytes)[])function.
Enums§
- IMulticall3
Calls - Container for all the
IMulticall3function calls.
Functions§
- new
- Creates a new wrapper around an on-chain
IMulticall3contract instance.