šŸ’øExecutor Reward

Overview of dynamic on-chain fee calculation in DEP

The Ditto Entry Point enables workflow execution by a set of executors. Compensation is calculated using the following formula:

C(p)=FRāˆ’UGāˆ—pC(p) = FR - UG * p
FR=100.000āˆ—tpFR = 100.000 * tp
UG=SGāˆ’CGUG = SG - CG

UG = 500 as of current parameters set up*

where:

  • C - is the the compensation to executor with reward

  • FR - fixed reward for successfull execution

  • UG - uncompensated amount of gas units

  • tp - target gas price for each evm chain

  • SG - spent gas for execution

  • CG - compensated amount of gas for execution

This uncompensated gas amount incentivizes executors to use the most optimal gas price, balancing timely execution with maximizing yield.

The breakeven point is deliberately set significantly higher than the historical average gas price (approximately 100 times higher across EVM chains) to ensure margin. This breakeven can also be adjusted dynamically based on target gas prices.

Last updated