Is your feature request related to a problem? Please describe.
Currently referrals are manual and very time consuming for staff and there are a lot of bad referrals
Describe the solution you'd like
Users that are the 1st (non admin account) to send a new user at least 20 Sarafu in the 1st 24 hours get 100 Sarafu - after that new user has begun to trade with one other user (not the referrer) (Shown as Disbursement in database)
There is already a referrer field in the user table - ideally this should be assigned based ont he above criteria and no longer in the user creation or editable later in the gui.
Variables in bold for config.
For each new user created in the last 24 hours.
See who the first person is to send that user 20 Sarafu - call them the referrer and add them to the user db field
If the new user has traded (outward) with someone else besides the first person send the Referrer 100 and a sms
Describe alternatives you've considered
none ... open to ideas
Is your feature request related to a problem? Please describe. Currently referrals are manual and very time consuming for staff and there are a lot of bad referrals
Describe the solution you'd like Users that are the 1st (non admin account) to send a new user at least 20 Sarafu in the 1st 24 hours get 100 Sarafu - after that new user has begun to trade with one other user (not the referrer) (Shown as Disbursement in database)
There is already a referrer field in the user table - ideally this should be assigned based ont he above criteria and no longer in the user creation or editable later in the gui.
Variables in bold for config.
For each new user created in the last 24 hours. See who the first person is to send that user 20 Sarafu - call them the referrer and add them to the user db field If the new user has traded (outward) with someone else besides the first person send the Referrer 100 and a sms
Describe alternatives you've considered none ... open to ideas
Additional context
See brief description here https://github.com/GrassrootsEconomics/CIC-Docs/blob/master/spec/001_platform_incentives.md