Expand description
Module containing a contract’s types and functions.
contract BlockInfo {
function blockNumber() public view returns (uint) { <stmts> }
function coinbase() public view returns (address) { <stmts> }
function timestamp() public view returns (uint) { <stmts> }
function difficulty() public view returns (uint) { <stmts> }
function gaslimit() public view returns (uint) { <stmts> }
function chainid() public view returns (uint) { <stmts> }
function basefee() public view returns (uint) { <stmts> }
}Structs§
- basefee
Call - Function with signature
basefee()and selector0x5cf24969. - basefee
Return - Container type for the return parameters of the
basefee()function. - block
Number Call - Function with signature
blockNumber()and selector0x57e871e7. - block
Number Return - Container type for the return parameters of the
blockNumber()function. - chainid
Call - Function with signature
chainid()and selector0xcd84980e. - chainid
Return - Container type for the return parameters of the
chainid()function. - coinbase
Call - Function with signature
coinbase()and selector0xa6ae0aac. - coinbase
Return - Container type for the return parameters of the
coinbase()function. - difficulty
Call - Function with signature
difficulty()and selector0x19cae462. - difficulty
Return - Container type for the return parameters of the
difficulty()function. - gaslimit
Call - Function with signature
gaslimit()and selector0x2a722839. - gaslimit
Return - Container type for the return parameters of the
gaslimit()function. - timestamp
Call - Function with signature
timestamp()and selector0xb80777ea. - timestamp
Return - Container type for the return parameters of the
timestamp()function.
Enums§
- Block
Info Calls - Container for all the
BlockInfofunction calls.