Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix/enhancement: added bytes32 name/symbol support in get_token()#191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ErikBjare merged 4 commits intouniswap-python:masterfromliquid-8:master
Oct 28, 2021

Conversation

liquid-8
Copy link
Member

@liquid-8liquid-8 commentedOct 27, 2021
edited
Loading

Closes#173

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

for tokens that havenameandsymbol asbytes32 and for the rest call remains the same
get_token("0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2")

erc20b32.abi contains ABI for tokens that hasboth 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 toget_token().

@liquid-8
Copy link
MemberAuthor

@ErikBjare ^^

@ErikBjare
Copy link
Member

Veeery nice, thanks!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Invalid Token Address using get_token()
2 participants
@liquid-8@ErikBjare

[8]ページ先頭

©2009-2025 Movatter.jp