Module Multicall3

Module Multicall3 

Source
Expand description

Module containing a contract’s types and functions.

contract Multicall3 {
    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
Multicall3Instance
A Multicall3 instance.
Result
aggregate3Call
Function with signature aggregate3((address,bool,bytes)[]) and selector 0x82ad56cb.
aggregate3Return
Container type for the return parameters of the aggregate3((address,bool,bytes)[]) function.

Enums§

Multicall3Calls
Container for all the Multicall3 function calls.

Functions§

new
Creates a new wrapper around an on-chain Multicall3 contract instance.