


Lido Finance
Everything you need to learn for the Lido Finance contest: 37 comprehensive code tours totaling over 558 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to try out our interactive demo!
Code4rena,17 Jul → 12 Aug 2025
Everything you need to learn for the Lido Finance contest: 37 comprehensive code tours totaling over 558 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to try out our interactive demo!
Code4rena,17 Jul → 12 Aug 2025
Everything you need to learn for the Lido Finance contest: 37 comprehensive code tours totaling over 558 steps, formulas presented in LaTeX, and a detailed glossary.
Click here to try out our interactive demo!
Code4rena,17 Jul → 12 Aug 2025
Code Tours
1.1 - Lido Community Staking Module: A High-Level Tour
2.1 - Misc Component: Overview
2.2 - CSParametersRegistry: Core Data Structures
2.3 - CSParametersRegistry: Parameter Management
2.4 - CSParametersRegistry: Curve System and Validation
2.5 - Core Utility Libraries
2.6 - Supporting Infrastructure
3.1 - CSAccounting: Purpose, Responsibilities & Integration
3.2 - CSBondCore: Storage Structure & Initialization
3.3 - CSBondCore: Deposit & Claim Mechanics
3.4 - CSBondCore: Burns & Charges (Security‐critical Reductions)
3.5 - CSBondCurve: Curve Definition, Validation & Computation
3.6 - CSBondLock: Locking Configuration & Settlement Lifecycle
3.7 - CSAccounting: Setup, Access Control & Upgradability
3.8 - CSAccounting: Deposit & Claim Flows in Practice (Integration & Error Handling)
3.9 - CSAccounting: Penalties, Fees & Reward Distribution
3.10 - CSAccounting: Query APIs & Bond Requirement Computations
4.1 - CSModule: Overview
4.2 - CSModule: State and Data Structures
4.3 - CSModule: Node Operator Lifecycle
4.4 - CSModule: Validator Management
4.5 - CSModule: Security and Access Control
5.1 - Onboarding Gates: Overview
5.2 - Onboarding Gates: PermissionlessGate.sol
5.3 - Onboarding Gates: VettedGate.sol
5.4 - Onboarding Gates: VettedGateFactory.sol
6.1 - CSExitPenalties: Managing Validator Exit Penalties
7.1 - CSEjector: Managing Validator Ejections
8.1 - CSFeeOracle: Overview
8.2 - CSFeeOracle: Oracle Interfaces
8.3 - CSFeeOracle: HashConsensus Deep Dive (Part 1 - State and Data Structures)
8.4 - CSFeeOracle: HashConsensus Deep Dive (Part 2 - Consensus Logic)
8.5 - CSFeeOracle: BaseOracle and the Public API
8.6 - CSFeeOracle: Concrete Implementation
9.1 - CSFeeDistributor: Merkle-Based Fee Distribution
10.1 - CSStrikes: Strike Verification & Validator Ejection
11.1 - CSVerifier.sol: Verifying Beacon Chain Withdrawals