In Solidity, the pragma directive is used to specify the version of the Solidity compiler to be used for compiling the contract. The pragma statement is typically placed at the beginning of a Solidity source file.
pragma solidity ^0.8.20;
Found in src/libraries/LibLastReserveBytes.sol Line: 3
Found in src/functions/ProportionalLPToken2.sol Line: 3
Using a floating pragma exposes contracts to potential security risks associated with new compiler versions. While newer versions may include security improvements or bug fixes, they may also introduce new vulnerabilities or behavioral changes that could affect contract security. Developers must carefully review compiler release notes and assess the impact of upgrading to newer versions on contract security.
Aderyn
Make the pragma of the contract should be solid.
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.