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

V6 #154

Merged
merged 16 commits into from
Mar 28, 2024
Merged

V6 #154

merged 16 commits into from
Mar 28, 2024

Conversation

Yolley
Copy link
Collaborator

@Yolley Yolley commented Mar 28, 2024

  • distributor client for the Airdrop protocol
  • major refactoring (remove unused structures, move common methods into separate package)
  • fix imports (now you don't need to import from /dist most of the time)

Yolley and others added 16 commits March 28, 2024 10:43
- run lint after rebase
- use prepareTransaction to create transactions
* always claimLocked in claim
* support different distributors in getClaims
* fix claim when locked amount is 0

* feat: use bn api with `n` suffix if an arg is number

it is faster

---------

Co-authored-by: Roman <[email protected]>
* update generated distributor client
* check whether unlock has begun before adding `claimLocked` ix in claim
* validate unlock period for non instant airdrops (as currently the protocol does not validate it and fails to claim)
@Yolley Yolley requested a review from RolginRoman March 28, 2024 11:02
@@ -4,14 +4,26 @@ on:
pull_request:
branches:
- master
- v6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw we might be more generic here and use a pattern, for instance,
- 'releases/**'
as that v6 would be releases/v6 with auto publishing

@Yolley Yolley merged commit 29f0a93 into master Mar 28, 2024
2 checks passed
Copy link

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.

2 participants