L-8: Internal functions called only once can be inlined
Found in src/SablierV2NFTDescriptor.sol Line: 133
Found in src/SablierV2NFTDescriptor.sol Line: 171
Found in src/SablierV2NFTDescriptor.sol Line: 190
Found in src/SablierV2NFTDescriptor.sol Line: 206
Found in src/SablierV2NFTDescriptor.sol Line: 240
Found in src/SablierV2NFTDescriptor.sol Line: 261
Found in src/SablierV2NFTDescriptor.sol Line: 301
Found in src/SablierV2NFTDescriptor.sol Line: 307
Found in src/SablierV2NFTDescriptor.sol Line: 322
Found in src/SablierV2NFTDescriptor.sol Line: 334
Found in src/SablierV2NFTDescriptor.sol Line: 372
Found in src/SablierV2NFTDescriptor.sol Line: 384
Found in src/libraries/NFTSVG.sol Line: 98
Found in src/libraries/NFTSVG.sol Line: 120
Found in src/libraries/NFTSVG.sol Line: 146
Found in src/libraries/SVGElements.sol Line: 78
Found in src/libraries/SVGElements.sol Line: 255
Low
Aderyn
Instead of separating the logic into a separate function, consider inlining the logic into the calling function. This
can reduce the number of function calls and improve readability.
https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity
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.