Implementation Mechanism
➥ The design of staking logic typically revolves around the following core functions:
Staking: Users transfer tokens to a smart contract that manages their accounts. Users can also request to unlock and withdraw their staked tokens.
Staking Rewards: Rewards are calculated based on factors such as the length of the staking period and the amount staked. These rewards are distributed to users periodically or immediately. Additionally, stakers possess a certain degree of voting power, allowing them to participate in network decisions and improvement proposals. A unique aspect is that stakers have rights to participate in decision-making regarding the development of this contract.
For the aforementioned functionalities, a certain amount of gas fees is required. These fees will dynamically adjust based on the operating costs on the blockchain. However, each time the above functions are triggered, users will receive corresponding points and a random point multiplier. The specific multiplier is random and will continuously change based on entropy, making it unpredictable and impossible to simulate.
The multiplier operates on a weekly basis. At the beginning of the next time unit, the reward points are calculated and distributed to users. (Reward points are the product of the points earned with the multiplier during the previous time unit.) Currently, points are merely a record, but there are plans to issue tokens in the future. Users who have accumulated points will be able to convert these points into the issued tokens according to certain conversion rules.
Last updated