From fd57430ba91ff484a4551a96e70bea306832138c Mon Sep 17 00:00:00 2001 From: steffel <2143646+steffenix@users.noreply.github.com> Date: Tue, 27 Apr 2021 12:16:50 +0200 Subject: [PATCH] docs: withdraw can empty available funds --- contracts/Vault.vy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contracts/Vault.vy b/contracts/Vault.vy index 651e10af..7a3d02fc 100644 --- a/contracts/Vault.vy +++ b/contracts/Vault.vy @@ -1017,6 +1017,11 @@ def withdraw( entitled to, if the Vault's estimated value were otherwise measured through external means, accounting for whatever exceptional scenarios exist for the Vault (that aren't covered by the Vault's own design.) + + In the situation where a large withdrawal happens, it can empty the + vault balance and the strategies in the withdrawal queue. + Strategies not in the withdrawal queue will have to be harvested to + rebalance the funds and make the funds available again to withdraw. @param maxShares How many shares to try and redeem for tokens, defaults to all. @param recipient