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

Cw20 base iterators #64

Merged
merged 4 commits into from
Aug 28, 2020
Merged

Cw20 base iterators #64

merged 4 commits into from
Aug 28, 2020

Conversation

ethanfrey
Copy link
Member

@ethanfrey ethanfrey commented Aug 28, 2020

Closes #48
Closes #55

Add iterable methods to cw20-base

  • Update cw20 spec to define enumerable extension
  • Implement extension queries for cw20-base
  • Add tests

Question (for future PR): do we filter out accounts with 0 balance (but had one earlier) and allowances that have expired? It makes pagination a bit odd, as a page of 2 may read 2000 items, but it does provide cleaner results.

@ethanfrey ethanfrey merged commit 230518d into master Aug 28, 2020
@ethanfrey ethanfrey deleted the cw20-base-iterators branch August 28, 2020 14:41
@ethanfrey ethanfrey mentioned this pull request Aug 28, 2020
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.

Add way to list allowances on an account to cw20 Add "ListAccounts" to cw20-base
1 participant