TrailingStopTrigger
Description
Trigger ID
SDK Action
const trailingStopTrigger = new dfs.triggers.TrailingStopTrigger(
tokenAddr,
percentage,
roundId
);Subscription Parameters
/// @param tokenAddr address of the token
/// @param percentage percentage of the price that represents the triggerable point
/// @param startRoundId start round id of the token
struct SubParams {
address tokenAddr;
uint256 percentage;
uint80 startRoundId;
}Calldata Parameters
IsChangeable
Last updated