🚰LiquityDebtInFrontTrigger

Checks if total amount of debt in front of a specified trove is over a limit

Deployed address: 0xC4608Cb08ecBC109B9FaE4312274f60535a10820

Link to code

Standard trigger contract that checks if the debt in front of a certain trove is over the user specified limit.

Calculation might be gas expensive if the debtInFrontMin parameter is high or if the trove is at the start of the list.

Sub Params

/// @param troveOwner Trove is based on user address so we use trove owner addr
/// @param debtInFrontMin Minimal amount of debtInFront that is required
struct SubParams {
    address troveOwner;
    uint256 debtInFrontMin;
}

Last updated