Checking If there's overflow-underflow and revert can help save gas
uint256 tokenBalance = i_tokenContract.balanceOf(address(this));
uint256 totalFee = buyerAward + i_arbiterFee; // Reverts on overflow <-- This line in first for check overflow-underflow
POC test case ----
changing the location of overflow-underflow line to first section so can do the revert first hand.
Foundry test suit
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.