Skip to content

AddressInstruction

Runs the address instructions opcodes for the interpreter. 0x30 -> ADDRESS

Signature

pub fn addressInstruction(self: *Interpreter) Interpreter.InstructionErrors!void

CallerInstruction

Runs the caller instructions opcodes for the interpreter. 0x33 -> CALLER

Signature

pub fn callerInstruction(self: *Interpreter) Interpreter.InstructionErrors!void

CallDataCopyInstruction

Runs the calldatacopy instructions opcodes for the interpreter. 0x35 -> CALLDATACOPY

Signature

pub fn callDataCopyInstruction(self: *Interpreter) (Interpreter.InstructionErrors || Memory.Error || error{Overflow})!void

CallDataLoadInstruction

Runs the calldataload instructions opcodes for the interpreter. 0x37 -> CALLDATALOAD

Signature

pub fn callDataLoadInstruction(self: *Interpreter) (Interpreter.InstructionErrors || error{Overflow})!void

CallDataSizeInstruction

Runs the calldatasize instructions opcodes for the interpreter. 0x36 -> CALLDATASIZE

Signature

pub fn callDataSizeInstruction(self: *Interpreter) Interpreter.InstructionErrors!void

CallValueInstruction

Runs the calldatasize instructions opcodes for the interpreter. 0x34 -> CALLVALUE

Signature

pub fn callValueInstruction(self: *Interpreter) Interpreter.InstructionErrors!void

CodeCopyInstruction

Runs the codecopy instructions opcodes for the interpreter. 0x39 -> CODECOPY

Signature

pub fn codeCopyInstruction(self: *Interpreter) (Interpreter.InstructionErrors || Memory.Error || error{Overflow})!void

CodeSizeInstruction

Runs the codesize instructions opcodes for the interpreter. 0x38 -> CODESIZE

Signature

pub fn codeSizeInstruction(self: *Interpreter) Interpreter.InstructionErrors!void

GasInstruction

Runs the gas instructions opcodes for the interpreter. 0x3A -> GAS

Signature

pub fn gasInstruction(self: *Interpreter) Interpreter.InstructionErrors!void

KeccakInstruction

Runs the keccak instructions opcodes for the interpreter. 0x20 -> KECCAK

Signature

pub fn keccakInstruction(self: *Interpreter) (Interpreter.InstructionErrors || Memory.Error || error{Overflow})!void

ReturnDataSizeInstruction

Runs the returndatasize instructions opcodes for the interpreter. 0x3D -> RETURNDATACOPY

Signature

pub fn returnDataSizeInstruction(self: *Interpreter) (Interpreter.InstructionErrors || error{InstructionNotEnabled})!void

ReturnDataCopyInstruction

Runs the returndatasize instructions opcodes for the interpreter. 0x3E -> RETURNDATASIZE

Signature

pub fn returnDataCopyInstruction(self: *Interpreter) (Interpreter.InstructionErrors || Memory.Error || error{Overflow})!void