All functions in HorseStore.huff
are payable by default, even with the declaration #define function name() nonpayable returns (string)
. This means that all functions can receive money, and there is currently no mechanism to withdraw it.
There is a little likelihood of unintentional loss of funds. This inconsistency is non-conforming to the Solidity version, causing confusion for users, developers or auditors using the Huff version.
Include the NON_PAYABLE
function from the huffmate/auth
library and use it at the top of all nonpayable/view functions. If all functions are intentionally payable (although not a best practice), add the keyword "payable" to all functions in the Solidity files.
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.