McdRatioTrigger
Description
Trigger ID
SDK Action
const makerRatioTrigger = new dfs.triggers.MakerRatioTrigger(
vaultId,
ratio,
state
);Subscription Parameters
/// @param vaultId id of the vault whose ratio we check
/// @param ratio ratio that represents the triggerable point
/// @param state represents if we want current ratio to be higher or lower than ratio param
struct SubParams {
uint256 vaultId;
uint256 ratio;
uint8 state;
}Calldata Parameters
IsChangeable
Last updated