The resolveDispute
function in order to reward target addresses it calls balanceOf()
function on ERC20 contract to get the total balance of the contract,
But it calls balanceOf()
two times which is unnecessary and uses more gas, you can remove the second call and caculate the value like this:
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.