referrerpolicy=no-referrer-when-downgrade

Module Host

Source
Expand description

Module containing a contract’s types and functions.

contract Host {
    function balance(address account) public view returns (uint256) { <stmts> }
    function extcodesizeOp(address account) public view returns (uint256) { <stmts> }
    function extcodehashOp(address account) public view returns (bytes32) { <stmts> }
    function blockhashOp(uint256 blockNumber) public view returns (bytes32) { <stmts> }
    function sloadOp(uint256 slot) public view returns (uint256) { <stmts> }
    function sstoreOp(uint256 slot, uint256 value) public { <stmts> }
    function logOps() public { <stmts> }
    function selfbalance() public view returns (uint256) { <stmts> }
}

Structs§

balanceCall
Function with signature balance(address) and selector 0xe3d670d7.
balanceReturn
Container type for the return parameters of the balance(address) function.
blockhashOpCall
Function with signature blockhashOp(uint256) and selector 0x29d793b9.
blockhashOpReturn
Container type for the return parameters of the blockhashOp(uint256) function.
extcodehashOpCall
Function with signature extcodehashOp(address) and selector 0xe42cf66b.
extcodehashOpReturn
Container type for the return parameters of the extcodehashOp(address) function.
extcodesizeOpCall
Function with signature extcodesizeOp(address) and selector 0x5421a28a.
extcodesizeOpReturn
Container type for the return parameters of the extcodesizeOp(address) function.
logOpsCall
Function with signature logOps() and selector 0xe68d826f.
logOpsReturn
Container type for the return parameters of the logOps() function.
selfbalanceCall
Function with signature selfbalance() and selector 0xbf8e7c1c.
selfbalanceReturn
Container type for the return parameters of the selfbalance() function.
sloadOpCall
Function with signature sloadOp(uint256) and selector 0x1a62e422.
sloadOpReturn
Container type for the return parameters of the sloadOp(uint256) function.
sstoreOpCall
Function with signature sstoreOp(uint256,uint256) and selector 0x606b05dd.
sstoreOpReturn
Container type for the return parameters of the sstoreOp(uint256,uint256) function.

Enums§

HostCalls
Container for all the Host function calls.