leapdao / meta

Everything meta and not-fitting to other repos
Creative Commons Attribution Share Alike 4.0 International
9 stars 7 forks source link

Explore posibilities of utilizing DAI Savings Rate for our multisigs #207

Closed troggy closed 4 years ago

troggy commented 4 years ago

Bounty

Our DAI are just sitting, while they may yield some profits via DSR (approx 300 DAI per month!).

Some of the possibilities:

  1. Lock DAI in DSR, change Bounty Payout contract to withdraw from DSR on payout (costs ~170k gas)
  2. Lock DAI in CHAI, do payouts in CHAI. Burden of unwrapping is shifted to payee.
  3. Lock DAI in DSR, unlock 3000 back to DAI every week to pay the bills (3K DAI ~ our weekly burnrate). This way it's just a single 170k gas payout a week, but probs more hastle

Reference: https://blog.makerdao.com/why-the-dai-savings-rate-is-a-game-changer-for-the-defi-ecosystem-and-beyond/ https://oasis.app/save https://chai.money/

Scope

Deliverables

Gain for the project

extra money for projects

Roles

bounty gardener: @troggy / 20 DAI bounty worker: @saumyabratadutt / share bounty reviewer: @troggy / share

Funded by

General Circle

haikukoten commented 4 years ago

🤚🤚🤚 I want to work on this project.

troggy commented 4 years ago

writeup by @saumyabratadutt https://docs.google.com/document/d/1lPAdlfWOQBJi6coZiKlJWBzHjJ_X_8aEEnO8YM0sLSE/edit?usp=sharing

Conclusion Security: DSR is the most safe, Compound is a runner up (less decentralized). Gas costs for withdrawal: very close, almost about the same. 200k for DSR on average. 240k for Compound on average.

Suggested follow up for this bounty:

  1. Put all the treasury in DSR
  2. Change BountyPayout contract to withdraw from DSR on payout (+200k gas)
  3. Create PayoutFromDSR contract for normal DAI withdrawals (reimbursements etc). It should: withdraw from DSR, do the transfer.
  4. Deploy all new BountyPayout for all the multisigs. Deploy PayoutFromDSR for all the multisigs