ClosePriceTrigger
Description
Trigger ID
SDK Action
const closePriceTrigger = new dfs.triggers.ClosePriceTrigger(
token,
lowerPrice,
upperPrice
);Subscription Parameters
/// @param tokenAddr address of the token
/// @param lowerPrice lower price of the token
/// @param upperPrice upper price of the token
struct SubParams {
address tokenAddr;
uint256 lowerPrice;
uint256 upperPrice;
}Calldata Parameters
IsChangeable
Last updated