Commit 38e6d14
New Drops + Tiered Drop (#270)
* max supply claimable per wallet
* add tests
* run prettier
* remove global maxWalletClaimCount and walletClaimCount
* apply the changes to extensions
* add tests
* remove BOT check; reduce sigdrop size
* run prettier
* claim interface update
* fix multiphase Drop extension
* add Drop1155 extension
* write DropERC721Temp with extensions
* write DropERC20Temp with extensions
* write DropERC1155Temp with extensions; plus delayedReveal
* run prettier
* allowlist -> override list; update struct
* update tests
* add tests
* saleRecipient mapping for DropERC1155
* tests for DropERC20 and 1155
* forge update
* DropERC20: remove unused import
* DropERC20: delete commented supportsInterface
* Sync versions of all DropERCxxx contracts
* DropERC20: cleanup comments
* DropERC721: cleanup comments
* DropERC1155: cleanup commented code
* ERC721Drop: remove unused imports
* ERC721Drop: remove BOT check
* ERC1155Drop: re-organize contract code
* ERC1155Drop: remove BOT check
* DropSinglePhase: Remove bitmap
* DropSinglePhase1155: Remove bitmap
* Drop: remove bitmap
* Drop1155: remove bitmap
* run prettier
* ERC721Drop: remove BOT check test
* docs update
* DropERC1155: remove burn, keep burnBatch
* update Drop design doc
* update docs
* v3.1.9-2
* update doc, cleanup
* forge updates
* metadata in ClaimCondition struct
* Add SignatureAction
* Add LazyMintWithTier
* Add SIgnatureActionUpgradeable
* Add TieredDrop
* Add inital TieredDrop tests
* docs update
* pkg release
* docs updat
* pkg release
* legacy contracts
* Add code comments to Drop related interfaces
* Don't enforce camelCase contractName, for legacy contracts
* DropERC1155: remove delayed-reveal
* v3.2.0-0
* cpy ERC721A
* getTokensInTier -> getMetadataInTier
* Add getTokensInTier in top level contract
* Add code comments for tier related state
* Add totalMintedForTier
* turn endIdsAtMint from array to mapping + len
* return value for verifyClaim
* docs
* v3.2.0-1
* docs update
* pkg release
* fix return val for getMetadataInTier
* pkg release
* delete ERC721A copies
* Return correct startId in getTokensInTier ranges
* pkg release
* document limitations of override-list
* legacy SignatureDrop
* docs
* v3.2.0-2
* Add code comments to top level TieredDrop
* Add code comments to LazyMintWithTier
* Update description for LazyMintWithTier
* Update code comments and description for SignatureAction
* getMetadataId public -> internal function
* TieredDrop tests skeleton
* Fix role restrictions for lazy minting
* change default allowlist qty to 0
* update tests
* v3.2.0-3
* Add tests for tiered-drop
* Fix + cleanup TieredDrop from tests
* pkg release
* v3.2.0-4
* add getTokensInTier benchmark
* Change pricePerToken -> totalPrice
* Add getMetadataForAllTiers getTierForToken getAllTiers
* Add tier to TokensLazyMinted event
* remove contract type and version to cut on size
* remove getAllTiers and turn getMetadataForTier private
* comment out getMetadataForAllTiers tests due to compilation errors
* pkg release
Co-authored-by: Krishang Nadgauda <[email protected]>
Co-authored-by: Krishang <[email protected]>1 parent 6e0c908 commit 38e6d14
File tree
100 files changed
+20534
-4716
lines changed- contracts
- base
- drop
- extension
- interface
- interfaces/drop
- legacy-contracts
- extension
- interface
- interfaces/drop
- pre-builts
- signature-drop
- tiered-drop
- docs
- src/test
- airdrop
- drop
- scripts
- sdk
- base
- extension
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
100 files changed
+20534
-4716
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
82 | 95 | | |
83 | 96 | | |
84 | 97 | | |
| |||
155 | 168 | | |
156 | 169 | | |
157 | 170 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 171 | | |
220 | 172 | | |
221 | 173 | | |
| |||
230 | 182 | | |
231 | 183 | | |
232 | 184 | | |
233 | | - | |
234 | 185 | | |
235 | 186 | | |
236 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
191 | 190 | | |
192 | 191 | | |
193 | 192 | | |
194 | | - | |
195 | 193 | | |
196 | 194 | | |
197 | 195 | | |
| |||
0 commit comments