Found Academy useful? A $5 donation by May 14 helps us ship more, faster. Every donor counts (QF matching).

Donate
Shadow Arena/Shadow Arena #006: Venus Isolated Pools
LendingAdvanced

Shadow Arena #006: Venus Isolated Pools

Venus is the largest lending protocol on BSC, forked from Compound V2. The Isolated Pools upgrade adds risk isolation between markets, bad debt auctions, and multi-chain deployment. The classic Compound fork mistake lives here: blocksPerYear designed for Ethereum's 15-second blocks, deployed on BSC's 3-second blocks. Interest rates are 5x what they should be.

Scope (3549 SLOC)

FileSLOC
contracts/VToken.sol800
contracts/Comptroller.sol700
contracts/Pool/PoolRegistry.sol300
contracts/Shortfall/Shortfall.sol250
contracts/RiskFund/RiskFund.sol200
contracts/Rewards/RewardsDistributor.sol300
contracts/WhitePaperInterestRateModel.sol100
contracts/JumpRateModelV2.sol100

Documentation

Part of the Compound V2 Path

This shadow audit connects to the Compound V2 Build module. Students who built the lending protocol have an advantage because they understand the core architecture.

View Build Module
Duration7 days
Total Findings17
Scope3549 SLOC
PriceFree