Summary
To align with the Maxwell Hardfork Upgrade on BNB Chain, Venus will perform the following changes, taking into account the increase in the block rate on BNB Chain, from one block every 1.5 seconds to one block every 0.75 seconds:
Phase 1:
- update the interest rate models of every VToken, using the CheckpointView contract, that will be able to calculate the interest rates considering when the block rate will change on BNB Chain
Phase 2:
- Upgrade implementation of VAIController, Prime, PrimeLiquidityProvider and every VToken contract, with the new blocks per year (42,048,000)
- Set the new blocks per year in the XVSVaultProxy contract
- Update the voting periods for each VIP type (these periods are defined in block numbers)
- Update of the rewards per block on the XVS Vault, VAI Vault and Prime Liquidity Provider, halving the rewards per block. Halve the XVS emissions per block in the XVS market
Description
These changes are mandatory to accommodate the Venus Protocol to the Maxwell hardfork on BNB Chain: BEP-524: Short Block Interval Phase Two: 0.75 seconds, which will happen on June 30th, at 2:30AM UTC.
The interest rate contracts of every market will be replaced with the CheckpointView contract. CheckpointView is a contract that will call a different contract (in this case, a different interest rate contract) depending on the current timestamp. This way, the VToken contracts will consider the right interest rates on every block, being transparently switched under the hood after the hardfork on the BNB Chain network.
VAIController, Prime, PrimeLiquidityProvider and every VToken contract had a constant value with the number of blocks per year. Most of the implementations have been simply redeployed using the new value.
The different types of “rewards” are defined per block on Venus (XVS Vault, VAI Vault, Prime and emissions). They must be halved to maintain the same daily amounts.
Security and additional considerations
We apply the following security procedures for this upgrade:
- Audits: Certik and Fairyproof have audited the deployed code
- VIP execution simulation: in a simulation environment, validating the new implementations and configurations are properly set on BNB Chain, with the right parameters
- Deployment on testnet: the same upgrade has been performed on BNB Chain testnet, and used in the Venus Protocol testnet deployment
Audit reports
-
Fairyproof audit report (2025/04/14)
-
Certik audit audit report (2025/04/17)