The createCustomReferralCode
function allows referrer
overriding.
The new user will receive rewards for the previous user's activities if the referrer is overwritten.
Assume User A refers User B using a custom referral code "REF123". User A expects to receive rewards for User B's activity. However, if admin overwrites the referrer for "REF123" to User C, User C will start receiving rewards instead of User A.
Add a check to prevent overriding an existing referrer:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.