The idea behind Community Rewards is to provide incentives for community members who contribute to the Plasm Network from the early days. 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.
A community member creates a simple smart contract and deploys it on Plasm Network.
PLM (Testnet: PLD) holder evaluates this performance and stakes his tokens on the smart contract.
Both of them get rewards based on the performance of the smart contract.
Let's take a closer look.
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.
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.
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.
The target inflation rate of the maximum token supply is per a year. 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.
is the total amount of compensation paid for the validator.
is the total amount of compensation paid for the community contributors.
is the total number of PLM tokens issued by Plasm Network.
is the minimum token supply that should be paid to the validators to ensure a sufficient number of nodes.
is the length of the duration of each Era.
is the actual number of validators in the network.
is 100 that is the sufficient number of validators on Plasm Network.
If < :
The amount of tokens allocated to the community members (project owners) is equal to the total amount of tokens allocated to the validator.
And the is distributed equally to operators (project owners) and nominators. is the total amount of rewards assigned for operators (project owners). is the total amount of rewards assigned for nominators.
The reward for each operator is given by the following formula, where is the reward for the -th operator and is the set of contracts deployed by the -th operator. represents the total amount of stake and represents the amount of stake in .
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 .
This is to prevent participants from nominating themselves. In the following equation, let be the sum of -th nominator's stake amount that is weighted specifically for Community Rewards, and be the set of contracts nominated by the . is the reward for the ith nominator. We'll get into the details of function in a moment.
The formula for the compensation received is expressed as . 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.
The magic number, 0.197, is used to make the coefficient close to 1 when is 3% (the smallest allowable fraction).