referrerpolicy=no-referrer-when-downgrade

Module Caller

Source
Expand description

Module containing a contract’s types and functions.

contract Caller {
    function normal(address _callee, uint _value, bytes memory _data, uint _gas) external returns (bool success, bytes memory output) { <stmts> }
    function delegate(address _callee, bytes memory _data, uint _gas) external returns (bool success, bytes memory output) { <stmts> }
    function staticCall(address _callee, bytes memory _data, uint _gas) external view returns (bool success, bytes memory output) { <stmts> }
    function create(bytes memory initcode) external payable returns (address addr) { <stmts> }
    function create2(bytes memory initcode, bytes32 salt) external payable returns (address addr) { <stmts> }
}

Structs§

create2Call
Function with signature create2(bytes,bytes32) and selector 0x8c0b8db2.
create2Return
Container type for the return parameters of the create2(bytes,bytes32) function.
createCall
Function with signature create(bytes) and selector 0xcf5ba53f.
createReturn
Container type for the return parameters of the create(bytes) function.
delegateCall
Function with signature delegate(address,bytes,uint256) and selector 0x3401d399.
delegateReturn
Container type for the return parameters of the delegate(address,bytes,uint256) function.
normalCall
Function with signature normal(address,uint256,bytes,uint256) and selector 0x205267c8.
normalReturn
Container type for the return parameters of the normal(address,uint256,bytes,uint256) function.
staticCallCall
Function with signature staticCall(address,bytes,uint256) and selector 0xf5f8cde5.
staticCallReturn
Container type for the return parameters of the staticCall(address,bytes,uint256) function.

Enums§

CallerCalls
Container for all the Caller function calls.