Ambiguity in charging of withdrawal fees in yVault contracts

From a telegram chat “@andrecronje any idea why the withdrawal has been hit or miss?”

“So there is a deposit buffer, when you hit this buffer, no fee, this buffer is roughly 5% of the system, if it increases above 5% the system deposits the diff of buffer less 5%, so it tries to keep the balance between available buffer and maximized earnings. So as you deposit and the buffer increases above 5% it sends it to the underlying strategy, when you withdraw from the underlying strategy, you pay 5% on the strategy withdraw amount, not the withdraw amount. Since you are working with sub $5k, it often falls within this buffer, but it is highly dependent on deposits at the time. So if a big deposit came in before your tx (which triggers strategy deposit), then your next withdrawal will hit 5%, if the deposits did not exceed it, you will withdraw from the buffer instead. Its designed so that smaller investors don’t take the fee hit”

2 Likes