Skip to content

VDB-12: VIP-664 [BNB Chain Testnet] Add MCBT market to the Core pool#728

Draft
trumpgpt-bot wants to merge 1 commit into
mainfrom
bot/VDB-12-add-a-new-market-for-mcbt-modern-central-bank-token-to-the
Draft

VDB-12: VIP-664 [BNB Chain Testnet] Add MCBT market to the Core pool#728
trumpgpt-bot wants to merge 1 commit into
mainfrom
bot/VDB-12-add-a-new-market-for-mcbt-modern-central-bank-token-to-the

Conversation

@trumpgpt-bot

Copy link
Copy Markdown

Adds VIP-664 (vips/vip-664/bsctestnet.ts) listing and configuring the vMCBT market in the Venus Core pool on BNB Chain testnet, plus a fork simulation (simulations/vip-664/bsctestnet.ts).

Market parameters: Chainlink direct price $2.50, resilient oracle routed to Chainlink (main only); collateral factor 60%, liquidation threshold 70%, liquidation incentive 10%, reserve factor 25%; supply & borrow caps 236 MCBT; borrowing enabled (setIsBorrowAllowed(0, vMCBT, true)); JumpRateModel base 0% / multiplier 6.67%/yr / kink 75% / jump 627%/yr. Seeds initial liquidity and routes the remainder to VTreasury. ProposalType.REGULAR.

Deployed addresses used: MockMCBT 0x00298c15260FbE3C51D2a30765B1EedBd4f8b1F1, vMCBT 0xf9C77bFA1F86574E6F39A61dab94d9Bb9ED21AFe, JumpRateModel 0x1CcDaf39085bae4e27c3Ba100561b1AD1B5A6b80.

Tests: node_modules/.bin/hardhat test simulations/vip-664/bsctestnet.ts --fork bsctestnet59 passing. The 4-part sim asserts the market is listed, all risk params/oracle/IRM are correct, supply+borrow works, and CF, supply cap and borrow cap are enforced. Oracle staleness across the timelock is handled (MCBT direct price is staleness-proof; canonical setMaxStalePeriodForAllAssets guard applied). eslint/prettier clean.

Note: the request's VIP block referenced vUXRP/UXRP/236 UXRP — treated as copy-paste artifacts; the market added is MCBT/vMCBT with 236 MCBT caps.


Opened by the Venus dev bot. Review required; the bot cannot merge.

List vMCBT (mock Modern Central Bank Token) in the Venus Core Pool on BNB
Chain testnet via VIP-664: Chainlink direct price $2.50, resilient oracle
routed to Chainlink, CF 60% / LT 70% / liquidation incentive 10% / reserve
factor 25%, supply & borrow caps 236 MCBT, borrowing enabled.

Adds a 4-part fork simulation proving the market is listed and functional
(supply MCBT + borrow against it) and that the collateral factor, supply
cap and borrow cap are all enforced.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant