There are a few inconsistencies between the Solidity and the Huff versions of the HorseStore contracts.
The following are not implemented in the Huff version:
safeTransferFrom()
: this function is completely missing. Only transferFrom()
is available.
tokenOfOwnerByIndex()
: this function is completely missing
tokenByIndex()
: this function is completely missing
_safeMint()
: meaning the logic to check whether the recipient can manage ERC721s is not implemented (even though it is present in the Solidity version).
Users of the Huff version will not be able to use the mentioned functions.
Foundry and manual analysis.
It is recommended to implement the functions above to make sure the Solidity and Huff versions are equivalent.
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.