If a function modifier such as onlyOwner
, onlyBuyerOrSeller
and onlyArbiter
is used, the function will revert if a normal user tries to pay the function. Marking the function as payable will lower the gas cost for legitimate callers because the compiler will not include checks for whether a payment was provided.
Gas saved per Instance: ~21
Manual Review
Mrak thease functions as payable
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.