Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 820 Bytes

File metadata and controls

33 lines (19 loc) · 820 Bytes

Multicall

Multicall

Enables calling multiple methods in a single call to the contract

Inherits: IMulticall

Functions

multicall

function multicall(bytes[] data) external payable returns (bytes[] results)

Selector: 0xac9650d8

Call multiple functions in the current contract and return the data from all of them if they all succeed

Developer note: The `msg.value` should not be trusted for any method callable from multicall.

Name Type Description
data bytes[] The encoded function data for each of the calls to make to this contract

Returns:

Name Type Description
results bytes[] The results from each of the calls passed in via data