EEVM.Block.Withdrawal (eevm v0.1.0)

Copy Markdown View Source

EIP-4895 beacon-chain withdrawal: a credit applied to an execution-layer account at the start of a block.

The wire amount is denominated in gwei; the EVM works in wei, so the balance bump is amount * 1_000_000_000. Withdrawals are applied between the transaction fold and the state-root commitment in Block.Processor.

Summary

Types

t()

@type t() :: %EEVM.Block.Withdrawal{
  address: non_neg_integer(),
  amount: non_neg_integer(),
  index: non_neg_integer(),
  validator_index: non_neg_integer()
}