Skip to content

Delegated Staking Rewards

Claiming rewards

After the end of each epoch (Monday 00:00:00 UTC), reward calculation starts. The rewards are written to the rewards distributor contract as soon as the calculation is completed. When the rewards are avaialble in the contract, pool owners and delegators can claim their portion of the rewards.

Forta App

Visit "My Rewards" page from the top right menu on Forta App! You can see on the rewards page if you have any available rewards and claim rewards from multiple epochs with single action.

Polygonscan

To claim pool owner rewards over Polygonscan:

  • visit the getCurrentEpochNumber method and take a note of the epoch number,
  • visit the claimRewards method
  • click on "Connect to Web3" on the top and connect your wallet,
  • and fill in:
    • subjectType: 2 for pool owner, 3 for delegator
    • subjectId: The pool ID to claim the rewards from
    • epochNumbers: Do number from first step minus 1 and input e.g. [2561] if the number was 2562
  • click on "Write" to send the transaction.

This transaction may fail if you have no rewards from that epoch. To verify this over Polygonscan:

  • visit the availableReward method,
  • and fill in:
    • subjectType: 2 for pool owner, 3 for delegator
    • subjectId: The pool ID to claim the rewards from
    • epochNumber: Same as in the claimRewards example above
    • staker: Your wallet address which you used to stake on this pool

Formula

With the introduction of delegated staking, there are new reward formulas for pool owners and delegators. These formulas seek to

  • encourage node runners to ensure the reliability and performance of the Forta network by achieving the highest possible SLA scores in their nodes,
  • encourage node runners and delegators to stake more and increase the economic security of the network.

The approach involves distributing rewards to participants as a function of the proportional scan node SLA, scan node uptime and allocated pool stake on the network, using the Cobb-Douglas production function.

Important definitions

  • epoch duration: 1 week, from Monday 00:00:00 UTC to Sunday 23:59:59 UTC
  • commission becomes effective: next epoch
  • commission lockdown after any change: two epochs (excluding the current one)

These values subject to change.

The score of scan node j during an epoch is:

scan node rewards formula

Consequently, the total score of scanner pool i during an epoch is:

scan pool rewards formula

And the share of the rewards scanner pool i receives during an epoch is:

share of rewards

Consequently, the total amount of rewards allocated to scanner pool i, during an epoch is:

rewards

where F is the total amount of FORT rewards to all of the Forta scan nodes during the epoch.

Finally, the total amount of rewards allocated to scanner pool i is divided between the node runner of that pool and all the delegators to it:

Node runner rewards on scanner pool i:

node runner rewards

Delegator rewards on scanner pool i:

delegator rewards

where:

where

The values of parameters α and β are set to 3 and 0.5 respectively and are subject to change in the future.

The total amount of the delegator rewards are distributed to each delegator proportionally to their deposited stake. The on-chain rules are the ultimate authority of this logic, and in the case where the on-chain rules differ from this, it will prevail.


  1. For this calculation, only the periods when the SLA is at least 0.75 are considered. 

  2. For this calculation, only the periods where the stake is at least 2,500 are considered. When the stake is less than that, the node is not considered to be online, so that’s already captured on the time online parameter. 

  3. Rewardable time online requires the SLA to be at least 0.75.