Important
You are viewing a development version of the codebase.
Vault Bridge Token is the core of the Vault Bridge protocol. Built from the ground up to be reusable, it offers complete functionality out of the box, allowing you to create vbTokens in just a few lines of code.
The Vault Bridge protocl is comprised of:
- Layer X (the main network)
- La 8000 yer Y (other networks)
Vault Bridge Token ↗
A Vault Bridge Token is an
- ERC-20 token
- ERC-4626 vault
- LxLy Bridge extension
enabling bridging of select assets, such as WBTC, WETH, USDT, USDC, and USDS, while producing yield.
Migration Manager (singleton) ↗
The Migration Manager is a
- Vault Bridge Token dependency
handling migration of backing from Native Converters.
Custom Token ↗
A Custom Token is an
- ERC-20 token
an upgrade for LxLy Bridge's generic wrapped token.
Native Converter ↗
A Native Converter is a
- pseudo ERC-4626 vault
- LxLy Bridge extension
allowing conversion to, and deconversion of, Custom Token, as well as migration of backing to Vault Bridge Token.
foundryup
forge soldeer install & npm install
forge build
forge test
forge coverage --ir-minimum --report lcov && genhtml -o coverage lcov.info
This codebase is licensed under a dual license model:
- Open Attribution License – this license is similar to the MIT License and permits broad use (including for commercial purposes), but is only available when the codebase is used in connection with cryptoasset deposits into the Agglayer’s unified LxLy bridge. See: LICENSE-OPEN LICENSE
- Source Available License – for all other use cases, including cryptoasset deposits into elsewhere than the Agglayer’s unified LxLy bridge, you may use the codebase under the Source Available License. See: LICENSE-SOURCE AVAILABLE LICENSE
Your use of this software constitutes acceptance of these license terms. If you are unsure whether your use qualifies under the Open Attribution license, please contact: legal@polygon.technology