8

Instead of transferring my ERC20 token to my wallet, I accidentally sent it to the contract itself (the contract, with source code, is here).

Would the contract creator be able to send it back to me?

1

4 Answers 4

10

If you sent a token to a contract address there’s no way to get them back even if the contract’s owner wanted. Unless said contract that received the tokens had implemented a function that allows it to transfer received tokens, they are lost and stuck.

3
  • 2
    Another way will be when the contract is killed and then the money is returned. Just saying!
    – 11t
    Commented Mar 1, 2018 at 10:59
  • 2
    @Rajat "another way"... Are you sure? I don't really understand how... Commented Nov 8, 2019 at 14:26
  • If the contract is killed, all Eths that are in the contract will be transferred, but it's not related to the ERC20 tokens. @11t
    – AGJoYy
    Commented Feb 8, 2023 at 17:19
3

Unfortunately there is no way that you can get your tokens back unless the creator of contract had a function which did that, as far as i can see the contract does not have any such function. Since blockchain`s are immutable and irreversible your transaction cannot be undone .

2

If you post the contract address will be possible to check if the contract supports transfers. If do, then the contract owner will be able to sent you your tokens. If they do not support transfers and also do not prevent incoming deposits, that is a bad contract design.

2
  • 1
    Using the ERC20 standard it is impossible to deny receiving tokens.
    – hextet
    Commented Feb 28, 2018 at 12:21
  • 2
    I do not agree, when 'transfer' function is defined, the creator of the contract can impose any requirements (if the destination is the address of the contract: throw) to avoid the situation described in the question.
    – Jaime
    Commented Feb 28, 2018 at 13:22
1

This is not possible and is exactly the problem and solution described by Dexaran in his ERC223 Token proposal.

https://github.com/Dexaran/ERC223-token-standard

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