Badger-Finance / badger-strategies

5 stars 1 forks source link

[CITADEL] CTDL/wBTC Convex Optimizer with Split distribution #53

Closed GalloDaSballo closed 2 years ago

GalloDaSballo commented 2 years ago

Strategy Review

https://docs.google.com/document/d/1surKSrEyEE_2aq8_Rwadvo_JrwuoYJHsm34YxG4ggcU/edit

NOTE: See doc for split (cannot just copy paste the strat!!)

Description

Plaintext logic. Can be a link to README or other doc.

Code Link

Commit / Hash / Repo should be known from this.

Due Diligence Document (Link, but could also just be a .md file in repo)

This document evaluates the protocols that are interacted with as strategy positions.

Deployed Contract (If present)

Review By

Review by Security Board

Test Checks (screen shot of all test passing)

GalloDaSballo commented 2 years ago

Due before Citadel LP launch

sajanrajdev commented 2 years ago

Code is ready for review: https://github.com/sajanrajdev/strategy-convex-staking-citadel-v1.5/tree/main

This is the first version of the strategy that:

NOTES:

Reviewers:

All tests are passing: image

btcookies commented 2 years ago

@sajanrajdev could we not set up an ACL contract similar to what we do for the keepers to handle having multiple governance wallets? Or do you think having strategist and governance is a sufficient solution?

sajanrajdev commented 2 years ago

@btcookies, that is always an option but I really don't see the need for it. TheVault and BaseStrategy contracts already offer the governance and strategist with the necessary modifiers for access control (and it is not ideal to modify these contracts and they are fully audited). Adding another layer of ACL to these would represent an overkill imo given that we will only have Badger and Citadel interacting with these.

I think it all comes down to who will be owning and maintaining these strats. Maybe @dapp-whisperer can give us more insights there. If we need more than multi with permissions, then I could implement an ACL.

GalloDaSballo commented 2 years ago

Closing in lack of feedback