Account Token Balances

When you have an auto-compounding position or are auto-compounding a position for someone else, there are usually some some small amounts of left-over tokens. By default they are added to the accounts token balances.
The functions described here help to manage those token balances.

accountBalances(account, token) view

Returns the accumulated balance for given account and token address.

withdrawBalance(token, to, amount)

Transfers the accumulated balance of msg.sender for a given token to a specified address.