-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Line 19 accepts a referrer, but the logic for allocating rewards or fees to that referrer is entirely missing from the function body. The protocol is claiming to support a referral system that is mechanically non-functional, misleading promoters and users about the economic incentives of the platform.
Requirements and context
- Fully implement the referral reward allocation during the bet placement process.
- Transfer a portion of the fee to the
ReferrerBalancemap (from Issue 1/9).
Suggested execution
- Fork the repo and create a branch:
git checkout -b feat/issue-88-referral-implementation - Wire up the economic rewards.
Implementation changes
- Update
bets.rsto calculate and store referral rewards upon successful bet placement.
Test and commit
- Verify that a referrer's balance increases correctly after a successful referred bet.
Example commit message
feat: fully implement referral reward allocation in place_bet
Guidelines
- Economic functional integrity.
- Timeframe: 72 hours.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program