Reward Contracts

The reward contracts are smart contracts responsible for managing and executing reward calculations. It is one of the core components of the Bond. Within the reward contract, rules and parameters for reward calculation and distribution methods are defined. Specifically, the Reward contract records all users who participate in the project and their contributions on the blockchain. It collects user data from multiple chains, including but not limited to transactions and providing liquidity, and then calculates each user's contribution value through algorithms, followed by distributing rewards according to the rules.

The reward contract defines multiple reward calculation rules and distribution methods, such as distributing rewards based on contribution values, or calculating rewards based on user activity records on different chains. Additionally, the Reward contract also supports custom parameters such as total rewards and reward cycles to better meet the project's needs. During the execution of reward calculations, the reward contract uses off-chain algorithms to calculate the user's contribution value, and submits the calculation result to the blockchain. Additionally, the reward contract compares the user's contribution value with the total reward pool to determine the amount of rewards each user can receive. Once the reward contract has calculated the reward amounts for each user, it will distribute the reward tokens to their respective wallet addresses. This process is automated and requires no human intervention.

The Reward contract is a crucial component of Bond as it manages and executes reward calculations, ensuring fairness and accuracy in reward distribution. By using the Reward contract, project teams can easily create and manage reward calculation projects, providing users with better reward schemes.

Last updated