the contract keeps totalFees as uint64 which has a maximum limit of around 9.2 currency. Which is very low on side blockchains such as polygon. If the fees goes over it causes overflow losing the fee.
uint64 is not enough to keep the fees as it will cause overflowing
Use uint128 to keep totalFees
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.