Task Reward and Gas Compensation

Currently, the compensation for keeper is calculated by the following formula:

compensation = (gasPrice_ * gasUsed_ * _rdConfig.jobCompensationMultiplierBps / 10_000) + (stake / _rdConfig.stakeDivisor)

Where

  • gasUsed_ is the amount of gas consumed by the task and paid by the keeper.

  • gasPrice_ is the current gas price.

  • _rdConfig.jobCompensationMultiplierBps is the Agent-wide job compensation multiplier in basis points

  • stake is the value of the rewarded keeper's stake

  • _rdConfig.stakeDivisor is the Agent-wide value of a stake divisor for scaling the stake

In the V2.1 update, this will be changed to a slightly different model.

Last updated