20,000 USDC
View results
Submission Details
Severity: gas

Avoid contract existence checks by using low level calls

Prior to 0.8.10 the compiler inserted extra code, including EXTCODESIZE (100 gas), to check for contract existence for external function calls. In more recent solidity versions, the compiler will not insert these checks if the external call has a return value. Similar behavior can be achieved in earlier versions by using low-level calls, since low level calls never check for contract existence.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.