so that <outcome/goal/benefit>: So the least profitable or less expensive ones to exit are withdrawn from first when a user withdraws.
Type
[x] 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
User Story
Type
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
setWithdrawalQueue
setWithdrawalQueue
Part of #30 See
LibStrategyBasketStorage.sol
on yearn-strategy-support for the storage structure See the Yearn implementation as reference