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§
- address
Func Call - Function with signature
addressFunc()and selector0x5559d701. - address
Func Return - Container type for the return parameters of the
addressFunc()function. - calldatacopy
Call - Function with signature
calldatacopy(uint256,uint256,uint256)and selector0x196b5a2c. - calldatacopy
Return - Container type for the return parameters of the
calldatacopy(uint256,uint256,uint256)function. - calldataload
Call - Function with signature
calldataload(uint256)and selector0x25fa17ea. - calldataload
Return - Container type for the return parameters of the
calldataload(uint256)function. - calldatasize
Call - Function with signature
calldatasize()and selector0xcc2de94f. - calldatasize
Return - Container type for the return parameters of the
calldatasize()function. - caller
Call - Function with signature
caller()and selector0xfc9c8d39. - caller
Return - Container type for the return parameters of the
caller()function. - callvalue
Call - Function with signature
callvalue()and selector0xa8e90284. - callvalue
Return - Container type for the return parameters of the
callvalue()function. - codecopy
Call - Function with signature
codecopy(uint256,uint256,uint256)and selector0xee68863c. - codecopy
Return - Container type for the return parameters of the
codecopy(uint256,uint256,uint256)function. - codesize
Call - Function with signature
codesize()and selector0x29d64265. - codesize
Return - Container type for the return parameters of the
codesize()function. - gasCall
- Function with signature
gas()and selector0x6ca7c216. - gasReturn
- Container type for the return parameters of the
gas()function. - keccak256
Func Call - Function with signature
keccak256Func(bytes)and selector0x7536f1d6. - keccak256
Func Return - Container type for the return parameters of the
keccak256Func(bytes)function. - returndatacopy
Call - Function with signature
returndatacopy(address,bytes,uint256,uint256,uint256,uint256)and selector0xeb6cdf42. - returndatacopy
Return - Container type for the return parameters of the
returndatacopy(address,bytes,uint256,uint256,uint256,uint256)function. - returndatasize
Call - Function with signature
returndatasize(address,bytes,uint256)and selector0xfa945fcb. - returndatasize
Return - Container type for the return parameters of the
returndatasize(address,bytes,uint256)function.
Enums§
- System
Calls - Container for all the
Systemfunction calls.