Enables calling multiple methods in a single call to the contract
function multicall( bytes[] data ) external payable override returns (bytes[] results)
Call multiple functions in the current contract and return the data from all of them if they all succeed
The msg.value should not be trusted for any method callable from multicall.
msg.value
Parameters:βarrow-up-right
data
bytes[]
The encoded function data for each of the calls to make to this contract
Return Values:βarrow-up-right
results
The results from each of the calls passed in via data
Last updated 1 year ago