# yBridge Contract Integration

Original bridge service will be upgraded to v3 and officially renamed as yBridge from November 22, 2023.

* The original **XSwapper** Contract will be renamed to **YBridge**
* The original **YPoolVault** Contract will be renamed to **YBridgeVault**.

In v3, in addition to the original bridge and swap functionalities, we have further enhanced security and upgraded the fee mechanism to a real-time dynamic fee structure. If you want to understand our new real-time fee structure, you can refer to [ybridge-fee-information](https://docs.xy.finance/fee-structure/ybridge-fee-information "mention")

### If you want to integrate yBridge v3 through contracts

Please refer to the following docs&#x20;

* [integrate-ybridge-contract](https://docs.xy.finance/single-bridge-integration/ybridge-contract-integration/integrate-ybridge-contract "mention") : You could learn how to send the bridge transaction and how to check the status of your transaction on the source chain and destination chain.
* [integrate-ybridgevault-contract](https://docs.xy.finance/single-bridge-integration/ybridge-contract-integration/integrate-ybridgevault-contract "mention") : You could learn how to deposit or withdraw into/from the liquidity vault.

### If you have integrated yBridge v3 before 2024/07/17, please check our latest upgrade notice

We have implemented a new upgrade, we compatible with the previous interface, so the original function and interface will not be affected. However we strongly urge the partners to review the  [latest-upgrade-2024-07-17](https://docs.xy.finance/single-bridge-integration/ybridge-contract-integration/integrate-ybridge-contract/latest-upgrade-2024-07-17 "mention") to transition to new interface to gain full support for the latest aggregated DEXes and Bridges

### If you have previously integrated v2 contracts and want to migrate to v3

Please refer to this documentation to understand the migration of the [bridge contract ](https://docs.xy.finance/single-bridge-integration/ybridge-contract-integration/integrate-ybridge-contract/migrate-from-v2-to-v3)or [vault contract](https://docs.xy.finance/single-bridge-integration/ybridge-contract-integration/integrate-ybridgevault-contract/migrate-from-v2-to-v3)

### If you still need access to v2 documentation

You could still refer the following docs, but the current contract has been upgraded to v3 since November 22, 2023.

* [smart-contract](https://docs.xy.finance/single-bridge-integration/ybridge-contract-integration/smart-contract "mention"): It corresponds to the current YBridge
* [legacy-integrate-y-pool-contract](https://docs.xy.finance/single-bridge-integration/ybridge-contract-integration/legacy-integrate-y-pool-contract "mention"): It corresponds to the current YBridgeVault
