Closed randomshinichi closed 3 years ago
It looks like the ABI you have in your utils file isn't quite right for the maker contract. The ABI for maker is:
{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"bytes32"}]
I'm going to close because this isn't a web3 bug. If it comes up again though, I'll add an issue for a better error message.
pip freeze
outputWhat was wrong?
In https://github.com/TokenEngineeringCommunity/BalancerAMM_Model/blob/cf4210443b7c6780b1f6d74f86d63b996c517784/data/w3_utils.py#L63 for
address = 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
(Maker MKR token), looking up the symbol on Infura fails with: