This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
Gracefully handle missing token contract functions that are optional #71
Labels
bug
Something isn't working
Backend assumes that fuctions like decimals are always implemented in token contracts. This is not the case and some functions are optional per: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
We should handle all contract calls for these optional functions gracefully.
Example calls stack on exception:
The text was updated successfully, but these errors were encountered: