pie-dao / PieVaults

21 stars 11 forks source link

Implement setWithdrawalQueue #39

Open MickdeGraaf opened 3 years ago

MickdeGraaf commented 3 years ago

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

Part of #30 See LibStrategyBasketStorage.sol on yearn-strategy-support for the storage structure See the Yearn implementation as reference