AaveV4RatioTrigger
Description
Trigger ID
SDK Action
const aaveV4RatioTrigger = new dfs.triggers.AaveV4RatioTrigger(
user,
spoke,
ratio,
state
);Subscription Parameters
/// @param user Address of the user.
/// @param spoke Address of the aaveV4 spoke.
/// @param ratio Ratio that represents the triggerable point.
/// @param state Represents if we want the current state to be higher or lower than ratio param.
struct SubParams {
address user;
address spoke;
uint256 ratio;
uint8 state;
}Calldata Parameters
IsChangeable
Last updated