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

Add functionality to end airdrop #48

Open
0xean opened this issue Feb 14, 2023 · 0 comments
Open

Add functionality to end airdrop #48

0xean opened this issue Feb 14, 2023 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@0xean
Copy link
Collaborator

0xean commented Feb 14, 2023

Background

Once the airdrop has been completed, we should transfer all tokens back to the reserve and prune all records from the store.

This should be added to the EndBlocker and check if the airdrop time is over.

Some good examples of how this should work:

https://github.com/osmosis-labs/osmosis/blob/v4.2.0/x/claim/abci.go
and
https://github.com/osmosis-labs/osmosis/blob/e79fc9f47f2bd4518d9e16567a369c25a0820fa6/x/claim/keeper/claim.go#L31

Acceptance Criteria

  • endblocker checks for airdrop expiration
  • once airdrop is over it transfers unclaimed tokens to reserve
  • tests added to show this functionality working correctly.
@0xean 0xean added the help wanted Extra attention is needed label Feb 23, 2023
@0xean 0xean moved this to Todo in Arkeo Launch Feb 23, 2023
@0xean 0xean moved this from Todo to In Progress in Arkeo Launch Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: In Progress
Development

No branches or pull requests

2 participants