20,000 USDC
View results
Submission Details
Severity: gas
Valid

`Staked` struct is created but never used

Summary

I think it could be implemented in file Staking.sol, but it isn't, which makes him unused.

Vulnerability Details

Unused struct can increase gas cost while deploying the contract.

Impact

The gas is being wasted.

Tools Used

Manual Analysis, VScode

Recommendations

Implement Staked struct in desired contracts. Otherwise delete it if you are not planing to use it.

Support

FAQs

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