Skip to content

Commit

Permalink
Airdrop (#628)
Browse files Browse the repository at this point in the history
* Airdrop

* airdrop with signature

* benchmark tests

* Partial changes

* remove unused

* remove failsafe and refund from eth airdrop

* reorg

* no sig airdrop for eth

* claim condition id and reset

* cleanup

* prefix ERC

* fix

* unit tests wip

* rename

* update tests

* Update

* receive and withdraw functions

* cleanup

* fix uid check

* test revert cases

* update claim hash generation and merkle root checks

* tests

* gasreport

* Add onlyOwner for airdrop functions

* isClaimed view function

* remove conditionId param from isClaimed

* events

* update isClaimed

* update dependencies

* fix

---------

Co-authored-by: Jake Loo <[email protected]>
  • Loading branch information
kumaryash90 and jakeloo authored Mar 25, 2024
1 parent 494edf8 commit b44b563
Show file tree
Hide file tree
Showing 10 changed files with 2,336 additions and 180 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
[submodule "lib/dynamic-contracts"]
path = lib/dynamic-contracts
url = https://github.com/thirdweb-dev/dynamic-contracts
[submodule "lib/solady"]
path = lib/solady
url = https://github.com/vectorized/solady
Loading

0 comments on commit b44b563

Please sign in to comment.