tasit-apps icon indicating copy to clipboard operation
tasit-apps copied to clipboard

Detect incorrect contract addresses and show a friendly error message

Open pcowgill opened this issue 5 years ago • 0 comments

Detect incorrect address by catching an exception like this:

call exception (address="0x6191bc768c2339da9eab9e589fc8bf0b3ab80975", method="totalSupply()",

pcowgill avatar Mar 15 '19 19:03 pcowgill