Module env

Module env 

Source

Structs§

HostioInfo
Wrapper providing access to host I/O operations during WASM execution.
MeterData
Ink meter data stored as raw pointers to WASM globals.
WasmEnv
The WASM execution environment.

Functions§

page_limit_exceeded
Consensus open-page cap (ArbOS >= 59): a non-zero page_limit that new_open exceeds forces a saturating out-of-gas charge.
pay_for_memory_grow_overflows
pay_for_memory_grow page operand overflow (ArbOS >= 59): an operand wider than u16::MAX must buy the whole gas budget before truncation, so the program traps out of ink rather than wrapping to a cheap small grow.

Type Aliases§

WasmEnvMut