The constructor parameters ("raiseboxtoken", "RB", 1000 * 10 ** 18, 0.005 ether, 1 ether) are hardcoded. This limits flexibility and could lead to
errors if the values need to change for different environments (e.g., testnet vs. mainnet).
Likelihood:
Reason 1 // Describe WHEN this will occur (avoid using "if" statements)
Reason 2
Impact:
Hardcoding makes it harder to reuse the script or adjust parameters without modifying the code,
increasing the risk of deploying with incorrect values.
when the harcoded constructor parameters contract written for Testnet deployed on Mainnet the contract will be unusable
Recommendation: Use environment variables or a configuration file with Foundry (e.g., via vm.envUint, vm.envString) to pass parameters dynamically
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.