Skip to content

Conversation

@liquid-8
Copy link
Member

@liquid-8 liquid-8 commented Oct 27, 2021

Closes #173

get_token() call should be
get_token("0x431ad2ff6a9c365805ebad47ee021148d6f7dbe0", "erc20b32")

for tokens that have name and symbol as bytes32 and for the rest call remains the same
get_token("0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2")

erc20b32.abi contains ABI for tokens that has both properties as bytes32. If there is a token with string+b32 or vice versa then all you need is create proper ABI for that and pass this ABI to get_token().

@liquid-8
Copy link
Member Author

@ErikBjare ^^

@ErikBjare
Copy link
Member

Veeery nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid Token Address using get_token()

2 participants