OpaqueToDepositData
This expects that the data was already decoded from hex
Signature
pub fn opaqueToDepositData(hex_bytes: Hex) DepositDataGetWithdrawalHashStorageSlot
Gets the storage hash from a message hash
Signature
pub fn getWithdrawalHashStorageSlot(hash: Hash) HashGetSourceHash
Gets the source hash from deposit transaction.
Signature
pub fn getSourceHash(domain: Domain, log_index: u256, l1_blockhash: Hash) HashGetDepositTransaction
Gets a deposit transaction based on the provided arguments.
Signature
pub fn getDepositTransaction(opts: GetDepositArgs) DepositTransactionGetL2HashFromL1DepositInfo
Gets a L2 transaction hash from a deposit transaction.
Signature
pub fn getL2HashFromL1DepositInfo(allocator: Allocator, opts: GetDepositArgs) !Hash