DeFi Saver
Search…
RariDeposit
Action that deposits tokens into Rari pool, and gets Rari Pool Tokens in return.
User needs to approve the DSProxy to pull stablecoinAddress tokens.
Parameters:
  • 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
Copy link