spartan-protocol / spartanswap-contracts

📃 Spartan Protocol Smart Contracts V1 - V2
20 stars 6 forks source link

GLOBAL FREEZE | Notes #69

Closed SamusElderg closed 3 years ago

SamusElderg commented 3 years ago

• Now that its ~1hr periods; should we consider a tighter % than 30? • Make sure harvest() doesn't reset lastClaim or anything like that during the freeze period • Make sure mintSynth & burnSynth is frozen too (not just reserve emissions) • Flick pools 'freeze' status back to false after it causes the freeze action • Make it so the Dao can flip it back via Dao proposal 'flipEmissions' or similar • This will break harvest() which is forced in some situations (like when adding LPs to the vault) so make a list of these and make sure they don't cause any major UX grief (or break functions that are intended to continue to work)