Module eip6110

Available on crate feature evm only.
Expand description

EIP-6110 deposit requests parsing

Structs§

DepositEvent
Event with signature DepositEvent(bytes,bytes,bytes,bytes,bytes) and selector 0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5.
DepositRequest
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.