Fix: Cannot withdraw all tokens in one transaction
Alexangelj opened this issue · comments
Description
The draw
function withdraws tokens from an internal balance of an account to a target address. If a user directly has an account in Portfolio, they would need to do a transaction for each token. This should be fixed by updating the draw
function to take an array of tokens and amounts to withdraw.
Closing this as internal balances were removed.