Fabcoin Core
0.16.2
P2P Digital Currency
|
The EVM code execution result. More...
#include <evm.h>
Public Attributes | |
enum evm_result_code | code |
The execution result code. More... | |
int64_t | gas_left |
The amount of gas left after the execution. More... | |
uint8_t const * | output_data |
The reference to output data. More... | |
size_t | output_size |
The size of the output data. More... | |
evm_release_result_fn | release |
The pointer to the result release implementation. More... | |
Optional | |
The optional information that EVM is not required to provide. | |
char const * | error_message |
The error message explaining the result code. More... | |
void * | internal_memory |
The pointer to EVM-owned memory. More... | |
enum evm_result_code evm_result::code |
char const* evm_result::error_message |
int64_t evm_result::gas_left |
The amount of gas left after the execution.
The value is valid only if evm_result::code == EVM_SUCCESS.
void* evm_result::internal_memory |
uint8_t const* evm_result::output_data |
The reference to output data.
The memory containing the output data is owned by EVM and is freed with evm_result::release().
evm_release_result_fn evm_result::release |