functions currently have public
visibility specifier, should have external
visibility specifier.
Staking::Deposit
Staking::withdraw
Staking::claimRewards
Vault::initVault
LoveToken::initVault
Airdrop::claim
Soulmate::mintSoulmateToken
Soulmate::getDivorced
No direct impact, But can influence the GAS Cost to high indirectly.
Public functions first copies parameters
into memory
.
External functions parameters
are directly read from calldata
, hence it costs less than public.
Manual Review
Mitigation is simple, Use external
visibility specifier keyword
instead of public
at all functions metioned above.
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.