DeFi Saver
Comment on page


Action that deposits tokens into Rari pool, and gets Rari Pool Tokens in return.
User needs to approve the DSProxy to pull stablecoinAddress tokens.
  • address fundManager - Address of the Fund Manager ( different depending on which coin we deposit)
  • address stablecoinAddress - Address of the stablecoin token that we will deposit into the pool
  • address poolTokenAddres - Address of the pool token.
  • uint256 amount - Amount of tokens to deposit
  • address from - Address from which the tokens will be pulled to proxy
  • address to - Address which will receive incoming pool tokens