injective

Prop 485: B3X-Referral

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