Functions§
- account_
balance - Get an account’s balance.
- account_
code - Get an account’s code.
- account_
code_ size - Get an account’s code size.
- account_
codehash - Get an account’s code hash.
- block_
basefee - Write the block base fee.
- block_
coinbase - Write the block coinbase address.
- block_
gas_ limit - Get the block gas limit.
- block_
number - Get the block number.
- block_
timestamp - Get the block timestamp.
- call_
contract - Execute a CALL.
- chainid
- Get the chain ID.
- console_
log - Log a value to console (debug only).
- console_
log_ text - Log text to console (debug only).
- console_
tee - Log and return a value (debug only).
- contract_
address - Write the contract address.
- create1
- Deploy a contract via CREATE.
- create2
- Deploy a contract via CREATE2.
- delegate_
call_ contract - Execute a DELEGATECALL.
- emit_
log - Emit a log.
- end_
benchmark - End a benchmark measurement (debug only).
- evm_
gas_ left - Get remaining EVM gas.
- evm_
ink_ left - Get remaining ink.
- exit_
early - Exit the program early with a status code.
- math_
add_ mod - 256-bit addmod.
- math_
div - 256-bit division.
- math_
mod - 256-bit modulo.
- math_
mul_ mod - 256-bit mulmod.
- math_
pow - 256-bit power.
- msg_
reentrant - Get the reentrant counter.
- msg_
sender - Write the message sender address.
- msg_
value - Write the message value.
- native_
keccak256 - Compute keccak256 hash.
- null_
host - No-op host function (debug only).
- pay_
for_ memory_ grow - Charge for WASM memory growth.
- read_
args - Read the program’s arguments into WASM memory.
- read_
return_ data - Read return data into WASM memory.
- return_
data_ size - Get the size of the return data.
- start_
benchmark - Start a benchmark measurement (debug only).
- static_
call_ contract - Execute a STATICCALL.
- storage_
cache_ bytes32 - Cache a 32-byte storage value for later flushing.
- storage_
flush_ cache - Flush the storage cache.
- storage_
load_ bytes32 - Load a 32-byte storage value.
- transient_
load_ bytes32 - Load a transient storage value.
- transient_
store_ bytes32 - Store a transient storage value.
- tx_
gas_ price - Write the transaction gas price.
- tx_
ink_ price - Get the ink price.
- tx_
origin - Write the transaction origin address.
- write_
result - Write the program’s result from WASM memory.