Closed btcookies closed 2 years ago
cc: @sajanrajdev @shuklaayush @GalloDaSballo @axejintao
@btcookies is there a upgrade test?
@GalloDaSballo I thought I baked it into each of the tests by upgrading, comparing storage vars, testing deposit withdraw etc
LGTM
treasury
address storage var that withdrawal fees are transferred toFor some reason governance
is called affiliate
beside that LGTM
For some reason
governance
is calledaffiliate
beside that LGTM
This is the name originally introduced by Yearn, the wrapper is based on their AffiliateToken contract.
treasury
must be set to Treasury Ops atomically with the upgrade. For as long as the treasury variable is set to 0x0
no withdrawal fees will be charged.Tests are included to confirm a successful upgrade as well of the introduced features and all of the regular operations. All tests are passing:
LGTM
Closing as succesful
Strategy Review
Description
Upgrading the SimpleWrapperGatedUpgradeable contract for byvWBTC to support GAC pausing and ability to redirect withdrawal fees. To redirect withdrawal fees, new storage variable treasury was created with new setter and event.
Issue described in detail here https://github.com/Badger-Finance/badger-multisig/issues/540.
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)
https://etherscan.io/address/0x4b92d19c11435614CD49Af1b589001b7c08cD4D5
Review By
Review by Security Board
Test Checks (screen shot of all test passing)