-
Notifications
You must be signed in to change notification settings - Fork 3
[VPD-532]: Add U market to the Stablecoins e-mode pool #665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
fred-venus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
GitGuru7
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[VPD-581]: Add vip to update Prime Rewards Allocation
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: