Gearbox for developers
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • Deployed contracts
  • Introduction
  • Architecture
    • Overview
    • Contracts discovery
    • Account factory
    • Role model
  • Pools
    • Overview
    • Liquidity
    • Interest rate model
    • Fee collection
    • Insurance
    • Economy
  • Credit accounts
    • Overview
    • Architecture
    • Open credit account
    • Execute transactions
    • Multicall
    • Adding collateral
    • Debt management
    • Closing credit account
    • Liquidation
    • Account transfer
    • Working with ETH
    • Upgradeable Contracts
  • Adapters V3
    • Overview
    • Building adapters
    • Tutorial: writing ERC-4626 adapter
  • Adapters V2
    • Building
    • Universal adapter
    • Uniswap adapter
    • Curve adapter
    • Yearn adapter
    • Lido adapter
    • Convex adapter
    • Balancer adapter
  • Oracles
    • Overview
    • Yearn LP pricefeed
    • Curve pricefeed
  • Risk management
    • Overview
    • Liquidation thresholds in details
    • Fast collateral check
    • Math proof of fast collateral check
  • Bots
    • Overview
    • Tutorial: limit orders
    • Tutorial: account manager
  • Supported tokens
  • Deployed contracts
  • Introduction
  • Architecture
    • Overview
    • Contracts discovery
    • Account factory
    • Role model
  • Pools
    • Overview
    • Liquidity
    • Interest rate model
    • Fee collection
    • Insurance
    • Economy
  • Credit accounts
    • Overview
    • Architecture
    • Open credit account
    • Execute transactions
    • Multicall
    • Adding collateral
    • Debt management
    • Closing credit account
    • Liquidation
    • Account transfer
    • Working with ETH
    • Upgradeable Contracts
  • Adapters V3
    • Overview
    • Building adapters
    • Tutorial: writing ERC-4626 adapter
  • Adapters V2
    • Building
    • Universal adapter
    • Uniswap adapter
    • Curve adapter
    • Yearn adapter
    • Lido adapter
    • Convex adapter
    • Balancer adapter
  • Oracles
    • Overview
    • Yearn LP pricefeed
    • Curve pricefeed
  • Risk management
    • Overview
    • Liquidation thresholds in details
    • Fast collateral check
    • Math proof of fast collateral check
  • Bots
    • Overview
    • Tutorial: limit orders
    • Tutorial: account manager
  • Supported tokens
Question? Give us feedback → (opens in a new tab)Edit this page
Adapters V2
Yearn adapter

Lido adapter

Curve adapterLido adapter

(c) 2022, Gearbox Protocol