Community Rewards

WIP: Modify English

The idea behind Community Rewards is to provide incentives with community members who contribute to the Plasm Network early on. We make it happen by using the staking mechanism. In this mechanism, the early adopters can get rewards.


The structure of Community Rewards is very simple.

  1. A community member creates a simple smart contract and deploys it on Plasm Network.

  2. PLM (Testnet: PLD) holder evaluates her performance and stakes his tokens on the smart contract.

  3. Both of them get rewards based on her performance.

Let's take a look at one by one.

How to deploy your contract

First, community members need to deploy a simple contract. The way how to deploy the contract is described on the following page.

After deploying the smart contract, you can check it in the Community Rewards section below.

How to nominate your contract

The next step is staking. You can stake on a smart contract as usual. The details are described on the following page.

In addition to that, you can check the community rewards page in the Staking section where you can check the status of staking volume and the ranking.


How to get rewards

PLM holders stake their tokens on your smart contract. By doing so, the nominator and the smart contract creator get a reward.

See the link below for more information.

Next, we are going to learn some formulas to calculate the rewards.

Rewards Calculation

This content includes math. You can skip this section below if you are not good at math.

The target inflation rate of the maximum token supply is per a year. I0I_0 is the minimum token supply that should be paid to the block validators to ensure a sufficient number of validators (We assume the sufficient number of validators is 100). Validator compensation per each Era is strictly defined as the following.

First, we define the meaning of each variable.

  • ​TotalForValidatorRewardsTotalForValidatorRewards is the total amount of compensation paid for the validator.

  • ​TotalForCommunityRewardsTotalForCommunityRewards is the total amount of compensation paid for the community contributors.

  • ​TotalAmountOfIssueTotalAmountOfIssue is the total number of PLM tokens issued by Plasm Network.

  • ​I0I_0 is the minimum token supply that should be paid to the validators to ensure a sufficient number of nodes.

  • ​EraDurationEraDuration is the length of the duration of each Era.

  • ​NumberOfValidatorsNumberOfValidators is the actual number of validators in the network.

  • TargetNumberTargetNumber is 100 that is the sufficient number of validators on Plasm Network.

If TargetNumberTargetNumber< NumberOfValidatorsNumberOfValidators:

TotalForValidatorRewards=TotalAmoutOfIssue×I0%×EraDuration1yearTotalForValidatorRewards = TotalAmoutOfIssue \times I_0\% \times \frac{EraDuration}{1 year}


TotalForValidatorRewards=TotalAmoutOfIssue×I0%×EraDuration1yearTotalForValidatorRewards = TotalAmoutOfIssue \times I_0\% \times \frac{EraDuration}{1 year}

The amount of tokens allocated to the community members (project owners) is equal to the total amount of tokens allocated to the validator.

TotalForCommunityRewards=TotalForValidatorRewardsTotalForCommunityRewards = TotalForValidatorRewards

And the TotalForCommunityRewardsTotalForCommunityRewards is distributed equally to operators (project owners) and nominators. RewardsForOperatorsRewardsForOperators is the total amount of rewards assigned for operators (project owners). RewardsForNominatorsRewardsForNominators is the total amount of rewards assigned for nominators.

RewardsForOperators=RewardsForNominators=TotalForCommunityRewards2RewardsForOperators = RewardsForNominators = \frac{TotalForCommunityRewards}{2}

The reward for each operator is given by the following formula, where RewardForOperatorsiRewardForOperators_{i} is the reward for the ii-th operator and CoperatoriC_{operator_i}is the set of contracts deployed by the ii-th operator. TotalStakeTotalStake represents the total amount of stake and StakecontractjStake_{contract_j} represents the amount of stake in contractjcontract_j.

RewardForOperatorsi=∑contractj ∈ CoperatoriStakecontractjTotalStake×RewardsForOperatorsRewardForOperators_{i} = \sum_{contract_j\ \in \ C_{operator_i}} \frac{Stake_{contract_j}}{TotalStake} \times RewardsForOperators

Calculating compensation for a nominator is a bit more complicated: a nominator can only stake on contracts that are staked 3% or more of the TotalStakeTotalStake.

This is to prevent participants from nominating themselves. In the following equation, let WeightedStakeiWeightedStake_i be the sum of ii-th nominator's stake amount that is weighted specifically for Community Rewards, and CnominatoriC_{nominator_i} be the set of contracts nominated by the nominatorinominator_i. RewardForNominatorsiRewardForNominators_i is the reward for the ith nominator. We'll get into the details of function ff in a moment.

Threshold=TotalStake×3100Threshold = TotalStake \times \frac{3}{100}
RewardForNominatorsi=WeightedStakeiTotalStake×RewardsForNominatorsRewardForNominators_i = \frac{WeightedStake_i}{TotalStake} \times RewardsForNominators

The formula for the compensation received is expressed as ff. This means that the more you nominate a contract with a small amount of stake, the more reward you get. This is expected to disperse the contract to be nominated.

f(contractj)=0.197×−log2(StakecontractjTotalStake)×Stakenominatorif(contract_j) = 0.197 \times -log_{2}(\frac{Stake_{contract_j}}{TotalStake}) \times Stake_{nominator_i}

The magic number, 0.197, is used to make the coefficient close to 1 when StakecontractjTotalStake\frac{Stake_{contract_j}}{TotalStake} is 3% (the smallest allowable fraction).

0.197×−log2(3100)=0.996602...≃1 0.197 \times -log_{2}(\frac{3}{100}) = 0.996602... \simeq 1