EVMC
|
The Host interface. More...
#include <evmc.h>
Public Attributes | |
evmc_account_exists_fn | account_exists |
Check account existence callback function. | |
evmc_get_storage_fn | get_storage |
Get storage callback function. | |
evmc_set_storage_fn | set_storage |
Set storage callback function. | |
evmc_get_balance_fn | get_balance |
Get balance callback function. | |
evmc_get_code_size_fn | get_code_size |
Get code size callback function. | |
evmc_get_code_hash_fn | get_code_hash |
Get code hash callback function. | |
evmc_copy_code_fn | copy_code |
Copy code callback function. | |
evmc_selfdestruct_fn | selfdestruct |
Selfdestruct callback function. | |
evmc_call_fn | call |
Call callback function. | |
evmc_get_tx_context_fn | get_tx_context |
Get transaction context callback function. | |
evmc_get_block_hash_fn | get_block_hash |
Get block hash callback function. | |
evmc_emit_log_fn | emit_log |
Emit log callback function. | |
evmc_access_account_fn | access_account |
Access account callback function. | |
evmc_access_storage_fn | access_storage |
Access storage callback function. | |
evmc_get_transient_storage_fn | get_transient_storage |
Get transient storage callback function. | |
evmc_set_transient_storage_fn | set_transient_storage |
Set transient storage callback function. | |
The Host interface.
The set of all callback functions expected by VM instances. This is C realisation of vtable for OOP interface (only virtual methods, no data). Host implementations SHOULD create constant singletons of this (similarly to vtables) to lower the maintenance and memory management cost.
evmc_access_account_fn evmc_host_interface::access_account |
evmc_access_storage_fn evmc_host_interface::access_storage |
evmc_account_exists_fn evmc_host_interface::account_exists |
evmc_call_fn evmc_host_interface::call |
evmc_copy_code_fn evmc_host_interface::copy_code |
evmc_emit_log_fn evmc_host_interface::emit_log |
evmc_get_balance_fn evmc_host_interface::get_balance |
evmc_get_block_hash_fn evmc_host_interface::get_block_hash |
evmc_get_code_hash_fn evmc_host_interface::get_code_hash |
evmc_get_code_size_fn evmc_host_interface::get_code_size |
evmc_get_storage_fn evmc_host_interface::get_storage |
evmc_get_transient_storage_fn evmc_host_interface::get_transient_storage |
evmc_get_tx_context_fn evmc_host_interface::get_tx_context |
evmc_selfdestruct_fn evmc_host_interface::selfdestruct |
evmc_set_storage_fn evmc_host_interface::set_storage |
evmc_set_transient_storage_fn evmc_host_interface::set_transient_storage |