axelar-gmp-sdk-solidity

Solidity API

Multicall

This contract is a multi-functional smart contract which allows for multiple contract calls in a single transaction.

multicall

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

Performs multiple delegate calls and returns the results of all calls as an array

This function requires that the contract has sufficient balance for the delegate calls. If any of the calls fail, the function will revert with the failure message.

Parameters

Name Type Description
data bytes[] An array of encoded function calls

Return Values

Name Type Description
results bytes[] An bytes array with the return data of each function call