Migrate from V2 to V3
This document provides a detailed outline of the key changes between XSwapper (V2) and YBridge (V3) and guides you through the necessary steps to migrate your system
Overview of Changes
Parameter Naming Convention Changes
Bridge Fee Settings
Event Changes
event SwapRequested(uint256 _swapId, address indexed _aggregatorAdaptor, DstChainDescription _dstChainDesc, IERC20 _srcToken, IERC20 indexed _vaultToken, uint256 _vaultTokenAmount, address _receiver, uint256 _srcTokenAmount, uint256 _expressFeeAmount, address indexed _referrer);Migration Steps
Update Parameter Names to Follow New Conventions
Monitor Swap Completion
On the Source Chain
On the Destination Chain
Update Bridge Fee Retrieval Method
Last updated