Withdraw

User transfers supplyTokens and receives the vault supply assets in return

withdraw(uint256 amount, address to)

  • amount - amount the user wants to withdraw

  • to - address to which the funds should be sent

The user can withdraw up a loan-to-value ratio of the specified supplyThreshold.

Last updated