Last updated 1 year ago
Obvious reentrancy in claim(), we can build an attack contract which implements IERC721Receiver.onERC721Received(). Don't forget this function should return a 4-byte function selector IERC721Receiver.onERC721Received.selector.
claim()
IERC721Receiver.onERC721Received()
IERC721Receiver.onERC721Received.selector