CurveUsdHealthRatioTrigger

Description

Trigger contract that verifies if the CurveUSD position health ratio went under the subbed ratio

Trigger ID

0xbcde585a

SDK Action

const curveUsdHealthRatioTrigger = new dfs.triggers.CurveUsdHealthRatioTrigger(
    user,
    controller,
    ratio
);

Subscription Parameters

/// @param user address of the user whose position we check
/// @param market CurveUSD controller address
/// @param ratio ratio that represents the triggerable point
struct SubParams {
    address user;
    address market;
    uint256 ratio;
}

Calldata Parameters

None

IsChangeable

false

Last updated

Was this helpful?