Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-compounding the Reserve yield #2

Open
RickGriff opened this issue Jan 17, 2022 · 1 comment
Open

Auto-compounding the Reserve yield #2

RickGriff opened this issue Jan 17, 2022 · 1 comment

Comments

@RickGriff
Copy link
Contributor

The LQTY Reserve (bonded LQTY + POL) in Chicken Bonds should earn yield, which should be converted back to LQTY and regularly redeposited to the POL.

Sources of yield:

  • Liquity Staking contract - earns LUSD and ETH gains.
  • LQTY-ETH AMM (Uniswap v2 and v3 fees)

The LQTY-ETH Uniswap v2 pair already auto-compounds the trade fees. If we also (or instead) connect Chicken bonds to the Uniswap v3 pair, its fees are in LQTY and ETH, so may be redeposited.

So the main question is how to determine the auto-compounding of the LQTY staking yield (LUSD and ETH).

Primary architecture questions/aims

  • Should we use integrate Chicken Bonds with a 3rd party system for yield auto-compounding, or roll or own?
  • Can we minimize governance/admin control, and incentivize regular & frequent yield harvests?

3rd party protocols to review

  • Pickle Finance (LQTY Jar)
  • Yearn
  • Gelato (bot network for automation of arbitrary smart contract logic)

Research questions for 3rd party systems

  • What are the auto-compounding mechanics at the smart contract level?
  • What manual action is required - e.g. harvesting? How often is it performed? By who?
  • What level of admin/governance control does harvesting have? Can funds ever be held back/frozen? What is the incentive structure?
@RickGriff RickGriff changed the title Auto-compounding the POL yield Auto-compounding the Reserve yield Jan 17, 2022
@cvalkan
Copy link
Contributor

cvalkan commented Jan 18, 2022

Thanks for writing this up @RickGriff!

It's also worth looking at B.Protocol and their integration of Gelato:

The formula offers the ETH for sale with a discount over market price. And the bigger the ETH balance is (w.r.t total LUSD + ETH inventory) the bigger the discount is. Up to a limit of 4% over market price.

The sell price is aggregated by DEX aggregators such as Kyber Network and Paraswap, and decentralized keepers from Gelato and Chainlink Keepers were integrated to execute an arbitrage trade whenever the price falls too much below market price as a secondary safety measure.

and most lately KeeperDAO: https://twitter.com/0x81b/status/1482081778584068100?s=21

Another architecture question is whether we would use an AMM for exchanging LUSD/ETH to LQTY or rather an OTC-like approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants