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
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
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
setWithdrawalQueuesetWithdrawalQueuePart of #30
See
LibStrategyBasketStorage.solon yearn-strategy-support for the storage structureSee the Yearn implementation as reference