Referral registration and usage should be observable from chain events so attribution and analytics do not depend on ad hoc state scans.
Acceptance criteria:
- Emit events when a referral code is registered.
- Emit events when a referral code is used.
- Include the relevant owner and usage metadata.
Referral registration and usage should be observable from chain events so attribution and analytics do not depend on ad hoc state scans.
Acceptance criteria: