ERC404
ERC404 copied to clipboard
SafeERC404 - fix transfer indexing issue and enforce ERC-721 transfers
- [x] Enforce safeTransferFrom for ERC-721 transfers in order to prevent ERC-20 supportive contracts going rekt due to unwanted amount transfers
- [x] Fix event indexing issue, most of the ERC-404 tokens right now couldn't display transfer events correctly and thus doesn't shown as a token
Live code: https://bscscan.com/token/0x4EaaFE15Fb4aC7B1BD9428f2dc3f7E54Fb689E7b#code
You can see the transfer events being correctly indexed here
https://bscscan.com/token/0x4EaaFE15Fb4aC7B1BD9428f2dc3f7E54Fb689E7b