Gearbox Protocol
  • Overview
  • Link Tree & Dev Docs
  • What can you do with leverage 2.0?
  • Protocol overview
    • How it works
    • Credit Accounts
      • AllowedList: Integrations
        • OLD: V1 and V2
      • How to add new Contracts & Assets to AllowedList
    • Liquidations
      • Reserve Fund
    • Protocol Fees
    • Tech Paper
    • FAQ
    • History: DAO-First Launch
      • Birth at ETHGlobal MarketMake 2021
      • Kovan testing with DegenScore & lobsterdao
      • Credit Account Mining
      • Early Testers and Discord
  • Traders & farmers
    • Opening a Credit Account
    • Margin Trading: PURE
      • Boosted Long/Short or "Free Leverage"
    • Leverage Points & Restaking
    • Leverage Farming
      • One-Click Strategies
      • Leveraged liquid staking
      • Leveraged stablecoin farming
      • Leveraged Curve V2 and Convex
      • Leveraged vanilla yVaults
      • Arbitrage of correlated assets
    • Tips for leverage users
      • How to avoid liquidations
      • How to close a Credit Account
    • PRO: Leverage Bible
  • Passive Lending
    • Pools & APY
      • OLD: V1-V2 Pools
    • Dashboard: How to Earn
  • GOVERNANCE | DAO
    • Main DAO Governance
      • Guards [Multisigs]
      • Community Delegates
    • Quotas and Gauges
      • Dashboard: Gauge Voting
  • GEAR Token
    • Supply Information
    • Utility & Staking
    • Legal Disclaimer
  • Security & Risks
    • Audits & Bug Bounty
    • Risks and T&C
Powered by GitBook
On this page
  • Pool tokens: (staked) Diesel Tokens
  • Where does the yield come from?
  • Future: Alpha Pools [Inherited]

Was this helpful?

  1. Passive Lending

Pools & APY

Passive lending on Gearbox Protocol.

PreviousPRO: Leverage BibleNextOLD: V1-V2 Pools

Last updated 2 months ago

Was this helpful?

Non-custodial. No impermanent loss. Isolated. Organic rates. No liquidations.

  • Earning with Gearbox is as simple as lending on Compound or Aave. Next to that, pools are semi-isolated. Lend liquidity in the asset you choose and start earning APY! No impermanent loss.

  • With Gearbox's Credit Accounts, your assets never end up in custody of any one person or company. They are held on an isolated smart contract after they are borrowed.

The asset you lend to the protocol woulв be utilized, aka borrowed for leverage, by traders & farmers who сould be actively rebalancing their positions. As borrowers, they will be required by the protocol to pay different fees which accrue to the underlying pools of those assets, dTokens.

Pool tokens: (staked) Diesel Tokens

Gearbox lending pools are ERC-4626.

As for the GEAR or any other extra token yields, those are accruing to your staked dTokens too, but you need to claim them. How often? - That's up to you to decide. Simply click on the rewards tab in the top right corner of the interface or do it onchain yourself.

dTokens and staked sdTokens

Asset
Contract Address

dWETH (ETH)

dUSDC

dWBTC

sdWETH

sdUSDC

sdWBTC

Where does the yield come from?

The yield comes from multiple sources:

  1. Borrowers pay rates according to the regular utilization curve (explained below). The more the liquidity in the pools is utilized, the higher the rate. This is similar to other lending protocols.

  2. Any extra rewards in the form of GEAR or other tokens that are being available.

1. Two-Tick Utilization Curve

Capital is required for traders and farmers to get leverage for their financial operations. For this, there are Liquidity Pools: anyone can become a liquidity provider by supplying assets in the Liquidity Pool. The profitability of LPs depends on the pool utilization ratio U - the higher utilization, the higher interest rate. Borrow APY is calculated according to formula:

