DeFi Saver
Search…
LiquityRedeem
Action that redeems ETH(wrapped) using LUSD with the target price of LUSD = 1$.
if lusdAmount is uint256.max the whole LUSD balance of from will be used.
It's not guaranteed by the protocol that the whole requested amount will be redeemed.

Parameters:

  • uint256 lusdAmount - Amount of LUSD tokens to use for redemtion.
  • address from - Address where to pull the tokens from.
  • address to - Address that will receive the redeemed ETH(wrapped).
  • address firstRedemptionHint
  • address upperPartialRedemptionHint
  • address lowerPartialRedemptionHint
  • uint256 partialRedemptionHintNICR
  • uint256 maxIterations
  • uint256 maxFeePercentage - The highest redemtption fee to accept.
Last modified 5mo ago
Copy link