Comment on page
Mechanics of the Staking Formula
The formula to compute the cumulative rewards accrued at time t to the i-th user that staked tokens at time
is the following:
where:
- is the amount of TEMP tokens staked by the user i at time t
- is the amount of rewards distributed every second and it is constant over time
- is a parameter that increases rewards based on the staking duration
The staking multiplier is a key feature of the TEMP staking program. It has been designed to incentivize long-term participation in the program. The multiplier increases the potential rewards for stakers who commit their tokens for longer durations.
The multiplier is set to increase incrementally per every second staked.
The chart below shows an illustrative example of the RAFT staking rewards curve over time.

To compute the staking APR, the following formula is applied:
where
is the amount of rewards accrued to user i at second t, computed using the following formula
This amount is then annualized (multiplied by the number of seconds in a year, which is 60 x 60 x 24 x 365 = 31,536,000) and converted from RAFT to TEMP price to be in the same unit of measure as the amount of TEMP staked.
Last modified 1mo ago