DeFi Saver


Action that burns Rari Pool Tokens for underlying stablecoins in return
User needs to approve the DSProxy to pull poolTokenAddress tokens.
  • address fundManager - Address of the Fund Manager ( different depending on which coin we deposit)
  • address poolTokenAddres - Address of the pool token.
  • uint256 poolTokensAmountToPull - Amount of pool tokens to pull to proxy
  • address from - Address from which the tokens will be pulled to proxy
  • address stablecoinAddress - Underlying stablecoin address
  • uint256 stablecoinAmountToWithdraw - Amount of stablecoins to withdraw from Rari Pool
  • address to - Address which will receive returning stablecoins