Closed GalloDaSballo closed 2 years ago
Due before Citadel LP launch
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:
governance
can change the strategy split and destination parameters. If we desire to give both Badger and Citadel these rights, we could set the Citadel multisig as the strategist
and make the functions _onlyGovernanceOrStrategist()
. For now, the assumption is that the Citadel multisig will hold the governance control.xCitadelLocker.approveRewardDistributor(
strategy.wbtc(),
strategy.address,
True,
{"from": governance}
)
Reviewers:
All tests are passing:
@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?
@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.
Closing in lack of feedback
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)