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
  • Points Calculation
  • Developer Points
  • Example
  • Task Parameters
  • Step-by-Step Calculation
  • Developer Points
  1. Rewards

Developer Rewards

Points Calculation

Points incentivize developers and operators for platform usage and performance.

Developer Points

All the developers will get points equivalent to the computation cost.

Example

Let's calculate the total TriggerGas (TG) and fees for a task with the following parameters:

Task Parameters

  • Execution Time: 5 seconds

  • Memory Usage: 256 MB

  • Static Complexity Size: 2048 KB

  • Number of Validator Nodes: 3

Step-by-Step Calculation

1. Execution Time

Execution Time TG = 5 seconds × 2
Execution Time TG = 10 TG

2. Memory Usage

Memory Usage TG = (256 MB / 128) × 1
Memory Usage TG = 2 TG

3. Static Complexity

Static Complexity TG = (2048 KB / 1024) × 1
Static Complexity TG = 2 TG

4. Transaction Simulation

Transaction Simulation TG = 1 TG

5. Fixed Cost

Fixed Cost TG = 1 TG

6. Computation Cost

Computation Cost = (Execution Time × 2) + (Memory Usage MB / 128 × 1) + (Static Complexity KB / 1024 × 1)
Computation Cost = 10 + 2 + 2
Computation Cost = 14 TG

Developer Points

Developer Points = Computation Cost
Developer Points = 14 points
PreviousKeeper RewardsNextContributor Rewards

Last updated 2 months ago