@tevm/voltaire / evm / Control
Control
Functions
handler_0x00_STOP()
handler_0x00_STOP(Defined in: src/evm/control/0x00_STOP.js:7 STOP opcode (0x00) - Halt executionframe):EvmError|null
Parameters
frame
BrandedFrame
Frame instance
Returns
EvmError | null
Error if operation fails
handler_0x56_JUMP()
handler_0x56_JUMP(Defined in: src/evm/control/0x56_JUMP.js:12 JUMP opcode (0x56) - Unconditional jumpframe):EvmError|null
Parameters
frame
BrandedFrame
Frame instance
Returns
EvmError | null
Error if operation fails
handler_0x57_JUMPI()
handler_0x57_JUMPI(Defined in: src/evm/control/0x57_JUMPI.js:12 JUMPI opcode (0x57) - Conditional jumpframe):EvmError|null
Parameters
frame
BrandedFrame
Frame instance
Returns
EvmError | null
Error if operation fails
handler_0x58_PC()
handler_0x58_PC(Defined in: src/evm/control/0x58_PC.js:11 PC opcode (0x58) - Get program counterframe):EvmError|null
Parameters
frame
BrandedFrame
Frame instance
Returns
EvmError | null
Error if operation fails
handler_0x5b_JUMPDEST()
handler_0x5b_JUMPDEST(Defined in: src/evm/control/0x5b_JUMPDEST.js:10 JUMPDEST opcode (0x5b) - Jump destination marker (no-op)frame):EvmError|null
Parameters
frame
BrandedFrame
Frame instance
Returns
EvmError | null
Error if operation fails
handler_0xf3_RETURN()
handler_0xf3_RETURN(Defined in: src/evm/control/0xf3_RETURN.js:31 RETURN opcode (0xf3) - Halt execution and return output dataframe):EvmError|null
Parameters
frame
BrandedFrame
Frame instance
Returns
EvmError | null
Error if operation fails
handler_0xfd_REVERT()
handler_0xfd_REVERT(Defined in: src/evm/control/0xfd_REVERT.js:34 REVERT opcode (0xfd) - Halt execution and revert state changes Note: REVERT was introduced in Byzantium hardfork (EIP-140). Hardfork validation should be handled by the EVM executor.frame):EvmError|null
Parameters
frame
BrandedFrame
Frame instance
Returns
EvmError | null
Error if operation fails
