735546619e
Signed-off-by: T-Hax <>
14 lines
705 B
Solidity
14 lines
705 B
Solidity
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
pragma solidity >=0.7.5;
|
|
pragma abicoder v2;
|
|
|
|
/// @title Multicall interface
|
|
/// @notice Enables calling multiple methods in a single call to the contract
|
|
interface IMulticall {
|
|
/// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed
|
|
/// @dev The `msg.value` should not be trusted for any method callable from multicall.
|
|
/// @param data The encoded function data for each of the calls to make to this contract
|
|
/// @return results The results from each of the calls passed in via data
|
|
function multicall(bytes[] calldata data) external payable returns (bytes[] memory results);
|
|
}
|