hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
68 stars 44 forks source link

🟩 Project Referral Fees Distributed Event #9998

Open Rotorsoft opened 18 hours ago

Rotorsoft commented 18 hours ago

Description

Design fees schema in UserReferrals projection and project on-chain event ReferralFeesDistributed

Stakeholders

Product Engineering
@dillchen @Rotorsoft

Model

ReferralFeesDistributed

Engineering Requirements

  1. Events
    • ReferralFeesDistributed
  2. Schemas
    • Design fees schemas to capture event payload
  3. Business Rules
    • Record fees
  4. Persistence
    • Existing UserReferrals projection (append fees)

Unit Testing