referrerpolicy=no-referrer-when-downgrade

Module System

Source
Expand description

Module containing a contract’s types and functions.

contract System {
    function keccak256Func(bytes memory data) public pure returns (bytes32) { <stmts> }
    function addressFunc() public view returns (address) { <stmts> }
    function caller() public view returns (address) { <stmts> }
    function callvalue() public payable returns (uint256) { <stmts> }
    function calldataload(uint256 offset) public pure returns (bytes32) { <stmts> }
    function calldatasize() public pure returns (uint256) { <stmts> }
    function calldatacopy(uint256 destOffset, uint256 offset, uint256 size) public pure returns (bytes memory) { <stmts> }
    function codesize() public pure returns (uint256) { <stmts> }
    function codecopy(uint256, uint256, uint256 size) public pure returns (bytes memory) { <stmts> }
    function returndatasize(address _callee, bytes memory _data, uint _gas) public returns (uint256) { <stmts> }
    function returndatacopy(address _callee, bytes memory _data, uint _gas, uint256 destOffset, uint256 offset, uint256 size) public returns (bytes memory) { <stmts> }
    function gas() public view returns (uint256) { <stmts> }
}

Structs§

addressFuncCall
Function with signature addressFunc() and selector 0x5559d701.
addressFuncReturn
Container type for the return parameters of the addressFunc() function.
calldatacopyCall
Function with signature calldatacopy(uint256,uint256,uint256) and selector 0x196b5a2c.
calldatacopyReturn
Container type for the return parameters of the calldatacopy(uint256,uint256,uint256) function.
calldataloadCall
Function with signature calldataload(uint256) and selector 0x25fa17ea.
calldataloadReturn
Container type for the return parameters of the calldataload(uint256) function.
calldatasizeCall
Function with signature calldatasize() and selector 0xcc2de94f.
calldatasizeReturn
Container type for the return parameters of the calldatasize() function.
callerCall
Function with signature caller() and selector 0xfc9c8d39.
callerReturn
Container type for the return parameters of the caller() function.
callvalueCall
Function with signature callvalue() and selector 0xa8e90284.
callvalueReturn
Container type for the return parameters of the callvalue() function.
codecopyCall
Function with signature codecopy(uint256,uint256,uint256) and selector 0xee68863c.
codecopyReturn
Container type for the return parameters of the codecopy(uint256,uint256,uint256) function.
codesizeCall
Function with signature codesize() and selector 0x29d64265.
codesizeReturn
Container type for the return parameters of the codesize() function.
gasCall
Function with signature gas() and selector 0x6ca7c216.
gasReturn
Container type for the return parameters of the gas() function.
keccak256FuncCall
Function with signature keccak256Func(bytes) and selector 0x7536f1d6.
keccak256FuncReturn
Container type for the return parameters of the keccak256Func(bytes) function.
returndatacopyCall
Function with signature returndatacopy(address,bytes,uint256,uint256,uint256,uint256) and selector 0xeb6cdf42.
returndatacopyReturn
Container type for the return parameters of the returndatacopy(address,bytes,uint256,uint256,uint256,uint256) function.
returndatasizeCall
Function with signature returndatasize(address,bytes,uint256) and selector 0xfa945fcb.
returndatasizeReturn
Container type for the return parameters of the returndatasize(address,bytes,uint256) function.

Enums§

SystemCalls
Container for all the System function calls.