62 OP_CALLDATALOAD = 0x35,
63 OP_CALLDATASIZE = 0x36,
64 OP_CALLDATACOPY = 0x37,
68 OP_EXTCODESIZE = 0x3b,
69 OP_EXTCODECOPY = 0x3c,
70 OP_RETURNDATASIZE = 0x3d,
71 OP_RETURNDATACOPY = 0x3e,
72 OP_EXTCODEHASH = 0x3f,
81 OP_SELFBALANCE = 0x47,
172 OP_DELEGATECALL = 0xf4,
175 OP_STATICCALL = 0xfa,
179 OP_SELFDESTRUCT = 0xff
evmc_revision
EVM revision.
#define EVMC_EXPORT
Marks a function to be exported from a shared library.
EVMC_EXPORT const struct evmc_instruction_metrics * evmc_get_instruction_metrics_table(enum evmc_revision revision)
Get the table of the EVM 1 instructions metrics.
EVMC_EXPORT const char *const * evmc_get_instruction_names_table(enum evmc_revision revision)
Get the table of the EVM 1 instruction names.
evmc_opcode
The list of EVM 1 opcodes from every EVM revision.
Metrics for an EVM 1 instruction.
int16_t gas_cost
The instruction gas cost.
int8_t stack_height_required
The minimum number of the EVM stack items required for the instruction.
int8_t stack_height_change
The EVM stack height change caused by the instruction execution, i.e.
A collection of helper macros to handle some non-portable features of C/C++ compilers.