Module pricing
Source - evm_gas
- EVM gas constants used by host functions.
- hostio
- Per-hostio base ink costs.
- ADD_MOD_INK
- Extra cost for addmod.
- DIV_INK
- Extra cost for division/modulo operations.
- EVM_API_INK
- Extra cost for hostios that involve an API cost.
- HOSTIO_INK
- Base cost for hostios that may return something.
- MUL_MOD_INK
- Extra cost for mulmod.
- PTR_INK
- Extra cost for hostios that include pointers.
- keccak_price
- Cost of keccak256 over
bytes. - pow_price
- Cost of exponentiation based on the exponent’s byte size.
- read_price
- Cost to read
bytes from WASM memory. - write_price
- Cost to write
bytes to WASM memory.