Lifecycle of a Message
Last updated
Was this helpful?
Last updated
Was this helpful?
In this article, we take Alice as an example. She will utilize an asset Omni-Chain bridge built on Vizing to transfer 1000 USDC from her account on the Arbitrum network to the same account on the Optimism network.
Alice initiates a Omni-Chain request on the Arbitrum network, seeking to transfer 1000 USDC from her account to the Optimism network.
Before making the request, Alice may interact with a VDApp (Vizing-based-DApp) through standard interfaces provided or intuitive GUI operations to ensure her request is correctly identified and submitted to the Omni-Chain bridge for processing.
Upon receiving Alice's Omni-Chain request, the VDApp on the Arbitrum network undergoes several preprocessing steps to ensure the request's validity and security.
In addition to checking Alice's USDC balance, VDApp performs additional security validations, such as verifying Alice's identity and authorization status, and ensuring that the Omni-Chain request complies with preset rules and restrictions.
VDApp also formats Alice's request into the standard message format required by the Vizing protocol and forwards it to the core contract, LaunchPad, for further processing.
Detailed steps may include:
Asset confirmation: Ensuring that the USDC balance is greater than 1000.
Asset destruction: Destroying USDC on the Arbitrum network.
Message formatting: Converting the Omni-Chain request into the standard format required by the Vizing message and forwarding it to the core contract, LaunchPad.
Upon receiving Alice's Omni-Chain request, the core contract, LaunchPad, executes a series of operations to ensure the smooth and secure processing of the request.
These operations include confirming Alice's asset status, recording transaction data, updating account status, etc. LaunchPad also communicates with components under the Vizing protocol for subsequent Omni-Chain verification and execution processes.
Once LaunchPad processes Alice's Omni-Chain request and packages it into a standard message, the message is submitted to the Vizing Rollup for validation.
On the Vizing Rollup, Validators validate the message and ensure that it complies with the standards and security protocols of the Vizing protocol. This includes checking signatures, verifying account authorizations, confirming message integrity, and other steps.
Only after the message passes validation on the Vizing Rollup can it proceed to be sent to the target chain for Omni-Chain operations.
After passing validation on the Vizing Rollup, the message is relayed by a Relayer to the Optimism network. On the Optimism network, the LandingPad receives and validates the message, then executes the corresponding Omni-Chain operations.
This includes minting Alice's 1000 USDC assets to the target account and ensuring the security and correctness of the Omni-Chain transfer. With this step completed, Alice's assets have successfully undergone the Omni-Chain transfer process from Arbitrum to Optimism.