Open c4-bot-5 opened 7 months ago
Mitigation of H-02: Mitigated
H-02: Non-transferable GameItems can be transferred with GameItems::safeBatchTransferFrom(...)
The issue was a missing override of safeBatchTransferFrom() in GameItems.sol.
safeBatchTransferFrom()
An override of safeBatchTransferFrom() has been added, which checks the transferability of each item in the batch.
jhsagd76 marked the issue as satisfactory
Lines of code
Vulnerability details
Mitigation of H-02: Mitigated
Mitigated issue
H-02: Non-transferable GameItems can be transferred with GameItems::safeBatchTransferFrom(...)
The issue was a missing override of
safeBatchTransferFrom()
in GameItems.sol.Mitigation review - Mitigated
An override of
safeBatchTransferFrom()
has been added, which checks the transferability of each item in the batch.