0

I am using the following contract

Fixed Contract Example

And using this example to transfer token

Transfer token example

Everything goes fine, i see no error what so ever except MetaMask doesn't show any event at all

On geth i see the transaction was submitted fine:

Submitted transaction                    fullhash=0x70fea648cd4d5b5cce676c31c457ac98e3d5b4a9c302c8aaab3d1ba62f0878fe recipient=0x64ff6c91666Ab1C2f1b19dAE13E9B1733bD3aF5D

I see that the code executed fine with the same tx hash:

  Method ID: 0xa9059cbb
To address: 0x000000000000000000000000da27b58c82f5e04ed634cf54eb93ba0e50e6beb4
Token amount: 0x00000000000000000000000000000000000000000000003635c9adc5dea00000
Gas limit: 23256
Tokens sent at TX: 0x70fea648cd4d5b5cce676c31c457ac98e3d5b4a9c302c8aaab3d1ba62f0878fe

How do i debug to understand what went wrong ? Any help on this is highly appreciated.

Thanks, Thee

2 Answers 2

0

I found the issue, it seems the the transaction is waiting to be approved. just need to extend my code to trigger the event.

Thanks, Thee

0

Use etherscan to check what happened to your ERC-20 tokens.

1
  • Working locally, have an explorer, found the issue with the approval. Commented Oct 3, 2018 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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