0

I need to suscribe to Transfer events of couple of different ERC20s in order to catch transfers to my contract. And here is the question: to catch all those events I need to create instance of each contract, can I do this using standard ERC20 abi for each of this contract or it has to be abi dedicated to exact erc20 smart contract?

0

Yes, you can use the ABI of a standard ERC20, this should work well as long as the tokens really follow the standard, which is true in most cases.

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.