Module bus_mapping::operation

source ·
Expand description

Collection of structs and functions used to:

Structs§

  • Represents a change in the Account field implied by a BeginTx, EXTCODECOPY, EXTCODESIZE, BALANCE, SELFDESTRUCT, *CALL*, CREATE*, STOP, RETURN or REVERT step.
  • Represents an CallContext read/write operation.
  • Represents a MemoryAddress of the EVM.
  • Represents a READ/WRITE into the memory implied by an specific OpcodeId of the ExecStep.
  • Operation is a Wrapper over a type that implements Op with a RWCounter.
  • The OperationContainer is meant to store all of the Operations that an ExecStep performs during its execution.
  • Represent a Padding padding operation
  • Wrapper type over usize which represents the global counter. The purpose of the RWCounter is to enforce that each Opcode/Instruction and Operation is unique and just executed once.
  • Represents a StackAddress of the EVM. The address range goes TOP -> DOWN (1024, 0].
  • Represents a READ/WRITE into the stack implied by an specific OpcodeId of the ExecStep.
  • Represent a Start padding operation
  • StepStateOp represents exec state store and load
  • Represents a READ/WRITE into the storage implied by a specific OpcodeId of the ExecStep.
  • An iterator over the variants of Self
  • Represents a READ/WRITE into the transient storage implied by a specific OpcodeId of the ExecStep.
  • Represents a change in the Account AccessList implied by a BeginTx, EXTCODECOPY, EXTCODESIZE, EXTCODEHASH BALANCE, SELFDESTRUCT, *CALL* or CREATE* step.
  • Represents a change in the Storage AccessList implied by an SSTORE or SLOAD step of the ExecStep.
  • Represents TxLog read/write operation.
  • Represents TxReceipt read/write operation.
  • Represents a change in the Transaction Refund AccessList implied by an SSTORE, STOP, RETURN or REVERT step of the ExecStep.

Enums§

  • Represents a field parameter of the Account that can be accessed via EVM execution.
  • Represents a field parameter of the CallContext that can be accessed via EVM execution.
  • Generic enum that wraps over all the operation types possible. In particular StackOp, MemoryOp and StorageOp.
  • Marker that defines whether an Operation performs a READ or a WRITE.
  • Represents a field parameter of the StepStateField.
  • Enum used to differentiate between EVM Stack, Memory and Storage operations. This is also used as the RwTableTag for the RwTable.
  • Represents a field parameter of the TxLog that can be accessed via EVM execution.
  • Represents a field parameter of the TxReceipt that can be accessed via EVM execution.

Traits§

  • Trait used for Operation Kinds.