Gearbox for developers
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • Introduction
  • Core concepts
    • Credit Accounts
    • Debt and Collateral
    • Quotas
    • Multicalls
    • Liquidations
    • Bots
  • System-level contracts
    • Overview
    • Contracts discovery
    • Data Compressor
    • Router
  • Credit accounts
    • Overview
    • Architecture
    • Importing contracts and interfaces
    • Opening a credit account
    • Closing a credit account
    • Liquidating credit accounts
    • Retrieving account data
    • Working with ETH
    • Multicalls
      • Overview
      • Performing external calls
      • Adding collateral
      • Withdrawing collateral
      • Managing debt
      • Updating quotas
      • Enabling and disabling tokens
      • Revoking allowances
      • Controlling slippage
      • Extra collateral check parameters
      • Updating on-demand price feeds
  • Adapters
    • Overview
    • Supported adapters
      • Aave V2
      • Balancer V2
      • Compound V2
      • Convex
      • Curve stable and crypto pools
      • ERC4626 vaults
      • Lido
      • Uniswap V2 and V3
      • Yearn V2
    • Building new adapters
      • Building adapters
      • Adapter tutorial: ERC4626 vault
  • Oracles
    • Overview
    • Yearn LP pricefeed
    • Curve pricefeed
    • Updatable Price Feed
  • Bots
    • Overview
    • Tutorial: limit orders
    • Tutorial: account manager
  • Pools
    • Overview
    • Interest rate model
    • Insurance
  • Gearbox V2
    • 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 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
  • Deployed contracts
  • Supported tokens
  • Introduction
  • Core concepts
    • Credit Accounts
    • Debt and Collateral
    • Quotas
    • Multicalls
    • Liquidations
    • Bots
  • System-level contracts
    • Overview
    • Contracts discovery
    • Data Compressor
    • Router
  • Credit accounts
    • Overview
    • Architecture
    • Importing contracts and interfaces
    • Opening a credit account
    • Closing a credit account
    • Liquidating credit accounts
    • Retrieving account data
    • Working with ETH
    • Multicalls
      • Overview
      • Performing external calls
      • Adding collateral
      • Withdrawing collateral
      • Managing debt
      • Updating quotas
      • Enabling and disabling tokens
      • Revoking allowances
      • Controlling slippage
      • Extra collateral check parameters
      • Updating on-demand price feeds
  • Adapters
    • Overview
    • Supported adapters
      • Aave V2
      • Balancer V2
      • Compound V2
      • Convex
      • Curve stable and crypto pools
      • ERC4626 vaults
      • Lido
      • Uniswap V2 and V3
      • Yearn V2
    • Building new adapters
      • Building adapters
      • Adapter tutorial: ERC4626 vault
  • Oracles
    • Overview
    • Yearn LP pricefeed
    • Curve pricefeed
    • Updatable Price Feed
  • Bots
    • Overview
    • Tutorial: limit orders
    • Tutorial: account manager
  • Pools
    • Overview
    • Interest rate model
    • Insurance
  • Gearbox V2
    • 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 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
  • Deployed contracts
  • Supported tokens
Question? Give us feedback → (opens in a new tab)Edit this page
Adapters
Supported adapters
ERC4626 vaults
Curve stable and crypto poolsLido

(c) 2023, Gearbox Protocol