@gitmyabi/seadrop 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +108 -0
- package/contracts/SeaDrop_json.d.ts +1965 -0
- package/contracts/SeaDrop_json.js +2150 -0
- package/contracts/SeaDrop_json.ts +2535 -0
- package/contracts/index.d.ts +2 -0
- package/contracts/index.js +7 -0
- package/contracts/index.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +43 -0
|
@@ -0,0 +1,1965 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* PublicDrop struct type
|
|
4
|
+
*/
|
|
5
|
+
export type PublicDrop = {
|
|
6
|
+
mintPrice: bigint;
|
|
7
|
+
startTime: bigint;
|
|
8
|
+
endTime: bigint;
|
|
9
|
+
maxTotalMintableByWallet: bigint;
|
|
10
|
+
feeBps: bigint;
|
|
11
|
+
restrictFeeRecipients: boolean;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* SignedMintValidationParams struct type
|
|
15
|
+
*/
|
|
16
|
+
export type SignedMintValidationParams = {
|
|
17
|
+
minMintPrice: bigint;
|
|
18
|
+
maxMaxTotalMintableByWallet: bigint;
|
|
19
|
+
minStartTime: bigint;
|
|
20
|
+
maxEndTime: bigint;
|
|
21
|
+
maxMaxTokenSupplyForStage: bigint;
|
|
22
|
+
minFeeBps: bigint;
|
|
23
|
+
maxFeeBps: bigint;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* TokenGatedDropStage struct type
|
|
27
|
+
*/
|
|
28
|
+
export type TokenGatedDropStage = {
|
|
29
|
+
mintPrice: bigint;
|
|
30
|
+
maxTotalMintableByWallet: bigint;
|
|
31
|
+
startTime: bigint;
|
|
32
|
+
endTime: bigint;
|
|
33
|
+
dropStageIndex: bigint;
|
|
34
|
+
maxTokenSupplyForStage: bigint;
|
|
35
|
+
feeBps: bigint;
|
|
36
|
+
restrictFeeRecipients: boolean;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* MintParams struct type
|
|
40
|
+
*/
|
|
41
|
+
export type MintParams = {
|
|
42
|
+
mintPrice: bigint;
|
|
43
|
+
maxTotalMintableByWallet: bigint;
|
|
44
|
+
startTime: bigint;
|
|
45
|
+
endTime: bigint;
|
|
46
|
+
dropStageIndex: bigint;
|
|
47
|
+
maxTokenSupplyForStage: bigint;
|
|
48
|
+
feeBps: bigint;
|
|
49
|
+
restrictFeeRecipients: boolean;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* TokenGatedMintParams struct type
|
|
53
|
+
*/
|
|
54
|
+
export type TokenGatedMintParams = {
|
|
55
|
+
allowedNftToken: `0x${string}`;
|
|
56
|
+
allowedNftTokenIds: bigint[];
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* AllowListData struct type
|
|
60
|
+
*/
|
|
61
|
+
export type AllowListData = {
|
|
62
|
+
merkleRoot: `0x${string}`;
|
|
63
|
+
publicKeyURIs: string[];
|
|
64
|
+
allowListURI: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* SeaDrop_json ABI
|
|
68
|
+
*
|
|
69
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
70
|
+
*/
|
|
71
|
+
export declare const SeaDrop_jsonAbi: readonly [{
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly stateMutability: "nonpayable";
|
|
74
|
+
readonly type: "constructor";
|
|
75
|
+
}, {
|
|
76
|
+
readonly inputs: readonly [];
|
|
77
|
+
readonly name: "CreatorPayoutAddressCannotBeZeroAddress";
|
|
78
|
+
readonly type: "error";
|
|
79
|
+
}, {
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly name: "DuplicateFeeRecipient";
|
|
82
|
+
readonly type: "error";
|
|
83
|
+
}, {
|
|
84
|
+
readonly inputs: readonly [];
|
|
85
|
+
readonly name: "DuplicatePayer";
|
|
86
|
+
readonly type: "error";
|
|
87
|
+
}, {
|
|
88
|
+
readonly inputs: readonly [];
|
|
89
|
+
readonly name: "FeeRecipientCannotBeZeroAddress";
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [];
|
|
93
|
+
readonly name: "FeeRecipientNotAllowed";
|
|
94
|
+
readonly type: "error";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [];
|
|
97
|
+
readonly name: "FeeRecipientNotPresent";
|
|
98
|
+
readonly type: "error";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [{
|
|
101
|
+
readonly internalType: "uint256";
|
|
102
|
+
readonly name: "got";
|
|
103
|
+
readonly type: "uint256";
|
|
104
|
+
}, {
|
|
105
|
+
readonly internalType: "uint256";
|
|
106
|
+
readonly name: "want";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}];
|
|
109
|
+
readonly name: "IncorrectPayment";
|
|
110
|
+
readonly type: "error";
|
|
111
|
+
}, {
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly internalType: "uint256";
|
|
114
|
+
readonly name: "feeBps";
|
|
115
|
+
readonly type: "uint256";
|
|
116
|
+
}];
|
|
117
|
+
readonly name: "InvalidFeeBps";
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "InvalidProof";
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [{
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
readonly name: "recoveredSigner";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
}];
|
|
129
|
+
readonly name: "InvalidSignature";
|
|
130
|
+
readonly type: "error";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [{
|
|
133
|
+
readonly internalType: "uint256";
|
|
134
|
+
readonly name: "got";
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
}, {
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
readonly name: "maximum";
|
|
139
|
+
readonly type: "uint256";
|
|
140
|
+
}];
|
|
141
|
+
readonly name: "InvalidSignedEndTime";
|
|
142
|
+
readonly type: "error";
|
|
143
|
+
}, {
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly internalType: "uint256";
|
|
146
|
+
readonly name: "got";
|
|
147
|
+
readonly type: "uint256";
|
|
148
|
+
}, {
|
|
149
|
+
readonly internalType: "uint256";
|
|
150
|
+
readonly name: "minimumOrMaximum";
|
|
151
|
+
readonly type: "uint256";
|
|
152
|
+
}];
|
|
153
|
+
readonly name: "InvalidSignedFeeBps";
|
|
154
|
+
readonly type: "error";
|
|
155
|
+
}, {
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly internalType: "uint256";
|
|
158
|
+
readonly name: "got";
|
|
159
|
+
readonly type: "uint256";
|
|
160
|
+
}, {
|
|
161
|
+
readonly internalType: "uint256";
|
|
162
|
+
readonly name: "maximum";
|
|
163
|
+
readonly type: "uint256";
|
|
164
|
+
}];
|
|
165
|
+
readonly name: "InvalidSignedMaxTokenSupplyForStage";
|
|
166
|
+
readonly type: "error";
|
|
167
|
+
}, {
|
|
168
|
+
readonly inputs: readonly [{
|
|
169
|
+
readonly internalType: "uint256";
|
|
170
|
+
readonly name: "got";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
}, {
|
|
173
|
+
readonly internalType: "uint256";
|
|
174
|
+
readonly name: "maximum";
|
|
175
|
+
readonly type: "uint256";
|
|
176
|
+
}];
|
|
177
|
+
readonly name: "InvalidSignedMaxTotalMintableByWallet";
|
|
178
|
+
readonly type: "error";
|
|
179
|
+
}, {
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly internalType: "uint256";
|
|
182
|
+
readonly name: "got";
|
|
183
|
+
readonly type: "uint256";
|
|
184
|
+
}, {
|
|
185
|
+
readonly internalType: "uint256";
|
|
186
|
+
readonly name: "minimum";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
}];
|
|
189
|
+
readonly name: "InvalidSignedMintPrice";
|
|
190
|
+
readonly type: "error";
|
|
191
|
+
}, {
|
|
192
|
+
readonly inputs: readonly [{
|
|
193
|
+
readonly internalType: "uint256";
|
|
194
|
+
readonly name: "got";
|
|
195
|
+
readonly type: "uint256";
|
|
196
|
+
}, {
|
|
197
|
+
readonly internalType: "uint256";
|
|
198
|
+
readonly name: "minimum";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
}];
|
|
201
|
+
readonly name: "InvalidSignedStartTime";
|
|
202
|
+
readonly type: "error";
|
|
203
|
+
}, {
|
|
204
|
+
readonly inputs: readonly [];
|
|
205
|
+
readonly name: "MintQuantityCannotBeZero";
|
|
206
|
+
readonly type: "error";
|
|
207
|
+
}, {
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
readonly name: "total";
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
}, {
|
|
213
|
+
readonly internalType: "uint256";
|
|
214
|
+
readonly name: "allowed";
|
|
215
|
+
readonly type: "uint256";
|
|
216
|
+
}];
|
|
217
|
+
readonly name: "MintQuantityExceedsMaxMintedPerWallet";
|
|
218
|
+
readonly type: "error";
|
|
219
|
+
}, {
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly name: "total";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}, {
|
|
225
|
+
readonly internalType: "uint256";
|
|
226
|
+
readonly name: "maxSupply";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
}];
|
|
229
|
+
readonly name: "MintQuantityExceedsMaxSupply";
|
|
230
|
+
readonly type: "error";
|
|
231
|
+
}, {
|
|
232
|
+
readonly inputs: readonly [{
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly name: "total";
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}, {
|
|
237
|
+
readonly internalType: "uint256";
|
|
238
|
+
readonly name: "maxTokenSupplyForStage";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
}];
|
|
241
|
+
readonly name: "MintQuantityExceedsMaxTokenSupplyForStage";
|
|
242
|
+
readonly type: "error";
|
|
243
|
+
}, {
|
|
244
|
+
readonly inputs: readonly [{
|
|
245
|
+
readonly internalType: "uint256";
|
|
246
|
+
readonly name: "currentTimestamp";
|
|
247
|
+
readonly type: "uint256";
|
|
248
|
+
}, {
|
|
249
|
+
readonly internalType: "uint256";
|
|
250
|
+
readonly name: "startTimestamp";
|
|
251
|
+
readonly type: "uint256";
|
|
252
|
+
}, {
|
|
253
|
+
readonly internalType: "uint256";
|
|
254
|
+
readonly name: "endTimestamp";
|
|
255
|
+
readonly type: "uint256";
|
|
256
|
+
}];
|
|
257
|
+
readonly name: "NotActive";
|
|
258
|
+
readonly type: "error";
|
|
259
|
+
}, {
|
|
260
|
+
readonly inputs: readonly [{
|
|
261
|
+
readonly internalType: "address";
|
|
262
|
+
readonly name: "sender";
|
|
263
|
+
readonly type: "address";
|
|
264
|
+
}];
|
|
265
|
+
readonly name: "OnlyINonFungibleSeaDropToken";
|
|
266
|
+
readonly type: "error";
|
|
267
|
+
}, {
|
|
268
|
+
readonly inputs: readonly [];
|
|
269
|
+
readonly name: "PayerCannotBeZeroAddress";
|
|
270
|
+
readonly type: "error";
|
|
271
|
+
}, {
|
|
272
|
+
readonly inputs: readonly [];
|
|
273
|
+
readonly name: "PayerNotAllowed";
|
|
274
|
+
readonly type: "error";
|
|
275
|
+
}, {
|
|
276
|
+
readonly inputs: readonly [];
|
|
277
|
+
readonly name: "PayerNotPresent";
|
|
278
|
+
readonly type: "error";
|
|
279
|
+
}, {
|
|
280
|
+
readonly inputs: readonly [];
|
|
281
|
+
readonly name: "SignatureAlreadyUsed";
|
|
282
|
+
readonly type: "error";
|
|
283
|
+
}, {
|
|
284
|
+
readonly inputs: readonly [];
|
|
285
|
+
readonly name: "SignedMintsMustRestrictFeeRecipients";
|
|
286
|
+
readonly type: "error";
|
|
287
|
+
}, {
|
|
288
|
+
readonly inputs: readonly [];
|
|
289
|
+
readonly name: "SignerCannotBeZeroAddress";
|
|
290
|
+
readonly type: "error";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [];
|
|
293
|
+
readonly name: "SignerNotPresent";
|
|
294
|
+
readonly type: "error";
|
|
295
|
+
}, {
|
|
296
|
+
readonly inputs: readonly [];
|
|
297
|
+
readonly name: "TokenGatedDropAllowedNftTokenCannotBeDropToken";
|
|
298
|
+
readonly type: "error";
|
|
299
|
+
}, {
|
|
300
|
+
readonly inputs: readonly [];
|
|
301
|
+
readonly name: "TokenGatedDropAllowedNftTokenCannotBeZeroAddress";
|
|
302
|
+
readonly type: "error";
|
|
303
|
+
}, {
|
|
304
|
+
readonly inputs: readonly [];
|
|
305
|
+
readonly name: "TokenGatedDropStageNotPresent";
|
|
306
|
+
readonly type: "error";
|
|
307
|
+
}, {
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly internalType: "address";
|
|
310
|
+
readonly name: "nftContract";
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
}, {
|
|
313
|
+
readonly internalType: "address";
|
|
314
|
+
readonly name: "allowedNftToken";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
}, {
|
|
317
|
+
readonly internalType: "uint256";
|
|
318
|
+
readonly name: "allowedNftTokenId";
|
|
319
|
+
readonly type: "uint256";
|
|
320
|
+
}];
|
|
321
|
+
readonly name: "TokenGatedNotTokenOwner";
|
|
322
|
+
readonly type: "error";
|
|
323
|
+
}, {
|
|
324
|
+
readonly inputs: readonly [{
|
|
325
|
+
readonly internalType: "address";
|
|
326
|
+
readonly name: "nftContract";
|
|
327
|
+
readonly type: "address";
|
|
328
|
+
}, {
|
|
329
|
+
readonly internalType: "address";
|
|
330
|
+
readonly name: "allowedNftToken";
|
|
331
|
+
readonly type: "address";
|
|
332
|
+
}, {
|
|
333
|
+
readonly internalType: "uint256";
|
|
334
|
+
readonly name: "allowedNftTokenId";
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
}];
|
|
337
|
+
readonly name: "TokenGatedTokenIdAlreadyRedeemed";
|
|
338
|
+
readonly type: "error";
|
|
339
|
+
}, {
|
|
340
|
+
readonly anonymous: false;
|
|
341
|
+
readonly inputs: readonly [{
|
|
342
|
+
readonly indexed: true;
|
|
343
|
+
readonly internalType: "address";
|
|
344
|
+
readonly name: "nftContract";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
}, {
|
|
347
|
+
readonly indexed: true;
|
|
348
|
+
readonly internalType: "bytes32";
|
|
349
|
+
readonly name: "previousMerkleRoot";
|
|
350
|
+
readonly type: "bytes32";
|
|
351
|
+
}, {
|
|
352
|
+
readonly indexed: true;
|
|
353
|
+
readonly internalType: "bytes32";
|
|
354
|
+
readonly name: "newMerkleRoot";
|
|
355
|
+
readonly type: "bytes32";
|
|
356
|
+
}, {
|
|
357
|
+
readonly indexed: false;
|
|
358
|
+
readonly internalType: "string[]";
|
|
359
|
+
readonly name: "publicKeyURI";
|
|
360
|
+
readonly type: "string[]";
|
|
361
|
+
}, {
|
|
362
|
+
readonly indexed: false;
|
|
363
|
+
readonly internalType: "string";
|
|
364
|
+
readonly name: "allowListURI";
|
|
365
|
+
readonly type: "string";
|
|
366
|
+
}];
|
|
367
|
+
readonly name: "AllowListUpdated";
|
|
368
|
+
readonly type: "event";
|
|
369
|
+
}, {
|
|
370
|
+
readonly anonymous: false;
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly indexed: true;
|
|
373
|
+
readonly internalType: "address";
|
|
374
|
+
readonly name: "nftContract";
|
|
375
|
+
readonly type: "address";
|
|
376
|
+
}, {
|
|
377
|
+
readonly indexed: true;
|
|
378
|
+
readonly internalType: "address";
|
|
379
|
+
readonly name: "feeRecipient";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
}, {
|
|
382
|
+
readonly indexed: true;
|
|
383
|
+
readonly internalType: "bool";
|
|
384
|
+
readonly name: "allowed";
|
|
385
|
+
readonly type: "bool";
|
|
386
|
+
}];
|
|
387
|
+
readonly name: "AllowedFeeRecipientUpdated";
|
|
388
|
+
readonly type: "event";
|
|
389
|
+
}, {
|
|
390
|
+
readonly anonymous: false;
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly indexed: true;
|
|
393
|
+
readonly internalType: "address";
|
|
394
|
+
readonly name: "nftContract";
|
|
395
|
+
readonly type: "address";
|
|
396
|
+
}, {
|
|
397
|
+
readonly indexed: true;
|
|
398
|
+
readonly internalType: "address";
|
|
399
|
+
readonly name: "newPayoutAddress";
|
|
400
|
+
readonly type: "address";
|
|
401
|
+
}];
|
|
402
|
+
readonly name: "CreatorPayoutAddressUpdated";
|
|
403
|
+
readonly type: "event";
|
|
404
|
+
}, {
|
|
405
|
+
readonly anonymous: false;
|
|
406
|
+
readonly inputs: readonly [{
|
|
407
|
+
readonly indexed: true;
|
|
408
|
+
readonly internalType: "address";
|
|
409
|
+
readonly name: "nftContract";
|
|
410
|
+
readonly type: "address";
|
|
411
|
+
}, {
|
|
412
|
+
readonly indexed: false;
|
|
413
|
+
readonly internalType: "string";
|
|
414
|
+
readonly name: "newDropURI";
|
|
415
|
+
readonly type: "string";
|
|
416
|
+
}];
|
|
417
|
+
readonly name: "DropURIUpdated";
|
|
418
|
+
readonly type: "event";
|
|
419
|
+
}, {
|
|
420
|
+
readonly anonymous: false;
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly indexed: true;
|
|
423
|
+
readonly internalType: "address";
|
|
424
|
+
readonly name: "nftContract";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}, {
|
|
427
|
+
readonly indexed: true;
|
|
428
|
+
readonly internalType: "address";
|
|
429
|
+
readonly name: "payer";
|
|
430
|
+
readonly type: "address";
|
|
431
|
+
}, {
|
|
432
|
+
readonly indexed: true;
|
|
433
|
+
readonly internalType: "bool";
|
|
434
|
+
readonly name: "allowed";
|
|
435
|
+
readonly type: "bool";
|
|
436
|
+
}];
|
|
437
|
+
readonly name: "PayerUpdated";
|
|
438
|
+
readonly type: "event";
|
|
439
|
+
}, {
|
|
440
|
+
readonly anonymous: false;
|
|
441
|
+
readonly inputs: readonly [{
|
|
442
|
+
readonly indexed: true;
|
|
443
|
+
readonly internalType: "address";
|
|
444
|
+
readonly name: "nftContract";
|
|
445
|
+
readonly type: "address";
|
|
446
|
+
}, {
|
|
447
|
+
readonly components: readonly [{
|
|
448
|
+
readonly internalType: "uint80";
|
|
449
|
+
readonly name: "mintPrice";
|
|
450
|
+
readonly type: "uint80";
|
|
451
|
+
}, {
|
|
452
|
+
readonly internalType: "uint48";
|
|
453
|
+
readonly name: "startTime";
|
|
454
|
+
readonly type: "uint48";
|
|
455
|
+
}, {
|
|
456
|
+
readonly internalType: "uint48";
|
|
457
|
+
readonly name: "endTime";
|
|
458
|
+
readonly type: "uint48";
|
|
459
|
+
}, {
|
|
460
|
+
readonly internalType: "uint16";
|
|
461
|
+
readonly name: "maxTotalMintableByWallet";
|
|
462
|
+
readonly type: "uint16";
|
|
463
|
+
}, {
|
|
464
|
+
readonly internalType: "uint16";
|
|
465
|
+
readonly name: "feeBps";
|
|
466
|
+
readonly type: "uint16";
|
|
467
|
+
}, {
|
|
468
|
+
readonly internalType: "bool";
|
|
469
|
+
readonly name: "restrictFeeRecipients";
|
|
470
|
+
readonly type: "bool";
|
|
471
|
+
}];
|
|
472
|
+
readonly indexed: false;
|
|
473
|
+
readonly internalType: "struct PublicDrop";
|
|
474
|
+
readonly name: "publicDrop";
|
|
475
|
+
readonly type: "tuple";
|
|
476
|
+
}];
|
|
477
|
+
readonly name: "PublicDropUpdated";
|
|
478
|
+
readonly type: "event";
|
|
479
|
+
}, {
|
|
480
|
+
readonly anonymous: false;
|
|
481
|
+
readonly inputs: readonly [{
|
|
482
|
+
readonly indexed: true;
|
|
483
|
+
readonly internalType: "address";
|
|
484
|
+
readonly name: "nftContract";
|
|
485
|
+
readonly type: "address";
|
|
486
|
+
}, {
|
|
487
|
+
readonly indexed: true;
|
|
488
|
+
readonly internalType: "address";
|
|
489
|
+
readonly name: "minter";
|
|
490
|
+
readonly type: "address";
|
|
491
|
+
}, {
|
|
492
|
+
readonly indexed: true;
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
readonly name: "feeRecipient";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}, {
|
|
497
|
+
readonly indexed: false;
|
|
498
|
+
readonly internalType: "address";
|
|
499
|
+
readonly name: "payer";
|
|
500
|
+
readonly type: "address";
|
|
501
|
+
}, {
|
|
502
|
+
readonly indexed: false;
|
|
503
|
+
readonly internalType: "uint256";
|
|
504
|
+
readonly name: "quantityMinted";
|
|
505
|
+
readonly type: "uint256";
|
|
506
|
+
}, {
|
|
507
|
+
readonly indexed: false;
|
|
508
|
+
readonly internalType: "uint256";
|
|
509
|
+
readonly name: "unitMintPrice";
|
|
510
|
+
readonly type: "uint256";
|
|
511
|
+
}, {
|
|
512
|
+
readonly indexed: false;
|
|
513
|
+
readonly internalType: "uint256";
|
|
514
|
+
readonly name: "feeBps";
|
|
515
|
+
readonly type: "uint256";
|
|
516
|
+
}, {
|
|
517
|
+
readonly indexed: false;
|
|
518
|
+
readonly internalType: "uint256";
|
|
519
|
+
readonly name: "dropStageIndex";
|
|
520
|
+
readonly type: "uint256";
|
|
521
|
+
}];
|
|
522
|
+
readonly name: "SeaDropMint";
|
|
523
|
+
readonly type: "event";
|
|
524
|
+
}, {
|
|
525
|
+
readonly anonymous: false;
|
|
526
|
+
readonly inputs: readonly [{
|
|
527
|
+
readonly indexed: true;
|
|
528
|
+
readonly internalType: "address";
|
|
529
|
+
readonly name: "nftContract";
|
|
530
|
+
readonly type: "address";
|
|
531
|
+
}, {
|
|
532
|
+
readonly indexed: true;
|
|
533
|
+
readonly internalType: "address";
|
|
534
|
+
readonly name: "signer";
|
|
535
|
+
readonly type: "address";
|
|
536
|
+
}, {
|
|
537
|
+
readonly components: readonly [{
|
|
538
|
+
readonly internalType: "uint80";
|
|
539
|
+
readonly name: "minMintPrice";
|
|
540
|
+
readonly type: "uint80";
|
|
541
|
+
}, {
|
|
542
|
+
readonly internalType: "uint24";
|
|
543
|
+
readonly name: "maxMaxTotalMintableByWallet";
|
|
544
|
+
readonly type: "uint24";
|
|
545
|
+
}, {
|
|
546
|
+
readonly internalType: "uint40";
|
|
547
|
+
readonly name: "minStartTime";
|
|
548
|
+
readonly type: "uint40";
|
|
549
|
+
}, {
|
|
550
|
+
readonly internalType: "uint40";
|
|
551
|
+
readonly name: "maxEndTime";
|
|
552
|
+
readonly type: "uint40";
|
|
553
|
+
}, {
|
|
554
|
+
readonly internalType: "uint40";
|
|
555
|
+
readonly name: "maxMaxTokenSupplyForStage";
|
|
556
|
+
readonly type: "uint40";
|
|
557
|
+
}, {
|
|
558
|
+
readonly internalType: "uint16";
|
|
559
|
+
readonly name: "minFeeBps";
|
|
560
|
+
readonly type: "uint16";
|
|
561
|
+
}, {
|
|
562
|
+
readonly internalType: "uint16";
|
|
563
|
+
readonly name: "maxFeeBps";
|
|
564
|
+
readonly type: "uint16";
|
|
565
|
+
}];
|
|
566
|
+
readonly indexed: false;
|
|
567
|
+
readonly internalType: "struct SignedMintValidationParams";
|
|
568
|
+
readonly name: "signedMintValidationParams";
|
|
569
|
+
readonly type: "tuple";
|
|
570
|
+
}];
|
|
571
|
+
readonly name: "SignedMintValidationParamsUpdated";
|
|
572
|
+
readonly type: "event";
|
|
573
|
+
}, {
|
|
574
|
+
readonly anonymous: false;
|
|
575
|
+
readonly inputs: readonly [{
|
|
576
|
+
readonly indexed: true;
|
|
577
|
+
readonly internalType: "address";
|
|
578
|
+
readonly name: "nftContract";
|
|
579
|
+
readonly type: "address";
|
|
580
|
+
}, {
|
|
581
|
+
readonly indexed: true;
|
|
582
|
+
readonly internalType: "address";
|
|
583
|
+
readonly name: "allowedNftToken";
|
|
584
|
+
readonly type: "address";
|
|
585
|
+
}, {
|
|
586
|
+
readonly components: readonly [{
|
|
587
|
+
readonly internalType: "uint80";
|
|
588
|
+
readonly name: "mintPrice";
|
|
589
|
+
readonly type: "uint80";
|
|
590
|
+
}, {
|
|
591
|
+
readonly internalType: "uint16";
|
|
592
|
+
readonly name: "maxTotalMintableByWallet";
|
|
593
|
+
readonly type: "uint16";
|
|
594
|
+
}, {
|
|
595
|
+
readonly internalType: "uint48";
|
|
596
|
+
readonly name: "startTime";
|
|
597
|
+
readonly type: "uint48";
|
|
598
|
+
}, {
|
|
599
|
+
readonly internalType: "uint48";
|
|
600
|
+
readonly name: "endTime";
|
|
601
|
+
readonly type: "uint48";
|
|
602
|
+
}, {
|
|
603
|
+
readonly internalType: "uint8";
|
|
604
|
+
readonly name: "dropStageIndex";
|
|
605
|
+
readonly type: "uint8";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "uint32";
|
|
608
|
+
readonly name: "maxTokenSupplyForStage";
|
|
609
|
+
readonly type: "uint32";
|
|
610
|
+
}, {
|
|
611
|
+
readonly internalType: "uint16";
|
|
612
|
+
readonly name: "feeBps";
|
|
613
|
+
readonly type: "uint16";
|
|
614
|
+
}, {
|
|
615
|
+
readonly internalType: "bool";
|
|
616
|
+
readonly name: "restrictFeeRecipients";
|
|
617
|
+
readonly type: "bool";
|
|
618
|
+
}];
|
|
619
|
+
readonly indexed: false;
|
|
620
|
+
readonly internalType: "struct TokenGatedDropStage";
|
|
621
|
+
readonly name: "dropStage";
|
|
622
|
+
readonly type: "tuple";
|
|
623
|
+
}];
|
|
624
|
+
readonly name: "TokenGatedDropStageUpdated";
|
|
625
|
+
readonly type: "event";
|
|
626
|
+
}, {
|
|
627
|
+
readonly inputs: readonly [{
|
|
628
|
+
readonly internalType: "address";
|
|
629
|
+
readonly name: "nftContract";
|
|
630
|
+
readonly type: "address";
|
|
631
|
+
}];
|
|
632
|
+
readonly name: "getAllowListMerkleRoot";
|
|
633
|
+
readonly outputs: readonly [{
|
|
634
|
+
readonly internalType: "bytes32";
|
|
635
|
+
readonly name: "";
|
|
636
|
+
readonly type: "bytes32";
|
|
637
|
+
}];
|
|
638
|
+
readonly stateMutability: "view";
|
|
639
|
+
readonly type: "function";
|
|
640
|
+
}, {
|
|
641
|
+
readonly inputs: readonly [{
|
|
642
|
+
readonly internalType: "address";
|
|
643
|
+
readonly name: "nftContract";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
}];
|
|
646
|
+
readonly name: "getAllowedFeeRecipients";
|
|
647
|
+
readonly outputs: readonly [{
|
|
648
|
+
readonly internalType: "address[]";
|
|
649
|
+
readonly name: "";
|
|
650
|
+
readonly type: "address[]";
|
|
651
|
+
}];
|
|
652
|
+
readonly stateMutability: "view";
|
|
653
|
+
readonly type: "function";
|
|
654
|
+
}, {
|
|
655
|
+
readonly inputs: readonly [{
|
|
656
|
+
readonly internalType: "address";
|
|
657
|
+
readonly name: "nftContract";
|
|
658
|
+
readonly type: "address";
|
|
659
|
+
}, {
|
|
660
|
+
readonly internalType: "address";
|
|
661
|
+
readonly name: "allowedNftToken";
|
|
662
|
+
readonly type: "address";
|
|
663
|
+
}, {
|
|
664
|
+
readonly internalType: "uint256";
|
|
665
|
+
readonly name: "allowedNftTokenId";
|
|
666
|
+
readonly type: "uint256";
|
|
667
|
+
}];
|
|
668
|
+
readonly name: "getAllowedNftTokenIdIsRedeemed";
|
|
669
|
+
readonly outputs: readonly [{
|
|
670
|
+
readonly internalType: "bool";
|
|
671
|
+
readonly name: "";
|
|
672
|
+
readonly type: "bool";
|
|
673
|
+
}];
|
|
674
|
+
readonly stateMutability: "view";
|
|
675
|
+
readonly type: "function";
|
|
676
|
+
}, {
|
|
677
|
+
readonly inputs: readonly [{
|
|
678
|
+
readonly internalType: "address";
|
|
679
|
+
readonly name: "nftContract";
|
|
680
|
+
readonly type: "address";
|
|
681
|
+
}];
|
|
682
|
+
readonly name: "getCreatorPayoutAddress";
|
|
683
|
+
readonly outputs: readonly [{
|
|
684
|
+
readonly internalType: "address";
|
|
685
|
+
readonly name: "";
|
|
686
|
+
readonly type: "address";
|
|
687
|
+
}];
|
|
688
|
+
readonly stateMutability: "view";
|
|
689
|
+
readonly type: "function";
|
|
690
|
+
}, {
|
|
691
|
+
readonly inputs: readonly [{
|
|
692
|
+
readonly internalType: "address";
|
|
693
|
+
readonly name: "nftContract";
|
|
694
|
+
readonly type: "address";
|
|
695
|
+
}, {
|
|
696
|
+
readonly internalType: "address";
|
|
697
|
+
readonly name: "feeRecipient";
|
|
698
|
+
readonly type: "address";
|
|
699
|
+
}];
|
|
700
|
+
readonly name: "getFeeRecipientIsAllowed";
|
|
701
|
+
readonly outputs: readonly [{
|
|
702
|
+
readonly internalType: "bool";
|
|
703
|
+
readonly name: "";
|
|
704
|
+
readonly type: "bool";
|
|
705
|
+
}];
|
|
706
|
+
readonly stateMutability: "view";
|
|
707
|
+
readonly type: "function";
|
|
708
|
+
}, {
|
|
709
|
+
readonly inputs: readonly [{
|
|
710
|
+
readonly internalType: "address";
|
|
711
|
+
readonly name: "nftContract";
|
|
712
|
+
readonly type: "address";
|
|
713
|
+
}, {
|
|
714
|
+
readonly internalType: "address";
|
|
715
|
+
readonly name: "payer";
|
|
716
|
+
readonly type: "address";
|
|
717
|
+
}];
|
|
718
|
+
readonly name: "getPayerIsAllowed";
|
|
719
|
+
readonly outputs: readonly [{
|
|
720
|
+
readonly internalType: "bool";
|
|
721
|
+
readonly name: "";
|
|
722
|
+
readonly type: "bool";
|
|
723
|
+
}];
|
|
724
|
+
readonly stateMutability: "view";
|
|
725
|
+
readonly type: "function";
|
|
726
|
+
}, {
|
|
727
|
+
readonly inputs: readonly [{
|
|
728
|
+
readonly internalType: "address";
|
|
729
|
+
readonly name: "nftContract";
|
|
730
|
+
readonly type: "address";
|
|
731
|
+
}];
|
|
732
|
+
readonly name: "getPayers";
|
|
733
|
+
readonly outputs: readonly [{
|
|
734
|
+
readonly internalType: "address[]";
|
|
735
|
+
readonly name: "";
|
|
736
|
+
readonly type: "address[]";
|
|
737
|
+
}];
|
|
738
|
+
readonly stateMutability: "view";
|
|
739
|
+
readonly type: "function";
|
|
740
|
+
}, {
|
|
741
|
+
readonly inputs: readonly [{
|
|
742
|
+
readonly internalType: "address";
|
|
743
|
+
readonly name: "nftContract";
|
|
744
|
+
readonly type: "address";
|
|
745
|
+
}];
|
|
746
|
+
readonly name: "getPublicDrop";
|
|
747
|
+
readonly outputs: readonly [{
|
|
748
|
+
readonly components: readonly [{
|
|
749
|
+
readonly internalType: "uint80";
|
|
750
|
+
readonly name: "mintPrice";
|
|
751
|
+
readonly type: "uint80";
|
|
752
|
+
}, {
|
|
753
|
+
readonly internalType: "uint48";
|
|
754
|
+
readonly name: "startTime";
|
|
755
|
+
readonly type: "uint48";
|
|
756
|
+
}, {
|
|
757
|
+
readonly internalType: "uint48";
|
|
758
|
+
readonly name: "endTime";
|
|
759
|
+
readonly type: "uint48";
|
|
760
|
+
}, {
|
|
761
|
+
readonly internalType: "uint16";
|
|
762
|
+
readonly name: "maxTotalMintableByWallet";
|
|
763
|
+
readonly type: "uint16";
|
|
764
|
+
}, {
|
|
765
|
+
readonly internalType: "uint16";
|
|
766
|
+
readonly name: "feeBps";
|
|
767
|
+
readonly type: "uint16";
|
|
768
|
+
}, {
|
|
769
|
+
readonly internalType: "bool";
|
|
770
|
+
readonly name: "restrictFeeRecipients";
|
|
771
|
+
readonly type: "bool";
|
|
772
|
+
}];
|
|
773
|
+
readonly internalType: "struct PublicDrop";
|
|
774
|
+
readonly name: "";
|
|
775
|
+
readonly type: "tuple";
|
|
776
|
+
}];
|
|
777
|
+
readonly stateMutability: "view";
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
}, {
|
|
780
|
+
readonly inputs: readonly [{
|
|
781
|
+
readonly internalType: "address";
|
|
782
|
+
readonly name: "nftContract";
|
|
783
|
+
readonly type: "address";
|
|
784
|
+
}, {
|
|
785
|
+
readonly internalType: "address";
|
|
786
|
+
readonly name: "signer";
|
|
787
|
+
readonly type: "address";
|
|
788
|
+
}];
|
|
789
|
+
readonly name: "getSignedMintValidationParams";
|
|
790
|
+
readonly outputs: readonly [{
|
|
791
|
+
readonly components: readonly [{
|
|
792
|
+
readonly internalType: "uint80";
|
|
793
|
+
readonly name: "minMintPrice";
|
|
794
|
+
readonly type: "uint80";
|
|
795
|
+
}, {
|
|
796
|
+
readonly internalType: "uint24";
|
|
797
|
+
readonly name: "maxMaxTotalMintableByWallet";
|
|
798
|
+
readonly type: "uint24";
|
|
799
|
+
}, {
|
|
800
|
+
readonly internalType: "uint40";
|
|
801
|
+
readonly name: "minStartTime";
|
|
802
|
+
readonly type: "uint40";
|
|
803
|
+
}, {
|
|
804
|
+
readonly internalType: "uint40";
|
|
805
|
+
readonly name: "maxEndTime";
|
|
806
|
+
readonly type: "uint40";
|
|
807
|
+
}, {
|
|
808
|
+
readonly internalType: "uint40";
|
|
809
|
+
readonly name: "maxMaxTokenSupplyForStage";
|
|
810
|
+
readonly type: "uint40";
|
|
811
|
+
}, {
|
|
812
|
+
readonly internalType: "uint16";
|
|
813
|
+
readonly name: "minFeeBps";
|
|
814
|
+
readonly type: "uint16";
|
|
815
|
+
}, {
|
|
816
|
+
readonly internalType: "uint16";
|
|
817
|
+
readonly name: "maxFeeBps";
|
|
818
|
+
readonly type: "uint16";
|
|
819
|
+
}];
|
|
820
|
+
readonly internalType: "struct SignedMintValidationParams";
|
|
821
|
+
readonly name: "";
|
|
822
|
+
readonly type: "tuple";
|
|
823
|
+
}];
|
|
824
|
+
readonly stateMutability: "view";
|
|
825
|
+
readonly type: "function";
|
|
826
|
+
}, {
|
|
827
|
+
readonly inputs: readonly [{
|
|
828
|
+
readonly internalType: "address";
|
|
829
|
+
readonly name: "nftContract";
|
|
830
|
+
readonly type: "address";
|
|
831
|
+
}];
|
|
832
|
+
readonly name: "getSigners";
|
|
833
|
+
readonly outputs: readonly [{
|
|
834
|
+
readonly internalType: "address[]";
|
|
835
|
+
readonly name: "";
|
|
836
|
+
readonly type: "address[]";
|
|
837
|
+
}];
|
|
838
|
+
readonly stateMutability: "view";
|
|
839
|
+
readonly type: "function";
|
|
840
|
+
}, {
|
|
841
|
+
readonly inputs: readonly [{
|
|
842
|
+
readonly internalType: "address";
|
|
843
|
+
readonly name: "nftContract";
|
|
844
|
+
readonly type: "address";
|
|
845
|
+
}];
|
|
846
|
+
readonly name: "getTokenGatedAllowedTokens";
|
|
847
|
+
readonly outputs: readonly [{
|
|
848
|
+
readonly internalType: "address[]";
|
|
849
|
+
readonly name: "";
|
|
850
|
+
readonly type: "address[]";
|
|
851
|
+
}];
|
|
852
|
+
readonly stateMutability: "view";
|
|
853
|
+
readonly type: "function";
|
|
854
|
+
}, {
|
|
855
|
+
readonly inputs: readonly [{
|
|
856
|
+
readonly internalType: "address";
|
|
857
|
+
readonly name: "nftContract";
|
|
858
|
+
readonly type: "address";
|
|
859
|
+
}, {
|
|
860
|
+
readonly internalType: "address";
|
|
861
|
+
readonly name: "allowedNftToken";
|
|
862
|
+
readonly type: "address";
|
|
863
|
+
}];
|
|
864
|
+
readonly name: "getTokenGatedDrop";
|
|
865
|
+
readonly outputs: readonly [{
|
|
866
|
+
readonly components: readonly [{
|
|
867
|
+
readonly internalType: "uint80";
|
|
868
|
+
readonly name: "mintPrice";
|
|
869
|
+
readonly type: "uint80";
|
|
870
|
+
}, {
|
|
871
|
+
readonly internalType: "uint16";
|
|
872
|
+
readonly name: "maxTotalMintableByWallet";
|
|
873
|
+
readonly type: "uint16";
|
|
874
|
+
}, {
|
|
875
|
+
readonly internalType: "uint48";
|
|
876
|
+
readonly name: "startTime";
|
|
877
|
+
readonly type: "uint48";
|
|
878
|
+
}, {
|
|
879
|
+
readonly internalType: "uint48";
|
|
880
|
+
readonly name: "endTime";
|
|
881
|
+
readonly type: "uint48";
|
|
882
|
+
}, {
|
|
883
|
+
readonly internalType: "uint8";
|
|
884
|
+
readonly name: "dropStageIndex";
|
|
885
|
+
readonly type: "uint8";
|
|
886
|
+
}, {
|
|
887
|
+
readonly internalType: "uint32";
|
|
888
|
+
readonly name: "maxTokenSupplyForStage";
|
|
889
|
+
readonly type: "uint32";
|
|
890
|
+
}, {
|
|
891
|
+
readonly internalType: "uint16";
|
|
892
|
+
readonly name: "feeBps";
|
|
893
|
+
readonly type: "uint16";
|
|
894
|
+
}, {
|
|
895
|
+
readonly internalType: "bool";
|
|
896
|
+
readonly name: "restrictFeeRecipients";
|
|
897
|
+
readonly type: "bool";
|
|
898
|
+
}];
|
|
899
|
+
readonly internalType: "struct TokenGatedDropStage";
|
|
900
|
+
readonly name: "";
|
|
901
|
+
readonly type: "tuple";
|
|
902
|
+
}];
|
|
903
|
+
readonly stateMutability: "view";
|
|
904
|
+
readonly type: "function";
|
|
905
|
+
}, {
|
|
906
|
+
readonly inputs: readonly [{
|
|
907
|
+
readonly internalType: "address";
|
|
908
|
+
readonly name: "nftContract";
|
|
909
|
+
readonly type: "address";
|
|
910
|
+
}, {
|
|
911
|
+
readonly internalType: "address";
|
|
912
|
+
readonly name: "feeRecipient";
|
|
913
|
+
readonly type: "address";
|
|
914
|
+
}, {
|
|
915
|
+
readonly internalType: "address";
|
|
916
|
+
readonly name: "minterIfNotPayer";
|
|
917
|
+
readonly type: "address";
|
|
918
|
+
}, {
|
|
919
|
+
readonly internalType: "uint256";
|
|
920
|
+
readonly name: "quantity";
|
|
921
|
+
readonly type: "uint256";
|
|
922
|
+
}, {
|
|
923
|
+
readonly components: readonly [{
|
|
924
|
+
readonly internalType: "uint256";
|
|
925
|
+
readonly name: "mintPrice";
|
|
926
|
+
readonly type: "uint256";
|
|
927
|
+
}, {
|
|
928
|
+
readonly internalType: "uint256";
|
|
929
|
+
readonly name: "maxTotalMintableByWallet";
|
|
930
|
+
readonly type: "uint256";
|
|
931
|
+
}, {
|
|
932
|
+
readonly internalType: "uint256";
|
|
933
|
+
readonly name: "startTime";
|
|
934
|
+
readonly type: "uint256";
|
|
935
|
+
}, {
|
|
936
|
+
readonly internalType: "uint256";
|
|
937
|
+
readonly name: "endTime";
|
|
938
|
+
readonly type: "uint256";
|
|
939
|
+
}, {
|
|
940
|
+
readonly internalType: "uint256";
|
|
941
|
+
readonly name: "dropStageIndex";
|
|
942
|
+
readonly type: "uint256";
|
|
943
|
+
}, {
|
|
944
|
+
readonly internalType: "uint256";
|
|
945
|
+
readonly name: "maxTokenSupplyForStage";
|
|
946
|
+
readonly type: "uint256";
|
|
947
|
+
}, {
|
|
948
|
+
readonly internalType: "uint256";
|
|
949
|
+
readonly name: "feeBps";
|
|
950
|
+
readonly type: "uint256";
|
|
951
|
+
}, {
|
|
952
|
+
readonly internalType: "bool";
|
|
953
|
+
readonly name: "restrictFeeRecipients";
|
|
954
|
+
readonly type: "bool";
|
|
955
|
+
}];
|
|
956
|
+
readonly internalType: "struct MintParams";
|
|
957
|
+
readonly name: "mintParams";
|
|
958
|
+
readonly type: "tuple";
|
|
959
|
+
}, {
|
|
960
|
+
readonly internalType: "bytes32[]";
|
|
961
|
+
readonly name: "proof";
|
|
962
|
+
readonly type: "bytes32[]";
|
|
963
|
+
}];
|
|
964
|
+
readonly name: "mintAllowList";
|
|
965
|
+
readonly outputs: readonly [];
|
|
966
|
+
readonly stateMutability: "payable";
|
|
967
|
+
readonly type: "function";
|
|
968
|
+
}, {
|
|
969
|
+
readonly inputs: readonly [{
|
|
970
|
+
readonly internalType: "address";
|
|
971
|
+
readonly name: "nftContract";
|
|
972
|
+
readonly type: "address";
|
|
973
|
+
}, {
|
|
974
|
+
readonly internalType: "address";
|
|
975
|
+
readonly name: "feeRecipient";
|
|
976
|
+
readonly type: "address";
|
|
977
|
+
}, {
|
|
978
|
+
readonly internalType: "address";
|
|
979
|
+
readonly name: "minterIfNotPayer";
|
|
980
|
+
readonly type: "address";
|
|
981
|
+
}, {
|
|
982
|
+
readonly components: readonly [{
|
|
983
|
+
readonly internalType: "address";
|
|
984
|
+
readonly name: "allowedNftToken";
|
|
985
|
+
readonly type: "address";
|
|
986
|
+
}, {
|
|
987
|
+
readonly internalType: "uint256[]";
|
|
988
|
+
readonly name: "allowedNftTokenIds";
|
|
989
|
+
readonly type: "uint256[]";
|
|
990
|
+
}];
|
|
991
|
+
readonly internalType: "struct TokenGatedMintParams";
|
|
992
|
+
readonly name: "mintParams";
|
|
993
|
+
readonly type: "tuple";
|
|
994
|
+
}];
|
|
995
|
+
readonly name: "mintAllowedTokenHolder";
|
|
996
|
+
readonly outputs: readonly [];
|
|
997
|
+
readonly stateMutability: "payable";
|
|
998
|
+
readonly type: "function";
|
|
999
|
+
}, {
|
|
1000
|
+
readonly inputs: readonly [{
|
|
1001
|
+
readonly internalType: "address";
|
|
1002
|
+
readonly name: "nftContract";
|
|
1003
|
+
readonly type: "address";
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly internalType: "address";
|
|
1006
|
+
readonly name: "feeRecipient";
|
|
1007
|
+
readonly type: "address";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly internalType: "address";
|
|
1010
|
+
readonly name: "minterIfNotPayer";
|
|
1011
|
+
readonly type: "address";
|
|
1012
|
+
}, {
|
|
1013
|
+
readonly internalType: "uint256";
|
|
1014
|
+
readonly name: "quantity";
|
|
1015
|
+
readonly type: "uint256";
|
|
1016
|
+
}];
|
|
1017
|
+
readonly name: "mintPublic";
|
|
1018
|
+
readonly outputs: readonly [];
|
|
1019
|
+
readonly stateMutability: "payable";
|
|
1020
|
+
readonly type: "function";
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly inputs: readonly [{
|
|
1023
|
+
readonly internalType: "address";
|
|
1024
|
+
readonly name: "nftContract";
|
|
1025
|
+
readonly type: "address";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly internalType: "address";
|
|
1028
|
+
readonly name: "feeRecipient";
|
|
1029
|
+
readonly type: "address";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly internalType: "address";
|
|
1032
|
+
readonly name: "minterIfNotPayer";
|
|
1033
|
+
readonly type: "address";
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly internalType: "uint256";
|
|
1036
|
+
readonly name: "quantity";
|
|
1037
|
+
readonly type: "uint256";
|
|
1038
|
+
}, {
|
|
1039
|
+
readonly components: readonly [{
|
|
1040
|
+
readonly internalType: "uint256";
|
|
1041
|
+
readonly name: "mintPrice";
|
|
1042
|
+
readonly type: "uint256";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly internalType: "uint256";
|
|
1045
|
+
readonly name: "maxTotalMintableByWallet";
|
|
1046
|
+
readonly type: "uint256";
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly internalType: "uint256";
|
|
1049
|
+
readonly name: "startTime";
|
|
1050
|
+
readonly type: "uint256";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly internalType: "uint256";
|
|
1053
|
+
readonly name: "endTime";
|
|
1054
|
+
readonly type: "uint256";
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly internalType: "uint256";
|
|
1057
|
+
readonly name: "dropStageIndex";
|
|
1058
|
+
readonly type: "uint256";
|
|
1059
|
+
}, {
|
|
1060
|
+
readonly internalType: "uint256";
|
|
1061
|
+
readonly name: "maxTokenSupplyForStage";
|
|
1062
|
+
readonly type: "uint256";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly internalType: "uint256";
|
|
1065
|
+
readonly name: "feeBps";
|
|
1066
|
+
readonly type: "uint256";
|
|
1067
|
+
}, {
|
|
1068
|
+
readonly internalType: "bool";
|
|
1069
|
+
readonly name: "restrictFeeRecipients";
|
|
1070
|
+
readonly type: "bool";
|
|
1071
|
+
}];
|
|
1072
|
+
readonly internalType: "struct MintParams";
|
|
1073
|
+
readonly name: "mintParams";
|
|
1074
|
+
readonly type: "tuple";
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly internalType: "uint256";
|
|
1077
|
+
readonly name: "salt";
|
|
1078
|
+
readonly type: "uint256";
|
|
1079
|
+
}, {
|
|
1080
|
+
readonly internalType: "bytes";
|
|
1081
|
+
readonly name: "signature";
|
|
1082
|
+
readonly type: "bytes";
|
|
1083
|
+
}];
|
|
1084
|
+
readonly name: "mintSigned";
|
|
1085
|
+
readonly outputs: readonly [];
|
|
1086
|
+
readonly stateMutability: "payable";
|
|
1087
|
+
readonly type: "function";
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly inputs: readonly [{
|
|
1090
|
+
readonly components: readonly [{
|
|
1091
|
+
readonly internalType: "bytes32";
|
|
1092
|
+
readonly name: "merkleRoot";
|
|
1093
|
+
readonly type: "bytes32";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly internalType: "string[]";
|
|
1096
|
+
readonly name: "publicKeyURIs";
|
|
1097
|
+
readonly type: "string[]";
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly internalType: "string";
|
|
1100
|
+
readonly name: "allowListURI";
|
|
1101
|
+
readonly type: "string";
|
|
1102
|
+
}];
|
|
1103
|
+
readonly internalType: "struct AllowListData";
|
|
1104
|
+
readonly name: "allowListData";
|
|
1105
|
+
readonly type: "tuple";
|
|
1106
|
+
}];
|
|
1107
|
+
readonly name: "updateAllowList";
|
|
1108
|
+
readonly outputs: readonly [];
|
|
1109
|
+
readonly stateMutability: "nonpayable";
|
|
1110
|
+
readonly type: "function";
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly inputs: readonly [{
|
|
1113
|
+
readonly internalType: "address";
|
|
1114
|
+
readonly name: "feeRecipient";
|
|
1115
|
+
readonly type: "address";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly internalType: "bool";
|
|
1118
|
+
readonly name: "allowed";
|
|
1119
|
+
readonly type: "bool";
|
|
1120
|
+
}];
|
|
1121
|
+
readonly name: "updateAllowedFeeRecipient";
|
|
1122
|
+
readonly outputs: readonly [];
|
|
1123
|
+
readonly stateMutability: "nonpayable";
|
|
1124
|
+
readonly type: "function";
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly inputs: readonly [{
|
|
1127
|
+
readonly internalType: "address";
|
|
1128
|
+
readonly name: "_payoutAddress";
|
|
1129
|
+
readonly type: "address";
|
|
1130
|
+
}];
|
|
1131
|
+
readonly name: "updateCreatorPayoutAddress";
|
|
1132
|
+
readonly outputs: readonly [];
|
|
1133
|
+
readonly stateMutability: "nonpayable";
|
|
1134
|
+
readonly type: "function";
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly inputs: readonly [{
|
|
1137
|
+
readonly internalType: "string";
|
|
1138
|
+
readonly name: "dropURI";
|
|
1139
|
+
readonly type: "string";
|
|
1140
|
+
}];
|
|
1141
|
+
readonly name: "updateDropURI";
|
|
1142
|
+
readonly outputs: readonly [];
|
|
1143
|
+
readonly stateMutability: "nonpayable";
|
|
1144
|
+
readonly type: "function";
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly inputs: readonly [{
|
|
1147
|
+
readonly internalType: "address";
|
|
1148
|
+
readonly name: "payer";
|
|
1149
|
+
readonly type: "address";
|
|
1150
|
+
}, {
|
|
1151
|
+
readonly internalType: "bool";
|
|
1152
|
+
readonly name: "allowed";
|
|
1153
|
+
readonly type: "bool";
|
|
1154
|
+
}];
|
|
1155
|
+
readonly name: "updatePayer";
|
|
1156
|
+
readonly outputs: readonly [];
|
|
1157
|
+
readonly stateMutability: "nonpayable";
|
|
1158
|
+
readonly type: "function";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly inputs: readonly [{
|
|
1161
|
+
readonly components: readonly [{
|
|
1162
|
+
readonly internalType: "uint80";
|
|
1163
|
+
readonly name: "mintPrice";
|
|
1164
|
+
readonly type: "uint80";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly internalType: "uint48";
|
|
1167
|
+
readonly name: "startTime";
|
|
1168
|
+
readonly type: "uint48";
|
|
1169
|
+
}, {
|
|
1170
|
+
readonly internalType: "uint48";
|
|
1171
|
+
readonly name: "endTime";
|
|
1172
|
+
readonly type: "uint48";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly internalType: "uint16";
|
|
1175
|
+
readonly name: "maxTotalMintableByWallet";
|
|
1176
|
+
readonly type: "uint16";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly internalType: "uint16";
|
|
1179
|
+
readonly name: "feeBps";
|
|
1180
|
+
readonly type: "uint16";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly internalType: "bool";
|
|
1183
|
+
readonly name: "restrictFeeRecipients";
|
|
1184
|
+
readonly type: "bool";
|
|
1185
|
+
}];
|
|
1186
|
+
readonly internalType: "struct PublicDrop";
|
|
1187
|
+
readonly name: "publicDrop";
|
|
1188
|
+
readonly type: "tuple";
|
|
1189
|
+
}];
|
|
1190
|
+
readonly name: "updatePublicDrop";
|
|
1191
|
+
readonly outputs: readonly [];
|
|
1192
|
+
readonly stateMutability: "nonpayable";
|
|
1193
|
+
readonly type: "function";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly inputs: readonly [{
|
|
1196
|
+
readonly internalType: "address";
|
|
1197
|
+
readonly name: "signer";
|
|
1198
|
+
readonly type: "address";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly components: readonly [{
|
|
1201
|
+
readonly internalType: "uint80";
|
|
1202
|
+
readonly name: "minMintPrice";
|
|
1203
|
+
readonly type: "uint80";
|
|
1204
|
+
}, {
|
|
1205
|
+
readonly internalType: "uint24";
|
|
1206
|
+
readonly name: "maxMaxTotalMintableByWallet";
|
|
1207
|
+
readonly type: "uint24";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly internalType: "uint40";
|
|
1210
|
+
readonly name: "minStartTime";
|
|
1211
|
+
readonly type: "uint40";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly internalType: "uint40";
|
|
1214
|
+
readonly name: "maxEndTime";
|
|
1215
|
+
readonly type: "uint40";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly internalType: "uint40";
|
|
1218
|
+
readonly name: "maxMaxTokenSupplyForStage";
|
|
1219
|
+
readonly type: "uint40";
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly internalType: "uint16";
|
|
1222
|
+
readonly name: "minFeeBps";
|
|
1223
|
+
readonly type: "uint16";
|
|
1224
|
+
}, {
|
|
1225
|
+
readonly internalType: "uint16";
|
|
1226
|
+
readonly name: "maxFeeBps";
|
|
1227
|
+
readonly type: "uint16";
|
|
1228
|
+
}];
|
|
1229
|
+
readonly internalType: "struct SignedMintValidationParams";
|
|
1230
|
+
readonly name: "signedMintValidationParams";
|
|
1231
|
+
readonly type: "tuple";
|
|
1232
|
+
}];
|
|
1233
|
+
readonly name: "updateSignedMintValidationParams";
|
|
1234
|
+
readonly outputs: readonly [];
|
|
1235
|
+
readonly stateMutability: "nonpayable";
|
|
1236
|
+
readonly type: "function";
|
|
1237
|
+
}, {
|
|
1238
|
+
readonly inputs: readonly [{
|
|
1239
|
+
readonly internalType: "address";
|
|
1240
|
+
readonly name: "allowedNftToken";
|
|
1241
|
+
readonly type: "address";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly components: readonly [{
|
|
1244
|
+
readonly internalType: "uint80";
|
|
1245
|
+
readonly name: "mintPrice";
|
|
1246
|
+
readonly type: "uint80";
|
|
1247
|
+
}, {
|
|
1248
|
+
readonly internalType: "uint16";
|
|
1249
|
+
readonly name: "maxTotalMintableByWallet";
|
|
1250
|
+
readonly type: "uint16";
|
|
1251
|
+
}, {
|
|
1252
|
+
readonly internalType: "uint48";
|
|
1253
|
+
readonly name: "startTime";
|
|
1254
|
+
readonly type: "uint48";
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly internalType: "uint48";
|
|
1257
|
+
readonly name: "endTime";
|
|
1258
|
+
readonly type: "uint48";
|
|
1259
|
+
}, {
|
|
1260
|
+
readonly internalType: "uint8";
|
|
1261
|
+
readonly name: "dropStageIndex";
|
|
1262
|
+
readonly type: "uint8";
|
|
1263
|
+
}, {
|
|
1264
|
+
readonly internalType: "uint32";
|
|
1265
|
+
readonly name: "maxTokenSupplyForStage";
|
|
1266
|
+
readonly type: "uint32";
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly internalType: "uint16";
|
|
1269
|
+
readonly name: "feeBps";
|
|
1270
|
+
readonly type: "uint16";
|
|
1271
|
+
}, {
|
|
1272
|
+
readonly internalType: "bool";
|
|
1273
|
+
readonly name: "restrictFeeRecipients";
|
|
1274
|
+
readonly type: "bool";
|
|
1275
|
+
}];
|
|
1276
|
+
readonly internalType: "struct TokenGatedDropStage";
|
|
1277
|
+
readonly name: "dropStage";
|
|
1278
|
+
readonly type: "tuple";
|
|
1279
|
+
}];
|
|
1280
|
+
readonly name: "updateTokenGatedDrop";
|
|
1281
|
+
readonly outputs: readonly [];
|
|
1282
|
+
readonly stateMutability: "nonpayable";
|
|
1283
|
+
readonly type: "function";
|
|
1284
|
+
}];
|
|
1285
|
+
/**
|
|
1286
|
+
* Type-safe ABI for SeaDrop_json
|
|
1287
|
+
*/
|
|
1288
|
+
export type SeaDrop_jsonAbi = typeof SeaDrop_jsonAbi;
|
|
1289
|
+
/**
|
|
1290
|
+
* Contract instance type for SeaDrop_json
|
|
1291
|
+
*/
|
|
1292
|
+
export type SeaDrop_jsonContract = any;
|
|
1293
|
+
/**
|
|
1294
|
+
* SeaDrop_json Contract Class
|
|
1295
|
+
*
|
|
1296
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1297
|
+
*
|
|
1298
|
+
* @example
|
|
1299
|
+
* ```typescript
|
|
1300
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1301
|
+
* import { mainnet } from 'viem/chains';
|
|
1302
|
+
* import { SeaDrop_json } from 'SeaDrop_json';
|
|
1303
|
+
*
|
|
1304
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1305
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1306
|
+
*
|
|
1307
|
+
* const contract = new SeaDrop_json('0x...', { publicClient, walletClient });
|
|
1308
|
+
*
|
|
1309
|
+
* // Read functions
|
|
1310
|
+
* const result = await contract.balanceOf('0x...');
|
|
1311
|
+
*
|
|
1312
|
+
* // Write functions
|
|
1313
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1314
|
+
*
|
|
1315
|
+
* // Simulate transactions (dry-run)
|
|
1316
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1317
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1318
|
+
*
|
|
1319
|
+
* // Watch events
|
|
1320
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1321
|
+
* console.log('Transfer event:', event);
|
|
1322
|
+
* });
|
|
1323
|
+
* ```
|
|
1324
|
+
*/
|
|
1325
|
+
export declare class SeaDrop_json {
|
|
1326
|
+
private contract;
|
|
1327
|
+
private contractAddress;
|
|
1328
|
+
private publicClient;
|
|
1329
|
+
constructor(address: Address, clients: {
|
|
1330
|
+
publicClient: PublicClient;
|
|
1331
|
+
walletClient?: WalletClient;
|
|
1332
|
+
});
|
|
1333
|
+
/**
|
|
1334
|
+
* Get the contract address
|
|
1335
|
+
*/
|
|
1336
|
+
get address(): Address;
|
|
1337
|
+
/**
|
|
1338
|
+
* Get the underlying viem contract instance
|
|
1339
|
+
*/
|
|
1340
|
+
getContract(): SeaDrop_jsonContract;
|
|
1341
|
+
/**
|
|
1342
|
+
* getAllowListMerkleRoot
|
|
1343
|
+
* view
|
|
1344
|
+
*/
|
|
1345
|
+
getAllowListMerkleRoot(nftContract: `0x${string}`): Promise<`0x${string}`>;
|
|
1346
|
+
/**
|
|
1347
|
+
* getAllowedFeeRecipients
|
|
1348
|
+
* view
|
|
1349
|
+
*/
|
|
1350
|
+
getAllowedFeeRecipients(nftContract: `0x${string}`): Promise<`0x${string}`[]>;
|
|
1351
|
+
/**
|
|
1352
|
+
* getAllowedNftTokenIdIsRedeemed
|
|
1353
|
+
* view
|
|
1354
|
+
*/
|
|
1355
|
+
getAllowedNftTokenIdIsRedeemed(nftContract: `0x${string}`, allowedNftToken: `0x${string}`, allowedNftTokenId: bigint): Promise<boolean>;
|
|
1356
|
+
/**
|
|
1357
|
+
* getCreatorPayoutAddress
|
|
1358
|
+
* view
|
|
1359
|
+
*/
|
|
1360
|
+
getCreatorPayoutAddress(nftContract: `0x${string}`): Promise<`0x${string}`>;
|
|
1361
|
+
/**
|
|
1362
|
+
* getFeeRecipientIsAllowed
|
|
1363
|
+
* view
|
|
1364
|
+
*/
|
|
1365
|
+
getFeeRecipientIsAllowed(nftContract: `0x${string}`, feeRecipient: `0x${string}`): Promise<boolean>;
|
|
1366
|
+
/**
|
|
1367
|
+
* getPayerIsAllowed
|
|
1368
|
+
* view
|
|
1369
|
+
*/
|
|
1370
|
+
getPayerIsAllowed(nftContract: `0x${string}`, payer: `0x${string}`): Promise<boolean>;
|
|
1371
|
+
/**
|
|
1372
|
+
* getPayers
|
|
1373
|
+
* view
|
|
1374
|
+
*/
|
|
1375
|
+
getPayers(nftContract: `0x${string}`): Promise<`0x${string}`[]>;
|
|
1376
|
+
/**
|
|
1377
|
+
* getPublicDrop
|
|
1378
|
+
* view
|
|
1379
|
+
*/
|
|
1380
|
+
getPublicDrop(nftContract: `0x${string}`): Promise<PublicDrop>;
|
|
1381
|
+
/**
|
|
1382
|
+
* getSignedMintValidationParams
|
|
1383
|
+
* view
|
|
1384
|
+
*/
|
|
1385
|
+
getSignedMintValidationParams(nftContract: `0x${string}`, signer: `0x${string}`): Promise<SignedMintValidationParams>;
|
|
1386
|
+
/**
|
|
1387
|
+
* getSigners
|
|
1388
|
+
* view
|
|
1389
|
+
*/
|
|
1390
|
+
getSigners(nftContract: `0x${string}`): Promise<`0x${string}`[]>;
|
|
1391
|
+
/**
|
|
1392
|
+
* getTokenGatedAllowedTokens
|
|
1393
|
+
* view
|
|
1394
|
+
*/
|
|
1395
|
+
getTokenGatedAllowedTokens(nftContract: `0x${string}`): Promise<`0x${string}`[]>;
|
|
1396
|
+
/**
|
|
1397
|
+
* getTokenGatedDrop
|
|
1398
|
+
* view
|
|
1399
|
+
*/
|
|
1400
|
+
getTokenGatedDrop(nftContract: `0x${string}`, allowedNftToken: `0x${string}`): Promise<TokenGatedDropStage>;
|
|
1401
|
+
/**
|
|
1402
|
+
* mintAllowList
|
|
1403
|
+
* payable
|
|
1404
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1405
|
+
*/
|
|
1406
|
+
mintAllowList(nftContract: `0x${string}`, feeRecipient: `0x${string}`, minterIfNotPayer: `0x${string}`, quantity: bigint, mintParams: MintParams, proof: `0x${string}`[], options?: {
|
|
1407
|
+
accessList?: import('viem').AccessList;
|
|
1408
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1409
|
+
chain?: import('viem').Chain | null;
|
|
1410
|
+
dataSuffix?: `0x${string}`;
|
|
1411
|
+
gas?: bigint;
|
|
1412
|
+
gasPrice?: bigint;
|
|
1413
|
+
maxFeePerGas?: bigint;
|
|
1414
|
+
maxPriorityFeePerGas?: bigint;
|
|
1415
|
+
nonce?: number;
|
|
1416
|
+
value?: bigint;
|
|
1417
|
+
}): Promise<`0x${string}`>;
|
|
1418
|
+
/**
|
|
1419
|
+
* mintAllowedTokenHolder
|
|
1420
|
+
* payable
|
|
1421
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1422
|
+
*/
|
|
1423
|
+
mintAllowedTokenHolder(nftContract: `0x${string}`, feeRecipient: `0x${string}`, minterIfNotPayer: `0x${string}`, mintParams: TokenGatedMintParams, options?: {
|
|
1424
|
+
accessList?: import('viem').AccessList;
|
|
1425
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1426
|
+
chain?: import('viem').Chain | null;
|
|
1427
|
+
dataSuffix?: `0x${string}`;
|
|
1428
|
+
gas?: bigint;
|
|
1429
|
+
gasPrice?: bigint;
|
|
1430
|
+
maxFeePerGas?: bigint;
|
|
1431
|
+
maxPriorityFeePerGas?: bigint;
|
|
1432
|
+
nonce?: number;
|
|
1433
|
+
value?: bigint;
|
|
1434
|
+
}): Promise<`0x${string}`>;
|
|
1435
|
+
/**
|
|
1436
|
+
* mintPublic
|
|
1437
|
+
* payable
|
|
1438
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1439
|
+
*/
|
|
1440
|
+
mintPublic(nftContract: `0x${string}`, feeRecipient: `0x${string}`, minterIfNotPayer: `0x${string}`, quantity: bigint, options?: {
|
|
1441
|
+
accessList?: import('viem').AccessList;
|
|
1442
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1443
|
+
chain?: import('viem').Chain | null;
|
|
1444
|
+
dataSuffix?: `0x${string}`;
|
|
1445
|
+
gas?: bigint;
|
|
1446
|
+
gasPrice?: bigint;
|
|
1447
|
+
maxFeePerGas?: bigint;
|
|
1448
|
+
maxPriorityFeePerGas?: bigint;
|
|
1449
|
+
nonce?: number;
|
|
1450
|
+
value?: bigint;
|
|
1451
|
+
}): Promise<`0x${string}`>;
|
|
1452
|
+
/**
|
|
1453
|
+
* mintSigned
|
|
1454
|
+
* payable
|
|
1455
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1456
|
+
*/
|
|
1457
|
+
mintSigned(nftContract: `0x${string}`, feeRecipient: `0x${string}`, minterIfNotPayer: `0x${string}`, quantity: bigint, mintParams: MintParams, salt: bigint, signature: `0x${string}`, options?: {
|
|
1458
|
+
accessList?: import('viem').AccessList;
|
|
1459
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1460
|
+
chain?: import('viem').Chain | null;
|
|
1461
|
+
dataSuffix?: `0x${string}`;
|
|
1462
|
+
gas?: bigint;
|
|
1463
|
+
gasPrice?: bigint;
|
|
1464
|
+
maxFeePerGas?: bigint;
|
|
1465
|
+
maxPriorityFeePerGas?: bigint;
|
|
1466
|
+
nonce?: number;
|
|
1467
|
+
value?: bigint;
|
|
1468
|
+
}): Promise<`0x${string}`>;
|
|
1469
|
+
/**
|
|
1470
|
+
* updateAllowList
|
|
1471
|
+
* nonpayable
|
|
1472
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1473
|
+
*/
|
|
1474
|
+
updateAllowList(allowListData: AllowListData, options?: {
|
|
1475
|
+
accessList?: import('viem').AccessList;
|
|
1476
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1477
|
+
chain?: import('viem').Chain | null;
|
|
1478
|
+
dataSuffix?: `0x${string}`;
|
|
1479
|
+
gas?: bigint;
|
|
1480
|
+
gasPrice?: bigint;
|
|
1481
|
+
maxFeePerGas?: bigint;
|
|
1482
|
+
maxPriorityFeePerGas?: bigint;
|
|
1483
|
+
nonce?: number;
|
|
1484
|
+
value?: bigint;
|
|
1485
|
+
}): Promise<`0x${string}`>;
|
|
1486
|
+
/**
|
|
1487
|
+
* updateAllowedFeeRecipient
|
|
1488
|
+
* nonpayable
|
|
1489
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1490
|
+
*/
|
|
1491
|
+
updateAllowedFeeRecipient(feeRecipient: `0x${string}`, allowed: boolean, options?: {
|
|
1492
|
+
accessList?: import('viem').AccessList;
|
|
1493
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1494
|
+
chain?: import('viem').Chain | null;
|
|
1495
|
+
dataSuffix?: `0x${string}`;
|
|
1496
|
+
gas?: bigint;
|
|
1497
|
+
gasPrice?: bigint;
|
|
1498
|
+
maxFeePerGas?: bigint;
|
|
1499
|
+
maxPriorityFeePerGas?: bigint;
|
|
1500
|
+
nonce?: number;
|
|
1501
|
+
value?: bigint;
|
|
1502
|
+
}): Promise<`0x${string}`>;
|
|
1503
|
+
/**
|
|
1504
|
+
* updateCreatorPayoutAddress
|
|
1505
|
+
* nonpayable
|
|
1506
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1507
|
+
*/
|
|
1508
|
+
updateCreatorPayoutAddress(_payoutAddress: `0x${string}`, options?: {
|
|
1509
|
+
accessList?: import('viem').AccessList;
|
|
1510
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1511
|
+
chain?: import('viem').Chain | null;
|
|
1512
|
+
dataSuffix?: `0x${string}`;
|
|
1513
|
+
gas?: bigint;
|
|
1514
|
+
gasPrice?: bigint;
|
|
1515
|
+
maxFeePerGas?: bigint;
|
|
1516
|
+
maxPriorityFeePerGas?: bigint;
|
|
1517
|
+
nonce?: number;
|
|
1518
|
+
value?: bigint;
|
|
1519
|
+
}): Promise<`0x${string}`>;
|
|
1520
|
+
/**
|
|
1521
|
+
* updateDropURI
|
|
1522
|
+
* nonpayable
|
|
1523
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1524
|
+
*/
|
|
1525
|
+
updateDropURI(dropURI: string, options?: {
|
|
1526
|
+
accessList?: import('viem').AccessList;
|
|
1527
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1528
|
+
chain?: import('viem').Chain | null;
|
|
1529
|
+
dataSuffix?: `0x${string}`;
|
|
1530
|
+
gas?: bigint;
|
|
1531
|
+
gasPrice?: bigint;
|
|
1532
|
+
maxFeePerGas?: bigint;
|
|
1533
|
+
maxPriorityFeePerGas?: bigint;
|
|
1534
|
+
nonce?: number;
|
|
1535
|
+
value?: bigint;
|
|
1536
|
+
}): Promise<`0x${string}`>;
|
|
1537
|
+
/**
|
|
1538
|
+
* updatePayer
|
|
1539
|
+
* nonpayable
|
|
1540
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1541
|
+
*/
|
|
1542
|
+
updatePayer(payer: `0x${string}`, allowed: boolean, options?: {
|
|
1543
|
+
accessList?: import('viem').AccessList;
|
|
1544
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1545
|
+
chain?: import('viem').Chain | null;
|
|
1546
|
+
dataSuffix?: `0x${string}`;
|
|
1547
|
+
gas?: bigint;
|
|
1548
|
+
gasPrice?: bigint;
|
|
1549
|
+
maxFeePerGas?: bigint;
|
|
1550
|
+
maxPriorityFeePerGas?: bigint;
|
|
1551
|
+
nonce?: number;
|
|
1552
|
+
value?: bigint;
|
|
1553
|
+
}): Promise<`0x${string}`>;
|
|
1554
|
+
/**
|
|
1555
|
+
* updatePublicDrop
|
|
1556
|
+
* nonpayable
|
|
1557
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1558
|
+
*/
|
|
1559
|
+
updatePublicDrop(publicDrop: PublicDrop, options?: {
|
|
1560
|
+
accessList?: import('viem').AccessList;
|
|
1561
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1562
|
+
chain?: import('viem').Chain | null;
|
|
1563
|
+
dataSuffix?: `0x${string}`;
|
|
1564
|
+
gas?: bigint;
|
|
1565
|
+
gasPrice?: bigint;
|
|
1566
|
+
maxFeePerGas?: bigint;
|
|
1567
|
+
maxPriorityFeePerGas?: bigint;
|
|
1568
|
+
nonce?: number;
|
|
1569
|
+
value?: bigint;
|
|
1570
|
+
}): Promise<`0x${string}`>;
|
|
1571
|
+
/**
|
|
1572
|
+
* updateSignedMintValidationParams
|
|
1573
|
+
* nonpayable
|
|
1574
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1575
|
+
*/
|
|
1576
|
+
updateSignedMintValidationParams(signer: `0x${string}`, signedMintValidationParams: SignedMintValidationParams, options?: {
|
|
1577
|
+
accessList?: import('viem').AccessList;
|
|
1578
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1579
|
+
chain?: import('viem').Chain | null;
|
|
1580
|
+
dataSuffix?: `0x${string}`;
|
|
1581
|
+
gas?: bigint;
|
|
1582
|
+
gasPrice?: bigint;
|
|
1583
|
+
maxFeePerGas?: bigint;
|
|
1584
|
+
maxPriorityFeePerGas?: bigint;
|
|
1585
|
+
nonce?: number;
|
|
1586
|
+
value?: bigint;
|
|
1587
|
+
}): Promise<`0x${string}`>;
|
|
1588
|
+
/**
|
|
1589
|
+
* updateTokenGatedDrop
|
|
1590
|
+
* nonpayable
|
|
1591
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1592
|
+
*/
|
|
1593
|
+
updateTokenGatedDrop(allowedNftToken: `0x${string}`, dropStage: TokenGatedDropStage, options?: {
|
|
1594
|
+
accessList?: import('viem').AccessList;
|
|
1595
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1596
|
+
chain?: import('viem').Chain | null;
|
|
1597
|
+
dataSuffix?: `0x${string}`;
|
|
1598
|
+
gas?: bigint;
|
|
1599
|
+
gasPrice?: bigint;
|
|
1600
|
+
maxFeePerGas?: bigint;
|
|
1601
|
+
maxPriorityFeePerGas?: bigint;
|
|
1602
|
+
nonce?: number;
|
|
1603
|
+
value?: bigint;
|
|
1604
|
+
}): Promise<`0x${string}`>;
|
|
1605
|
+
/**
|
|
1606
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
1607
|
+
*
|
|
1608
|
+
* @example
|
|
1609
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
1610
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
1611
|
+
* console.log('Would succeed:', result.result);
|
|
1612
|
+
*/
|
|
1613
|
+
get simulate(): {
|
|
1614
|
+
/**
|
|
1615
|
+
* Simulate mintAllowList
|
|
1616
|
+
* Returns gas estimate and result without sending transaction
|
|
1617
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1618
|
+
*/
|
|
1619
|
+
mintAllowList(nftContract: `0x${string}`, feeRecipient: `0x${string}`, minterIfNotPayer: `0x${string}`, quantity: bigint, mintParams: MintParams, proof: `0x${string}`[], options?: {
|
|
1620
|
+
accessList?: import("viem").AccessList;
|
|
1621
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1622
|
+
chain?: import("viem").Chain | null;
|
|
1623
|
+
dataSuffix?: `0x${string}`;
|
|
1624
|
+
gas?: bigint;
|
|
1625
|
+
gasPrice?: bigint;
|
|
1626
|
+
maxFeePerGas?: bigint;
|
|
1627
|
+
maxPriorityFeePerGas?: bigint;
|
|
1628
|
+
nonce?: number;
|
|
1629
|
+
value?: bigint;
|
|
1630
|
+
}): Promise<void>;
|
|
1631
|
+
/**
|
|
1632
|
+
* Simulate mintAllowedTokenHolder
|
|
1633
|
+
* Returns gas estimate and result without sending transaction
|
|
1634
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1635
|
+
*/
|
|
1636
|
+
mintAllowedTokenHolder(nftContract: `0x${string}`, feeRecipient: `0x${string}`, minterIfNotPayer: `0x${string}`, mintParams: TokenGatedMintParams, options?: {
|
|
1637
|
+
accessList?: import("viem").AccessList;
|
|
1638
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1639
|
+
chain?: import("viem").Chain | null;
|
|
1640
|
+
dataSuffix?: `0x${string}`;
|
|
1641
|
+
gas?: bigint;
|
|
1642
|
+
gasPrice?: bigint;
|
|
1643
|
+
maxFeePerGas?: bigint;
|
|
1644
|
+
maxPriorityFeePerGas?: bigint;
|
|
1645
|
+
nonce?: number;
|
|
1646
|
+
value?: bigint;
|
|
1647
|
+
}): Promise<void>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Simulate mintPublic
|
|
1650
|
+
* Returns gas estimate and result without sending transaction
|
|
1651
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1652
|
+
*/
|
|
1653
|
+
mintPublic(nftContract: `0x${string}`, feeRecipient: `0x${string}`, minterIfNotPayer: `0x${string}`, quantity: bigint, options?: {
|
|
1654
|
+
accessList?: import("viem").AccessList;
|
|
1655
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1656
|
+
chain?: import("viem").Chain | null;
|
|
1657
|
+
dataSuffix?: `0x${string}`;
|
|
1658
|
+
gas?: bigint;
|
|
1659
|
+
gasPrice?: bigint;
|
|
1660
|
+
maxFeePerGas?: bigint;
|
|
1661
|
+
maxPriorityFeePerGas?: bigint;
|
|
1662
|
+
nonce?: number;
|
|
1663
|
+
value?: bigint;
|
|
1664
|
+
}): Promise<void>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Simulate mintSigned
|
|
1667
|
+
* Returns gas estimate and result without sending transaction
|
|
1668
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1669
|
+
*/
|
|
1670
|
+
mintSigned(nftContract: `0x${string}`, feeRecipient: `0x${string}`, minterIfNotPayer: `0x${string}`, quantity: bigint, mintParams: MintParams, salt: bigint, signature: `0x${string}`, options?: {
|
|
1671
|
+
accessList?: import("viem").AccessList;
|
|
1672
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1673
|
+
chain?: import("viem").Chain | null;
|
|
1674
|
+
dataSuffix?: `0x${string}`;
|
|
1675
|
+
gas?: bigint;
|
|
1676
|
+
gasPrice?: bigint;
|
|
1677
|
+
maxFeePerGas?: bigint;
|
|
1678
|
+
maxPriorityFeePerGas?: bigint;
|
|
1679
|
+
nonce?: number;
|
|
1680
|
+
value?: bigint;
|
|
1681
|
+
}): Promise<void>;
|
|
1682
|
+
/**
|
|
1683
|
+
* Simulate updateAllowList
|
|
1684
|
+
* Returns gas estimate and result without sending transaction
|
|
1685
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1686
|
+
*/
|
|
1687
|
+
updateAllowList(allowListData: AllowListData, options?: {
|
|
1688
|
+
accessList?: import("viem").AccessList;
|
|
1689
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1690
|
+
chain?: import("viem").Chain | null;
|
|
1691
|
+
dataSuffix?: `0x${string}`;
|
|
1692
|
+
gas?: bigint;
|
|
1693
|
+
gasPrice?: bigint;
|
|
1694
|
+
maxFeePerGas?: bigint;
|
|
1695
|
+
maxPriorityFeePerGas?: bigint;
|
|
1696
|
+
nonce?: number;
|
|
1697
|
+
value?: bigint;
|
|
1698
|
+
}): Promise<void>;
|
|
1699
|
+
/**
|
|
1700
|
+
* Simulate updateAllowedFeeRecipient
|
|
1701
|
+
* Returns gas estimate and result without sending transaction
|
|
1702
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1703
|
+
*/
|
|
1704
|
+
updateAllowedFeeRecipient(feeRecipient: `0x${string}`, allowed: boolean, options?: {
|
|
1705
|
+
accessList?: import("viem").AccessList;
|
|
1706
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1707
|
+
chain?: import("viem").Chain | null;
|
|
1708
|
+
dataSuffix?: `0x${string}`;
|
|
1709
|
+
gas?: bigint;
|
|
1710
|
+
gasPrice?: bigint;
|
|
1711
|
+
maxFeePerGas?: bigint;
|
|
1712
|
+
maxPriorityFeePerGas?: bigint;
|
|
1713
|
+
nonce?: number;
|
|
1714
|
+
value?: bigint;
|
|
1715
|
+
}): Promise<void>;
|
|
1716
|
+
/**
|
|
1717
|
+
* Simulate updateCreatorPayoutAddress
|
|
1718
|
+
* Returns gas estimate and result without sending transaction
|
|
1719
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1720
|
+
*/
|
|
1721
|
+
updateCreatorPayoutAddress(_payoutAddress: `0x${string}`, options?: {
|
|
1722
|
+
accessList?: import("viem").AccessList;
|
|
1723
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1724
|
+
chain?: import("viem").Chain | null;
|
|
1725
|
+
dataSuffix?: `0x${string}`;
|
|
1726
|
+
gas?: bigint;
|
|
1727
|
+
gasPrice?: bigint;
|
|
1728
|
+
maxFeePerGas?: bigint;
|
|
1729
|
+
maxPriorityFeePerGas?: bigint;
|
|
1730
|
+
nonce?: number;
|
|
1731
|
+
value?: bigint;
|
|
1732
|
+
}): Promise<void>;
|
|
1733
|
+
/**
|
|
1734
|
+
* Simulate updateDropURI
|
|
1735
|
+
* Returns gas estimate and result without sending transaction
|
|
1736
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1737
|
+
*/
|
|
1738
|
+
updateDropURI(dropURI: string, options?: {
|
|
1739
|
+
accessList?: import("viem").AccessList;
|
|
1740
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1741
|
+
chain?: import("viem").Chain | null;
|
|
1742
|
+
dataSuffix?: `0x${string}`;
|
|
1743
|
+
gas?: bigint;
|
|
1744
|
+
gasPrice?: bigint;
|
|
1745
|
+
maxFeePerGas?: bigint;
|
|
1746
|
+
maxPriorityFeePerGas?: bigint;
|
|
1747
|
+
nonce?: number;
|
|
1748
|
+
value?: bigint;
|
|
1749
|
+
}): Promise<void>;
|
|
1750
|
+
/**
|
|
1751
|
+
* Simulate updatePayer
|
|
1752
|
+
* Returns gas estimate and result without sending transaction
|
|
1753
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1754
|
+
*/
|
|
1755
|
+
updatePayer(payer: `0x${string}`, allowed: boolean, options?: {
|
|
1756
|
+
accessList?: import("viem").AccessList;
|
|
1757
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1758
|
+
chain?: import("viem").Chain | null;
|
|
1759
|
+
dataSuffix?: `0x${string}`;
|
|
1760
|
+
gas?: bigint;
|
|
1761
|
+
gasPrice?: bigint;
|
|
1762
|
+
maxFeePerGas?: bigint;
|
|
1763
|
+
maxPriorityFeePerGas?: bigint;
|
|
1764
|
+
nonce?: number;
|
|
1765
|
+
value?: bigint;
|
|
1766
|
+
}): Promise<void>;
|
|
1767
|
+
/**
|
|
1768
|
+
* Simulate updatePublicDrop
|
|
1769
|
+
* Returns gas estimate and result without sending transaction
|
|
1770
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1771
|
+
*/
|
|
1772
|
+
updatePublicDrop(publicDrop: PublicDrop, options?: {
|
|
1773
|
+
accessList?: import("viem").AccessList;
|
|
1774
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1775
|
+
chain?: import("viem").Chain | null;
|
|
1776
|
+
dataSuffix?: `0x${string}`;
|
|
1777
|
+
gas?: bigint;
|
|
1778
|
+
gasPrice?: bigint;
|
|
1779
|
+
maxFeePerGas?: bigint;
|
|
1780
|
+
maxPriorityFeePerGas?: bigint;
|
|
1781
|
+
nonce?: number;
|
|
1782
|
+
value?: bigint;
|
|
1783
|
+
}): Promise<void>;
|
|
1784
|
+
/**
|
|
1785
|
+
* Simulate updateSignedMintValidationParams
|
|
1786
|
+
* Returns gas estimate and result without sending transaction
|
|
1787
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1788
|
+
*/
|
|
1789
|
+
updateSignedMintValidationParams(signer: `0x${string}`, signedMintValidationParams: SignedMintValidationParams, options?: {
|
|
1790
|
+
accessList?: import("viem").AccessList;
|
|
1791
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1792
|
+
chain?: import("viem").Chain | null;
|
|
1793
|
+
dataSuffix?: `0x${string}`;
|
|
1794
|
+
gas?: bigint;
|
|
1795
|
+
gasPrice?: bigint;
|
|
1796
|
+
maxFeePerGas?: bigint;
|
|
1797
|
+
maxPriorityFeePerGas?: bigint;
|
|
1798
|
+
nonce?: number;
|
|
1799
|
+
value?: bigint;
|
|
1800
|
+
}): Promise<void>;
|
|
1801
|
+
/**
|
|
1802
|
+
* Simulate updateTokenGatedDrop
|
|
1803
|
+
* Returns gas estimate and result without sending transaction
|
|
1804
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1805
|
+
*/
|
|
1806
|
+
updateTokenGatedDrop(allowedNftToken: `0x${string}`, dropStage: TokenGatedDropStage, options?: {
|
|
1807
|
+
accessList?: import("viem").AccessList;
|
|
1808
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1809
|
+
chain?: import("viem").Chain | null;
|
|
1810
|
+
dataSuffix?: `0x${string}`;
|
|
1811
|
+
gas?: bigint;
|
|
1812
|
+
gasPrice?: bigint;
|
|
1813
|
+
maxFeePerGas?: bigint;
|
|
1814
|
+
maxPriorityFeePerGas?: bigint;
|
|
1815
|
+
nonce?: number;
|
|
1816
|
+
value?: bigint;
|
|
1817
|
+
}): Promise<void>;
|
|
1818
|
+
};
|
|
1819
|
+
/**
|
|
1820
|
+
* Watch contract events
|
|
1821
|
+
*
|
|
1822
|
+
* @example
|
|
1823
|
+
* // Watch all Transfer events
|
|
1824
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1825
|
+
* console.log('Transfer:', event);
|
|
1826
|
+
* });
|
|
1827
|
+
*
|
|
1828
|
+
* // Stop watching
|
|
1829
|
+
* unwatch();
|
|
1830
|
+
*/
|
|
1831
|
+
get watch(): {
|
|
1832
|
+
/**
|
|
1833
|
+
* Watch AllowListUpdated events
|
|
1834
|
+
* @param callback Function to call when event is emitted
|
|
1835
|
+
* @param filter Optional filter for indexed parameters
|
|
1836
|
+
* @returns Unwatch function to stop listening
|
|
1837
|
+
*/
|
|
1838
|
+
AllowListUpdated: (callback: (event: {
|
|
1839
|
+
nftContract: `0x${string}`;
|
|
1840
|
+
previousMerkleRoot: `0x${string}`;
|
|
1841
|
+
newMerkleRoot: `0x${string}`;
|
|
1842
|
+
publicKeyURI: string[];
|
|
1843
|
+
allowListURI: string;
|
|
1844
|
+
}) => void, filter?: {
|
|
1845
|
+
nftContract: `0x${string}`;
|
|
1846
|
+
previousMerkleRoot: `0x${string}`;
|
|
1847
|
+
newMerkleRoot: `0x${string}`;
|
|
1848
|
+
}) => () => void;
|
|
1849
|
+
/**
|
|
1850
|
+
* Watch AllowedFeeRecipientUpdated events
|
|
1851
|
+
* @param callback Function to call when event is emitted
|
|
1852
|
+
* @param filter Optional filter for indexed parameters
|
|
1853
|
+
* @returns Unwatch function to stop listening
|
|
1854
|
+
*/
|
|
1855
|
+
AllowedFeeRecipientUpdated: (callback: (event: {
|
|
1856
|
+
nftContract: `0x${string}`;
|
|
1857
|
+
feeRecipient: `0x${string}`;
|
|
1858
|
+
allowed: boolean;
|
|
1859
|
+
}) => void, filter?: {
|
|
1860
|
+
nftContract: `0x${string}`;
|
|
1861
|
+
feeRecipient: `0x${string}`;
|
|
1862
|
+
allowed: boolean;
|
|
1863
|
+
}) => () => void;
|
|
1864
|
+
/**
|
|
1865
|
+
* Watch CreatorPayoutAddressUpdated events
|
|
1866
|
+
* @param callback Function to call when event is emitted
|
|
1867
|
+
* @param filter Optional filter for indexed parameters
|
|
1868
|
+
* @returns Unwatch function to stop listening
|
|
1869
|
+
*/
|
|
1870
|
+
CreatorPayoutAddressUpdated: (callback: (event: {
|
|
1871
|
+
nftContract: `0x${string}`;
|
|
1872
|
+
newPayoutAddress: `0x${string}`;
|
|
1873
|
+
}) => void, filter?: {
|
|
1874
|
+
nftContract: `0x${string}`;
|
|
1875
|
+
newPayoutAddress: `0x${string}`;
|
|
1876
|
+
}) => () => void;
|
|
1877
|
+
/**
|
|
1878
|
+
* Watch DropURIUpdated events
|
|
1879
|
+
* @param callback Function to call when event is emitted
|
|
1880
|
+
* @param filter Optional filter for indexed parameters
|
|
1881
|
+
* @returns Unwatch function to stop listening
|
|
1882
|
+
*/
|
|
1883
|
+
DropURIUpdated: (callback: (event: {
|
|
1884
|
+
nftContract: `0x${string}`;
|
|
1885
|
+
newDropURI: string;
|
|
1886
|
+
}) => void, filter?: {
|
|
1887
|
+
nftContract: `0x${string}`;
|
|
1888
|
+
}) => () => void;
|
|
1889
|
+
/**
|
|
1890
|
+
* Watch PayerUpdated events
|
|
1891
|
+
* @param callback Function to call when event is emitted
|
|
1892
|
+
* @param filter Optional filter for indexed parameters
|
|
1893
|
+
* @returns Unwatch function to stop listening
|
|
1894
|
+
*/
|
|
1895
|
+
PayerUpdated: (callback: (event: {
|
|
1896
|
+
nftContract: `0x${string}`;
|
|
1897
|
+
payer: `0x${string}`;
|
|
1898
|
+
allowed: boolean;
|
|
1899
|
+
}) => void, filter?: {
|
|
1900
|
+
nftContract: `0x${string}`;
|
|
1901
|
+
payer: `0x${string}`;
|
|
1902
|
+
allowed: boolean;
|
|
1903
|
+
}) => () => void;
|
|
1904
|
+
/**
|
|
1905
|
+
* Watch PublicDropUpdated events
|
|
1906
|
+
* @param callback Function to call when event is emitted
|
|
1907
|
+
* @param filter Optional filter for indexed parameters
|
|
1908
|
+
* @returns Unwatch function to stop listening
|
|
1909
|
+
*/
|
|
1910
|
+
PublicDropUpdated: (callback: (event: {
|
|
1911
|
+
nftContract: `0x${string}`;
|
|
1912
|
+
publicDrop: PublicDrop;
|
|
1913
|
+
}) => void, filter?: {
|
|
1914
|
+
nftContract: `0x${string}`;
|
|
1915
|
+
}) => () => void;
|
|
1916
|
+
/**
|
|
1917
|
+
* Watch SeaDropMint events
|
|
1918
|
+
* @param callback Function to call when event is emitted
|
|
1919
|
+
* @param filter Optional filter for indexed parameters
|
|
1920
|
+
* @returns Unwatch function to stop listening
|
|
1921
|
+
*/
|
|
1922
|
+
SeaDropMint: (callback: (event: {
|
|
1923
|
+
nftContract: `0x${string}`;
|
|
1924
|
+
minter: `0x${string}`;
|
|
1925
|
+
feeRecipient: `0x${string}`;
|
|
1926
|
+
payer: `0x${string}`;
|
|
1927
|
+
quantityMinted: bigint;
|
|
1928
|
+
unitMintPrice: bigint;
|
|
1929
|
+
feeBps: bigint;
|
|
1930
|
+
dropStageIndex: bigint;
|
|
1931
|
+
}) => void, filter?: {
|
|
1932
|
+
nftContract: `0x${string}`;
|
|
1933
|
+
minter: `0x${string}`;
|
|
1934
|
+
feeRecipient: `0x${string}`;
|
|
1935
|
+
}) => () => void;
|
|
1936
|
+
/**
|
|
1937
|
+
* Watch SignedMintValidationParamsUpdated events
|
|
1938
|
+
* @param callback Function to call when event is emitted
|
|
1939
|
+
* @param filter Optional filter for indexed parameters
|
|
1940
|
+
* @returns Unwatch function to stop listening
|
|
1941
|
+
*/
|
|
1942
|
+
SignedMintValidationParamsUpdated: (callback: (event: {
|
|
1943
|
+
nftContract: `0x${string}`;
|
|
1944
|
+
signer: `0x${string}`;
|
|
1945
|
+
signedMintValidationParams: SignedMintValidationParams;
|
|
1946
|
+
}) => void, filter?: {
|
|
1947
|
+
nftContract: `0x${string}`;
|
|
1948
|
+
signer: `0x${string}`;
|
|
1949
|
+
}) => () => void;
|
|
1950
|
+
/**
|
|
1951
|
+
* Watch TokenGatedDropStageUpdated events
|
|
1952
|
+
* @param callback Function to call when event is emitted
|
|
1953
|
+
* @param filter Optional filter for indexed parameters
|
|
1954
|
+
* @returns Unwatch function to stop listening
|
|
1955
|
+
*/
|
|
1956
|
+
TokenGatedDropStageUpdated: (callback: (event: {
|
|
1957
|
+
nftContract: `0x${string}`;
|
|
1958
|
+
allowedNftToken: `0x${string}`;
|
|
1959
|
+
dropStage: TokenGatedDropStage;
|
|
1960
|
+
}) => void, filter?: {
|
|
1961
|
+
nftContract: `0x${string}`;
|
|
1962
|
+
allowedNftToken: `0x${string}`;
|
|
1963
|
+
}) => () => void;
|
|
1964
|
+
};
|
|
1965
|
+
}
|