r(t)={r0+U(t)U1×r1,U(t)≤U1r0+r1+(U(t)−U1)r2U2−U1,U(t)∈(U1,U2].r0+r1+r2+(U(t)−U2)r31−U2,U(t)>U2.r(t) = \begin{cases} r_0 + \frac{U(t)}{U_1}\times r_1, & U(t) \le U_1\\ r_0+r_1 + \left(U(t)-U_1\right)\frac{r_2}{U_2-U_1}, & U(t) \in (U_1,U_2].\\ r_0+r_1+r_2 + \left(U(t)-U_2\right)\frac{r_3}{1-U_2}, & U(t) > U_2.\\ \end{cases}r(t)=⎩⎨⎧​r0​+U1​U(t)​×r1​,r0​+r1​+(U(t)−U1​)U2​−U1​r2​​,r0​+r1​+r2​+(U(t)−U2​)1−U2​r3​​,​U(t)≤U1​U(t)∈(U1​,U2​].U(t)>U2​.​

Previously, when a new Credit Account was opened or closed to utilization 1-tick, the rates would skyrocket or drop instantly. That is because the state of the curve was either cheap to borrow or insanely expensive to borrow. That made decision-making for both users confusing. With the new model which is two-tick, it introduces three states essentially: cheap to borrow, high but acceptable rate for borrowing, and insanely expensive to borrow.

Asset pool
r_0
r_1
r_2
r_3
U_1
U_2

USDC

0

1

1.25

100

70

90

ETH

0

2

2.5

60

70

90

WBTC

0

2

2.5

60

70

90

2. Gauge Extra Rates

The above was the only source of organic yield previously. With V3, there are also Gauges. They establish extra interest rates on top of the regular ones. Then those are shared between passive lending pools (thus making APYs higher) as well as the DAO. See more in:

3. Extra GEAR rewards

Check the interface for the latest information. Those are accruing to your staked dTokens too, but you need to claim them. How often? - That's up to you to decide. Simply click on the rewards tab in the top right corner of the interface or do it onchain yourself.


Future: Alpha Pools [Inherited]

V3 brings an extra logic possible with passive pools: inherited, or alpha, pools.

This helps isolate risks without fragmenting liquidity. The extra APY in the Alpha pool would be at minimum (as a rule) the base APY of the Main pool + base APY of the Alpha pool + the extra fees taken from the quotas. As such, Alpha pools will earn the minimum of the Main pool + extra.

Those pools are not separately isolated, but are rather "built on top" of an existing pool. With the use of Alpha pools, passive lenders of the Main pool would be able to opt-in to passive lend into these as well. Therefore, Alpha pools can have their liquidity work in two places at the same time. That is due to the fact that Alpha pool liquidity, if not utilized, is used in the Main pool it's essentially attached to.

In the future, there can be Pool N or other pools like the Alpha pool… modularity doesn’t have to stop. This modularity overall helps granularize risks while allowing for growth. Such a pool setup doesn’t fractionalize liquidity which is also quite important for lending-like protocols.

The positions which traders and farmers take should be liquidated by third-party before the assets of liquidity providers would start being exposed to the downside. As such, the protocol returns the liquidity providers’ assets. This is how Gearbox is able to provide composable leverage.

Because Gearbox architecture is modular, there can exist multiple pools for the same asset. Each pool would then be isolated from one another and can have different .

When you supply capital to a pool, you get Diesel Tokens, also known as dTokens. These tokens automatically earn interest & fees proportional to your share of the pool or Yearn LP tokens. You don’t need to claim interest or perform any other actions, your Diesel Tokens grow in value over time. This is if the pool doesn't suffer losses from bad liquidations or hacks.

Getting Diesel tokens is super easy, you can try it out by .

Borrowers pay extra rates according to gauges (see in ). These rates can be configured by GEAR stakers and vary from epoch to epoch.

There are also things like max borrow limit, pool limits - for different Credit Managers. Check the page for the links to understand this better. Alternatively, the interface shows this information as well, in a minimalistic way. .

liquidators
AllowedList
like cTokens on Compound
Dashboard: How to Earn
Protocol Fees
AllowedList Policy
See the explanation
0xda0002859B2d05F66a753d8241fCDE8623f26F4f
0xda00000035fef4082F78dEF6A8903bee419FbF8E
0xda00010eDA646913F273E10E7A5d1F659242757d
0x0418fEB7d0B25C411EB77cD654305d29FcbFf685
0x9ef444a6d7F4A5adcd68FD5329aA5240C90E14d2
0xA8cE662E45E825DAF178DA2c8d5Fae97696A788A
Protocol Fees
supplying liquidity to Gearbox Protocol