DeFi Saver
Action that burns yTokens and withdraws matching tokens from yVault
User needs to approve DSProxy to pull yTokens to send them to yVault


  • address token - The contract address of the yToken you're sending
  • uint256 amount - The desired amount of token to be sent
  • address from- The account address where to pull tokens from
  • address to - Address where incoming tokens will go to
Use uint256.max for amount supplies your whole balance
Last modified 6mo ago
Copy link