CompV3PriceRangeTrigger
Description
Trigger ID
SDK Action
const compV3PriceRangeTrigger = new dfs.triggers.CompV3PriceRangeTrigger(
market,
collToken,
lowerPrice,
upperPrice
);Subscription Parameters
/// @param market address of the compoundV3 market
/// @param collToken address of the collateral token from the market
/// @param lowerPrice lower price of the collateral token in terms of the base token that represents the triggerable point.
/// @param upperPrice upper price of the collateral token in terms of the base token that represents the triggerable point.
struct SubParams {
address market;
address collToken;
uint256 lowerPrice;
uint256 upperPrice;
}Calldata Parameters
IsChangeable
Last updated