Retrieves the deposit event from a given contract receipt.
Example
// Assuming you have a valid contract receipt (contractReceipt) and a bridge contract instance (bridge) constdepositEvent = awaitgetDepositEventFromReceipt(contractReceipt, bridge); console.log('Deposit event:', depositEvent); console.log('Deposit nonce:', depositEvent.args.depositNonce)
Returns
A promise that resolves to the deposit event associated with the given contract receipt.
Parameters
depositTx: ContractReceipt
The contract receipt containing the deposit transaction details.
bridgeContract: Bridge
The bridge contract instance used to query the deposit event.
Retrieves the deposit event from a given contract receipt.
Example
Returns
A promise that resolves to the deposit event associated with the given contract receipt.