DeFi Saver
Search…
LiquitySupply
Action that supplies collateral to the users Trove.
User needs to approve the DSProxy to pull the WETH tokens used for collateral.
If collAmount is uint256.max the whole balance of from will be used.

Parameters:

  • uint256 collAmount - Amount of WETH being deposited.
  • address from - Address where the WETH is being pulled from.
  • address upperHint
  • address lowerHint
Last modified 6mo ago
Copy link