API reference v2.0
Introduction
core
periphery
IMulticall

IMulticall

IMulticall

Multicall interface

Enables calling multiple methods in a single call to the contract

Functions

multicall

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

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.

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

Returns:

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