[VPD-532]: Add U market to the Stablecoins e-mode pool#665
Open
Debugger022 wants to merge 3 commits intomainfrom
Open
[VPD-532]: Add U market to the Stablecoins e-mode pool#665Debugger022 wants to merge 3 commits intomainfrom
Debugger022 wants to merge 3 commits intomainfrom
Conversation
…SC testnet Add U market (vU) to Stablecoins e-mode pool (id=1) with zero collateral factor, liquidation incentive of 1, and borrowing enabled. Includes simulation tests for pre/post-VIP validation.
…SC mainnet Add U market to Stablecoins e-mode pool (CF=0%, borrow-only) with full test coverage including cross-asset leverage (USDe → U), core pool fallback, and detailed leverage scenario documentation. - Add mainnet VIP and simulation files (22 passing tests) - Include all required ABIs for leverage testing - Remove unused mockU export from testnet
Add comprehensive test suite documentation for mainnet and testnet simulations explaining VIP-810's functionality, test structure, and special configurations. Improvements: - Make leverage test timeout configurable via LEVERAGE_TEST_TIMEOUT env var - Replace this.skip() with console.log + return for clearer test output - Remove unused chainlink oracle imports and initialization
zed-venus
reviewed
Feb 3, 2026
zed-venus
left a comment
There was a problem hiding this comment.
Checked VIP‑810 params and sims:
vU addresses match VIP‑581;
Stablecoins pool id=1 matches VIP‑547;
config is CF/LT=0, LI=1.0, borrowAllowed=true.
Fork sims passed on both networks :
bsctestnet (9/9) and bscmainnet (22/22), including borrow/repay, leverage, and core‑pool fallback tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The VIP-810 adds the U market (vU) to the already existing
Stablecoinse-mode pool (id=1) for both testnet and mainnet.Configuration
Market: vU (
0x3d5E269787d562b74aCC55F18Bd26C5D09Fa245E)Pool: Stablecoins (ID: 1)
Collateral Factor: 0%
Liquidation Threshold: 0%
Liquidation Incentive: 100% (1.0)
Borrow Allowed: Yes
U is configured as a borrow-only asset (CF=0%, LT=0%), meaning it cannot be used as collateral but can be borrowed using other pool assets as collateral.
Key Features
Direct Borrowing
Cross-Asset Leverage
Core Pool Fallback
allowCorePoolFallbackenabledTest Coverage
Comprehensive mainnet simulation tests: