NFTBridge
60,000 USDC
View results
Submission Details
Severity: low
Invalid

Gas Optimization for the function `erc1155Metadata()` in the `TokenUtil.sol`

Summary

Currently, the protocol does not caters 1155erc tokens, so the function erc1155Metadata() in the TokenUtil.sol should be remover or made a pure depending on the current implementation.

Impact

Likelihood : None
Serverity : None

Recommendations

function erc1155Metadata(
address collection
)
internal
pure
returns (string memory)
{
return "";
Updates

Lead Judging Commences

n0kto Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational / Gas

Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.

Support

FAQs

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