Module eip6110
Available on crate feature
evm
only.Expand description
EIP-6110 deposit requests parsing
Structs§
- Deposit
Event - Event with signature
DepositEvent(bytes,bytes,bytes,bytes,bytes)
and selector0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5
. - Deposit
Request - This structure maps onto the deposit object from EIP-6110.
Constants§
- DEPOSIT_
REQUEST_ TYPE - The EIP-7685 request type for deposit requests.
- MAINNET_
DEPOSIT_ CONTRACT_ ADDRESS - Mainnet deposit contract address.
- MAX_
DEPOSIT_ RECEIPTS_ PER_ PAYLOAD - The EIP-6110 Consensus Specs defined maximum payload size.
Functions§
- accumulate_
deposit_ from_ log - Accumulate a deposit request from a log. containing a
DepositEvent
. - accumulate_
deposits_ from_ logs - Accumulate deposits from an iterator of logs.
- accumulate_
deposits_ from_ receipt - Accumulate deposits from a receipt. Iterates over the logs in the receipt and accumulates the deposit request bytestrings.
- accumulate_
deposits_ from_ receipts - Accumulate deposits from a list of receipts. Iterates over the logs in the receipts and accumulates the deposit request bytestrings.
- parse_
deposits_ from_ receipts - Find deposit logs in a list of receipts, and return the concatenated deposit request bytestring.