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

getBalance is not a generic ERC20 metadata #49

Open
0x3bfc opened this issue Jun 29, 2021 · 0 comments
Open

getBalance is not a generic ERC20 metadata #49

0x3bfc opened this issue Jun 29, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@0x3bfc
Copy link
Contributor

0x3bfc commented Jun 29, 2021

The user's balance is user centric metadata. It should be used outside the getErc20Data.

and getBalance should be exported here:

async function getBalance (address, user) {

@0x3bfc 0x3bfc changed the title getUserBalance is not a generic ERC20 metadata getBalance is not a generic ERC20 metadata Jun 29, 2021
0x3bfc added a commit that referenced this issue Jun 29, 2021
@0x3bfc 0x3bfc self-assigned this Jun 30, 2021
@0x3bfc 0x3bfc added the enhancement New feature or request label Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant