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

airdrop - queries #1236

Merged
merged 6 commits into from
Jul 12, 2024
Merged

airdrop - queries #1236

merged 6 commits into from
Jul 12, 2024

Conversation

sampocs
Copy link
Collaborator

@sampocs sampocs commented Jul 11, 2024

Context

Added cli and REST queries for:

  • AllAirdrops(): Lists all airdrops
  • Airdrop(airdropId): Shows a specific airdrop
  • UserAllocation(airdropId, address): Shows a specific user allocation
  • UserAllocations(address): Shows allocations for a user across airdrops
  • AllAllocations(airdropId): Shows all allocations for an airdrop
  • UserSummary(airdropId, address): Shows summary info for a user (claimed, remaining, status)

Brief Changelog

  • Implemented queries
  • Added query cli commands
  • Added unit tests

@sampocs sampocs changed the base branch from main to airdrop-module July 11, 2024 18:31
@sampocs sampocs merged commit 476150a into airdrop-module Jul 12, 2024
1 check passed
@sampocs sampocs deleted the airdrop-queries branch July 12, 2024 14:28
@sampocs sampocs changed the title Airdrop queries airdrop - queries Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant