package
1.15.2
Repository: https://github.com/ethereum/go-ethereum.git
Documentation: pkg.go.dev

# Functions

WrapWithJournal wraps the given tracer with a journaling layer.

# Constants

BalanceChangeRevert is emitted when the balance is reverted back to a previous value due to call failure.
BalanceChangeTouchAccount is a transfer of zero value.
BalanceChangeTransfer is ether transferred via a call.
BalanceDecreaseDaoAccount is ether taken from a DAO account to be moved to the refund contract.
BalanceDecreaseGasBuy is spent to purchase gas for execution a transaction.
BalanceDecreaseSelfdestruct is deducted from a contract due to self-destruct.
BalanceDecreaseSelfdestructBurn is ether that is sent to an already self-destructed account within the same tx (captured at end of tx).
DAO fork BalanceIncreaseDaoContract is ether sent to the DAO refund contract.
BalanceIncreaseGasReturn is ether returned for unused gas at the end of execution.
BalanceIncreaseGenesisBalance is ether allocated at the genesis block.
BalanceIncreaseRewardMineBlock is a reward for mining a block.
Issuance BalanceIncreaseRewardMineUncle is a reward for mining an uncle block.
Transaction fees BalanceIncreaseRewardTransactionFee is the transaction tip increasing block builder's balance.
BalanceIncreaseSelfdestruct is added to the recipient as indicated by a selfdestructing account.
BalanceIncreaseWithdrawal is ether withdrawn from the beacon chain.
GasChangeCallCodeStorage is the amount of gas that will be charged for code storage.
GasChangeCallContractCreation is the amount of gas that will be burned for a CREATE.
GasChangeCallContractCreation2 is the amount of gas that will be burned for a CREATE2.
GasChangeCallFailedExecution is the burning of the remaining gas when the execution failed without a revert.
GasChangeCallInitialBalance is the initial balance for the call which will be equal to the gasLimit of the call.
GasChangeCallLeftOverRefunded is the amount of gas that will be refunded to the call after the child call execution it executed completed.
GasChangeCallLeftOverReturned is the amount of gas left over that will be returned to the caller, this change will always be a negative change as we "drain" left over gas towards 0.
GasChangeCallOpCode is the amount of gas that will be charged for an opcode executed by the EVM, exact opcode that was performed can be check by `OnOpcode` handling.
GasChangeCallPrecompiledContract is the amount of gas that will be charged for a precompiled contract execution.
GasChangeCallStorageColdAccess is the amount of gas that will be charged for a cold storage access as controlled by EIP2929 rules.
GasChangeIgnored is a special value that can be used to indicate that the gas change should be ignored as it will be "manually" tracked by a direct emit of the gas change event.
GasChangeTxDataFloor is the amount of extra gas the transaction has to pay to reach the minimum gas requirement for the transaction data.
GasChangeTxInitialBalance is the initial balance for the call which will be equal to the gasLimit of the call.
GasChangeTxIntrinsicGas is the amount of gas that will be charged for the intrinsic cost of the transaction, there is always exactly one of those per transaction.
GasChangeTxLeftOverReturned is the amount of gas left over at the end of transaction's execution that will be returned to the chain.
GasChangeTxRefunds is the sum of all refunds which happened during the tx execution (e.g.
GasChangeWitnessCodeChunk flags the event of adding one or more contract code chunks to the witness.
GasChangeWitnessContractCollisionCheck flags the event of adding to the witness when checking for contract address collision.
GasChangeWitnessContractCreation flags the event of adding to the witness during the contract creation finalization step.
GasChangeWitnessContractInit flags the event of adding to the witness during the contract creation initialization step.
NonceChangeTransaction is the nonce change due to a EIP-7702 authorization.
NonceChangeContractCreator is the nonce change of an account creating a contract.
NonceChangeEoACall is the nonce change due to an EoA call.
NonceChangeGenesis is the nonce allocated to accounts at genesis.
NonceChangeNewContract is the nonce change of a newly created contract.
NonceChangeRevert is emitted when the nonce is reverted back to a previous value due to call failure.

# Structs

BlockEvent is emitted upon tracing an incoming block.
VMContext provides the context for the EVM execution.

# Interfaces

OpContext provides the context at which the opcode is being executed in, including the memory, stack and various contract-level information.
StateDB gives tracers access to the whole state.

# Type aliases

BalanceChangeReason is used to indicate the reason for a balance change, useful for tracing and reporting.
GasChangeReason is used to indicate the reason for a gas change, useful for tracing and reporting.
NonceChangeReason is used to indicate the reason for a nonce change.