L2 > L1 and L2 > L2
Last updated
Last updated
A relayer deposits liquidity to the BondManager contract (Layer2 Bridge Contract).
A user sends assets they want to transfer to the PheasantNetworkBridgeChild contract deployed on the source chain and submits a request to relayers.
The relayer directly send asset to the user address on destination chain.
The relayer generates proof of the directly transferred assets from its transactional hash and registers it with the PheasantNetworkBridgeChild contract. This proof enables the relayer to withdraw the assets deposited by the user.
A disputer triggers a verification process by pointing out a relayer's misbehavior. The disputer needs to deposit a certain amount of assets to initiate a challenge period.
The relayer submits evidence to vindicate themselves within a designated period of time after the disputer's claim.
If the evidence proves the relayer's legitimacy, meaning if the disputer's claim was false, the assets locked by the disputer will be confiscated as a punishment and sent to the relayer.
If the evidence does not clear the relayer, or they are unable to submit evidence within the designated period of time, the disputer will be able to slash the relayer’s bond and reclaim the locked assets.