Multicall

Inherits: IMulticall

Functions

multicall

This function allows multiple calls to different contract functions in a single transaction.

function multicall(bytes[] calldata data) external returns (bytes[] memory results);

Parameters

Name
Type
Description

data

bytes[]

An array of encoded function call data.

Returns

Name
Type
Description

results

bytes[]

An array of the results of the function calls.

Last updated