Skip to main content

IMulticall.sol

Read code on GitHub

Methods

multicall

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

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

msg.value should not be trusted for any method callable from Multicall

Parameters

NameTypeDescription
databytes[]Encoded function data for each of the calls to make to this contract

Returns

NameTypeDescription
resultsbytes[]Results from each of the calls passed in via data