Hello Tradle,
The contract reverts if _referrerRate + _authorityRate doesn’t equal the totalRate (which is baseReferralRate + referralExtraRate). However, if _referrerRate is very large, this might bypass the intended referral rate checks.
Mitigation: Consider adding explicit checks on the ranges or bounds of _referrerRate and _authorityRate to ensure they are within expected limits.
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.