Skip to main content

MulticallFacet

MulticallFacet

multicall

function multicall(bytes[] data) public returns (bytes[] result)

Receives and executes a batch of function calls on this contract.

_execute

function _execute(bytes callData) internal returns (bytes ret)

multicallThen

function multicallThen(bytes[] data, uint256[] indices) public returns (bytes[] result)

_sliceBytes

function _sliceBytes(bytes data, uint256 start, uint256 len) internal pure returns (bytes)

_msgSender

function _msgSender() internal view returns (address sender)

onlyOwner

modifier onlyOwner()

add

function add(uint256 a, uint256 b) public pure returns (uint256)

sub

function sub(uint256 a, uint256 b) public pure returns (uint256)

mul

function mul(uint256 a, uint256 b) public pure returns (uint256)

div

function div(uint256 a, uint256 b) public pure returns (uint256)

mod

function mod(uint256 a, uint256 b) public pure returns (uint256)