0
Skip to Content
Audit Labs
Home
Store
Blog
About
Contact
Audit Labs
Home
Store
Blog
About
Contact
Home
Store
Blog
About
Contact
Store LEND
LEND.png Image 1 of
LEND.png
LEND.png

LEND

$24.00

Everything you need to learn the LEND protocol: 65 comprehensive code tours totaling over 725 steps, formulas presented in LaTeX, and a detailed glossary.

Click here to watch video preview

Sherlock, 27 May → 03 Jun 2025

Add To Cart

Everything you need to learn the LEND protocol: 65 comprehensive code tours totaling over 725 steps, formulas presented in LaTeX, and a detailed glossary.

Click here to watch video preview

Sherlock, 27 May → 03 Jun 2025

Everything you need to learn the LEND protocol: 65 comprehensive code tours totaling over 725 steps, formulas presented in LaTeX, and a detailed glossary.

Click here to watch video preview

Sherlock, 27 May → 03 Jun 2025

Code Tours

  • 1.1: Lend-V2 – Bird’s-Eye Architecture Tour

  • 2.1: InterestRateModels: Overview

  • 2.2: InterestRateModel Interface

  • 2.3: WhitePaperInterestRateModel – Linear Curve

  • 2.4: JumpRateModel – Kinked Curve

  • 2.5: BaseJumpRateModelV2 & JumpRateModelV2 – Updatable Parameters

  • 2.6: DAIInterestRateModelV3 – Integrating MakerDAO Rates

  • 3.1: Oracles Overview

  • 3.2: PriceOracle Interface

  • 3.3: SimplePriceOracle – Manual Feeds

  • 3.4: ChainlinkOracle – Reading Chainlink Feeds

  • 3.5: Chainlink Interfaces

  • 3.6: PythOracle – Staleness-Aware Feeds

  • 3.7: UniswapAnchoredView – Config & Construction

  • 3.8: UniswapAnchoredView – Price Reporting & Validation

  • 3.9: UniswapAnchoredView – TWAP & Fail-over

  • 3.10: Uniswap Helper Interface

  • 4.1: Controller Component: Overview

  • 4.2: LendtrollerStorage: State Anatomy

  • 4.3: Unitroller Proxy Mechanics

  • 4.4: Lendtroller Interface: Public API Surface

  • 4.5: Lendtroller.sol – Market Lifecycle & Risk Checks

  • 4.6: Lendtroller.sol – Rewards Accounting & Distribution

  • 4.7: Lendtroller.sol – Pause Guardian & Security Switches

  • 4.8: LendtrollerG7 Extensions

  • 5.1: TokenMarkets Overview

  • 5.2: LToken – Storage & Core Data Structures

  • 5.3: LToken – Accrue Interest & Exchange-Rate Math

  • 5.4: LToken – Mint & Redeem Flow

  • 5.5: LToken – Borrow & Repay Flow

  • 5.6: LToken – Liquidation & Seize

  • 5.7: LToken – Transfers, Approvals & ERC-20 Facade

  • 5.8: LErc20 & LErc20Immutable – ERC-20 Underlying Specifics

  • 5.9: LErc20Delegate – Upgradeable Implementation

  • 5.10: LErc20Delegator – Proxy & Admin Paths

  • 5.11: LErc20Delegator – Delegatecall Mechanics & View Forwarding

  • 5.12: LEther – Ether-Native Market

  • 5.13: LDaiDelegate – Integrating the DAI Savings Rate

  • 5.14: LTokenInterfaces – Interface & Error Codes Reference

  • 6.1: Governance: Overview

  • 6.2: Lend Token & Voting Power

  • 6.3: Timelock Delay Mechanism

  • 6.4: Governor Architecture – Alpha vs Bravo & Proxy

  • 6.5: GovernorBravoDelegate – Storage & Core Types

  • 6.6: GovernorBravoDelegate – Proposal Lifecycle

  • 6.7: GovernorBravoDelegate – Voting & Quorum

  • 6.8: GovernorBravoDelegate – Admin Controls & Whitelisting

  • 6.9: Proxy Upgrade Flow

  • 7.1: Lens: Overview

  • 7.2: Token Metadata & LEND Speeds

  • 7.3: User Balances Helper

  • 7.4: Price & Liquidity Views

  • 7.5: Governance Receipts & Proposals

  • 7.6: LEND Balances, Votes & Historical Voting Power

  • 7.7: Internal Helper Utilities

  • 8.1: Cross-Chain Routers component: Overview

  • 8.2: LendStorage: Authorisation, Token Maps & Dual-Mapping Invariant

  • 8.3: LendStorage: Liquidity Math, Rewards & Helper Queries

  • 8.4: CoreRouter Basics & Supply / Redeem Path

  • 8.5: CoreRouter Borrow & Repay Workflows

  • 8.6: CoreRouter Liquidation Flow & Protocol Reward Split

  • 8.7: CrossChainRouter: Data Model & Payload Encoding

  • 8.8: Cross-Chain Borrow: A → B and confirmation B → A

  • 8.9: Cross-Chain Repay: liquidator path & DestRepay plumbing

  • 8.10: Cross-Chain Liquidation: two-phase execute & failure safety

Happy Auditing!

Powered by UpToSpeed

Join our community on Discord!

Discord logo

Let’s talk!