|
typedef void(* | evm_release_result_fn) (struct evm_result const *result) |
| Forward declaration. More...
|
|
typedef void(* | evm_query_fn) (union evm_variant *result, struct evm_env *env, enum evm_query_key key, const union evm_variant *arg) |
| Query callback function. More...
|
|
typedef void(* | evm_update_fn) (struct evm_env *env, enum evm_update_key key, const union evm_variant *arg1, const union evm_variant *arg2) |
| Update callback function. More...
|
|
typedef int64_t(* | evm_call_fn) (struct evm_env *env, enum evm_call_kind kind, int64_t gas, const struct evm_uint160be *address, const struct evm_uint256be *value, uint8_t const *input, size_t input_size, uint8_t *output, size_t output_size) |
| Pointer to the callback function supporting EVM calls. More...
|
|
typedef struct evm_instance *(* | evm_create_fn) (evm_query_fn query_fn, evm_update_fn update_fn, evm_call_fn call_fn) |
| Forward declaration. More...
|
|
typedef void(* | evm_destroy_fn) (struct evm_instance *evm) |
| Destroys the EVM instance. More...
|
|
typedef int(* | evm_set_option_fn) (struct evm_instance *evm, char const *name, char const *value) |
| Configures the EVM instance. More...
|
|
typedef struct evm_result(* | evm_execute_fn) (struct evm_instance *instance, struct evm_env *env, enum evm_mode mode, struct evm_uint256be code_hash, uint8_t const *code, size_t code_size, int64_t gas, uint8_t const *input, size_t input_size, struct evm_uint256be value) |
| Generates and executes machine code for given EVM bytecode. More...
|
|
typedef enum evm_code_status(* | evm_get_code_status_fn) (struct evm_instance *instance, enum evm_mode mode, struct evm_uint256be code_hash) |
| Get information the status of the code in the VM. More...
|
|
typedef void(* | evm_prepare_code_fn) (struct evm_instance *instance, enum evm_mode mode, struct evm_uint256be code_hash, uint8_t const *code, size_t code_size) |
| Request preparation of the code for faster execution. More...
|
|