TriggerX Docs
  • Introduction
    • What is TriggerX?
    • Key Features
  • Core Concepts
    • Architecture
    • Triggers in TriggerX
      • Time-Based Trigger
      • Event-Based Trigger
      • Condition-Based Trigger
    • Task Manager
    • Keepers
      • Keeper as Performer
      • Keeper as Attester
    • Aggregator
    • Network Monitoring
    • Contracts
      • AVS Governance
      • Attestation Center
  • Getting Started as Keepers
  • Monitoring And Analytics
    • Monitor Your Keeper
    • Monitor Your Job
  • Rewards
    • Keeper Rewards
    • Developer Rewards
    • Contributor Rewards
  • Fee Calculation
  • Guide
    • Templates
    • Usecases
  • Security Model
  • Community and Support
  • Appendices
    • Glossary
    • FAQ and Troubleshooting
    • Changelogs
  • References
  • Create Your First Job
    • Create Your First Time Based Job
    • Create Your First Event Based Job
Powered by GitBook
On this page
  • Implementation in TriggerX
  • Use Cases
  1. Core Concepts
  2. Triggers in TriggerX

Condition-Based Trigger

Condition-based triggers execute smart contract functions when certain conditions or thresholds are met. These triggers evaluate predefined criteria and initiate actions once the conditions are satisfied.

Implementation in TriggerX

  • Condition Evaluation: TriggerX continuously assesses specified conditions using on-chain data or external inputs.

  • Trigger Activation: When the conditions are met, the system executes the designated smart contract function.

Use Cases

  • Price Thresholds: Execute trades or rebalance portfolios when asset prices reach certain levels.

  • Collateral Ratios: Initiate liquidations or adjustments when collateralization ratios fall below safe thresholds.

  • Custom Metrics: Trigger actions based on user-defined metrics or external data feeds.

Condition-based triggers offer granular control over automation, allowing for sophisticated and responsive decentralized applications.

PreviousEvent-Based TriggerNextTask Manager

Last updated 1 month ago