Solidity style guides and all general programming languages suggest the following naming convention for variables:
Variable should be mixedCase
.
constant
variables should be capitalized and words separated using _
underscore.
WETH
should be wETH
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Fees.sol#L12
swapRouter
should be SWAP_ROUTER
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Fees.sol#L16
TKN
should be tKN
WETH
should be wETH
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Staking.sol#L26-L29
Convert the above-mentioned variables to mixedCase
.
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.