VBT-7: VIP-633: sets the vUSDT (BSC Core Pool) supply cap to 350,000,000 USDT - #4
Draft
GitGuru7 wants to merge 2 commits into
Draft
VBT-7: VIP-633: sets the vUSDT (BSC Core Pool) supply cap to 350,000,000 USDT#4GitGuru7 wants to merge 2 commits into
GitGuru7 wants to merge 2 commits into
Conversation
Adds a FAST_TRACK VIP that sets the vUSDT (Core Pool) supply cap to 350,000,000 USDT via setMarketSupplyCaps on the BSC Core Pool Unitroller, plus a fork simulation asserting the cap changes from 600M to 350M and that a NewSupplyCap event is emitted. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
GitGuru7
commented
Jun 17, 2026
| }, | ||
| ], | ||
| meta, | ||
| ProposalType.FAST_TRACK, |
Owner
Author
There was a problem hiding this comment.
Why FAST_TRACK rather than REGULAR/NORMAL Timelock here? A cap reduction isn't obviously time-sensitive. Lets update accordingly.
Address review feedback: a supply cap adjustment is not time-sensitive, so use the Normal/Regular Timelock instead of FAST_TRACK. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
VIP-633 — Set vUSDT Supply Cap to 350M (BSC Core Pool)
What changed
vips/vip-633/bscmainnet.ts— new FAST_TRACK VIP. One command:setMarketSupplyCaps([vUSDT], [350,000,000e18])onbscmainnet.UNITROLLER(Core Pool Comptroller).simulations/vip-633/bscmainnet.ts— fork simulation (block99000000):testVipexecution +expectEvents([NewSupplyCap], [1]).simulations/vip-633/abi/Comptroller.json— ABI copied fromsimulations/vip-663/abi/(hassupplyCaps,NewSupplyCap,markets).Key decision (human chose "option 1")
The request said raise to 350M, but the live on-chain vUSDT Core Pool cap is 600,000,000 USDT — verified via
eth_callofsupplyCaps(vUSDT)on the Unitroller at both latest and the chosen fork block 99,000,000 (raw600000000e18). Setting it to 350M is therefore a reduction, not a raise. The spec had speculated an EBrake-driven reduction below 350M; that did not happen. Per the human's "option 1", I implemented exactly 350M as the literal target and used accurate, neutral framing ("Set ... to 350M", with the current 600M stated in the description) rather than "Raise".Address / parameter verification
0xfD5840Cd36d94D7229439859C0112a4185BC0255— cross-checked against existingvips/vip-205.ts,vip-215.ts,vip-244.ts.NETWORK_ADDRESSES.bscmainnet.UNITROLLER(0xfD36E2c2a6789Db23113685031d7F16329158384).setMarketSupplyCaps(address[],uint256[])(no underscore) — correct for the Core Pool at recent blocks following the vip-610 diamond migration; confirmed against recent precedentvip-568andvip-622. (Older VIPs e.g. vip-516/542 used the legacy_setMarketSupplyCaps.)parseUnits("350000000", 18); consistent with the on-chain 600M value stored as600000000e18.vips/vip-633/did not previously exist.Tests run + results
npx prettier --checkon the new files → "All matched files use Prettier code style!"npx eslint vips/vip-633/bscmainnet.ts simulations/vip-633/bscmainnet.ts→ exit 0npx tsc --noEmit→ clean (no errors)Risks / notes
99000000is a fixed, recently-verified block; the pre-VIP assertion will fail loudly if a future EBrake/governance action changes the cap before merge, which is the intended guard.Opened by the Venus dev bot. Review required; the bot cannot merge.