Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@tokenAmount does not work for ERC-1155 #94

Open
vporton opened this issue Mar 8, 2020 · 0 comments
Open

@tokenAmount does not work for ERC-1155 #94

vporton opened this issue Mar 8, 2020 · 0 comments

Comments

@vporton
Copy link
Contributor

vporton commented Mar 8, 2020

@tokenAmount(tokenAddr, amount, [showSymbol=true], [precision=2]) does not work for ERC-1155 tokens, because ERC-1155 does not have the concept of token address (instead, a token is a pair of a contract address and uint256 token).

What to do instead for now to show to the user the transferred token amount?

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

No branches or pull requests

1 participant