@gitmyabi/checks 0.0.0-stage → 1.0.1
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 +107 -2
- package/contracts/ERC721Drop.d.ts +2673 -0
- package/contracts/ERC721Drop.js +2844 -0
- package/contracts/ERC721Drop.ts +3493 -0
- package/contracts/ERC721DropProxy.d.ts +169 -0
- package/contracts/ERC721DropProxy.js +221 -0
- package/contracts/ERC721DropProxy.ts +251 -0
- package/contracts/index.d.ts +4 -0
- package/contracts/index.js +10 -0
- package/contracts/index.ts +5 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +40 -3
|
@@ -0,0 +1,2673 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* IERC721Drop.SalesConfiguration struct type
|
|
4
|
+
*/
|
|
5
|
+
export type IERC721Drop_SalesConfiguration = {
|
|
6
|
+
publicSalePrice: bigint;
|
|
7
|
+
maxSalePurchasePerAddress: bigint;
|
|
8
|
+
publicSaleStart: bigint;
|
|
9
|
+
publicSaleEnd: bigint;
|
|
10
|
+
presaleStart: bigint;
|
|
11
|
+
presaleEnd: bigint;
|
|
12
|
+
presaleMerkleRoot: `0x${string}`;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* IERC721Drop.AddressMintDetails struct type
|
|
16
|
+
*/
|
|
17
|
+
export type IERC721Drop_AddressMintDetails = {
|
|
18
|
+
totalMints: bigint;
|
|
19
|
+
presaleMints: bigint;
|
|
20
|
+
publicMints: bigint;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* IERC721Drop.SaleDetails struct type
|
|
24
|
+
*/
|
|
25
|
+
export type IERC721Drop_SaleDetails = {
|
|
26
|
+
publicSaleActive: boolean;
|
|
27
|
+
presaleActive: boolean;
|
|
28
|
+
publicSalePrice: bigint;
|
|
29
|
+
publicSaleStart: bigint;
|
|
30
|
+
publicSaleEnd: bigint;
|
|
31
|
+
presaleStart: bigint;
|
|
32
|
+
presaleEnd: bigint;
|
|
33
|
+
presaleMerkleRoot: `0x${string}`;
|
|
34
|
+
maxSalePurchasePerAddress: bigint;
|
|
35
|
+
totalMinted: bigint;
|
|
36
|
+
maxSupply: bigint;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* ERC721Drop ABI
|
|
40
|
+
*
|
|
41
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
42
|
+
*/
|
|
43
|
+
export declare const ERC721DropAbi: readonly [{
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly internalType: "contract IZoraFeeManager";
|
|
46
|
+
readonly name: "_zoraFeeManager";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
}, {
|
|
49
|
+
readonly internalType: "address";
|
|
50
|
+
readonly name: "_zoraERC721TransferHelper";
|
|
51
|
+
readonly type: "address";
|
|
52
|
+
}, {
|
|
53
|
+
readonly internalType: "contract IFactoryUpgradeGate";
|
|
54
|
+
readonly name: "_factoryUpgradeGate";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}, {
|
|
57
|
+
readonly internalType: "address";
|
|
58
|
+
readonly name: "_marketFilterDAOAddress";
|
|
59
|
+
readonly type: "address";
|
|
60
|
+
}];
|
|
61
|
+
readonly stateMutability: "nonpayable";
|
|
62
|
+
readonly type: "constructor";
|
|
63
|
+
}, {
|
|
64
|
+
readonly inputs: readonly [{
|
|
65
|
+
readonly internalType: "bytes32";
|
|
66
|
+
readonly name: "role";
|
|
67
|
+
readonly type: "bytes32";
|
|
68
|
+
}];
|
|
69
|
+
readonly name: "Access_MissingRoleOrAdmin";
|
|
70
|
+
readonly type: "error";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly name: "Access_OnlyAdmin";
|
|
74
|
+
readonly type: "error";
|
|
75
|
+
}, {
|
|
76
|
+
readonly inputs: readonly [];
|
|
77
|
+
readonly name: "Access_WithdrawNotAllowed";
|
|
78
|
+
readonly type: "error";
|
|
79
|
+
}, {
|
|
80
|
+
readonly inputs: readonly [{
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
readonly name: "proposedAddress";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}];
|
|
85
|
+
readonly name: "Admin_InvalidUpgradeAddress";
|
|
86
|
+
readonly type: "error";
|
|
87
|
+
}, {
|
|
88
|
+
readonly inputs: readonly [];
|
|
89
|
+
readonly name: "Admin_UnableToFinalizeNotOpenEdition";
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [];
|
|
93
|
+
readonly name: "ApprovalCallerNotOwnerNorApproved";
|
|
94
|
+
readonly type: "error";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [];
|
|
97
|
+
readonly name: "ApprovalQueryForNonexistentToken";
|
|
98
|
+
readonly type: "error";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [];
|
|
101
|
+
readonly name: "ApprovalToCurrentOwner";
|
|
102
|
+
readonly type: "error";
|
|
103
|
+
}, {
|
|
104
|
+
readonly inputs: readonly [];
|
|
105
|
+
readonly name: "ApproveToCaller";
|
|
106
|
+
readonly type: "error";
|
|
107
|
+
}, {
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly name: "BalanceQueryForZeroAddress";
|
|
110
|
+
readonly type: "error";
|
|
111
|
+
}, {
|
|
112
|
+
readonly inputs: readonly [];
|
|
113
|
+
readonly name: "MarketFilterDAOAddressNotSupportedForChain";
|
|
114
|
+
readonly type: "error";
|
|
115
|
+
}, {
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly name: "MintToZeroAddress";
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "MintZeroQuantity";
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly name: "Mint_SoldOut";
|
|
126
|
+
readonly type: "error";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [];
|
|
129
|
+
readonly name: "ONLY_OWNER";
|
|
130
|
+
readonly type: "error";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [];
|
|
133
|
+
readonly name: "ONLY_PENDING_OWNER";
|
|
134
|
+
readonly type: "error";
|
|
135
|
+
}, {
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
readonly name: "operator";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
}];
|
|
141
|
+
readonly name: "OperatorNotAllowed";
|
|
142
|
+
readonly type: "error";
|
|
143
|
+
}, {
|
|
144
|
+
readonly inputs: readonly [];
|
|
145
|
+
readonly name: "OwnerQueryForNonexistentToken";
|
|
146
|
+
readonly type: "error";
|
|
147
|
+
}, {
|
|
148
|
+
readonly inputs: readonly [];
|
|
149
|
+
readonly name: "Presale_Inactive";
|
|
150
|
+
readonly type: "error";
|
|
151
|
+
}, {
|
|
152
|
+
readonly inputs: readonly [];
|
|
153
|
+
readonly name: "Presale_MerkleNotApproved";
|
|
154
|
+
readonly type: "error";
|
|
155
|
+
}, {
|
|
156
|
+
readonly inputs: readonly [];
|
|
157
|
+
readonly name: "Presale_TooManyForAddress";
|
|
158
|
+
readonly type: "error";
|
|
159
|
+
}, {
|
|
160
|
+
readonly inputs: readonly [];
|
|
161
|
+
readonly name: "Purchase_TooManyForAddress";
|
|
162
|
+
readonly type: "error";
|
|
163
|
+
}, {
|
|
164
|
+
readonly inputs: readonly [{
|
|
165
|
+
readonly internalType: "uint256";
|
|
166
|
+
readonly name: "correctPrice";
|
|
167
|
+
readonly type: "uint256";
|
|
168
|
+
}];
|
|
169
|
+
readonly name: "Purchase_WrongPrice";
|
|
170
|
+
readonly type: "error";
|
|
171
|
+
}, {
|
|
172
|
+
readonly inputs: readonly [];
|
|
173
|
+
readonly name: "RemoteOperatorFilterRegistryCallFailed";
|
|
174
|
+
readonly type: "error";
|
|
175
|
+
}, {
|
|
176
|
+
readonly inputs: readonly [];
|
|
177
|
+
readonly name: "Sale_Inactive";
|
|
178
|
+
readonly type: "error";
|
|
179
|
+
}, {
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly internalType: "uint16";
|
|
182
|
+
readonly name: "maxRoyaltyBPS";
|
|
183
|
+
readonly type: "uint16";
|
|
184
|
+
}];
|
|
185
|
+
readonly name: "Setup_RoyaltyPercentageTooHigh";
|
|
186
|
+
readonly type: "error";
|
|
187
|
+
}, {
|
|
188
|
+
readonly inputs: readonly [];
|
|
189
|
+
readonly name: "TransferCallerNotOwnerNorApproved";
|
|
190
|
+
readonly type: "error";
|
|
191
|
+
}, {
|
|
192
|
+
readonly inputs: readonly [];
|
|
193
|
+
readonly name: "TransferFromIncorrectOwner";
|
|
194
|
+
readonly type: "error";
|
|
195
|
+
}, {
|
|
196
|
+
readonly inputs: readonly [];
|
|
197
|
+
readonly name: "TransferToNonERC721ReceiverImplementer";
|
|
198
|
+
readonly type: "error";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [];
|
|
201
|
+
readonly name: "TransferToZeroAddress";
|
|
202
|
+
readonly type: "error";
|
|
203
|
+
}, {
|
|
204
|
+
readonly inputs: readonly [];
|
|
205
|
+
readonly name: "URIQueryForNonexistentToken";
|
|
206
|
+
readonly type: "error";
|
|
207
|
+
}, {
|
|
208
|
+
readonly inputs: readonly [];
|
|
209
|
+
readonly name: "Withdraw_FundsSendFailure";
|
|
210
|
+
readonly type: "error";
|
|
211
|
+
}, {
|
|
212
|
+
readonly anonymous: false;
|
|
213
|
+
readonly inputs: readonly [{
|
|
214
|
+
readonly indexed: false;
|
|
215
|
+
readonly internalType: "address";
|
|
216
|
+
readonly name: "previousAdmin";
|
|
217
|
+
readonly type: "address";
|
|
218
|
+
}, {
|
|
219
|
+
readonly indexed: false;
|
|
220
|
+
readonly internalType: "address";
|
|
221
|
+
readonly name: "newAdmin";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}];
|
|
224
|
+
readonly name: "AdminChanged";
|
|
225
|
+
readonly type: "event";
|
|
226
|
+
}, {
|
|
227
|
+
readonly anonymous: false;
|
|
228
|
+
readonly inputs: readonly [{
|
|
229
|
+
readonly indexed: true;
|
|
230
|
+
readonly internalType: "address";
|
|
231
|
+
readonly name: "owner";
|
|
232
|
+
readonly type: "address";
|
|
233
|
+
}, {
|
|
234
|
+
readonly indexed: true;
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
readonly name: "approved";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
}, {
|
|
239
|
+
readonly indexed: true;
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
readonly name: "tokenId";
|
|
242
|
+
readonly type: "uint256";
|
|
243
|
+
}];
|
|
244
|
+
readonly name: "Approval";
|
|
245
|
+
readonly type: "event";
|
|
246
|
+
}, {
|
|
247
|
+
readonly anonymous: false;
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly indexed: true;
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
readonly name: "owner";
|
|
252
|
+
readonly type: "address";
|
|
253
|
+
}, {
|
|
254
|
+
readonly indexed: true;
|
|
255
|
+
readonly internalType: "address";
|
|
256
|
+
readonly name: "operator";
|
|
257
|
+
readonly type: "address";
|
|
258
|
+
}, {
|
|
259
|
+
readonly indexed: false;
|
|
260
|
+
readonly internalType: "bool";
|
|
261
|
+
readonly name: "approved";
|
|
262
|
+
readonly type: "bool";
|
|
263
|
+
}];
|
|
264
|
+
readonly name: "ApprovalForAll";
|
|
265
|
+
readonly type: "event";
|
|
266
|
+
}, {
|
|
267
|
+
readonly anonymous: false;
|
|
268
|
+
readonly inputs: readonly [{
|
|
269
|
+
readonly indexed: true;
|
|
270
|
+
readonly internalType: "address";
|
|
271
|
+
readonly name: "beacon";
|
|
272
|
+
readonly type: "address";
|
|
273
|
+
}];
|
|
274
|
+
readonly name: "BeaconUpgraded";
|
|
275
|
+
readonly type: "event";
|
|
276
|
+
}, {
|
|
277
|
+
readonly anonymous: false;
|
|
278
|
+
readonly inputs: readonly [{
|
|
279
|
+
readonly indexed: true;
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly name: "source";
|
|
282
|
+
readonly type: "address";
|
|
283
|
+
}, {
|
|
284
|
+
readonly indexed: false;
|
|
285
|
+
readonly internalType: "uint256";
|
|
286
|
+
readonly name: "amount";
|
|
287
|
+
readonly type: "uint256";
|
|
288
|
+
}];
|
|
289
|
+
readonly name: "FundsReceived";
|
|
290
|
+
readonly type: "event";
|
|
291
|
+
}, {
|
|
292
|
+
readonly anonymous: false;
|
|
293
|
+
readonly inputs: readonly [{
|
|
294
|
+
readonly indexed: true;
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
readonly name: "newAddress";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
}, {
|
|
299
|
+
readonly indexed: true;
|
|
300
|
+
readonly internalType: "address";
|
|
301
|
+
readonly name: "changedBy";
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
}];
|
|
304
|
+
readonly name: "FundsRecipientChanged";
|
|
305
|
+
readonly type: "event";
|
|
306
|
+
}, {
|
|
307
|
+
readonly anonymous: false;
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly indexed: true;
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
readonly name: "withdrawnBy";
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
}, {
|
|
314
|
+
readonly indexed: true;
|
|
315
|
+
readonly internalType: "address";
|
|
316
|
+
readonly name: "withdrawnTo";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}, {
|
|
319
|
+
readonly indexed: false;
|
|
320
|
+
readonly internalType: "uint256";
|
|
321
|
+
readonly name: "amount";
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
}, {
|
|
324
|
+
readonly indexed: false;
|
|
325
|
+
readonly internalType: "address";
|
|
326
|
+
readonly name: "feeRecipient";
|
|
327
|
+
readonly type: "address";
|
|
328
|
+
}, {
|
|
329
|
+
readonly indexed: false;
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
readonly name: "feeAmount";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
}];
|
|
334
|
+
readonly name: "FundsWithdrawn";
|
|
335
|
+
readonly type: "event";
|
|
336
|
+
}, {
|
|
337
|
+
readonly anonymous: false;
|
|
338
|
+
readonly inputs: readonly [{
|
|
339
|
+
readonly indexed: true;
|
|
340
|
+
readonly internalType: "address";
|
|
341
|
+
readonly name: "sender";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
}, {
|
|
344
|
+
readonly indexed: false;
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly name: "numberOfMints";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
}];
|
|
349
|
+
readonly name: "OpenMintFinalized";
|
|
350
|
+
readonly type: "event";
|
|
351
|
+
}, {
|
|
352
|
+
readonly anonymous: false;
|
|
353
|
+
readonly inputs: readonly [{
|
|
354
|
+
readonly indexed: true;
|
|
355
|
+
readonly internalType: "address";
|
|
356
|
+
readonly name: "previousOwner";
|
|
357
|
+
readonly type: "address";
|
|
358
|
+
}, {
|
|
359
|
+
readonly indexed: true;
|
|
360
|
+
readonly internalType: "address";
|
|
361
|
+
readonly name: "potentialNewOwner";
|
|
362
|
+
readonly type: "address";
|
|
363
|
+
}];
|
|
364
|
+
readonly name: "OwnerCanceled";
|
|
365
|
+
readonly type: "event";
|
|
366
|
+
}, {
|
|
367
|
+
readonly anonymous: false;
|
|
368
|
+
readonly inputs: readonly [{
|
|
369
|
+
readonly indexed: true;
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
readonly name: "previousOwner";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
}, {
|
|
374
|
+
readonly indexed: true;
|
|
375
|
+
readonly internalType: "address";
|
|
376
|
+
readonly name: "potentialNewOwner";
|
|
377
|
+
readonly type: "address";
|
|
378
|
+
}];
|
|
379
|
+
readonly name: "OwnerPending";
|
|
380
|
+
readonly type: "event";
|
|
381
|
+
}, {
|
|
382
|
+
readonly anonymous: false;
|
|
383
|
+
readonly inputs: readonly [{
|
|
384
|
+
readonly indexed: true;
|
|
385
|
+
readonly internalType: "address";
|
|
386
|
+
readonly name: "previousOwner";
|
|
387
|
+
readonly type: "address";
|
|
388
|
+
}, {
|
|
389
|
+
readonly indexed: true;
|
|
390
|
+
readonly internalType: "address";
|
|
391
|
+
readonly name: "newOwner";
|
|
392
|
+
readonly type: "address";
|
|
393
|
+
}];
|
|
394
|
+
readonly name: "OwnershipTransferred";
|
|
395
|
+
readonly type: "event";
|
|
396
|
+
}, {
|
|
397
|
+
readonly anonymous: false;
|
|
398
|
+
readonly inputs: readonly [{
|
|
399
|
+
readonly indexed: true;
|
|
400
|
+
readonly internalType: "bytes32";
|
|
401
|
+
readonly name: "role";
|
|
402
|
+
readonly type: "bytes32";
|
|
403
|
+
}, {
|
|
404
|
+
readonly indexed: true;
|
|
405
|
+
readonly internalType: "bytes32";
|
|
406
|
+
readonly name: "previousAdminRole";
|
|
407
|
+
readonly type: "bytes32";
|
|
408
|
+
}, {
|
|
409
|
+
readonly indexed: true;
|
|
410
|
+
readonly internalType: "bytes32";
|
|
411
|
+
readonly name: "newAdminRole";
|
|
412
|
+
readonly type: "bytes32";
|
|
413
|
+
}];
|
|
414
|
+
readonly name: "RoleAdminChanged";
|
|
415
|
+
readonly type: "event";
|
|
416
|
+
}, {
|
|
417
|
+
readonly anonymous: false;
|
|
418
|
+
readonly inputs: readonly [{
|
|
419
|
+
readonly indexed: true;
|
|
420
|
+
readonly internalType: "bytes32";
|
|
421
|
+
readonly name: "role";
|
|
422
|
+
readonly type: "bytes32";
|
|
423
|
+
}, {
|
|
424
|
+
readonly indexed: true;
|
|
425
|
+
readonly internalType: "address";
|
|
426
|
+
readonly name: "account";
|
|
427
|
+
readonly type: "address";
|
|
428
|
+
}, {
|
|
429
|
+
readonly indexed: true;
|
|
430
|
+
readonly internalType: "address";
|
|
431
|
+
readonly name: "sender";
|
|
432
|
+
readonly type: "address";
|
|
433
|
+
}];
|
|
434
|
+
readonly name: "RoleGranted";
|
|
435
|
+
readonly type: "event";
|
|
436
|
+
}, {
|
|
437
|
+
readonly anonymous: false;
|
|
438
|
+
readonly inputs: readonly [{
|
|
439
|
+
readonly indexed: true;
|
|
440
|
+
readonly internalType: "bytes32";
|
|
441
|
+
readonly name: "role";
|
|
442
|
+
readonly type: "bytes32";
|
|
443
|
+
}, {
|
|
444
|
+
readonly indexed: true;
|
|
445
|
+
readonly internalType: "address";
|
|
446
|
+
readonly name: "account";
|
|
447
|
+
readonly type: "address";
|
|
448
|
+
}, {
|
|
449
|
+
readonly indexed: true;
|
|
450
|
+
readonly internalType: "address";
|
|
451
|
+
readonly name: "sender";
|
|
452
|
+
readonly type: "address";
|
|
453
|
+
}];
|
|
454
|
+
readonly name: "RoleRevoked";
|
|
455
|
+
readonly type: "event";
|
|
456
|
+
}, {
|
|
457
|
+
readonly anonymous: false;
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly indexed: true;
|
|
460
|
+
readonly internalType: "address";
|
|
461
|
+
readonly name: "to";
|
|
462
|
+
readonly type: "address";
|
|
463
|
+
}, {
|
|
464
|
+
readonly indexed: true;
|
|
465
|
+
readonly internalType: "uint256";
|
|
466
|
+
readonly name: "quantity";
|
|
467
|
+
readonly type: "uint256";
|
|
468
|
+
}, {
|
|
469
|
+
readonly indexed: true;
|
|
470
|
+
readonly internalType: "uint256";
|
|
471
|
+
readonly name: "pricePerToken";
|
|
472
|
+
readonly type: "uint256";
|
|
473
|
+
}, {
|
|
474
|
+
readonly indexed: false;
|
|
475
|
+
readonly internalType: "uint256";
|
|
476
|
+
readonly name: "firstPurchasedTokenId";
|
|
477
|
+
readonly type: "uint256";
|
|
478
|
+
}];
|
|
479
|
+
readonly name: "Sale";
|
|
480
|
+
readonly type: "event";
|
|
481
|
+
}, {
|
|
482
|
+
readonly anonymous: false;
|
|
483
|
+
readonly inputs: readonly [{
|
|
484
|
+
readonly indexed: true;
|
|
485
|
+
readonly internalType: "address";
|
|
486
|
+
readonly name: "changedBy";
|
|
487
|
+
readonly type: "address";
|
|
488
|
+
}];
|
|
489
|
+
readonly name: "SalesConfigChanged";
|
|
490
|
+
readonly type: "event";
|
|
491
|
+
}, {
|
|
492
|
+
readonly anonymous: false;
|
|
493
|
+
readonly inputs: readonly [{
|
|
494
|
+
readonly indexed: true;
|
|
495
|
+
readonly internalType: "address";
|
|
496
|
+
readonly name: "from";
|
|
497
|
+
readonly type: "address";
|
|
498
|
+
}, {
|
|
499
|
+
readonly indexed: true;
|
|
500
|
+
readonly internalType: "address";
|
|
501
|
+
readonly name: "to";
|
|
502
|
+
readonly type: "address";
|
|
503
|
+
}, {
|
|
504
|
+
readonly indexed: true;
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
readonly name: "tokenId";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
}];
|
|
509
|
+
readonly name: "Transfer";
|
|
510
|
+
readonly type: "event";
|
|
511
|
+
}, {
|
|
512
|
+
readonly anonymous: false;
|
|
513
|
+
readonly inputs: readonly [{
|
|
514
|
+
readonly indexed: false;
|
|
515
|
+
readonly internalType: "address";
|
|
516
|
+
readonly name: "sender";
|
|
517
|
+
readonly type: "address";
|
|
518
|
+
}, {
|
|
519
|
+
readonly indexed: false;
|
|
520
|
+
readonly internalType: "contract IMetadataRenderer";
|
|
521
|
+
readonly name: "renderer";
|
|
522
|
+
readonly type: "address";
|
|
523
|
+
}];
|
|
524
|
+
readonly name: "UpdatedMetadataRenderer";
|
|
525
|
+
readonly type: "event";
|
|
526
|
+
}, {
|
|
527
|
+
readonly anonymous: false;
|
|
528
|
+
readonly inputs: readonly [{
|
|
529
|
+
readonly indexed: true;
|
|
530
|
+
readonly internalType: "address";
|
|
531
|
+
readonly name: "implementation";
|
|
532
|
+
readonly type: "address";
|
|
533
|
+
}];
|
|
534
|
+
readonly name: "Upgraded";
|
|
535
|
+
readonly type: "event";
|
|
536
|
+
}, {
|
|
537
|
+
readonly inputs: readonly [];
|
|
538
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
539
|
+
readonly outputs: readonly [{
|
|
540
|
+
readonly internalType: "bytes32";
|
|
541
|
+
readonly name: "";
|
|
542
|
+
readonly type: "bytes32";
|
|
543
|
+
}];
|
|
544
|
+
readonly stateMutability: "view";
|
|
545
|
+
readonly type: "function";
|
|
546
|
+
}, {
|
|
547
|
+
readonly inputs: readonly [];
|
|
548
|
+
readonly name: "MINTER_ROLE";
|
|
549
|
+
readonly outputs: readonly [{
|
|
550
|
+
readonly internalType: "bytes32";
|
|
551
|
+
readonly name: "";
|
|
552
|
+
readonly type: "bytes32";
|
|
553
|
+
}];
|
|
554
|
+
readonly stateMutability: "view";
|
|
555
|
+
readonly type: "function";
|
|
556
|
+
}, {
|
|
557
|
+
readonly inputs: readonly [];
|
|
558
|
+
readonly name: "SALES_MANAGER_ROLE";
|
|
559
|
+
readonly outputs: readonly [{
|
|
560
|
+
readonly internalType: "bytes32";
|
|
561
|
+
readonly name: "";
|
|
562
|
+
readonly type: "bytes32";
|
|
563
|
+
}];
|
|
564
|
+
readonly stateMutability: "view";
|
|
565
|
+
readonly type: "function";
|
|
566
|
+
}, {
|
|
567
|
+
readonly inputs: readonly [{
|
|
568
|
+
readonly internalType: "address";
|
|
569
|
+
readonly name: "recipient";
|
|
570
|
+
readonly type: "address";
|
|
571
|
+
}, {
|
|
572
|
+
readonly internalType: "uint256";
|
|
573
|
+
readonly name: "quantity";
|
|
574
|
+
readonly type: "uint256";
|
|
575
|
+
}];
|
|
576
|
+
readonly name: "adminMint";
|
|
577
|
+
readonly outputs: readonly [{
|
|
578
|
+
readonly internalType: "uint256";
|
|
579
|
+
readonly name: "";
|
|
580
|
+
readonly type: "uint256";
|
|
581
|
+
}];
|
|
582
|
+
readonly stateMutability: "nonpayable";
|
|
583
|
+
readonly type: "function";
|
|
584
|
+
}, {
|
|
585
|
+
readonly inputs: readonly [{
|
|
586
|
+
readonly internalType: "address[]";
|
|
587
|
+
readonly name: "recipients";
|
|
588
|
+
readonly type: "address[]";
|
|
589
|
+
}];
|
|
590
|
+
readonly name: "adminMintAirdrop";
|
|
591
|
+
readonly outputs: readonly [{
|
|
592
|
+
readonly internalType: "uint256";
|
|
593
|
+
readonly name: "";
|
|
594
|
+
readonly type: "uint256";
|
|
595
|
+
}];
|
|
596
|
+
readonly stateMutability: "nonpayable";
|
|
597
|
+
readonly type: "function";
|
|
598
|
+
}, {
|
|
599
|
+
readonly inputs: readonly [{
|
|
600
|
+
readonly internalType: "address";
|
|
601
|
+
readonly name: "to";
|
|
602
|
+
readonly type: "address";
|
|
603
|
+
}, {
|
|
604
|
+
readonly internalType: "uint256";
|
|
605
|
+
readonly name: "tokenId";
|
|
606
|
+
readonly type: "uint256";
|
|
607
|
+
}];
|
|
608
|
+
readonly name: "approve";
|
|
609
|
+
readonly outputs: readonly [];
|
|
610
|
+
readonly stateMutability: "nonpayable";
|
|
611
|
+
readonly type: "function";
|
|
612
|
+
}, {
|
|
613
|
+
readonly inputs: readonly [{
|
|
614
|
+
readonly internalType: "address";
|
|
615
|
+
readonly name: "owner";
|
|
616
|
+
readonly type: "address";
|
|
617
|
+
}];
|
|
618
|
+
readonly name: "balanceOf";
|
|
619
|
+
readonly outputs: readonly [{
|
|
620
|
+
readonly internalType: "uint256";
|
|
621
|
+
readonly name: "";
|
|
622
|
+
readonly type: "uint256";
|
|
623
|
+
}];
|
|
624
|
+
readonly stateMutability: "view";
|
|
625
|
+
readonly type: "function";
|
|
626
|
+
}, {
|
|
627
|
+
readonly inputs: readonly [{
|
|
628
|
+
readonly internalType: "uint256";
|
|
629
|
+
readonly name: "tokenId";
|
|
630
|
+
readonly type: "uint256";
|
|
631
|
+
}];
|
|
632
|
+
readonly name: "burn";
|
|
633
|
+
readonly outputs: readonly [];
|
|
634
|
+
readonly stateMutability: "nonpayable";
|
|
635
|
+
readonly type: "function";
|
|
636
|
+
}, {
|
|
637
|
+
readonly inputs: readonly [];
|
|
638
|
+
readonly name: "config";
|
|
639
|
+
readonly outputs: readonly [{
|
|
640
|
+
readonly internalType: "contract IMetadataRenderer";
|
|
641
|
+
readonly name: "metadataRenderer";
|
|
642
|
+
readonly type: "address";
|
|
643
|
+
}, {
|
|
644
|
+
readonly internalType: "uint64";
|
|
645
|
+
readonly name: "editionSize";
|
|
646
|
+
readonly type: "uint64";
|
|
647
|
+
}, {
|
|
648
|
+
readonly internalType: "uint16";
|
|
649
|
+
readonly name: "royaltyBPS";
|
|
650
|
+
readonly type: "uint16";
|
|
651
|
+
}, {
|
|
652
|
+
readonly internalType: "address payable";
|
|
653
|
+
readonly name: "fundsRecipient";
|
|
654
|
+
readonly type: "address";
|
|
655
|
+
}];
|
|
656
|
+
readonly stateMutability: "view";
|
|
657
|
+
readonly type: "function";
|
|
658
|
+
}, {
|
|
659
|
+
readonly inputs: readonly [];
|
|
660
|
+
readonly name: "contractURI";
|
|
661
|
+
readonly outputs: readonly [{
|
|
662
|
+
readonly internalType: "string";
|
|
663
|
+
readonly name: "";
|
|
664
|
+
readonly type: "string";
|
|
665
|
+
}];
|
|
666
|
+
readonly stateMutability: "view";
|
|
667
|
+
readonly type: "function";
|
|
668
|
+
}, {
|
|
669
|
+
readonly inputs: readonly [];
|
|
670
|
+
readonly name: "contractVersion";
|
|
671
|
+
readonly outputs: readonly [{
|
|
672
|
+
readonly internalType: "uint32";
|
|
673
|
+
readonly name: "";
|
|
674
|
+
readonly type: "uint32";
|
|
675
|
+
}];
|
|
676
|
+
readonly stateMutability: "view";
|
|
677
|
+
readonly type: "function";
|
|
678
|
+
}, {
|
|
679
|
+
readonly inputs: readonly [];
|
|
680
|
+
readonly name: "finalizeOpenEdition";
|
|
681
|
+
readonly outputs: readonly [];
|
|
682
|
+
readonly stateMutability: "nonpayable";
|
|
683
|
+
readonly type: "function";
|
|
684
|
+
}, {
|
|
685
|
+
readonly inputs: readonly [{
|
|
686
|
+
readonly internalType: "uint256";
|
|
687
|
+
readonly name: "tokenId";
|
|
688
|
+
readonly type: "uint256";
|
|
689
|
+
}];
|
|
690
|
+
readonly name: "getApproved";
|
|
691
|
+
readonly outputs: readonly [{
|
|
692
|
+
readonly internalType: "address";
|
|
693
|
+
readonly name: "";
|
|
694
|
+
readonly type: "address";
|
|
695
|
+
}];
|
|
696
|
+
readonly stateMutability: "view";
|
|
697
|
+
readonly type: "function";
|
|
698
|
+
}, {
|
|
699
|
+
readonly inputs: readonly [{
|
|
700
|
+
readonly internalType: "bytes32";
|
|
701
|
+
readonly name: "role";
|
|
702
|
+
readonly type: "bytes32";
|
|
703
|
+
}];
|
|
704
|
+
readonly name: "getRoleAdmin";
|
|
705
|
+
readonly outputs: readonly [{
|
|
706
|
+
readonly internalType: "bytes32";
|
|
707
|
+
readonly name: "";
|
|
708
|
+
readonly type: "bytes32";
|
|
709
|
+
}];
|
|
710
|
+
readonly stateMutability: "view";
|
|
711
|
+
readonly type: "function";
|
|
712
|
+
}, {
|
|
713
|
+
readonly inputs: readonly [{
|
|
714
|
+
readonly internalType: "bytes32";
|
|
715
|
+
readonly name: "role";
|
|
716
|
+
readonly type: "bytes32";
|
|
717
|
+
}, {
|
|
718
|
+
readonly internalType: "address";
|
|
719
|
+
readonly name: "account";
|
|
720
|
+
readonly type: "address";
|
|
721
|
+
}];
|
|
722
|
+
readonly name: "grantRole";
|
|
723
|
+
readonly outputs: readonly [];
|
|
724
|
+
readonly stateMutability: "nonpayable";
|
|
725
|
+
readonly type: "function";
|
|
726
|
+
}, {
|
|
727
|
+
readonly inputs: readonly [{
|
|
728
|
+
readonly internalType: "bytes32";
|
|
729
|
+
readonly name: "role";
|
|
730
|
+
readonly type: "bytes32";
|
|
731
|
+
}, {
|
|
732
|
+
readonly internalType: "address";
|
|
733
|
+
readonly name: "account";
|
|
734
|
+
readonly type: "address";
|
|
735
|
+
}];
|
|
736
|
+
readonly name: "hasRole";
|
|
737
|
+
readonly outputs: readonly [{
|
|
738
|
+
readonly internalType: "bool";
|
|
739
|
+
readonly name: "";
|
|
740
|
+
readonly type: "bool";
|
|
741
|
+
}];
|
|
742
|
+
readonly stateMutability: "view";
|
|
743
|
+
readonly type: "function";
|
|
744
|
+
}, {
|
|
745
|
+
readonly inputs: readonly [{
|
|
746
|
+
readonly internalType: "string";
|
|
747
|
+
readonly name: "_contractName";
|
|
748
|
+
readonly type: "string";
|
|
749
|
+
}, {
|
|
750
|
+
readonly internalType: "string";
|
|
751
|
+
readonly name: "_contractSymbol";
|
|
752
|
+
readonly type: "string";
|
|
753
|
+
}, {
|
|
754
|
+
readonly internalType: "address";
|
|
755
|
+
readonly name: "_initialOwner";
|
|
756
|
+
readonly type: "address";
|
|
757
|
+
}, {
|
|
758
|
+
readonly internalType: "address payable";
|
|
759
|
+
readonly name: "_fundsRecipient";
|
|
760
|
+
readonly type: "address";
|
|
761
|
+
}, {
|
|
762
|
+
readonly internalType: "uint64";
|
|
763
|
+
readonly name: "_editionSize";
|
|
764
|
+
readonly type: "uint64";
|
|
765
|
+
}, {
|
|
766
|
+
readonly internalType: "uint16";
|
|
767
|
+
readonly name: "_royaltyBPS";
|
|
768
|
+
readonly type: "uint16";
|
|
769
|
+
}, {
|
|
770
|
+
readonly components: readonly [{
|
|
771
|
+
readonly internalType: "uint104";
|
|
772
|
+
readonly name: "publicSalePrice";
|
|
773
|
+
readonly type: "uint104";
|
|
774
|
+
}, {
|
|
775
|
+
readonly internalType: "uint32";
|
|
776
|
+
readonly name: "maxSalePurchasePerAddress";
|
|
777
|
+
readonly type: "uint32";
|
|
778
|
+
}, {
|
|
779
|
+
readonly internalType: "uint64";
|
|
780
|
+
readonly name: "publicSaleStart";
|
|
781
|
+
readonly type: "uint64";
|
|
782
|
+
}, {
|
|
783
|
+
readonly internalType: "uint64";
|
|
784
|
+
readonly name: "publicSaleEnd";
|
|
785
|
+
readonly type: "uint64";
|
|
786
|
+
}, {
|
|
787
|
+
readonly internalType: "uint64";
|
|
788
|
+
readonly name: "presaleStart";
|
|
789
|
+
readonly type: "uint64";
|
|
790
|
+
}, {
|
|
791
|
+
readonly internalType: "uint64";
|
|
792
|
+
readonly name: "presaleEnd";
|
|
793
|
+
readonly type: "uint64";
|
|
794
|
+
}, {
|
|
795
|
+
readonly internalType: "bytes32";
|
|
796
|
+
readonly name: "presaleMerkleRoot";
|
|
797
|
+
readonly type: "bytes32";
|
|
798
|
+
}];
|
|
799
|
+
readonly internalType: "struct IERC721Drop.SalesConfiguration";
|
|
800
|
+
readonly name: "_salesConfig";
|
|
801
|
+
readonly type: "tuple";
|
|
802
|
+
}, {
|
|
803
|
+
readonly internalType: "contract IMetadataRenderer";
|
|
804
|
+
readonly name: "_metadataRenderer";
|
|
805
|
+
readonly type: "address";
|
|
806
|
+
}, {
|
|
807
|
+
readonly internalType: "bytes";
|
|
808
|
+
readonly name: "_metadataRendererInit";
|
|
809
|
+
readonly type: "bytes";
|
|
810
|
+
}];
|
|
811
|
+
readonly name: "initialize";
|
|
812
|
+
readonly outputs: readonly [];
|
|
813
|
+
readonly stateMutability: "nonpayable";
|
|
814
|
+
readonly type: "function";
|
|
815
|
+
}, {
|
|
816
|
+
readonly inputs: readonly [{
|
|
817
|
+
readonly internalType: "address";
|
|
818
|
+
readonly name: "user";
|
|
819
|
+
readonly type: "address";
|
|
820
|
+
}];
|
|
821
|
+
readonly name: "isAdmin";
|
|
822
|
+
readonly outputs: readonly [{
|
|
823
|
+
readonly internalType: "bool";
|
|
824
|
+
readonly name: "";
|
|
825
|
+
readonly type: "bool";
|
|
826
|
+
}];
|
|
827
|
+
readonly stateMutability: "view";
|
|
828
|
+
readonly type: "function";
|
|
829
|
+
}, {
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly internalType: "address";
|
|
832
|
+
readonly name: "nftOwner";
|
|
833
|
+
readonly type: "address";
|
|
834
|
+
}, {
|
|
835
|
+
readonly internalType: "address";
|
|
836
|
+
readonly name: "operator";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
}];
|
|
839
|
+
readonly name: "isApprovedForAll";
|
|
840
|
+
readonly outputs: readonly [{
|
|
841
|
+
readonly internalType: "bool";
|
|
842
|
+
readonly name: "";
|
|
843
|
+
readonly type: "bool";
|
|
844
|
+
}];
|
|
845
|
+
readonly stateMutability: "view";
|
|
846
|
+
readonly type: "function";
|
|
847
|
+
}, {
|
|
848
|
+
readonly inputs: readonly [{
|
|
849
|
+
readonly internalType: "bool";
|
|
850
|
+
readonly name: "enable";
|
|
851
|
+
readonly type: "bool";
|
|
852
|
+
}];
|
|
853
|
+
readonly name: "manageMarketFilterDAOSubscription";
|
|
854
|
+
readonly outputs: readonly [];
|
|
855
|
+
readonly stateMutability: "nonpayable";
|
|
856
|
+
readonly type: "function";
|
|
857
|
+
}, {
|
|
858
|
+
readonly inputs: readonly [];
|
|
859
|
+
readonly name: "metadataRenderer";
|
|
860
|
+
readonly outputs: readonly [{
|
|
861
|
+
readonly internalType: "contract IMetadataRenderer";
|
|
862
|
+
readonly name: "";
|
|
863
|
+
readonly type: "address";
|
|
864
|
+
}];
|
|
865
|
+
readonly stateMutability: "view";
|
|
866
|
+
readonly type: "function";
|
|
867
|
+
}, {
|
|
868
|
+
readonly inputs: readonly [{
|
|
869
|
+
readonly internalType: "address";
|
|
870
|
+
readonly name: "minter";
|
|
871
|
+
readonly type: "address";
|
|
872
|
+
}];
|
|
873
|
+
readonly name: "mintedPerAddress";
|
|
874
|
+
readonly outputs: readonly [{
|
|
875
|
+
readonly components: readonly [{
|
|
876
|
+
readonly internalType: "uint256";
|
|
877
|
+
readonly name: "totalMints";
|
|
878
|
+
readonly type: "uint256";
|
|
879
|
+
}, {
|
|
880
|
+
readonly internalType: "uint256";
|
|
881
|
+
readonly name: "presaleMints";
|
|
882
|
+
readonly type: "uint256";
|
|
883
|
+
}, {
|
|
884
|
+
readonly internalType: "uint256";
|
|
885
|
+
readonly name: "publicMints";
|
|
886
|
+
readonly type: "uint256";
|
|
887
|
+
}];
|
|
888
|
+
readonly internalType: "struct IERC721Drop.AddressMintDetails";
|
|
889
|
+
readonly name: "";
|
|
890
|
+
readonly type: "tuple";
|
|
891
|
+
}];
|
|
892
|
+
readonly stateMutability: "view";
|
|
893
|
+
readonly type: "function";
|
|
894
|
+
}, {
|
|
895
|
+
readonly inputs: readonly [];
|
|
896
|
+
readonly name: "name";
|
|
897
|
+
readonly outputs: readonly [{
|
|
898
|
+
readonly internalType: "string";
|
|
899
|
+
readonly name: "";
|
|
900
|
+
readonly type: "string";
|
|
901
|
+
}];
|
|
902
|
+
readonly stateMutability: "view";
|
|
903
|
+
readonly type: "function";
|
|
904
|
+
}, {
|
|
905
|
+
readonly inputs: readonly [];
|
|
906
|
+
readonly name: "owner";
|
|
907
|
+
readonly outputs: readonly [{
|
|
908
|
+
readonly internalType: "address";
|
|
909
|
+
readonly name: "";
|
|
910
|
+
readonly type: "address";
|
|
911
|
+
}];
|
|
912
|
+
readonly stateMutability: "view";
|
|
913
|
+
readonly type: "function";
|
|
914
|
+
}, {
|
|
915
|
+
readonly inputs: readonly [{
|
|
916
|
+
readonly internalType: "uint256";
|
|
917
|
+
readonly name: "tokenId";
|
|
918
|
+
readonly type: "uint256";
|
|
919
|
+
}];
|
|
920
|
+
readonly name: "ownerOf";
|
|
921
|
+
readonly outputs: readonly [{
|
|
922
|
+
readonly internalType: "address";
|
|
923
|
+
readonly name: "";
|
|
924
|
+
readonly type: "address";
|
|
925
|
+
}];
|
|
926
|
+
readonly stateMutability: "view";
|
|
927
|
+
readonly type: "function";
|
|
928
|
+
}, {
|
|
929
|
+
readonly inputs: readonly [{
|
|
930
|
+
readonly internalType: "address";
|
|
931
|
+
readonly name: "";
|
|
932
|
+
readonly type: "address";
|
|
933
|
+
}];
|
|
934
|
+
readonly name: "presaleMintsByAddress";
|
|
935
|
+
readonly outputs: readonly [{
|
|
936
|
+
readonly internalType: "uint256";
|
|
937
|
+
readonly name: "";
|
|
938
|
+
readonly type: "uint256";
|
|
939
|
+
}];
|
|
940
|
+
readonly stateMutability: "view";
|
|
941
|
+
readonly type: "function";
|
|
942
|
+
}, {
|
|
943
|
+
readonly inputs: readonly [];
|
|
944
|
+
readonly name: "proxiableUUID";
|
|
945
|
+
readonly outputs: readonly [{
|
|
946
|
+
readonly internalType: "bytes32";
|
|
947
|
+
readonly name: "";
|
|
948
|
+
readonly type: "bytes32";
|
|
949
|
+
}];
|
|
950
|
+
readonly stateMutability: "view";
|
|
951
|
+
readonly type: "function";
|
|
952
|
+
}, {
|
|
953
|
+
readonly inputs: readonly [{
|
|
954
|
+
readonly internalType: "uint256";
|
|
955
|
+
readonly name: "quantity";
|
|
956
|
+
readonly type: "uint256";
|
|
957
|
+
}];
|
|
958
|
+
readonly name: "purchase";
|
|
959
|
+
readonly outputs: readonly [{
|
|
960
|
+
readonly internalType: "uint256";
|
|
961
|
+
readonly name: "";
|
|
962
|
+
readonly type: "uint256";
|
|
963
|
+
}];
|
|
964
|
+
readonly stateMutability: "payable";
|
|
965
|
+
readonly type: "function";
|
|
966
|
+
}, {
|
|
967
|
+
readonly inputs: readonly [{
|
|
968
|
+
readonly internalType: "uint256";
|
|
969
|
+
readonly name: "quantity";
|
|
970
|
+
readonly type: "uint256";
|
|
971
|
+
}, {
|
|
972
|
+
readonly internalType: "uint256";
|
|
973
|
+
readonly name: "maxQuantity";
|
|
974
|
+
readonly type: "uint256";
|
|
975
|
+
}, {
|
|
976
|
+
readonly internalType: "uint256";
|
|
977
|
+
readonly name: "pricePerToken";
|
|
978
|
+
readonly type: "uint256";
|
|
979
|
+
}, {
|
|
980
|
+
readonly internalType: "bytes32[]";
|
|
981
|
+
readonly name: "merkleProof";
|
|
982
|
+
readonly type: "bytes32[]";
|
|
983
|
+
}];
|
|
984
|
+
readonly name: "purchasePresale";
|
|
985
|
+
readonly outputs: readonly [{
|
|
986
|
+
readonly internalType: "uint256";
|
|
987
|
+
readonly name: "";
|
|
988
|
+
readonly type: "uint256";
|
|
989
|
+
}];
|
|
990
|
+
readonly stateMutability: "payable";
|
|
991
|
+
readonly type: "function";
|
|
992
|
+
}, {
|
|
993
|
+
readonly inputs: readonly [{
|
|
994
|
+
readonly internalType: "bytes32";
|
|
995
|
+
readonly name: "role";
|
|
996
|
+
readonly type: "bytes32";
|
|
997
|
+
}, {
|
|
998
|
+
readonly internalType: "address";
|
|
999
|
+
readonly name: "account";
|
|
1000
|
+
readonly type: "address";
|
|
1001
|
+
}];
|
|
1002
|
+
readonly name: "renounceRole";
|
|
1003
|
+
readonly outputs: readonly [];
|
|
1004
|
+
readonly stateMutability: "nonpayable";
|
|
1005
|
+
readonly type: "function";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly inputs: readonly [{
|
|
1008
|
+
readonly internalType: "bytes32";
|
|
1009
|
+
readonly name: "role";
|
|
1010
|
+
readonly type: "bytes32";
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly internalType: "address";
|
|
1013
|
+
readonly name: "account";
|
|
1014
|
+
readonly type: "address";
|
|
1015
|
+
}];
|
|
1016
|
+
readonly name: "revokeRole";
|
|
1017
|
+
readonly outputs: readonly [];
|
|
1018
|
+
readonly stateMutability: "nonpayable";
|
|
1019
|
+
readonly type: "function";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly inputs: readonly [{
|
|
1022
|
+
readonly internalType: "uint256";
|
|
1023
|
+
readonly name: "";
|
|
1024
|
+
readonly type: "uint256";
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly internalType: "uint256";
|
|
1027
|
+
readonly name: "_salePrice";
|
|
1028
|
+
readonly type: "uint256";
|
|
1029
|
+
}];
|
|
1030
|
+
readonly name: "royaltyInfo";
|
|
1031
|
+
readonly outputs: readonly [{
|
|
1032
|
+
readonly internalType: "address";
|
|
1033
|
+
readonly name: "receiver";
|
|
1034
|
+
readonly type: "address";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly internalType: "uint256";
|
|
1037
|
+
readonly name: "royaltyAmount";
|
|
1038
|
+
readonly type: "uint256";
|
|
1039
|
+
}];
|
|
1040
|
+
readonly stateMutability: "view";
|
|
1041
|
+
readonly type: "function";
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly inputs: readonly [{
|
|
1044
|
+
readonly internalType: "address";
|
|
1045
|
+
readonly name: "from";
|
|
1046
|
+
readonly type: "address";
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly internalType: "address";
|
|
1049
|
+
readonly name: "to";
|
|
1050
|
+
readonly type: "address";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly internalType: "uint256";
|
|
1053
|
+
readonly name: "tokenId";
|
|
1054
|
+
readonly type: "uint256";
|
|
1055
|
+
}];
|
|
1056
|
+
readonly name: "safeTransferFrom";
|
|
1057
|
+
readonly outputs: readonly [];
|
|
1058
|
+
readonly stateMutability: "nonpayable";
|
|
1059
|
+
readonly type: "function";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly inputs: readonly [{
|
|
1062
|
+
readonly internalType: "address";
|
|
1063
|
+
readonly name: "from";
|
|
1064
|
+
readonly type: "address";
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly internalType: "address";
|
|
1067
|
+
readonly name: "to";
|
|
1068
|
+
readonly type: "address";
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly internalType: "uint256";
|
|
1071
|
+
readonly name: "tokenId";
|
|
1072
|
+
readonly type: "uint256";
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly internalType: "bytes";
|
|
1075
|
+
readonly name: "_data";
|
|
1076
|
+
readonly type: "bytes";
|
|
1077
|
+
}];
|
|
1078
|
+
readonly name: "safeTransferFrom";
|
|
1079
|
+
readonly outputs: readonly [];
|
|
1080
|
+
readonly stateMutability: "nonpayable";
|
|
1081
|
+
readonly type: "function";
|
|
1082
|
+
}, {
|
|
1083
|
+
readonly inputs: readonly [];
|
|
1084
|
+
readonly name: "saleDetails";
|
|
1085
|
+
readonly outputs: readonly [{
|
|
1086
|
+
readonly components: readonly [{
|
|
1087
|
+
readonly internalType: "bool";
|
|
1088
|
+
readonly name: "publicSaleActive";
|
|
1089
|
+
readonly type: "bool";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly internalType: "bool";
|
|
1092
|
+
readonly name: "presaleActive";
|
|
1093
|
+
readonly type: "bool";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly internalType: "uint256";
|
|
1096
|
+
readonly name: "publicSalePrice";
|
|
1097
|
+
readonly type: "uint256";
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly internalType: "uint64";
|
|
1100
|
+
readonly name: "publicSaleStart";
|
|
1101
|
+
readonly type: "uint64";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly internalType: "uint64";
|
|
1104
|
+
readonly name: "publicSaleEnd";
|
|
1105
|
+
readonly type: "uint64";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly internalType: "uint64";
|
|
1108
|
+
readonly name: "presaleStart";
|
|
1109
|
+
readonly type: "uint64";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly internalType: "uint64";
|
|
1112
|
+
readonly name: "presaleEnd";
|
|
1113
|
+
readonly type: "uint64";
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly internalType: "bytes32";
|
|
1116
|
+
readonly name: "presaleMerkleRoot";
|
|
1117
|
+
readonly type: "bytes32";
|
|
1118
|
+
}, {
|
|
1119
|
+
readonly internalType: "uint256";
|
|
1120
|
+
readonly name: "maxSalePurchasePerAddress";
|
|
1121
|
+
readonly type: "uint256";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly internalType: "uint256";
|
|
1124
|
+
readonly name: "totalMinted";
|
|
1125
|
+
readonly type: "uint256";
|
|
1126
|
+
}, {
|
|
1127
|
+
readonly internalType: "uint256";
|
|
1128
|
+
readonly name: "maxSupply";
|
|
1129
|
+
readonly type: "uint256";
|
|
1130
|
+
}];
|
|
1131
|
+
readonly internalType: "struct IERC721Drop.SaleDetails";
|
|
1132
|
+
readonly name: "";
|
|
1133
|
+
readonly type: "tuple";
|
|
1134
|
+
}];
|
|
1135
|
+
readonly stateMutability: "view";
|
|
1136
|
+
readonly type: "function";
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly inputs: readonly [];
|
|
1139
|
+
readonly name: "salesConfig";
|
|
1140
|
+
readonly outputs: readonly [{
|
|
1141
|
+
readonly internalType: "uint104";
|
|
1142
|
+
readonly name: "publicSalePrice";
|
|
1143
|
+
readonly type: "uint104";
|
|
1144
|
+
}, {
|
|
1145
|
+
readonly internalType: "uint32";
|
|
1146
|
+
readonly name: "maxSalePurchasePerAddress";
|
|
1147
|
+
readonly type: "uint32";
|
|
1148
|
+
}, {
|
|
1149
|
+
readonly internalType: "uint64";
|
|
1150
|
+
readonly name: "publicSaleStart";
|
|
1151
|
+
readonly type: "uint64";
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly internalType: "uint64";
|
|
1154
|
+
readonly name: "publicSaleEnd";
|
|
1155
|
+
readonly type: "uint64";
|
|
1156
|
+
}, {
|
|
1157
|
+
readonly internalType: "uint64";
|
|
1158
|
+
readonly name: "presaleStart";
|
|
1159
|
+
readonly type: "uint64";
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly internalType: "uint64";
|
|
1162
|
+
readonly name: "presaleEnd";
|
|
1163
|
+
readonly type: "uint64";
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly internalType: "bytes32";
|
|
1166
|
+
readonly name: "presaleMerkleRoot";
|
|
1167
|
+
readonly type: "bytes32";
|
|
1168
|
+
}];
|
|
1169
|
+
readonly stateMutability: "view";
|
|
1170
|
+
readonly type: "function";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly inputs: readonly [{
|
|
1173
|
+
readonly internalType: "address";
|
|
1174
|
+
readonly name: "operator";
|
|
1175
|
+
readonly type: "address";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly internalType: "bool";
|
|
1178
|
+
readonly name: "approved";
|
|
1179
|
+
readonly type: "bool";
|
|
1180
|
+
}];
|
|
1181
|
+
readonly name: "setApprovalForAll";
|
|
1182
|
+
readonly outputs: readonly [];
|
|
1183
|
+
readonly stateMutability: "nonpayable";
|
|
1184
|
+
readonly type: "function";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly inputs: readonly [{
|
|
1187
|
+
readonly internalType: "address payable";
|
|
1188
|
+
readonly name: "newRecipientAddress";
|
|
1189
|
+
readonly type: "address";
|
|
1190
|
+
}];
|
|
1191
|
+
readonly name: "setFundsRecipient";
|
|
1192
|
+
readonly outputs: readonly [];
|
|
1193
|
+
readonly stateMutability: "nonpayable";
|
|
1194
|
+
readonly type: "function";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly inputs: readonly [{
|
|
1197
|
+
readonly internalType: "contract IMetadataRenderer";
|
|
1198
|
+
readonly name: "newRenderer";
|
|
1199
|
+
readonly type: "address";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly internalType: "bytes";
|
|
1202
|
+
readonly name: "setupRenderer";
|
|
1203
|
+
readonly type: "bytes";
|
|
1204
|
+
}];
|
|
1205
|
+
readonly name: "setMetadataRenderer";
|
|
1206
|
+
readonly outputs: readonly [];
|
|
1207
|
+
readonly stateMutability: "nonpayable";
|
|
1208
|
+
readonly type: "function";
|
|
1209
|
+
}, {
|
|
1210
|
+
readonly inputs: readonly [{
|
|
1211
|
+
readonly internalType: "address";
|
|
1212
|
+
readonly name: "newOwner";
|
|
1213
|
+
readonly type: "address";
|
|
1214
|
+
}];
|
|
1215
|
+
readonly name: "setOwner";
|
|
1216
|
+
readonly outputs: readonly [];
|
|
1217
|
+
readonly stateMutability: "nonpayable";
|
|
1218
|
+
readonly type: "function";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly inputs: readonly [{
|
|
1221
|
+
readonly internalType: "uint104";
|
|
1222
|
+
readonly name: "publicSalePrice";
|
|
1223
|
+
readonly type: "uint104";
|
|
1224
|
+
}, {
|
|
1225
|
+
readonly internalType: "uint32";
|
|
1226
|
+
readonly name: "maxSalePurchasePerAddress";
|
|
1227
|
+
readonly type: "uint32";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly internalType: "uint64";
|
|
1230
|
+
readonly name: "publicSaleStart";
|
|
1231
|
+
readonly type: "uint64";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly internalType: "uint64";
|
|
1234
|
+
readonly name: "publicSaleEnd";
|
|
1235
|
+
readonly type: "uint64";
|
|
1236
|
+
}, {
|
|
1237
|
+
readonly internalType: "uint64";
|
|
1238
|
+
readonly name: "presaleStart";
|
|
1239
|
+
readonly type: "uint64";
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly internalType: "uint64";
|
|
1242
|
+
readonly name: "presaleEnd";
|
|
1243
|
+
readonly type: "uint64";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly internalType: "bytes32";
|
|
1246
|
+
readonly name: "presaleMerkleRoot";
|
|
1247
|
+
readonly type: "bytes32";
|
|
1248
|
+
}];
|
|
1249
|
+
readonly name: "setSaleConfiguration";
|
|
1250
|
+
readonly outputs: readonly [];
|
|
1251
|
+
readonly stateMutability: "nonpayable";
|
|
1252
|
+
readonly type: "function";
|
|
1253
|
+
}, {
|
|
1254
|
+
readonly inputs: readonly [{
|
|
1255
|
+
readonly internalType: "bytes4";
|
|
1256
|
+
readonly name: "interfaceId";
|
|
1257
|
+
readonly type: "bytes4";
|
|
1258
|
+
}];
|
|
1259
|
+
readonly name: "supportsInterface";
|
|
1260
|
+
readonly outputs: readonly [{
|
|
1261
|
+
readonly internalType: "bool";
|
|
1262
|
+
readonly name: "";
|
|
1263
|
+
readonly type: "bool";
|
|
1264
|
+
}];
|
|
1265
|
+
readonly stateMutability: "view";
|
|
1266
|
+
readonly type: "function";
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly inputs: readonly [];
|
|
1269
|
+
readonly name: "symbol";
|
|
1270
|
+
readonly outputs: readonly [{
|
|
1271
|
+
readonly internalType: "string";
|
|
1272
|
+
readonly name: "";
|
|
1273
|
+
readonly type: "string";
|
|
1274
|
+
}];
|
|
1275
|
+
readonly stateMutability: "view";
|
|
1276
|
+
readonly type: "function";
|
|
1277
|
+
}, {
|
|
1278
|
+
readonly inputs: readonly [{
|
|
1279
|
+
readonly internalType: "uint256";
|
|
1280
|
+
readonly name: "tokenId";
|
|
1281
|
+
readonly type: "uint256";
|
|
1282
|
+
}];
|
|
1283
|
+
readonly name: "tokenURI";
|
|
1284
|
+
readonly outputs: readonly [{
|
|
1285
|
+
readonly internalType: "string";
|
|
1286
|
+
readonly name: "";
|
|
1287
|
+
readonly type: "string";
|
|
1288
|
+
}];
|
|
1289
|
+
readonly stateMutability: "view";
|
|
1290
|
+
readonly type: "function";
|
|
1291
|
+
}, {
|
|
1292
|
+
readonly inputs: readonly [];
|
|
1293
|
+
readonly name: "totalSupply";
|
|
1294
|
+
readonly outputs: readonly [{
|
|
1295
|
+
readonly internalType: "uint256";
|
|
1296
|
+
readonly name: "";
|
|
1297
|
+
readonly type: "uint256";
|
|
1298
|
+
}];
|
|
1299
|
+
readonly stateMutability: "view";
|
|
1300
|
+
readonly type: "function";
|
|
1301
|
+
}, {
|
|
1302
|
+
readonly inputs: readonly [{
|
|
1303
|
+
readonly internalType: "address";
|
|
1304
|
+
readonly name: "from";
|
|
1305
|
+
readonly type: "address";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly internalType: "address";
|
|
1308
|
+
readonly name: "to";
|
|
1309
|
+
readonly type: "address";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly internalType: "uint256";
|
|
1312
|
+
readonly name: "tokenId";
|
|
1313
|
+
readonly type: "uint256";
|
|
1314
|
+
}];
|
|
1315
|
+
readonly name: "transferFrom";
|
|
1316
|
+
readonly outputs: readonly [];
|
|
1317
|
+
readonly stateMutability: "nonpayable";
|
|
1318
|
+
readonly type: "function";
|
|
1319
|
+
}, {
|
|
1320
|
+
readonly inputs: readonly [{
|
|
1321
|
+
readonly internalType: "bytes";
|
|
1322
|
+
readonly name: "args";
|
|
1323
|
+
readonly type: "bytes";
|
|
1324
|
+
}];
|
|
1325
|
+
readonly name: "updateMarketFilterSettings";
|
|
1326
|
+
readonly outputs: readonly [{
|
|
1327
|
+
readonly internalType: "bytes";
|
|
1328
|
+
readonly name: "";
|
|
1329
|
+
readonly type: "bytes";
|
|
1330
|
+
}];
|
|
1331
|
+
readonly stateMutability: "nonpayable";
|
|
1332
|
+
readonly type: "function";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly inputs: readonly [{
|
|
1335
|
+
readonly internalType: "address";
|
|
1336
|
+
readonly name: "newImplementation";
|
|
1337
|
+
readonly type: "address";
|
|
1338
|
+
}];
|
|
1339
|
+
readonly name: "upgradeTo";
|
|
1340
|
+
readonly outputs: readonly [];
|
|
1341
|
+
readonly stateMutability: "nonpayable";
|
|
1342
|
+
readonly type: "function";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly inputs: readonly [{
|
|
1345
|
+
readonly internalType: "address";
|
|
1346
|
+
readonly name: "newImplementation";
|
|
1347
|
+
readonly type: "address";
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly internalType: "bytes";
|
|
1350
|
+
readonly name: "data";
|
|
1351
|
+
readonly type: "bytes";
|
|
1352
|
+
}];
|
|
1353
|
+
readonly name: "upgradeToAndCall";
|
|
1354
|
+
readonly outputs: readonly [];
|
|
1355
|
+
readonly stateMutability: "payable";
|
|
1356
|
+
readonly type: "function";
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly inputs: readonly [];
|
|
1359
|
+
readonly name: "withdraw";
|
|
1360
|
+
readonly outputs: readonly [];
|
|
1361
|
+
readonly stateMutability: "nonpayable";
|
|
1362
|
+
readonly type: "function";
|
|
1363
|
+
}, {
|
|
1364
|
+
readonly inputs: readonly [{
|
|
1365
|
+
readonly internalType: "uint256";
|
|
1366
|
+
readonly name: "amount";
|
|
1367
|
+
readonly type: "uint256";
|
|
1368
|
+
}];
|
|
1369
|
+
readonly name: "zoraFeeForAmount";
|
|
1370
|
+
readonly outputs: readonly [{
|
|
1371
|
+
readonly internalType: "address payable";
|
|
1372
|
+
readonly name: "";
|
|
1373
|
+
readonly type: "address";
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly internalType: "uint256";
|
|
1376
|
+
readonly name: "";
|
|
1377
|
+
readonly type: "uint256";
|
|
1378
|
+
}];
|
|
1379
|
+
readonly stateMutability: "nonpayable";
|
|
1380
|
+
readonly type: "function";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly inputs: readonly [];
|
|
1383
|
+
readonly name: "zoraFeeManager";
|
|
1384
|
+
readonly outputs: readonly [{
|
|
1385
|
+
readonly internalType: "contract IZoraFeeManager";
|
|
1386
|
+
readonly name: "";
|
|
1387
|
+
readonly type: "address";
|
|
1388
|
+
}];
|
|
1389
|
+
readonly stateMutability: "view";
|
|
1390
|
+
readonly type: "function";
|
|
1391
|
+
}, {
|
|
1392
|
+
readonly stateMutability: "payable";
|
|
1393
|
+
readonly type: "receive";
|
|
1394
|
+
}];
|
|
1395
|
+
/**
|
|
1396
|
+
* Type-safe ABI for ERC721Drop
|
|
1397
|
+
*/
|
|
1398
|
+
export type ERC721DropAbi = typeof ERC721DropAbi;
|
|
1399
|
+
/**
|
|
1400
|
+
* Contract instance type for ERC721Drop
|
|
1401
|
+
*/
|
|
1402
|
+
export type ERC721DropContract = any;
|
|
1403
|
+
/**
|
|
1404
|
+
* ERC721Drop Contract Class
|
|
1405
|
+
*
|
|
1406
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1407
|
+
*
|
|
1408
|
+
* @example
|
|
1409
|
+
* ```typescript
|
|
1410
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1411
|
+
* import { mainnet } from 'viem/chains';
|
|
1412
|
+
* import { ERC721Drop } from 'ERC721Drop';
|
|
1413
|
+
*
|
|
1414
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1415
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1416
|
+
*
|
|
1417
|
+
* const contract = new ERC721Drop('0x...', { publicClient, walletClient });
|
|
1418
|
+
*
|
|
1419
|
+
* // Read functions
|
|
1420
|
+
* const result = await contract.balanceOf('0x...');
|
|
1421
|
+
*
|
|
1422
|
+
* // Write functions
|
|
1423
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1424
|
+
*
|
|
1425
|
+
* // Simulate transactions (dry-run)
|
|
1426
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1427
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1428
|
+
*
|
|
1429
|
+
* // Watch events
|
|
1430
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1431
|
+
* console.log('Transfer event:', event);
|
|
1432
|
+
* });
|
|
1433
|
+
* ```
|
|
1434
|
+
*/
|
|
1435
|
+
export declare class ERC721Drop {
|
|
1436
|
+
private contract;
|
|
1437
|
+
private contractAddress;
|
|
1438
|
+
private publicClient;
|
|
1439
|
+
constructor(address: Address, clients: {
|
|
1440
|
+
publicClient: PublicClient;
|
|
1441
|
+
walletClient?: WalletClient;
|
|
1442
|
+
});
|
|
1443
|
+
/**
|
|
1444
|
+
* Get the contract address
|
|
1445
|
+
*/
|
|
1446
|
+
get address(): Address;
|
|
1447
|
+
/**
|
|
1448
|
+
* Get the underlying viem contract instance.
|
|
1449
|
+
*/
|
|
1450
|
+
getContract(): ERC721DropContract;
|
|
1451
|
+
/**
|
|
1452
|
+
* DEFAULT_ADMIN_ROLE
|
|
1453
|
+
* view
|
|
1454
|
+
*/
|
|
1455
|
+
DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
|
|
1456
|
+
/**
|
|
1457
|
+
* MINTER_ROLE
|
|
1458
|
+
* view
|
|
1459
|
+
*/
|
|
1460
|
+
MINTER_ROLE(): Promise<`0x${string}`>;
|
|
1461
|
+
/**
|
|
1462
|
+
* SALES_MANAGER_ROLE
|
|
1463
|
+
* view
|
|
1464
|
+
*/
|
|
1465
|
+
SALES_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
1466
|
+
/**
|
|
1467
|
+
* balanceOf
|
|
1468
|
+
* view
|
|
1469
|
+
*/
|
|
1470
|
+
balanceOf(owner: `0x${string}`): Promise<bigint>;
|
|
1471
|
+
/**
|
|
1472
|
+
* config
|
|
1473
|
+
* view
|
|
1474
|
+
*/
|
|
1475
|
+
config(): Promise<[`0x${string}`, bigint, bigint, `0x${string}`]>;
|
|
1476
|
+
/**
|
|
1477
|
+
* contractURI
|
|
1478
|
+
* view
|
|
1479
|
+
*/
|
|
1480
|
+
contractURI(): Promise<string>;
|
|
1481
|
+
/**
|
|
1482
|
+
* contractVersion
|
|
1483
|
+
* view
|
|
1484
|
+
*/
|
|
1485
|
+
contractVersion(): Promise<bigint>;
|
|
1486
|
+
/**
|
|
1487
|
+
* getApproved
|
|
1488
|
+
* view
|
|
1489
|
+
*/
|
|
1490
|
+
getApproved(tokenId: bigint): Promise<`0x${string}`>;
|
|
1491
|
+
/**
|
|
1492
|
+
* getRoleAdmin
|
|
1493
|
+
* view
|
|
1494
|
+
*/
|
|
1495
|
+
getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
|
|
1496
|
+
/**
|
|
1497
|
+
* hasRole
|
|
1498
|
+
* view
|
|
1499
|
+
*/
|
|
1500
|
+
hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
|
|
1501
|
+
/**
|
|
1502
|
+
* isAdmin
|
|
1503
|
+
* view
|
|
1504
|
+
*/
|
|
1505
|
+
isAdmin(user: `0x${string}`): Promise<boolean>;
|
|
1506
|
+
/**
|
|
1507
|
+
* isApprovedForAll
|
|
1508
|
+
* view
|
|
1509
|
+
*/
|
|
1510
|
+
isApprovedForAll(nftOwner: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
|
|
1511
|
+
/**
|
|
1512
|
+
* metadataRenderer
|
|
1513
|
+
* view
|
|
1514
|
+
*/
|
|
1515
|
+
metadataRenderer(): Promise<`0x${string}`>;
|
|
1516
|
+
/**
|
|
1517
|
+
* mintedPerAddress
|
|
1518
|
+
* view
|
|
1519
|
+
*/
|
|
1520
|
+
mintedPerAddress(minter: `0x${string}`): Promise<IERC721Drop_AddressMintDetails>;
|
|
1521
|
+
/**
|
|
1522
|
+
* name
|
|
1523
|
+
* view
|
|
1524
|
+
*/
|
|
1525
|
+
name(): Promise<string>;
|
|
1526
|
+
/**
|
|
1527
|
+
* owner
|
|
1528
|
+
* view
|
|
1529
|
+
*/
|
|
1530
|
+
owner(): Promise<`0x${string}`>;
|
|
1531
|
+
/**
|
|
1532
|
+
* ownerOf
|
|
1533
|
+
* view
|
|
1534
|
+
*/
|
|
1535
|
+
ownerOf(tokenId: bigint): Promise<`0x${string}`>;
|
|
1536
|
+
/**
|
|
1537
|
+
* presaleMintsByAddress
|
|
1538
|
+
* view
|
|
1539
|
+
*/
|
|
1540
|
+
presaleMintsByAddress(arg0: `0x${string}`): Promise<bigint>;
|
|
1541
|
+
/**
|
|
1542
|
+
* proxiableUUID
|
|
1543
|
+
* view
|
|
1544
|
+
*/
|
|
1545
|
+
proxiableUUID(): Promise<`0x${string}`>;
|
|
1546
|
+
/**
|
|
1547
|
+
* royaltyInfo
|
|
1548
|
+
* view
|
|
1549
|
+
*/
|
|
1550
|
+
royaltyInfo(arg0: bigint, _salePrice: bigint): Promise<[`0x${string}`, bigint]>;
|
|
1551
|
+
/**
|
|
1552
|
+
* saleDetails
|
|
1553
|
+
* view
|
|
1554
|
+
*/
|
|
1555
|
+
saleDetails(): Promise<IERC721Drop_SaleDetails>;
|
|
1556
|
+
/**
|
|
1557
|
+
* salesConfig
|
|
1558
|
+
* view
|
|
1559
|
+
*/
|
|
1560
|
+
salesConfig(): Promise<[bigint, bigint, bigint, bigint, bigint, bigint, `0x${string}`]>;
|
|
1561
|
+
/**
|
|
1562
|
+
* supportsInterface
|
|
1563
|
+
* view
|
|
1564
|
+
*/
|
|
1565
|
+
supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
|
|
1566
|
+
/**
|
|
1567
|
+
* symbol
|
|
1568
|
+
* view
|
|
1569
|
+
*/
|
|
1570
|
+
symbol(): Promise<string>;
|
|
1571
|
+
/**
|
|
1572
|
+
* tokenURI
|
|
1573
|
+
* view
|
|
1574
|
+
*/
|
|
1575
|
+
tokenURI(tokenId: bigint): Promise<string>;
|
|
1576
|
+
/**
|
|
1577
|
+
* totalSupply
|
|
1578
|
+
* view
|
|
1579
|
+
*/
|
|
1580
|
+
totalSupply(): Promise<bigint>;
|
|
1581
|
+
/**
|
|
1582
|
+
* zoraFeeManager
|
|
1583
|
+
* view
|
|
1584
|
+
*/
|
|
1585
|
+
zoraFeeManager(): Promise<`0x${string}`>;
|
|
1586
|
+
/**
|
|
1587
|
+
* adminMint
|
|
1588
|
+
* nonpayable
|
|
1589
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1590
|
+
*/
|
|
1591
|
+
adminMint(recipient: `0x${string}`, quantity: bigint, options?: {
|
|
1592
|
+
accessList?: import('viem').AccessList;
|
|
1593
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1594
|
+
chain?: import('viem').Chain | null;
|
|
1595
|
+
dataSuffix?: `0x${string}`;
|
|
1596
|
+
gas?: bigint;
|
|
1597
|
+
gasPrice?: bigint;
|
|
1598
|
+
maxFeePerGas?: bigint;
|
|
1599
|
+
maxPriorityFeePerGas?: bigint;
|
|
1600
|
+
nonce?: number;
|
|
1601
|
+
value?: bigint;
|
|
1602
|
+
}): Promise<`0x${string}`>;
|
|
1603
|
+
/**
|
|
1604
|
+
* adminMintAirdrop
|
|
1605
|
+
* nonpayable
|
|
1606
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1607
|
+
*/
|
|
1608
|
+
adminMintAirdrop(recipients: `0x${string}`[], options?: {
|
|
1609
|
+
accessList?: import('viem').AccessList;
|
|
1610
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1611
|
+
chain?: import('viem').Chain | null;
|
|
1612
|
+
dataSuffix?: `0x${string}`;
|
|
1613
|
+
gas?: bigint;
|
|
1614
|
+
gasPrice?: bigint;
|
|
1615
|
+
maxFeePerGas?: bigint;
|
|
1616
|
+
maxPriorityFeePerGas?: bigint;
|
|
1617
|
+
nonce?: number;
|
|
1618
|
+
value?: bigint;
|
|
1619
|
+
}): Promise<`0x${string}`>;
|
|
1620
|
+
/**
|
|
1621
|
+
* approve
|
|
1622
|
+
* nonpayable
|
|
1623
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1624
|
+
*/
|
|
1625
|
+
approve(to: `0x${string}`, tokenId: bigint, options?: {
|
|
1626
|
+
accessList?: import('viem').AccessList;
|
|
1627
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1628
|
+
chain?: import('viem').Chain | null;
|
|
1629
|
+
dataSuffix?: `0x${string}`;
|
|
1630
|
+
gas?: bigint;
|
|
1631
|
+
gasPrice?: bigint;
|
|
1632
|
+
maxFeePerGas?: bigint;
|
|
1633
|
+
maxPriorityFeePerGas?: bigint;
|
|
1634
|
+
nonce?: number;
|
|
1635
|
+
value?: bigint;
|
|
1636
|
+
}): Promise<`0x${string}`>;
|
|
1637
|
+
/**
|
|
1638
|
+
* burn
|
|
1639
|
+
* nonpayable
|
|
1640
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1641
|
+
*/
|
|
1642
|
+
burn(tokenId: bigint, options?: {
|
|
1643
|
+
accessList?: import('viem').AccessList;
|
|
1644
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1645
|
+
chain?: import('viem').Chain | null;
|
|
1646
|
+
dataSuffix?: `0x${string}`;
|
|
1647
|
+
gas?: bigint;
|
|
1648
|
+
gasPrice?: bigint;
|
|
1649
|
+
maxFeePerGas?: bigint;
|
|
1650
|
+
maxPriorityFeePerGas?: bigint;
|
|
1651
|
+
nonce?: number;
|
|
1652
|
+
value?: bigint;
|
|
1653
|
+
}): Promise<`0x${string}`>;
|
|
1654
|
+
/**
|
|
1655
|
+
* finalizeOpenEdition
|
|
1656
|
+
* nonpayable
|
|
1657
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1658
|
+
*/
|
|
1659
|
+
finalizeOpenEdition(options?: {
|
|
1660
|
+
accessList?: import('viem').AccessList;
|
|
1661
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1662
|
+
chain?: import('viem').Chain | null;
|
|
1663
|
+
dataSuffix?: `0x${string}`;
|
|
1664
|
+
gas?: bigint;
|
|
1665
|
+
gasPrice?: bigint;
|
|
1666
|
+
maxFeePerGas?: bigint;
|
|
1667
|
+
maxPriorityFeePerGas?: bigint;
|
|
1668
|
+
nonce?: number;
|
|
1669
|
+
value?: bigint;
|
|
1670
|
+
}): Promise<`0x${string}`>;
|
|
1671
|
+
/**
|
|
1672
|
+
* grantRole
|
|
1673
|
+
* nonpayable
|
|
1674
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1675
|
+
*/
|
|
1676
|
+
grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
1677
|
+
accessList?: import('viem').AccessList;
|
|
1678
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1679
|
+
chain?: import('viem').Chain | null;
|
|
1680
|
+
dataSuffix?: `0x${string}`;
|
|
1681
|
+
gas?: bigint;
|
|
1682
|
+
gasPrice?: bigint;
|
|
1683
|
+
maxFeePerGas?: bigint;
|
|
1684
|
+
maxPriorityFeePerGas?: bigint;
|
|
1685
|
+
nonce?: number;
|
|
1686
|
+
value?: bigint;
|
|
1687
|
+
}): Promise<`0x${string}`>;
|
|
1688
|
+
/**
|
|
1689
|
+
* initialize
|
|
1690
|
+
* nonpayable
|
|
1691
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1692
|
+
*/
|
|
1693
|
+
initialize(_contractName: string, _contractSymbol: string, _initialOwner: `0x${string}`, _fundsRecipient: `0x${string}`, _editionSize: bigint, _royaltyBPS: bigint, _salesConfig: IERC721Drop_SalesConfiguration, _metadataRenderer: `0x${string}`, _metadataRendererInit: `0x${string}`, options?: {
|
|
1694
|
+
accessList?: import('viem').AccessList;
|
|
1695
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1696
|
+
chain?: import('viem').Chain | null;
|
|
1697
|
+
dataSuffix?: `0x${string}`;
|
|
1698
|
+
gas?: bigint;
|
|
1699
|
+
gasPrice?: bigint;
|
|
1700
|
+
maxFeePerGas?: bigint;
|
|
1701
|
+
maxPriorityFeePerGas?: bigint;
|
|
1702
|
+
nonce?: number;
|
|
1703
|
+
value?: bigint;
|
|
1704
|
+
}): Promise<`0x${string}`>;
|
|
1705
|
+
/**
|
|
1706
|
+
* manageMarketFilterDAOSubscription
|
|
1707
|
+
* nonpayable
|
|
1708
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1709
|
+
*/
|
|
1710
|
+
manageMarketFilterDAOSubscription(enable: boolean, options?: {
|
|
1711
|
+
accessList?: import('viem').AccessList;
|
|
1712
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1713
|
+
chain?: import('viem').Chain | null;
|
|
1714
|
+
dataSuffix?: `0x${string}`;
|
|
1715
|
+
gas?: bigint;
|
|
1716
|
+
gasPrice?: bigint;
|
|
1717
|
+
maxFeePerGas?: bigint;
|
|
1718
|
+
maxPriorityFeePerGas?: bigint;
|
|
1719
|
+
nonce?: number;
|
|
1720
|
+
value?: bigint;
|
|
1721
|
+
}): Promise<`0x${string}`>;
|
|
1722
|
+
/**
|
|
1723
|
+
* purchase
|
|
1724
|
+
* payable
|
|
1725
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1726
|
+
*/
|
|
1727
|
+
purchase(quantity: bigint, options?: {
|
|
1728
|
+
accessList?: import('viem').AccessList;
|
|
1729
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1730
|
+
chain?: import('viem').Chain | null;
|
|
1731
|
+
dataSuffix?: `0x${string}`;
|
|
1732
|
+
gas?: bigint;
|
|
1733
|
+
gasPrice?: bigint;
|
|
1734
|
+
maxFeePerGas?: bigint;
|
|
1735
|
+
maxPriorityFeePerGas?: bigint;
|
|
1736
|
+
nonce?: number;
|
|
1737
|
+
value?: bigint;
|
|
1738
|
+
}): Promise<`0x${string}`>;
|
|
1739
|
+
/**
|
|
1740
|
+
* purchasePresale
|
|
1741
|
+
* payable
|
|
1742
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1743
|
+
*/
|
|
1744
|
+
purchasePresale(quantity: bigint, maxQuantity: bigint, pricePerToken: bigint, merkleProof: `0x${string}`[], options?: {
|
|
1745
|
+
accessList?: import('viem').AccessList;
|
|
1746
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1747
|
+
chain?: import('viem').Chain | null;
|
|
1748
|
+
dataSuffix?: `0x${string}`;
|
|
1749
|
+
gas?: bigint;
|
|
1750
|
+
gasPrice?: bigint;
|
|
1751
|
+
maxFeePerGas?: bigint;
|
|
1752
|
+
maxPriorityFeePerGas?: bigint;
|
|
1753
|
+
nonce?: number;
|
|
1754
|
+
value?: bigint;
|
|
1755
|
+
}): Promise<`0x${string}`>;
|
|
1756
|
+
/**
|
|
1757
|
+
* renounceRole
|
|
1758
|
+
* nonpayable
|
|
1759
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1760
|
+
*/
|
|
1761
|
+
renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
1762
|
+
accessList?: import('viem').AccessList;
|
|
1763
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1764
|
+
chain?: import('viem').Chain | null;
|
|
1765
|
+
dataSuffix?: `0x${string}`;
|
|
1766
|
+
gas?: bigint;
|
|
1767
|
+
gasPrice?: bigint;
|
|
1768
|
+
maxFeePerGas?: bigint;
|
|
1769
|
+
maxPriorityFeePerGas?: bigint;
|
|
1770
|
+
nonce?: number;
|
|
1771
|
+
value?: bigint;
|
|
1772
|
+
}): Promise<`0x${string}`>;
|
|
1773
|
+
/**
|
|
1774
|
+
* revokeRole
|
|
1775
|
+
* nonpayable
|
|
1776
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1777
|
+
*/
|
|
1778
|
+
revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
1779
|
+
accessList?: import('viem').AccessList;
|
|
1780
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1781
|
+
chain?: import('viem').Chain | null;
|
|
1782
|
+
dataSuffix?: `0x${string}`;
|
|
1783
|
+
gas?: bigint;
|
|
1784
|
+
gasPrice?: bigint;
|
|
1785
|
+
maxFeePerGas?: bigint;
|
|
1786
|
+
maxPriorityFeePerGas?: bigint;
|
|
1787
|
+
nonce?: number;
|
|
1788
|
+
value?: bigint;
|
|
1789
|
+
}): Promise<`0x${string}`>;
|
|
1790
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1791
|
+
accessList?: import('viem').AccessList;
|
|
1792
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1793
|
+
chain?: import('viem').Chain | null;
|
|
1794
|
+
dataSuffix?: `0x${string}`;
|
|
1795
|
+
gas?: bigint;
|
|
1796
|
+
gasPrice?: bigint;
|
|
1797
|
+
maxFeePerGas?: bigint;
|
|
1798
|
+
maxPriorityFeePerGas?: bigint;
|
|
1799
|
+
nonce?: number;
|
|
1800
|
+
value?: bigint;
|
|
1801
|
+
}): Promise<`0x${string}`>;
|
|
1802
|
+
safeTransferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, _data: `0x${string}`, options?: {
|
|
1803
|
+
accessList?: import('viem').AccessList;
|
|
1804
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1805
|
+
chain?: import('viem').Chain | null;
|
|
1806
|
+
dataSuffix?: `0x${string}`;
|
|
1807
|
+
gas?: bigint;
|
|
1808
|
+
gasPrice?: bigint;
|
|
1809
|
+
maxFeePerGas?: bigint;
|
|
1810
|
+
maxPriorityFeePerGas?: bigint;
|
|
1811
|
+
nonce?: number;
|
|
1812
|
+
value?: bigint;
|
|
1813
|
+
}): Promise<`0x${string}`>;
|
|
1814
|
+
/**
|
|
1815
|
+
* setApprovalForAll
|
|
1816
|
+
* nonpayable
|
|
1817
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1818
|
+
*/
|
|
1819
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
1820
|
+
accessList?: import('viem').AccessList;
|
|
1821
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1822
|
+
chain?: import('viem').Chain | null;
|
|
1823
|
+
dataSuffix?: `0x${string}`;
|
|
1824
|
+
gas?: bigint;
|
|
1825
|
+
gasPrice?: bigint;
|
|
1826
|
+
maxFeePerGas?: bigint;
|
|
1827
|
+
maxPriorityFeePerGas?: bigint;
|
|
1828
|
+
nonce?: number;
|
|
1829
|
+
value?: bigint;
|
|
1830
|
+
}): Promise<`0x${string}`>;
|
|
1831
|
+
/**
|
|
1832
|
+
* setFundsRecipient
|
|
1833
|
+
* nonpayable
|
|
1834
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1835
|
+
*/
|
|
1836
|
+
setFundsRecipient(newRecipientAddress: `0x${string}`, options?: {
|
|
1837
|
+
accessList?: import('viem').AccessList;
|
|
1838
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1839
|
+
chain?: import('viem').Chain | null;
|
|
1840
|
+
dataSuffix?: `0x${string}`;
|
|
1841
|
+
gas?: bigint;
|
|
1842
|
+
gasPrice?: bigint;
|
|
1843
|
+
maxFeePerGas?: bigint;
|
|
1844
|
+
maxPriorityFeePerGas?: bigint;
|
|
1845
|
+
nonce?: number;
|
|
1846
|
+
value?: bigint;
|
|
1847
|
+
}): Promise<`0x${string}`>;
|
|
1848
|
+
/**
|
|
1849
|
+
* setMetadataRenderer
|
|
1850
|
+
* nonpayable
|
|
1851
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1852
|
+
*/
|
|
1853
|
+
setMetadataRenderer(newRenderer: `0x${string}`, setupRenderer: `0x${string}`, options?: {
|
|
1854
|
+
accessList?: import('viem').AccessList;
|
|
1855
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1856
|
+
chain?: import('viem').Chain | null;
|
|
1857
|
+
dataSuffix?: `0x${string}`;
|
|
1858
|
+
gas?: bigint;
|
|
1859
|
+
gasPrice?: bigint;
|
|
1860
|
+
maxFeePerGas?: bigint;
|
|
1861
|
+
maxPriorityFeePerGas?: bigint;
|
|
1862
|
+
nonce?: number;
|
|
1863
|
+
value?: bigint;
|
|
1864
|
+
}): Promise<`0x${string}`>;
|
|
1865
|
+
/**
|
|
1866
|
+
* setOwner
|
|
1867
|
+
* nonpayable
|
|
1868
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1869
|
+
*/
|
|
1870
|
+
setOwner(newOwner: `0x${string}`, options?: {
|
|
1871
|
+
accessList?: import('viem').AccessList;
|
|
1872
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1873
|
+
chain?: import('viem').Chain | null;
|
|
1874
|
+
dataSuffix?: `0x${string}`;
|
|
1875
|
+
gas?: bigint;
|
|
1876
|
+
gasPrice?: bigint;
|
|
1877
|
+
maxFeePerGas?: bigint;
|
|
1878
|
+
maxPriorityFeePerGas?: bigint;
|
|
1879
|
+
nonce?: number;
|
|
1880
|
+
value?: bigint;
|
|
1881
|
+
}): Promise<`0x${string}`>;
|
|
1882
|
+
/**
|
|
1883
|
+
* setSaleConfiguration
|
|
1884
|
+
* nonpayable
|
|
1885
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1886
|
+
*/
|
|
1887
|
+
setSaleConfiguration(publicSalePrice: bigint, maxSalePurchasePerAddress: bigint, publicSaleStart: bigint, publicSaleEnd: bigint, presaleStart: bigint, presaleEnd: bigint, presaleMerkleRoot: `0x${string}`, options?: {
|
|
1888
|
+
accessList?: import('viem').AccessList;
|
|
1889
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1890
|
+
chain?: import('viem').Chain | null;
|
|
1891
|
+
dataSuffix?: `0x${string}`;
|
|
1892
|
+
gas?: bigint;
|
|
1893
|
+
gasPrice?: bigint;
|
|
1894
|
+
maxFeePerGas?: bigint;
|
|
1895
|
+
maxPriorityFeePerGas?: bigint;
|
|
1896
|
+
nonce?: number;
|
|
1897
|
+
value?: bigint;
|
|
1898
|
+
}): Promise<`0x${string}`>;
|
|
1899
|
+
/**
|
|
1900
|
+
* transferFrom
|
|
1901
|
+
* nonpayable
|
|
1902
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1903
|
+
*/
|
|
1904
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1905
|
+
accessList?: import('viem').AccessList;
|
|
1906
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1907
|
+
chain?: import('viem').Chain | null;
|
|
1908
|
+
dataSuffix?: `0x${string}`;
|
|
1909
|
+
gas?: bigint;
|
|
1910
|
+
gasPrice?: bigint;
|
|
1911
|
+
maxFeePerGas?: bigint;
|
|
1912
|
+
maxPriorityFeePerGas?: bigint;
|
|
1913
|
+
nonce?: number;
|
|
1914
|
+
value?: bigint;
|
|
1915
|
+
}): Promise<`0x${string}`>;
|
|
1916
|
+
/**
|
|
1917
|
+
* updateMarketFilterSettings
|
|
1918
|
+
* nonpayable
|
|
1919
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1920
|
+
*/
|
|
1921
|
+
updateMarketFilterSettings(args: `0x${string}`, options?: {
|
|
1922
|
+
accessList?: import('viem').AccessList;
|
|
1923
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1924
|
+
chain?: import('viem').Chain | null;
|
|
1925
|
+
dataSuffix?: `0x${string}`;
|
|
1926
|
+
gas?: bigint;
|
|
1927
|
+
gasPrice?: bigint;
|
|
1928
|
+
maxFeePerGas?: bigint;
|
|
1929
|
+
maxPriorityFeePerGas?: bigint;
|
|
1930
|
+
nonce?: number;
|
|
1931
|
+
value?: bigint;
|
|
1932
|
+
}): Promise<`0x${string}`>;
|
|
1933
|
+
/**
|
|
1934
|
+
* upgradeTo
|
|
1935
|
+
* nonpayable
|
|
1936
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1937
|
+
*/
|
|
1938
|
+
upgradeTo(newImplementation: `0x${string}`, options?: {
|
|
1939
|
+
accessList?: import('viem').AccessList;
|
|
1940
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1941
|
+
chain?: import('viem').Chain | null;
|
|
1942
|
+
dataSuffix?: `0x${string}`;
|
|
1943
|
+
gas?: bigint;
|
|
1944
|
+
gasPrice?: bigint;
|
|
1945
|
+
maxFeePerGas?: bigint;
|
|
1946
|
+
maxPriorityFeePerGas?: bigint;
|
|
1947
|
+
nonce?: number;
|
|
1948
|
+
value?: bigint;
|
|
1949
|
+
}): Promise<`0x${string}`>;
|
|
1950
|
+
/**
|
|
1951
|
+
* upgradeToAndCall
|
|
1952
|
+
* payable
|
|
1953
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1954
|
+
*/
|
|
1955
|
+
upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
|
|
1956
|
+
accessList?: import('viem').AccessList;
|
|
1957
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1958
|
+
chain?: import('viem').Chain | null;
|
|
1959
|
+
dataSuffix?: `0x${string}`;
|
|
1960
|
+
gas?: bigint;
|
|
1961
|
+
gasPrice?: bigint;
|
|
1962
|
+
maxFeePerGas?: bigint;
|
|
1963
|
+
maxPriorityFeePerGas?: bigint;
|
|
1964
|
+
nonce?: number;
|
|
1965
|
+
value?: bigint;
|
|
1966
|
+
}): Promise<`0x${string}`>;
|
|
1967
|
+
/**
|
|
1968
|
+
* withdraw
|
|
1969
|
+
* nonpayable
|
|
1970
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1971
|
+
*/
|
|
1972
|
+
withdraw(options?: {
|
|
1973
|
+
accessList?: import('viem').AccessList;
|
|
1974
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1975
|
+
chain?: import('viem').Chain | null;
|
|
1976
|
+
dataSuffix?: `0x${string}`;
|
|
1977
|
+
gas?: bigint;
|
|
1978
|
+
gasPrice?: bigint;
|
|
1979
|
+
maxFeePerGas?: bigint;
|
|
1980
|
+
maxPriorityFeePerGas?: bigint;
|
|
1981
|
+
nonce?: number;
|
|
1982
|
+
value?: bigint;
|
|
1983
|
+
}): Promise<`0x${string}`>;
|
|
1984
|
+
/**
|
|
1985
|
+
* zoraFeeForAmount
|
|
1986
|
+
* nonpayable
|
|
1987
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1988
|
+
*/
|
|
1989
|
+
zoraFeeForAmount(amount: bigint, options?: {
|
|
1990
|
+
accessList?: import('viem').AccessList;
|
|
1991
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1992
|
+
chain?: import('viem').Chain | null;
|
|
1993
|
+
dataSuffix?: `0x${string}`;
|
|
1994
|
+
gas?: bigint;
|
|
1995
|
+
gasPrice?: bigint;
|
|
1996
|
+
maxFeePerGas?: bigint;
|
|
1997
|
+
maxPriorityFeePerGas?: bigint;
|
|
1998
|
+
nonce?: number;
|
|
1999
|
+
value?: bigint;
|
|
2000
|
+
}): Promise<`0x${string}`>;
|
|
2001
|
+
/**
|
|
2002
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
2003
|
+
*
|
|
2004
|
+
* @example
|
|
2005
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
2006
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
2007
|
+
* console.log('Would succeed:', result.result);
|
|
2008
|
+
*/
|
|
2009
|
+
get simulate(): {
|
|
2010
|
+
/**
|
|
2011
|
+
* Simulate adminMint
|
|
2012
|
+
* Returns gas estimate and result without sending transaction
|
|
2013
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2014
|
+
*/
|
|
2015
|
+
adminMint(recipient: `0x${string}`, quantity: bigint, options?: {
|
|
2016
|
+
accessList?: import("viem").AccessList;
|
|
2017
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2018
|
+
chain?: import("viem").Chain | null;
|
|
2019
|
+
dataSuffix?: `0x${string}`;
|
|
2020
|
+
gas?: bigint;
|
|
2021
|
+
gasPrice?: bigint;
|
|
2022
|
+
maxFeePerGas?: bigint;
|
|
2023
|
+
maxPriorityFeePerGas?: bigint;
|
|
2024
|
+
nonce?: number;
|
|
2025
|
+
value?: bigint;
|
|
2026
|
+
}): Promise<bigint>;
|
|
2027
|
+
/**
|
|
2028
|
+
* Simulate adminMintAirdrop
|
|
2029
|
+
* Returns gas estimate and result without sending transaction
|
|
2030
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2031
|
+
*/
|
|
2032
|
+
adminMintAirdrop(recipients: `0x${string}`[], options?: {
|
|
2033
|
+
accessList?: import("viem").AccessList;
|
|
2034
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2035
|
+
chain?: import("viem").Chain | null;
|
|
2036
|
+
dataSuffix?: `0x${string}`;
|
|
2037
|
+
gas?: bigint;
|
|
2038
|
+
gasPrice?: bigint;
|
|
2039
|
+
maxFeePerGas?: bigint;
|
|
2040
|
+
maxPriorityFeePerGas?: bigint;
|
|
2041
|
+
nonce?: number;
|
|
2042
|
+
value?: bigint;
|
|
2043
|
+
}): Promise<bigint>;
|
|
2044
|
+
/**
|
|
2045
|
+
* Simulate approve
|
|
2046
|
+
* Returns gas estimate and result without sending transaction
|
|
2047
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2048
|
+
*/
|
|
2049
|
+
approve(to: `0x${string}`, tokenId: bigint, options?: {
|
|
2050
|
+
accessList?: import("viem").AccessList;
|
|
2051
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2052
|
+
chain?: import("viem").Chain | null;
|
|
2053
|
+
dataSuffix?: `0x${string}`;
|
|
2054
|
+
gas?: bigint;
|
|
2055
|
+
gasPrice?: bigint;
|
|
2056
|
+
maxFeePerGas?: bigint;
|
|
2057
|
+
maxPriorityFeePerGas?: bigint;
|
|
2058
|
+
nonce?: number;
|
|
2059
|
+
value?: bigint;
|
|
2060
|
+
}): Promise<void>;
|
|
2061
|
+
/**
|
|
2062
|
+
* Simulate burn
|
|
2063
|
+
* Returns gas estimate and result without sending transaction
|
|
2064
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2065
|
+
*/
|
|
2066
|
+
burn(tokenId: bigint, options?: {
|
|
2067
|
+
accessList?: import("viem").AccessList;
|
|
2068
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2069
|
+
chain?: import("viem").Chain | null;
|
|
2070
|
+
dataSuffix?: `0x${string}`;
|
|
2071
|
+
gas?: bigint;
|
|
2072
|
+
gasPrice?: bigint;
|
|
2073
|
+
maxFeePerGas?: bigint;
|
|
2074
|
+
maxPriorityFeePerGas?: bigint;
|
|
2075
|
+
nonce?: number;
|
|
2076
|
+
value?: bigint;
|
|
2077
|
+
}): Promise<void>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Simulate finalizeOpenEdition
|
|
2080
|
+
* Returns gas estimate and result without sending transaction
|
|
2081
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2082
|
+
*/
|
|
2083
|
+
finalizeOpenEdition(options?: {
|
|
2084
|
+
accessList?: import("viem").AccessList;
|
|
2085
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2086
|
+
chain?: import("viem").Chain | null;
|
|
2087
|
+
dataSuffix?: `0x${string}`;
|
|
2088
|
+
gas?: bigint;
|
|
2089
|
+
gasPrice?: bigint;
|
|
2090
|
+
maxFeePerGas?: bigint;
|
|
2091
|
+
maxPriorityFeePerGas?: bigint;
|
|
2092
|
+
nonce?: number;
|
|
2093
|
+
value?: bigint;
|
|
2094
|
+
}): Promise<void>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Simulate grantRole
|
|
2097
|
+
* Returns gas estimate and result without sending transaction
|
|
2098
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2099
|
+
*/
|
|
2100
|
+
grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2101
|
+
accessList?: import("viem").AccessList;
|
|
2102
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2103
|
+
chain?: import("viem").Chain | null;
|
|
2104
|
+
dataSuffix?: `0x${string}`;
|
|
2105
|
+
gas?: bigint;
|
|
2106
|
+
gasPrice?: bigint;
|
|
2107
|
+
maxFeePerGas?: bigint;
|
|
2108
|
+
maxPriorityFeePerGas?: bigint;
|
|
2109
|
+
nonce?: number;
|
|
2110
|
+
value?: bigint;
|
|
2111
|
+
}): Promise<void>;
|
|
2112
|
+
/**
|
|
2113
|
+
* Simulate initialize
|
|
2114
|
+
* Returns gas estimate and result without sending transaction
|
|
2115
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2116
|
+
*/
|
|
2117
|
+
initialize(_contractName: string, _contractSymbol: string, _initialOwner: `0x${string}`, _fundsRecipient: `0x${string}`, _editionSize: bigint, _royaltyBPS: bigint, _salesConfig: IERC721Drop_SalesConfiguration, _metadataRenderer: `0x${string}`, _metadataRendererInit: `0x${string}`, options?: {
|
|
2118
|
+
accessList?: import("viem").AccessList;
|
|
2119
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2120
|
+
chain?: import("viem").Chain | null;
|
|
2121
|
+
dataSuffix?: `0x${string}`;
|
|
2122
|
+
gas?: bigint;
|
|
2123
|
+
gasPrice?: bigint;
|
|
2124
|
+
maxFeePerGas?: bigint;
|
|
2125
|
+
maxPriorityFeePerGas?: bigint;
|
|
2126
|
+
nonce?: number;
|
|
2127
|
+
value?: bigint;
|
|
2128
|
+
}): Promise<void>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Simulate manageMarketFilterDAOSubscription
|
|
2131
|
+
* Returns gas estimate and result without sending transaction
|
|
2132
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2133
|
+
*/
|
|
2134
|
+
manageMarketFilterDAOSubscription(enable: boolean, options?: {
|
|
2135
|
+
accessList?: import("viem").AccessList;
|
|
2136
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2137
|
+
chain?: import("viem").Chain | null;
|
|
2138
|
+
dataSuffix?: `0x${string}`;
|
|
2139
|
+
gas?: bigint;
|
|
2140
|
+
gasPrice?: bigint;
|
|
2141
|
+
maxFeePerGas?: bigint;
|
|
2142
|
+
maxPriorityFeePerGas?: bigint;
|
|
2143
|
+
nonce?: number;
|
|
2144
|
+
value?: bigint;
|
|
2145
|
+
}): Promise<void>;
|
|
2146
|
+
/**
|
|
2147
|
+
* Simulate purchase
|
|
2148
|
+
* Returns gas estimate and result without sending transaction
|
|
2149
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2150
|
+
*/
|
|
2151
|
+
purchase(quantity: bigint, options?: {
|
|
2152
|
+
accessList?: import("viem").AccessList;
|
|
2153
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2154
|
+
chain?: import("viem").Chain | null;
|
|
2155
|
+
dataSuffix?: `0x${string}`;
|
|
2156
|
+
gas?: bigint;
|
|
2157
|
+
gasPrice?: bigint;
|
|
2158
|
+
maxFeePerGas?: bigint;
|
|
2159
|
+
maxPriorityFeePerGas?: bigint;
|
|
2160
|
+
nonce?: number;
|
|
2161
|
+
value?: bigint;
|
|
2162
|
+
}): Promise<bigint>;
|
|
2163
|
+
/**
|
|
2164
|
+
* Simulate purchasePresale
|
|
2165
|
+
* Returns gas estimate and result without sending transaction
|
|
2166
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2167
|
+
*/
|
|
2168
|
+
purchasePresale(quantity: bigint, maxQuantity: bigint, pricePerToken: bigint, merkleProof: `0x${string}`[], options?: {
|
|
2169
|
+
accessList?: import("viem").AccessList;
|
|
2170
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2171
|
+
chain?: import("viem").Chain | null;
|
|
2172
|
+
dataSuffix?: `0x${string}`;
|
|
2173
|
+
gas?: bigint;
|
|
2174
|
+
gasPrice?: bigint;
|
|
2175
|
+
maxFeePerGas?: bigint;
|
|
2176
|
+
maxPriorityFeePerGas?: bigint;
|
|
2177
|
+
nonce?: number;
|
|
2178
|
+
value?: bigint;
|
|
2179
|
+
}): Promise<bigint>;
|
|
2180
|
+
/**
|
|
2181
|
+
* Simulate renounceRole
|
|
2182
|
+
* Returns gas estimate and result without sending transaction
|
|
2183
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2184
|
+
*/
|
|
2185
|
+
renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2186
|
+
accessList?: import("viem").AccessList;
|
|
2187
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2188
|
+
chain?: import("viem").Chain | null;
|
|
2189
|
+
dataSuffix?: `0x${string}`;
|
|
2190
|
+
gas?: bigint;
|
|
2191
|
+
gasPrice?: bigint;
|
|
2192
|
+
maxFeePerGas?: bigint;
|
|
2193
|
+
maxPriorityFeePerGas?: bigint;
|
|
2194
|
+
nonce?: number;
|
|
2195
|
+
value?: bigint;
|
|
2196
|
+
}): Promise<void>;
|
|
2197
|
+
/**
|
|
2198
|
+
* Simulate revokeRole
|
|
2199
|
+
* Returns gas estimate and result without sending transaction
|
|
2200
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2201
|
+
*/
|
|
2202
|
+
revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2203
|
+
accessList?: import("viem").AccessList;
|
|
2204
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2205
|
+
chain?: import("viem").Chain | null;
|
|
2206
|
+
dataSuffix?: `0x${string}`;
|
|
2207
|
+
gas?: bigint;
|
|
2208
|
+
gasPrice?: bigint;
|
|
2209
|
+
maxFeePerGas?: bigint;
|
|
2210
|
+
maxPriorityFeePerGas?: bigint;
|
|
2211
|
+
nonce?: number;
|
|
2212
|
+
value?: bigint;
|
|
2213
|
+
}): Promise<void>;
|
|
2214
|
+
/**
|
|
2215
|
+
* Simulate safeTransferFrom
|
|
2216
|
+
* Returns gas estimate and result without sending transaction
|
|
2217
|
+
* Supports multiple overloads: (address, address, uint256), (address, address, uint256, bytes)
|
|
2218
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2219
|
+
*/
|
|
2220
|
+
safeTransferFrom(...args: any[]): Promise<any>;
|
|
2221
|
+
/**
|
|
2222
|
+
* Simulate setApprovalForAll
|
|
2223
|
+
* Returns gas estimate and result without sending transaction
|
|
2224
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2225
|
+
*/
|
|
2226
|
+
setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
|
|
2227
|
+
accessList?: import("viem").AccessList;
|
|
2228
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2229
|
+
chain?: import("viem").Chain | null;
|
|
2230
|
+
dataSuffix?: `0x${string}`;
|
|
2231
|
+
gas?: bigint;
|
|
2232
|
+
gasPrice?: bigint;
|
|
2233
|
+
maxFeePerGas?: bigint;
|
|
2234
|
+
maxPriorityFeePerGas?: bigint;
|
|
2235
|
+
nonce?: number;
|
|
2236
|
+
value?: bigint;
|
|
2237
|
+
}): Promise<void>;
|
|
2238
|
+
/**
|
|
2239
|
+
* Simulate setFundsRecipient
|
|
2240
|
+
* Returns gas estimate and result without sending transaction
|
|
2241
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2242
|
+
*/
|
|
2243
|
+
setFundsRecipient(newRecipientAddress: `0x${string}`, options?: {
|
|
2244
|
+
accessList?: import("viem").AccessList;
|
|
2245
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2246
|
+
chain?: import("viem").Chain | null;
|
|
2247
|
+
dataSuffix?: `0x${string}`;
|
|
2248
|
+
gas?: bigint;
|
|
2249
|
+
gasPrice?: bigint;
|
|
2250
|
+
maxFeePerGas?: bigint;
|
|
2251
|
+
maxPriorityFeePerGas?: bigint;
|
|
2252
|
+
nonce?: number;
|
|
2253
|
+
value?: bigint;
|
|
2254
|
+
}): Promise<void>;
|
|
2255
|
+
/**
|
|
2256
|
+
* Simulate setMetadataRenderer
|
|
2257
|
+
* Returns gas estimate and result without sending transaction
|
|
2258
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2259
|
+
*/
|
|
2260
|
+
setMetadataRenderer(newRenderer: `0x${string}`, setupRenderer: `0x${string}`, options?: {
|
|
2261
|
+
accessList?: import("viem").AccessList;
|
|
2262
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2263
|
+
chain?: import("viem").Chain | null;
|
|
2264
|
+
dataSuffix?: `0x${string}`;
|
|
2265
|
+
gas?: bigint;
|
|
2266
|
+
gasPrice?: bigint;
|
|
2267
|
+
maxFeePerGas?: bigint;
|
|
2268
|
+
maxPriorityFeePerGas?: bigint;
|
|
2269
|
+
nonce?: number;
|
|
2270
|
+
value?: bigint;
|
|
2271
|
+
}): Promise<void>;
|
|
2272
|
+
/**
|
|
2273
|
+
* Simulate setOwner
|
|
2274
|
+
* Returns gas estimate and result without sending transaction
|
|
2275
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2276
|
+
*/
|
|
2277
|
+
setOwner(newOwner: `0x${string}`, options?: {
|
|
2278
|
+
accessList?: import("viem").AccessList;
|
|
2279
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2280
|
+
chain?: import("viem").Chain | null;
|
|
2281
|
+
dataSuffix?: `0x${string}`;
|
|
2282
|
+
gas?: bigint;
|
|
2283
|
+
gasPrice?: bigint;
|
|
2284
|
+
maxFeePerGas?: bigint;
|
|
2285
|
+
maxPriorityFeePerGas?: bigint;
|
|
2286
|
+
nonce?: number;
|
|
2287
|
+
value?: bigint;
|
|
2288
|
+
}): Promise<void>;
|
|
2289
|
+
/**
|
|
2290
|
+
* Simulate setSaleConfiguration
|
|
2291
|
+
* Returns gas estimate and result without sending transaction
|
|
2292
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2293
|
+
*/
|
|
2294
|
+
setSaleConfiguration(publicSalePrice: bigint, maxSalePurchasePerAddress: bigint, publicSaleStart: bigint, publicSaleEnd: bigint, presaleStart: bigint, presaleEnd: bigint, presaleMerkleRoot: `0x${string}`, options?: {
|
|
2295
|
+
accessList?: import("viem").AccessList;
|
|
2296
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2297
|
+
chain?: import("viem").Chain | null;
|
|
2298
|
+
dataSuffix?: `0x${string}`;
|
|
2299
|
+
gas?: bigint;
|
|
2300
|
+
gasPrice?: bigint;
|
|
2301
|
+
maxFeePerGas?: bigint;
|
|
2302
|
+
maxPriorityFeePerGas?: bigint;
|
|
2303
|
+
nonce?: number;
|
|
2304
|
+
value?: bigint;
|
|
2305
|
+
}): Promise<void>;
|
|
2306
|
+
/**
|
|
2307
|
+
* Simulate transferFrom
|
|
2308
|
+
* Returns gas estimate and result without sending transaction
|
|
2309
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2310
|
+
*/
|
|
2311
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
2312
|
+
accessList?: import("viem").AccessList;
|
|
2313
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2314
|
+
chain?: import("viem").Chain | null;
|
|
2315
|
+
dataSuffix?: `0x${string}`;
|
|
2316
|
+
gas?: bigint;
|
|
2317
|
+
gasPrice?: bigint;
|
|
2318
|
+
maxFeePerGas?: bigint;
|
|
2319
|
+
maxPriorityFeePerGas?: bigint;
|
|
2320
|
+
nonce?: number;
|
|
2321
|
+
value?: bigint;
|
|
2322
|
+
}): Promise<void>;
|
|
2323
|
+
/**
|
|
2324
|
+
* Simulate updateMarketFilterSettings
|
|
2325
|
+
* Returns gas estimate and result without sending transaction
|
|
2326
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2327
|
+
*/
|
|
2328
|
+
updateMarketFilterSettings(args: `0x${string}`, options?: {
|
|
2329
|
+
accessList?: import("viem").AccessList;
|
|
2330
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2331
|
+
chain?: import("viem").Chain | null;
|
|
2332
|
+
dataSuffix?: `0x${string}`;
|
|
2333
|
+
gas?: bigint;
|
|
2334
|
+
gasPrice?: bigint;
|
|
2335
|
+
maxFeePerGas?: bigint;
|
|
2336
|
+
maxPriorityFeePerGas?: bigint;
|
|
2337
|
+
nonce?: number;
|
|
2338
|
+
value?: bigint;
|
|
2339
|
+
}): Promise<`0x${string}`>;
|
|
2340
|
+
/**
|
|
2341
|
+
* Simulate upgradeTo
|
|
2342
|
+
* Returns gas estimate and result without sending transaction
|
|
2343
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2344
|
+
*/
|
|
2345
|
+
upgradeTo(newImplementation: `0x${string}`, options?: {
|
|
2346
|
+
accessList?: import("viem").AccessList;
|
|
2347
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2348
|
+
chain?: import("viem").Chain | null;
|
|
2349
|
+
dataSuffix?: `0x${string}`;
|
|
2350
|
+
gas?: bigint;
|
|
2351
|
+
gasPrice?: bigint;
|
|
2352
|
+
maxFeePerGas?: bigint;
|
|
2353
|
+
maxPriorityFeePerGas?: bigint;
|
|
2354
|
+
nonce?: number;
|
|
2355
|
+
value?: bigint;
|
|
2356
|
+
}): Promise<void>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Simulate upgradeToAndCall
|
|
2359
|
+
* Returns gas estimate and result without sending transaction
|
|
2360
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2361
|
+
*/
|
|
2362
|
+
upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
|
|
2363
|
+
accessList?: import("viem").AccessList;
|
|
2364
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2365
|
+
chain?: import("viem").Chain | null;
|
|
2366
|
+
dataSuffix?: `0x${string}`;
|
|
2367
|
+
gas?: bigint;
|
|
2368
|
+
gasPrice?: bigint;
|
|
2369
|
+
maxFeePerGas?: bigint;
|
|
2370
|
+
maxPriorityFeePerGas?: bigint;
|
|
2371
|
+
nonce?: number;
|
|
2372
|
+
value?: bigint;
|
|
2373
|
+
}): Promise<void>;
|
|
2374
|
+
/**
|
|
2375
|
+
* Simulate withdraw
|
|
2376
|
+
* Returns gas estimate and result without sending transaction
|
|
2377
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2378
|
+
*/
|
|
2379
|
+
withdraw(options?: {
|
|
2380
|
+
accessList?: import("viem").AccessList;
|
|
2381
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2382
|
+
chain?: import("viem").Chain | null;
|
|
2383
|
+
dataSuffix?: `0x${string}`;
|
|
2384
|
+
gas?: bigint;
|
|
2385
|
+
gasPrice?: bigint;
|
|
2386
|
+
maxFeePerGas?: bigint;
|
|
2387
|
+
maxPriorityFeePerGas?: bigint;
|
|
2388
|
+
nonce?: number;
|
|
2389
|
+
value?: bigint;
|
|
2390
|
+
}): Promise<void>;
|
|
2391
|
+
/**
|
|
2392
|
+
* Simulate zoraFeeForAmount
|
|
2393
|
+
* Returns gas estimate and result without sending transaction
|
|
2394
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2395
|
+
*/
|
|
2396
|
+
zoraFeeForAmount(amount: bigint, options?: {
|
|
2397
|
+
accessList?: import("viem").AccessList;
|
|
2398
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2399
|
+
chain?: import("viem").Chain | null;
|
|
2400
|
+
dataSuffix?: `0x${string}`;
|
|
2401
|
+
gas?: bigint;
|
|
2402
|
+
gasPrice?: bigint;
|
|
2403
|
+
maxFeePerGas?: bigint;
|
|
2404
|
+
maxPriorityFeePerGas?: bigint;
|
|
2405
|
+
nonce?: number;
|
|
2406
|
+
value?: bigint;
|
|
2407
|
+
}): Promise<[`0x${string}`, bigint]>;
|
|
2408
|
+
};
|
|
2409
|
+
/**
|
|
2410
|
+
* Watch contract events
|
|
2411
|
+
*
|
|
2412
|
+
* @example
|
|
2413
|
+
* // Watch all Transfer events
|
|
2414
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2415
|
+
* console.log('Transfer:', event);
|
|
2416
|
+
* });
|
|
2417
|
+
*
|
|
2418
|
+
* // Stop watching
|
|
2419
|
+
* unwatch();
|
|
2420
|
+
*/
|
|
2421
|
+
get watch(): {
|
|
2422
|
+
/**
|
|
2423
|
+
* Watch AdminChanged events
|
|
2424
|
+
* @param callback Function to call when event is emitted
|
|
2425
|
+
* @param filter Optional filter for indexed parameters
|
|
2426
|
+
* @returns Unwatch function to stop listening
|
|
2427
|
+
*/
|
|
2428
|
+
AdminChanged: (callback: (event: {
|
|
2429
|
+
previousAdmin: `0x${string}`;
|
|
2430
|
+
newAdmin: `0x${string}`;
|
|
2431
|
+
}) => void) => () => void;
|
|
2432
|
+
/**
|
|
2433
|
+
* Watch Approval events
|
|
2434
|
+
* @param callback Function to call when event is emitted
|
|
2435
|
+
* @param filter Optional filter for indexed parameters
|
|
2436
|
+
* @returns Unwatch function to stop listening
|
|
2437
|
+
*/
|
|
2438
|
+
Approval: (callback: (event: {
|
|
2439
|
+
owner: `0x${string}`;
|
|
2440
|
+
approved: `0x${string}`;
|
|
2441
|
+
tokenId: bigint;
|
|
2442
|
+
}) => void, filter?: {
|
|
2443
|
+
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
2444
|
+
approved?: `0x${string}` | `0x${string}`[] | null;
|
|
2445
|
+
tokenId?: bigint | bigint[] | null;
|
|
2446
|
+
}) => () => void;
|
|
2447
|
+
/**
|
|
2448
|
+
* Watch ApprovalForAll events
|
|
2449
|
+
* @param callback Function to call when event is emitted
|
|
2450
|
+
* @param filter Optional filter for indexed parameters
|
|
2451
|
+
* @returns Unwatch function to stop listening
|
|
2452
|
+
*/
|
|
2453
|
+
ApprovalForAll: (callback: (event: {
|
|
2454
|
+
owner: `0x${string}`;
|
|
2455
|
+
operator: `0x${string}`;
|
|
2456
|
+
approved: boolean;
|
|
2457
|
+
}) => void, filter?: {
|
|
2458
|
+
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
2459
|
+
operator?: `0x${string}` | `0x${string}`[] | null;
|
|
2460
|
+
}) => () => void;
|
|
2461
|
+
/**
|
|
2462
|
+
* Watch BeaconUpgraded events
|
|
2463
|
+
* @param callback Function to call when event is emitted
|
|
2464
|
+
* @param filter Optional filter for indexed parameters
|
|
2465
|
+
* @returns Unwatch function to stop listening
|
|
2466
|
+
*/
|
|
2467
|
+
BeaconUpgraded: (callback: (event: {
|
|
2468
|
+
beacon: `0x${string}`;
|
|
2469
|
+
}) => void, filter?: {
|
|
2470
|
+
beacon?: `0x${string}` | `0x${string}`[] | null;
|
|
2471
|
+
}) => () => void;
|
|
2472
|
+
/**
|
|
2473
|
+
* Watch FundsReceived events
|
|
2474
|
+
* @param callback Function to call when event is emitted
|
|
2475
|
+
* @param filter Optional filter for indexed parameters
|
|
2476
|
+
* @returns Unwatch function to stop listening
|
|
2477
|
+
*/
|
|
2478
|
+
FundsReceived: (callback: (event: {
|
|
2479
|
+
source: `0x${string}`;
|
|
2480
|
+
amount: bigint;
|
|
2481
|
+
}) => void, filter?: {
|
|
2482
|
+
source?: `0x${string}` | `0x${string}`[] | null;
|
|
2483
|
+
}) => () => void;
|
|
2484
|
+
/**
|
|
2485
|
+
* Watch FundsRecipientChanged events
|
|
2486
|
+
* @param callback Function to call when event is emitted
|
|
2487
|
+
* @param filter Optional filter for indexed parameters
|
|
2488
|
+
* @returns Unwatch function to stop listening
|
|
2489
|
+
*/
|
|
2490
|
+
FundsRecipientChanged: (callback: (event: {
|
|
2491
|
+
newAddress: `0x${string}`;
|
|
2492
|
+
changedBy: `0x${string}`;
|
|
2493
|
+
}) => void, filter?: {
|
|
2494
|
+
newAddress?: `0x${string}` | `0x${string}`[] | null;
|
|
2495
|
+
changedBy?: `0x${string}` | `0x${string}`[] | null;
|
|
2496
|
+
}) => () => void;
|
|
2497
|
+
/**
|
|
2498
|
+
* Watch FundsWithdrawn events
|
|
2499
|
+
* @param callback Function to call when event is emitted
|
|
2500
|
+
* @param filter Optional filter for indexed parameters
|
|
2501
|
+
* @returns Unwatch function to stop listening
|
|
2502
|
+
*/
|
|
2503
|
+
FundsWithdrawn: (callback: (event: {
|
|
2504
|
+
withdrawnBy: `0x${string}`;
|
|
2505
|
+
withdrawnTo: `0x${string}`;
|
|
2506
|
+
amount: bigint;
|
|
2507
|
+
feeRecipient: `0x${string}`;
|
|
2508
|
+
feeAmount: bigint;
|
|
2509
|
+
}) => void, filter?: {
|
|
2510
|
+
withdrawnBy?: `0x${string}` | `0x${string}`[] | null;
|
|
2511
|
+
withdrawnTo?: `0x${string}` | `0x${string}`[] | null;
|
|
2512
|
+
}) => () => void;
|
|
2513
|
+
/**
|
|
2514
|
+
* Watch OpenMintFinalized events
|
|
2515
|
+
* @param callback Function to call when event is emitted
|
|
2516
|
+
* @param filter Optional filter for indexed parameters
|
|
2517
|
+
* @returns Unwatch function to stop listening
|
|
2518
|
+
*/
|
|
2519
|
+
OpenMintFinalized: (callback: (event: {
|
|
2520
|
+
sender: `0x${string}`;
|
|
2521
|
+
numberOfMints: bigint;
|
|
2522
|
+
}) => void, filter?: {
|
|
2523
|
+
sender?: `0x${string}` | `0x${string}`[] | null;
|
|
2524
|
+
}) => () => void;
|
|
2525
|
+
/**
|
|
2526
|
+
* Watch OwnerCanceled events
|
|
2527
|
+
* @param callback Function to call when event is emitted
|
|
2528
|
+
* @param filter Optional filter for indexed parameters
|
|
2529
|
+
* @returns Unwatch function to stop listening
|
|
2530
|
+
*/
|
|
2531
|
+
OwnerCanceled: (callback: (event: {
|
|
2532
|
+
previousOwner: `0x${string}`;
|
|
2533
|
+
potentialNewOwner: `0x${string}`;
|
|
2534
|
+
}) => void, filter?: {
|
|
2535
|
+
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
2536
|
+
potentialNewOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
2537
|
+
}) => () => void;
|
|
2538
|
+
/**
|
|
2539
|
+
* Watch OwnerPending events
|
|
2540
|
+
* @param callback Function to call when event is emitted
|
|
2541
|
+
* @param filter Optional filter for indexed parameters
|
|
2542
|
+
* @returns Unwatch function to stop listening
|
|
2543
|
+
*/
|
|
2544
|
+
OwnerPending: (callback: (event: {
|
|
2545
|
+
previousOwner: `0x${string}`;
|
|
2546
|
+
potentialNewOwner: `0x${string}`;
|
|
2547
|
+
}) => void, filter?: {
|
|
2548
|
+
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
2549
|
+
potentialNewOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
2550
|
+
}) => () => void;
|
|
2551
|
+
/**
|
|
2552
|
+
* Watch OwnershipTransferred events
|
|
2553
|
+
* @param callback Function to call when event is emitted
|
|
2554
|
+
* @param filter Optional filter for indexed parameters
|
|
2555
|
+
* @returns Unwatch function to stop listening
|
|
2556
|
+
*/
|
|
2557
|
+
OwnershipTransferred: (callback: (event: {
|
|
2558
|
+
previousOwner: `0x${string}`;
|
|
2559
|
+
newOwner: `0x${string}`;
|
|
2560
|
+
}) => void, filter?: {
|
|
2561
|
+
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
2562
|
+
newOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
2563
|
+
}) => () => void;
|
|
2564
|
+
/**
|
|
2565
|
+
* Watch RoleAdminChanged events
|
|
2566
|
+
* @param callback Function to call when event is emitted
|
|
2567
|
+
* @param filter Optional filter for indexed parameters
|
|
2568
|
+
* @returns Unwatch function to stop listening
|
|
2569
|
+
*/
|
|
2570
|
+
RoleAdminChanged: (callback: (event: {
|
|
2571
|
+
role: `0x${string}`;
|
|
2572
|
+
previousAdminRole: `0x${string}`;
|
|
2573
|
+
newAdminRole: `0x${string}`;
|
|
2574
|
+
}) => void, filter?: {
|
|
2575
|
+
role?: `0x${string}` | `0x${string}`[] | null;
|
|
2576
|
+
previousAdminRole?: `0x${string}` | `0x${string}`[] | null;
|
|
2577
|
+
newAdminRole?: `0x${string}` | `0x${string}`[] | null;
|
|
2578
|
+
}) => () => void;
|
|
2579
|
+
/**
|
|
2580
|
+
* Watch RoleGranted events
|
|
2581
|
+
* @param callback Function to call when event is emitted
|
|
2582
|
+
* @param filter Optional filter for indexed parameters
|
|
2583
|
+
* @returns Unwatch function to stop listening
|
|
2584
|
+
*/
|
|
2585
|
+
RoleGranted: (callback: (event: {
|
|
2586
|
+
role: `0x${string}`;
|
|
2587
|
+
account: `0x${string}`;
|
|
2588
|
+
sender: `0x${string}`;
|
|
2589
|
+
}) => void, filter?: {
|
|
2590
|
+
role?: `0x${string}` | `0x${string}`[] | null;
|
|
2591
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
2592
|
+
sender?: `0x${string}` | `0x${string}`[] | null;
|
|
2593
|
+
}) => () => void;
|
|
2594
|
+
/**
|
|
2595
|
+
* Watch RoleRevoked events
|
|
2596
|
+
* @param callback Function to call when event is emitted
|
|
2597
|
+
* @param filter Optional filter for indexed parameters
|
|
2598
|
+
* @returns Unwatch function to stop listening
|
|
2599
|
+
*/
|
|
2600
|
+
RoleRevoked: (callback: (event: {
|
|
2601
|
+
role: `0x${string}`;
|
|
2602
|
+
account: `0x${string}`;
|
|
2603
|
+
sender: `0x${string}`;
|
|
2604
|
+
}) => void, filter?: {
|
|
2605
|
+
role?: `0x${string}` | `0x${string}`[] | null;
|
|
2606
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
2607
|
+
sender?: `0x${string}` | `0x${string}`[] | null;
|
|
2608
|
+
}) => () => void;
|
|
2609
|
+
/**
|
|
2610
|
+
* Watch Sale events
|
|
2611
|
+
* @param callback Function to call when event is emitted
|
|
2612
|
+
* @param filter Optional filter for indexed parameters
|
|
2613
|
+
* @returns Unwatch function to stop listening
|
|
2614
|
+
*/
|
|
2615
|
+
Sale: (callback: (event: {
|
|
2616
|
+
to: `0x${string}`;
|
|
2617
|
+
quantity: bigint;
|
|
2618
|
+
pricePerToken: bigint;
|
|
2619
|
+
firstPurchasedTokenId: bigint;
|
|
2620
|
+
}) => void, filter?: {
|
|
2621
|
+
to?: `0x${string}` | `0x${string}`[] | null;
|
|
2622
|
+
quantity?: bigint | bigint[] | null;
|
|
2623
|
+
pricePerToken?: bigint | bigint[] | null;
|
|
2624
|
+
}) => () => void;
|
|
2625
|
+
/**
|
|
2626
|
+
* Watch SalesConfigChanged events
|
|
2627
|
+
* @param callback Function to call when event is emitted
|
|
2628
|
+
* @param filter Optional filter for indexed parameters
|
|
2629
|
+
* @returns Unwatch function to stop listening
|
|
2630
|
+
*/
|
|
2631
|
+
SalesConfigChanged: (callback: (event: {
|
|
2632
|
+
changedBy: `0x${string}`;
|
|
2633
|
+
}) => void, filter?: {
|
|
2634
|
+
changedBy?: `0x${string}` | `0x${string}`[] | null;
|
|
2635
|
+
}) => () => void;
|
|
2636
|
+
/**
|
|
2637
|
+
* Watch Transfer events
|
|
2638
|
+
* @param callback Function to call when event is emitted
|
|
2639
|
+
* @param filter Optional filter for indexed parameters
|
|
2640
|
+
* @returns Unwatch function to stop listening
|
|
2641
|
+
*/
|
|
2642
|
+
Transfer: (callback: (event: {
|
|
2643
|
+
from: `0x${string}`;
|
|
2644
|
+
to: `0x${string}`;
|
|
2645
|
+
tokenId: bigint;
|
|
2646
|
+
}) => void, filter?: {
|
|
2647
|
+
from?: `0x${string}` | `0x${string}`[] | null;
|
|
2648
|
+
to?: `0x${string}` | `0x${string}`[] | null;
|
|
2649
|
+
tokenId?: bigint | bigint[] | null;
|
|
2650
|
+
}) => () => void;
|
|
2651
|
+
/**
|
|
2652
|
+
* Watch UpdatedMetadataRenderer events
|
|
2653
|
+
* @param callback Function to call when event is emitted
|
|
2654
|
+
* @param filter Optional filter for indexed parameters
|
|
2655
|
+
* @returns Unwatch function to stop listening
|
|
2656
|
+
*/
|
|
2657
|
+
UpdatedMetadataRenderer: (callback: (event: {
|
|
2658
|
+
sender: `0x${string}`;
|
|
2659
|
+
renderer: `0x${string}`;
|
|
2660
|
+
}) => void) => () => void;
|
|
2661
|
+
/**
|
|
2662
|
+
* Watch Upgraded events
|
|
2663
|
+
* @param callback Function to call when event is emitted
|
|
2664
|
+
* @param filter Optional filter for indexed parameters
|
|
2665
|
+
* @returns Unwatch function to stop listening
|
|
2666
|
+
*/
|
|
2667
|
+
Upgraded: (callback: (event: {
|
|
2668
|
+
implementation: `0x${string}`;
|
|
2669
|
+
}) => void, filter?: {
|
|
2670
|
+
implementation?: `0x${string}` | `0x${string}`[] | null;
|
|
2671
|
+
}) => () => void;
|
|
2672
|
+
};
|
|
2673
|
+
}
|