pub fn decode_deposit(
block_hash: FixedBytes<32>,
index: usize,
log: &Log,
) -> Result<Bytes, DepositError>
Available on crate feature
protocol
only.Expand description
Derives a deposit transaction from an EVM log event emitted by the deposit contract.
The emitted log must be in format:
event TransactionDeposited(
address indexed from,
address indexed to,
uint256 indexed version,
bytes opaqueData
);