HostInstructionErrors
Set of possible errors for host instructions.
Interpreter.InstructionErrors || error{UnexpectedError}BalanceInstruction
Runs the balance opcode for the interpreter. 0x31 -> BALANCE
Signature
pub fn balanceInstruction(self: *Interpreter) HostInstructionErrors!voidBlockHashInstruction
Runs the blockhash opcode for the interpreter. 0x40 -> BLOCKHASH
Signature
pub fn blockHashInstruction(self: *Interpreter) HostInstructionErrors!voidExtCodeCopyInstruction
Runs the extcodecopy opcode for the interpreter. 0x3B -> EXTCODECOPY
Signature
pub fn extCodeCopyInstruction(self: *Interpreter) (HostInstructionErrors || Memory.Error || error{Overflow})!voidExtCodeHashInstruction
Runs the extcodehash opcode for the interpreter. 0x3F -> EXTCODEHASH
Signature
pub fn extCodeHashInstruction(self: *Interpreter) HostInstructionErrors!voidExtCodeSizeInstruction
Runs the extcodesize opcode for the interpreter. 0x3B -> EXTCODESIZE
Signature
pub fn extCodeSizeInstruction(self: *Interpreter) HostInstructionErrors!voidLogInstruction
Runs the logs opcode for the interpreter. 0xA0..0xA4 -> LOG0..LOG4
Signature
pub fn logInstruction(self: *Interpreter, size: u8) (HostInstructionErrors || Memory.Error || error{Overflow})!voidSelfBalanceInstruction
Runs the selfbalance opcode for the interpreter. 0x47 -> SELFBALANCE
Signature
pub fn selfBalanceInstruction(self: *Interpreter) (HostInstructionErrors || error{InstructionNotEnabled})!voidSelfDestructInstruction
Runs the selfbalance opcode for the interpreter. 0xFF -> SELFDESTRUCT
Signature
pub fn selfDestructInstruction(self: *Interpreter) HostInstructionErrors!voidSloadInstruction
Runs the sload opcode for the interpreter. 0x54 -> SLOAD
Signature
pub fn sloadInstruction(self: *Interpreter) HostInstructionErrors!voidSstoreInstruction
Runs the sstore opcode for the interpreter. 0x55 -> SSTORE
Signature
pub fn sstoreInstruction(self: *Interpreter) HostInstructionErrors!voidTloadInstruction
Runs the tload opcode for the interpreter. 0x5C -> TLOAD
Signature
pub fn tloadInstruction(self: *Interpreter) (Interpreter.InstructionErrors || error{InstructionNotEnabled})!voidTstoreInstruction
Runs the tstore opcode for the interpreter. 0x5D -> TSTORE
Signature
pub fn tstoreInstruction(self: *Interpreter) (HostInstructionErrors || error{InstructionNotEnabled})!void