Skip to content

Message

Properties

struct {
  blockNumber: u64
  messages: []const Withdrawal
}

WithdrawalRequest

Properties

struct {
  data: ?Hex = null
  gas: ?Gwei = null
  to: Address
  value: ?Wei = null
}

PreparedWithdrawal

Properties

struct {
  data: Hex
  gas: Gwei
  to: Address
  value: Wei
}

Withdrawal

Properties

struct {
  nonce: Wei
  sender: Address
  target: Address
  value: Wei
  gasLimit: Wei
  data: Hex
  withdrawalHash: Hash
}

WithdrawalNoHash

Omit(Withdrawal, &.{"withdrawalHash"})

WithdrawalRootProof

Properties

struct {
  version: Hash
  stateRoot: Hash
  messagePasserStorageRoot: Hash
  latestBlockhash: Hash
}

Proofs

Properties

struct {
  outputRootProof: WithdrawalRootProof
  withdrawalProof: []const Hex
  l2OutputIndex: u256
}

WithdrawalEnvelope

MergeStructs(WithdrawalNoHash, Proofs)

ProvenWithdrawal

Properties

struct {
  outputRoot: Hash
  timestamp: u128
  l2OutputIndex: u128
}

Game

Properties

struct {
  index: u256
  metadata: Hash
  timestamp: u64
  rootClaim: Hash
  extraData: Hex
}

GameResult

Properties

struct {
  index: u256
  metadata: Hash
  timestamp: u64
  rootClaim: Hash
  l2BlockNumber: u256
}

NextGameTimings

Properties

struct {
  interval: i64
  seconds: i64
  timestamp: ?i64
}