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