Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement setEmergencyShutdown #38

Open
1 of 5 tasks
MickdeGraaf opened this issue Jun 3, 2021 · 0 comments
Open
1 of 5 tasks

Implement setEmergencyShutdown #38

MickdeGraaf opened this issue Jun 3, 2021 · 0 comments

Comments

@MickdeGraaf
Copy link
Member

User Story

  • As an <audience/user>: PieVault admin
  • I want to <action/task>: be able to trigger an emergency shutdown
  • so that <outcome/goal/benefit>: To limit losses in case of emergency

Type

  • Enhancement
  • Maintenance
  • Refactor

Description

In case of emergency a PieVault admin should be able to trigger an emergency shutdown which:

  • Disables minting. (Can be done by setting the cap to 0)
  • Disables adding of new strategies
  • Sets the debt ratio of all strategies to 0

Definition of Done

  • Implement setEmergencyShutdown
  • Unit test setEmergencyShutdown

See Yearn implementation
Part of #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant