Reward

This document provides an overview of how rewarding mechanism work

The reward programs for DGYM in DeGym are designed to incentivize and reward stakeholders based on their participation and commitment to the platform. The DGYM rewards are influenced by the amount staked and the duration of the stake.

Rewarding DGYM

Inflow

Inflows of DGYM are generated through inflation.

Distribution

Distributions are triggered at every period where DGYM is inflated. The distribution weight is calculated based on the amount staked and the locked time.

To address the concern of extremely long lock times distorting the reward distribution, we can modify the time weight calculation using a logarithmic function. This approach ensures that the weight increases with time but at a diminishing rate, preventing excessively long lock durations from overwhelming the distribution.

Bond Weight Calculation

We will use the following formula to calculate the weight for each bond:

wi​=ai​×log(ΔTi​+1)w_i​=a_i​×log(\Delta T_i ​+ 1)

Where:

  • aia_i is the DGYM amount locked by bond ii.

  • ΔTi\Delta T_i is the remaining time locked by bond ii (in days).

  • wiw_i is the amount locked by bond ii.

Total Weight Calculation

The total weight for all staking bonds remains the same:

W=∑j=1n​wjW= \sum_{j=1}^{n}​w_j

Distributed Reward

The reward for each bond can be calculated as follows:

ri​=wiW​​×Rr_i​=\frac{w_i}{W}​​×R

Where:

  • RR is the total reward (generated from inflation).

Outflow

After distribution, stakeholders can claim their DGYM rewards from all bonds not set as auto compound.

Detailed Steps

  1. Stake DGYM: Users stake their DGYM tokens.

  2. Set Lock Duration: Users set the duration for which their DGYM will be locked.

  3. Calculate DGYM Reward: The reward in DGYM is calculated based on the stake amount and lock duration.

  4. Distribute DGYM Reward: The calculated DGYM reward is distributed to the stakeholders.

Last updated