-
Notifications
You must be signed in to change notification settings - Fork 11
Implement setWithdrawalQueue #39
Copy link
Copy link
Open
Description
User Story
- As an <audience/user>: PieAdmin
- I want to <action/task>: Set the withdrawal queue
- so that <outcome/goal/benefit>: So the least profitable or less expensive ones to exit are withdrawn from first when a user withdraws.
Type
- Enhancement
- Maintenance
- Refactor
Description
When a user does a large withdraw, the PieVault will often have to withdraw from strategies. The order in which this happens is determined by the withdrawal queue. Each underlying asset has its own withdrawalQueue.
Definition of Done
- Implement
setWithdrawalQueue - Unit test
setWithdrawalQueue
Part of #30
See LibStrategyBasketStorage.sol on yearn-strategy-support for the storage structure
See the Yearn implementation as reference
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels