_amount > 0)
dispatchon the Home contract, enqueuing the message to be sent.
Dispatchevent is emitted, which signals to all relevant parties (ie. the Updater) that a new root has been generated.
updatefunction on the Ethereum Home contract, committing to the current root and the new root with their digital signature. This signature acts as an attestation on the accumulator root, which can now be relayed to a destination chain.
updateevent which signals to Relayers that a new update has occurred.
updatepassing in the
_newRoot, and the
_signaturewhich the Updater generated. This will "kick off" the dispute window for the new root, after which messages can be proven and processed.
proveon the Replica contract, passing in a leaf corresponding to the message, merkle path and index of the leaf to prove inclusion in the new root.
processon the Replica. The Replica will then forward the message to the BridgeRouter contract on Moonbeam, and invoke its
handleis called on the Moonbeam BridgeRouter, the BridgeRouter will execute application business logic on its side to complete the bridging process for Alice. In this case, it will mint 1000 Nomad USDC (or madUSDC) to Alice's address on the Moonbeam side.