Open code423n4 opened 3 years ago
0xsomeone
The tokenByIndex function appears to not perform correctly as it simply checks its input argument and returns it.
tokenByIndex
N/A.
Manual Review.
I advise this function to be properly fleshed out or omitted from the codebase to avoid redundant bytecode.
Handle
0xsomeone
Vulnerability details
Impact
The
tokenByIndex
function appears to not perform correctly as it simply checks its input argument and returns it.Proof of Concept
N/A.
Tools Used
Manual Review.
Recommended Mitigation Steps
I advise this function to be properly fleshed out or omitted from the codebase to avoid redundant bytecode.