Comment on page
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 pooladdress poolTokenAddres
- Address of the pool token.uint256 amount
- Amount of tokens to depositaddress from
- Address from which the tokens will be pulled to proxyaddress to
- Address which will receive incoming pool tokens
Last modified 1yr ago