Skip to content

Conversation

@Debugger022
Copy link
Contributor

@Debugger022 Debugger022 commented Nov 17, 2025

This VIP is a follow-up to the #637 to upgrade the implementations of contracts and reward emission speeds for both the isolated and core pools.

BNB Announcement

@Debugger022 Debugger022 self-assigned this Nov 17, 2025
Exef
Exef previously approved these changes Nov 20, 2025
@Debugger022
Copy link
Contributor Author

Currently, the testnet is completed. Need to work on Mainnet.

@Debugger022 Debugger022 added the BNB Fermi Upgrade https://docs.bnbchain.org/announce/fermi-bsc/ label Nov 30, 2025
{
target: BSCTESTNET_VTOKEN_BEACON,
signature: "upgradeTo(address)",
params: [BSCTESTNET_NEW_VTOKEN_IMPLEMENTATION],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also is it for testnet only, i checked mainnet, the implementation seems completely different

@fred-venus
Copy link
Contributor

fred-venus commented Dec 2, 2025

any context why is RewardsDistributor omitted
CleanShot 2025-12-02 at 17 00 51@2x

@Debugger022
Copy link
Contributor Author

#638 (comment)
We have updated this implementation for the isolated pools, as it accepts blocksPerYear in the vToken constructor. We will do the same for mainnet.

@Debugger022
Copy link
Contributor Author

#638 (comment)
I think that we should update it, but we haven't updated the rewards distributor in the Maxwell upgrade.
@GitGuru7, do you know the reason behind it?

@GitGuru7
Copy link
Contributor

GitGuru7 commented Dec 3, 2025

#638 (comment) I think that we should update it, but we haven't updated the rewards distributor in the Maxwell upgrade. @GitGuru7, do you know the reason behind it?

we had skipped it because blocksOrSecondsPerYear is not being used anywhere in the contract, but we can update now to keep things consistent. You would need to update the speed for existing rewards as well, if there are any.

@fred-venus
Copy link
Contributor

#638 (comment) I think that we should update it, but we haven't updated the rewards distributor in the Maxwell upgrade. @GitGuru7, do you know the reason behind it?

we had skipped it because blocksOrSecondsPerYear is not being used anywhere in the contract, but we can update now to keep things consistent. You would need to update the speed for existing rewards as well, if there are any.

Can i understand this way

  1. RewardsDistributor is a contract to distribute reward in the form of reward token (including but not limited to XVS)

  2. adding TimeManagerV8 as its base contract is more like a future proof

  3. " You would need to update the speed for existing rewards " -> as far as i know, i don't see any on our page?

@Debugger022
Copy link
Contributor Author

@Debugger022
Copy link
Contributor Author

This VIP has been executed to update the VToken implementation in the isolated pools to correct the value of the MAX_BORROW_RATE_MANTISSA, which was set incorrectly in the previous deployment.

testnet-addendum execution: https://testnet.bscscan.com/tx/0x322b19f699649ac2e4de0e0ce183d10135fb4f718d7caa23b9fc75231235f3aa

@Debugger022 Debugger022 merged commit 616724d into main Dec 11, 2025
2 checks passed
@fred-venus
Copy link
Contributor

Updated the vip num to 778 in #650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BNB Fermi Upgrade https://docs.bnbchain.org/announce/fermi-bsc/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants