0

https://etherscan.io/address/0x23581767a106ae21c074b2276D25e5C3e136a68b#code

Had a pretty big oopsy. I know. No one is kicking myself more than me.

That being said, was curious if anyone saw a function in this contract that could potentially recover the lost assets. I see many transfer functions, but don't know if there are any that could recover my NFT!

1 Answer 1

0

I don't think that you can. But that would have reverted if you would have used the safeTransferFrom function as this contract doesn't appear to implement the IERC721Receiver.

Did you used safeTransfer instead ?

Please check this: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol#L199

3
  • 1
    No it wasn't etherscan.io/tx/…. But even better, the wallet (MetaMask/OpenSea?, a billion dollar company, the main beneficiary of ERC-721) should have easily detected this issue and made a loud warning. May 4 at 19:37
  • Would make any difference if I had access to the contract creator, or is it stuck no matter what? Such a shame, seems like there were a lot of safeguards for this event that didn't kick in.
    – jack
    May 4 at 20:49
  • Wow that's insane, why didn't it have been fixed before ?
    – Franfran
    May 4 at 22:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.