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

Donate
Shadow Arena/Shadow Arena #005: Canto v2 Lending Market
LendingIntermediate

Shadow Arena #005: Canto v2 Lending Market

Canto's Lending Market is a Compound V2 fork with a twist: a custom algorithmic stablecoin (cNote), modified interest rate model where supply rate equals borrow rate, and generic ERC-20 reward distribution instead of COMP. The bugs are almost a syllabus for 'what goes wrong when you fork Compound V2 and modify the core parameters.'

Scope (2000 SLOC)

FileSLOC
Lending/Comptroller.sol735
Lending/CToken.sol500
Lending/NoteInterest.sol100
Lending/Accountant.sol150
Lending/CNote.sol200
Lending/Treasury.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
Duration4 days
Total Findings10
Scope2000 SLOC
PriceFree