DeFi Saver
Search…
LiquityOpen
Action that opens up a Liquity Trove with specified collateral and debt amounts.
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 maxFeePercentage - The highest borrowing fee to accept.
  • uint256 collAmount - Amount of WETH to deposit.
  • uint256 lusdAmount - Amount of LUSD to generate.
  • address from - Address where the WETH is being pulled from.
  • address to - Address that will receive the generated LUSD.
  • address upperHint
  • address lowerHint
Last modified 6mo ago
Copy link