Proposals of #485

B3X-Referral

Store Code
passed
Expected result
Turnout / Quorum
73.12% / 33.40%
Voting start 2025.01.21 at 20:01:11
Voting end 2025.01.25 at 20:01:11
16.33%
6 553 109 inj
Yes
11.99%
4 810 221 inj
No
0.00%
510 inj
Veto
71.68%
28 763 286 inj
Abstain

Details

logo
Proposer
inj109vdpydmg3ut4q6xd...
Total deposit
100 inj
Submit time
2025.01.21 at 20:01:11
Deposit end time
2025.01.23 at 20:01:11

Description

The b3x-referral contract is designed to manage a referral reward system, allowing users to claim rewards based on verified signatures while providing robust ownership and configuration management. The contract initializes with an admin, a reward token denomination, and a signer for signature verification. It enforces ownership restrictions for critical actions, such as updating configuration settings or changing the signer, ensuring only the contract owner can perform these operations.

Users can claim referral rewards by providing a valid amount and signature, which is verified against the stored signer. The contract tracks claimed rewards per user to prevent over-claims and checks its own token balance to ensure sufficient funds are available before transferring rewards. Queries enable retrieving the current contract configuration, ownership details, and user claim records at a specific block height. This contract ensures a secure, transparent, and efficient referral reward mechanism with a focus on ownership control and reward accuracy. You can read the comprehensive audit report here : https:https://drive.google.com/file/d/186EYojuTfizOTGqvunDcApKasytx-yf8/view?usp=sharing

Votes

Voter
Answer