Skip to content

Implement referral system for group growth #67

Description

@big14way

Track referrals and reward members who invite others to join groups.

Acceptance Criteria:

  • Add optional referred_by parameter to join_group
  • Track referral count per member
  • Add get_referral_count(member) view function
  • Emit referral event for off-chain reward distribution

Files: contracts/sorosave/src/group.rs, contracts/sorosave/src/types.rs, contracts/sorosave/src/storage.rs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions