@zoralabs/protocol-sdk 0.5.17 → 0.7.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.
Files changed (84) hide show
  1. package/.turbo/turbo-build.log +6 -6
  2. package/CHANGELOG.md +19 -0
  3. package/README.md +1 -416
  4. package/dist/constants.d.ts +0 -1
  5. package/dist/constants.d.ts.map +1 -1
  6. package/dist/create/1155-create-helper.d.ts +16 -55
  7. package/dist/create/1155-create-helper.d.ts.map +1 -1
  8. package/dist/create/contract-setup.d.ts +14 -0
  9. package/dist/create/contract-setup.d.ts.map +1 -0
  10. package/dist/create/token-setup.d.ts +27 -0
  11. package/dist/create/token-setup.d.ts.map +1 -0
  12. package/dist/create/types.d.ts +45 -0
  13. package/dist/create/types.d.ts.map +1 -0
  14. package/dist/index.cjs +1745 -891
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.d.ts +3 -1
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +1698 -858
  19. package/dist/index.js.map +1 -1
  20. package/dist/mint/mint-client.d.ts +48 -51
  21. package/dist/mint/mint-client.d.ts.map +1 -1
  22. package/dist/mint/mint-queries.d.ts +38 -0
  23. package/dist/mint/mint-queries.d.ts.map +1 -0
  24. package/dist/mint/mint-transactions.d.ts +20 -0
  25. package/dist/mint/mint-transactions.d.ts.map +1 -0
  26. package/dist/mint/subgraph-mint-getter.d.ts +24 -0
  27. package/dist/mint/subgraph-mint-getter.d.ts.map +1 -0
  28. package/dist/mint/subgraph-queries.d.ts +55 -0
  29. package/dist/mint/subgraph-queries.d.ts.map +1 -0
  30. package/dist/mint/types.d.ts +177 -0
  31. package/dist/mint/types.d.ts.map +1 -0
  32. package/dist/mint/utils.d.ts +2 -0
  33. package/dist/mint/utils.d.ts.map +1 -0
  34. package/dist/mints/mints-contracts.d.ts +27 -4518
  35. package/dist/mints/mints-contracts.d.ts.map +1 -1
  36. package/dist/premint/contract-types.d.ts +4 -4
  37. package/dist/premint/contract-types.d.ts.map +1 -1
  38. package/dist/premint/conversions.d.ts +15 -16
  39. package/dist/premint/conversions.d.ts.map +1 -1
  40. package/dist/premint/premint-api-client.d.ts +32 -16
  41. package/dist/premint/premint-api-client.d.ts.map +1 -1
  42. package/dist/premint/premint-client.d.ts +76 -50
  43. package/dist/premint/premint-client.d.ts.map +1 -1
  44. package/dist/premint/preminter.d.ts +20 -8
  45. package/dist/premint/preminter.d.ts.map +1 -1
  46. package/dist/sdk.d.ts +45 -0
  47. package/dist/sdk.d.ts.map +1 -0
  48. package/dist/types.d.ts +3 -0
  49. package/dist/types.d.ts.map +1 -1
  50. package/dist/utils.d.ts +24 -6869
  51. package/dist/utils.d.ts.map +1 -1
  52. package/package.json +3 -2
  53. package/src/constants.ts +0 -36
  54. package/src/create/1155-create-helper.test.ts +236 -55
  55. package/src/create/1155-create-helper.ts +141 -309
  56. package/src/create/contract-setup.ts +88 -0
  57. package/src/create/token-setup.ts +379 -0
  58. package/src/create/types.ts +57 -0
  59. package/src/index.ts +5 -1
  60. package/src/mint/mint-client.test.ts +116 -78
  61. package/src/mint/mint-client.ts +130 -234
  62. package/src/mint/mint-queries.ts +320 -0
  63. package/src/mint/mint-transactions.ts +253 -0
  64. package/src/mint/subgraph-mint-getter.ts +247 -0
  65. package/src/mint/subgraph-queries.ts +170 -0
  66. package/src/mint/types.ts +239 -0
  67. package/src/mint/utils.ts +14 -0
  68. package/src/mints/mints-contracts.test.ts +1 -1
  69. package/src/mints/mints-contracts.ts +4 -4
  70. package/src/premint/contract-types.ts +4 -4
  71. package/src/premint/conversions.ts +38 -4
  72. package/src/premint/premint-api-client.ts +92 -48
  73. package/src/premint/premint-client.test.ts +100 -84
  74. package/src/premint/premint-client.ts +186 -185
  75. package/src/premint/preminter.test.ts +4 -5
  76. package/src/premint/preminter.ts +63 -14
  77. package/src/sdk.ts +101 -0
  78. package/src/types.ts +18 -0
  79. package/src/utils.ts +54 -46
  80. package/test-integration/setup-test-contracts.ts +96 -0
  81. package/dist/mint/mint-api-client.d.ts +0 -35
  82. package/dist/mint/mint-api-client.d.ts.map +0 -1
  83. package/src/mint/mint-api-client.ts +0 -177
  84. package/test-integration/premint-client.test.ts +0 -148
@@ -20,1564 +20,7 @@ export declare const mintWithEthParams: ({ quantity, recipient, chainId, pricePe
20
20
  chainId: keyof typeof zoraMints1155Config.address;
21
21
  pricePerMint: bigint;
22
22
  account: Address | Account;
23
- }) => import("viem").SimulateContractParameters<readonly [{
24
- readonly stateMutability: "nonpayable";
25
- readonly type: "constructor";
26
- readonly inputs: readonly [{
27
- readonly name: "_premintExecutor";
28
- readonly internalType: "contract IZoraCreator1155PremintExecutorAllVersions";
29
- readonly type: "address";
30
- }];
31
- }, {
32
- readonly stateMutability: "view";
33
- readonly type: "function";
34
- readonly inputs: readonly [];
35
- readonly name: "UPGRADE_INTERFACE_VERSION";
36
- readonly outputs: readonly [{
37
- readonly name: "";
38
- readonly internalType: "string";
39
- readonly type: "string";
40
- }];
41
- }, {
42
- readonly stateMutability: "nonpayable";
43
- readonly type: "function";
44
- readonly inputs: readonly [];
45
- readonly name: "acceptOwnership";
46
- readonly outputs: readonly [];
47
- }, {
48
- readonly stateMutability: "payable";
49
- readonly type: "function";
50
- readonly inputs: readonly [{
51
- readonly name: "callFrom";
52
- readonly internalType: "address";
53
- readonly type: "address";
54
- }, {
55
- readonly name: "tokenIds";
56
- readonly internalType: "uint256[]";
57
- readonly type: "uint256[]";
58
- }, {
59
- readonly name: "quantities";
60
- readonly internalType: "uint256[]";
61
- readonly type: "uint256[]";
62
- }, {
63
- readonly name: "call";
64
- readonly internalType: "bytes";
65
- readonly type: "bytes";
66
- }];
67
- readonly name: "callWithTransferTokens";
68
- readonly outputs: readonly [{
69
- readonly name: "success";
70
- readonly internalType: "bool";
71
- readonly type: "bool";
72
- }, {
73
- readonly name: "result";
74
- readonly internalType: "bytes";
75
- readonly type: "bytes";
76
- }];
77
- }, {
78
- readonly stateMutability: "view";
79
- readonly type: "function";
80
- readonly inputs: readonly [{
81
- readonly name: "caller";
82
- readonly internalType: "address";
83
- readonly type: "address";
84
- }, {
85
- readonly name: "";
86
- readonly internalType: "address";
87
- readonly type: "address";
88
- }, {
89
- readonly name: "";
90
- readonly internalType: "bytes4";
91
- readonly type: "bytes4";
92
- }];
93
- readonly name: "canCall";
94
- readonly outputs: readonly [{
95
- readonly name: "";
96
- readonly internalType: "bool";
97
- readonly type: "bool";
98
- }];
99
- }, {
100
- readonly stateMutability: "payable";
101
- readonly type: "function";
102
- readonly inputs: readonly [{
103
- readonly name: "zoraCreator1155Contract";
104
- readonly internalType: "contract IMintWithMints";
105
- readonly type: "address";
106
- }, {
107
- readonly name: "minter";
108
- readonly internalType: "contract IMinter1155";
109
- readonly type: "address";
110
- }, {
111
- readonly name: "zoraCreator1155TokenId";
112
- readonly internalType: "uint256";
113
- readonly type: "uint256";
114
- }, {
115
- readonly name: "collectMintArguments";
116
- readonly internalType: "struct ICollectWithZoraMints.CollectMintArguments";
117
- readonly type: "tuple";
118
- readonly components: readonly [{
119
- readonly name: "mintRewardsRecipients";
120
- readonly internalType: "address[]";
121
- readonly type: "address[]";
122
- }, {
123
- readonly name: "minterArguments";
124
- readonly internalType: "bytes";
125
- readonly type: "bytes";
126
- }, {
127
- readonly name: "mintComment";
128
- readonly internalType: "string";
129
- readonly type: "string";
130
- }];
131
- }];
132
- readonly name: "collect";
133
- readonly outputs: readonly [];
134
- }, {
135
- readonly stateMutability: "payable";
136
- readonly type: "function";
137
- readonly inputs: readonly [{
138
- readonly name: "contractConfig";
139
- readonly internalType: "struct ContractWithAdditionalAdminsCreationConfig";
140
- readonly type: "tuple";
141
- readonly components: readonly [{
142
- readonly name: "contractAdmin";
143
- readonly internalType: "address";
144
- readonly type: "address";
145
- }, {
146
- readonly name: "contractURI";
147
- readonly internalType: "string";
148
- readonly type: "string";
149
- }, {
150
- readonly name: "contractName";
151
- readonly internalType: "string";
152
- readonly type: "string";
153
- }, {
154
- readonly name: "additionalAdmins";
155
- readonly internalType: "address[]";
156
- readonly type: "address[]";
157
- }];
158
- }, {
159
- readonly name: "tokenContract";
160
- readonly internalType: "address";
161
- readonly type: "address";
162
- }, {
163
- readonly name: "premintConfig";
164
- readonly internalType: "struct PremintConfigEncoded";
165
- readonly type: "tuple";
166
- readonly components: readonly [{
167
- readonly name: "uid";
168
- readonly internalType: "uint32";
169
- readonly type: "uint32";
170
- }, {
171
- readonly name: "version";
172
- readonly internalType: "uint32";
173
- readonly type: "uint32";
174
- }, {
175
- readonly name: "deleted";
176
- readonly internalType: "bool";
177
- readonly type: "bool";
178
- }, {
179
- readonly name: "tokenConfig";
180
- readonly internalType: "bytes";
181
- readonly type: "bytes";
182
- }, {
183
- readonly name: "premintConfigVersion";
184
- readonly internalType: "bytes32";
185
- readonly type: "bytes32";
186
- }];
187
- }, {
188
- readonly name: "signature";
189
- readonly internalType: "bytes";
190
- readonly type: "bytes";
191
- }, {
192
- readonly name: "mintArguments";
193
- readonly internalType: "struct MintArguments";
194
- readonly type: "tuple";
195
- readonly components: readonly [{
196
- readonly name: "mintRecipient";
197
- readonly internalType: "address";
198
- readonly type: "address";
199
- }, {
200
- readonly name: "mintComment";
201
- readonly internalType: "string";
202
- readonly type: "string";
203
- }, {
204
- readonly name: "mintRewardsRecipients";
205
- readonly internalType: "address[]";
206
- readonly type: "address[]";
207
- }];
208
- }, {
209
- readonly name: "firstMinter";
210
- readonly internalType: "address";
211
- readonly type: "address";
212
- }, {
213
- readonly name: "signerContract";
214
- readonly internalType: "address";
215
- readonly type: "address";
216
- }];
217
- readonly name: "collectPremint";
218
- readonly outputs: readonly [{
219
- readonly name: "result";
220
- readonly internalType: "struct PremintResult";
221
- readonly type: "tuple";
222
- readonly components: readonly [{
223
- readonly name: "contractAddress";
224
- readonly internalType: "address";
225
- readonly type: "address";
226
- }, {
227
- readonly name: "tokenId";
228
- readonly internalType: "uint256";
229
- readonly type: "uint256";
230
- }, {
231
- readonly name: "createdNewContract";
232
- readonly internalType: "bool";
233
- readonly type: "bool";
234
- }];
235
- }];
236
- }, {
237
- readonly stateMutability: "payable";
238
- readonly type: "function";
239
- readonly inputs: readonly [{
240
- readonly name: "contractConfig";
241
- readonly internalType: "struct ContractCreationConfig";
242
- readonly type: "tuple";
243
- readonly components: readonly [{
244
- readonly name: "contractAdmin";
245
- readonly internalType: "address";
246
- readonly type: "address";
247
- }, {
248
- readonly name: "contractURI";
249
- readonly internalType: "string";
250
- readonly type: "string";
251
- }, {
252
- readonly name: "contractName";
253
- readonly internalType: "string";
254
- readonly type: "string";
255
- }];
256
- }, {
257
- readonly name: "premintConfig";
258
- readonly internalType: "struct PremintConfigV2";
259
- readonly type: "tuple";
260
- readonly components: readonly [{
261
- readonly name: "tokenConfig";
262
- readonly internalType: "struct TokenCreationConfigV2";
263
- readonly type: "tuple";
264
- readonly components: readonly [{
265
- readonly name: "tokenURI";
266
- readonly internalType: "string";
267
- readonly type: "string";
268
- }, {
269
- readonly name: "maxSupply";
270
- readonly internalType: "uint256";
271
- readonly type: "uint256";
272
- }, {
273
- readonly name: "maxTokensPerAddress";
274
- readonly internalType: "uint64";
275
- readonly type: "uint64";
276
- }, {
277
- readonly name: "pricePerToken";
278
- readonly internalType: "uint96";
279
- readonly type: "uint96";
280
- }, {
281
- readonly name: "mintStart";
282
- readonly internalType: "uint64";
283
- readonly type: "uint64";
284
- }, {
285
- readonly name: "mintDuration";
286
- readonly internalType: "uint64";
287
- readonly type: "uint64";
288
- }, {
289
- readonly name: "royaltyBPS";
290
- readonly internalType: "uint32";
291
- readonly type: "uint32";
292
- }, {
293
- readonly name: "payoutRecipient";
294
- readonly internalType: "address";
295
- readonly type: "address";
296
- }, {
297
- readonly name: "fixedPriceMinter";
298
- readonly internalType: "address";
299
- readonly type: "address";
300
- }, {
301
- readonly name: "createReferral";
302
- readonly internalType: "address";
303
- readonly type: "address";
304
- }];
305
- }, {
306
- readonly name: "uid";
307
- readonly internalType: "uint32";
308
- readonly type: "uint32";
309
- }, {
310
- readonly name: "version";
311
- readonly internalType: "uint32";
312
- readonly type: "uint32";
313
- }, {
314
- readonly name: "deleted";
315
- readonly internalType: "bool";
316
- readonly type: "bool";
317
- }];
318
- }, {
319
- readonly name: "signature";
320
- readonly internalType: "bytes";
321
- readonly type: "bytes";
322
- }, {
323
- readonly name: "mintArguments";
324
- readonly internalType: "struct MintArguments";
325
- readonly type: "tuple";
326
- readonly components: readonly [{
327
- readonly name: "mintRecipient";
328
- readonly internalType: "address";
329
- readonly type: "address";
330
- }, {
331
- readonly name: "mintComment";
332
- readonly internalType: "string";
333
- readonly type: "string";
334
- }, {
335
- readonly name: "mintRewardsRecipients";
336
- readonly internalType: "address[]";
337
- readonly type: "address[]";
338
- }];
339
- }, {
340
- readonly name: "signerContract";
341
- readonly internalType: "address";
342
- readonly type: "address";
343
- }];
344
- readonly name: "collectPremintV2";
345
- readonly outputs: readonly [{
346
- readonly name: "result";
347
- readonly internalType: "struct PremintResult";
348
- readonly type: "tuple";
349
- readonly components: readonly [{
350
- readonly name: "contractAddress";
351
- readonly internalType: "address";
352
- readonly type: "address";
353
- }, {
354
- readonly name: "tokenId";
355
- readonly internalType: "uint256";
356
- readonly type: "uint256";
357
- }, {
358
- readonly name: "createdNewContract";
359
- readonly internalType: "bool";
360
- readonly type: "bool";
361
- }];
362
- }];
363
- }, {
364
- readonly stateMutability: "pure";
365
- readonly type: "function";
366
- readonly inputs: readonly [];
367
- readonly name: "contractName";
368
- readonly outputs: readonly [{
369
- readonly name: "";
370
- readonly internalType: "string";
371
- readonly type: "string";
372
- }];
373
- }, {
374
- readonly stateMutability: "view";
375
- readonly type: "function";
376
- readonly inputs: readonly [];
377
- readonly name: "contractURI";
378
- readonly outputs: readonly [{
379
- readonly name: "";
380
- readonly internalType: "string";
381
- readonly type: "string";
382
- }];
383
- }, {
384
- readonly stateMutability: "pure";
385
- readonly type: "function";
386
- readonly inputs: readonly [];
387
- readonly name: "contractVersion";
388
- readonly outputs: readonly [{
389
- readonly name: "";
390
- readonly internalType: "string";
391
- readonly type: "string";
392
- }];
393
- }, {
394
- readonly stateMutability: "nonpayable";
395
- readonly type: "function";
396
- readonly inputs: readonly [{
397
- readonly name: "tokenId";
398
- readonly internalType: "uint256";
399
- readonly type: "uint256";
400
- }, {
401
- readonly name: "tokenConfig";
402
- readonly internalType: "struct TokenConfig";
403
- readonly type: "tuple";
404
- readonly components: readonly [{
405
- readonly name: "price";
406
- readonly internalType: "uint256";
407
- readonly type: "uint256";
408
- }, {
409
- readonly name: "tokenAddress";
410
- readonly internalType: "address";
411
- readonly type: "address";
412
- }, {
413
- readonly name: "redeemHandler";
414
- readonly internalType: "address";
415
- readonly type: "address";
416
- }];
417
- }, {
418
- readonly name: "defaultMintable";
419
- readonly internalType: "bool";
420
- readonly type: "bool";
421
- }];
422
- readonly name: "createToken";
423
- readonly outputs: readonly [];
424
- }, {
425
- readonly stateMutability: "pure";
426
- readonly type: "function";
427
- readonly inputs: readonly [{
428
- readonly name: "minterArguments";
429
- readonly internalType: "bytes";
430
- readonly type: "bytes";
431
- }];
432
- readonly name: "decodeMintRecipientAndComment";
433
- readonly outputs: readonly [{
434
- readonly name: "mintTo";
435
- readonly internalType: "address";
436
- readonly type: "address";
437
- }, {
438
- readonly name: "mintComment";
439
- readonly internalType: "string";
440
- readonly type: "string";
441
- }];
442
- }, {
443
- readonly stateMutability: "view";
444
- readonly type: "function";
445
- readonly inputs: readonly [];
446
- readonly name: "getEthPrice";
447
- readonly outputs: readonly [{
448
- readonly name: "";
449
- readonly internalType: "uint256";
450
- readonly type: "uint256";
451
- }];
452
- }, {
453
- readonly stateMutability: "view";
454
- readonly type: "function";
455
- readonly inputs: readonly [];
456
- readonly name: "implementation";
457
- readonly outputs: readonly [{
458
- readonly name: "";
459
- readonly internalType: "address";
460
- readonly type: "address";
461
- }];
462
- }, {
463
- readonly stateMutability: "nonpayable";
464
- readonly type: "function";
465
- readonly inputs: readonly [{
466
- readonly name: "defaultOwner";
467
- readonly internalType: "address";
468
- readonly type: "address";
469
- }, {
470
- readonly name: "zoraMintsSalt";
471
- readonly internalType: "bytes32";
472
- readonly type: "bytes32";
473
- }, {
474
- readonly name: "zoraMintsCreationCode";
475
- readonly internalType: "bytes";
476
- readonly type: "bytes";
477
- }, {
478
- readonly name: "initialEthTokenId";
479
- readonly internalType: "uint256";
480
- readonly type: "uint256";
481
- }, {
482
- readonly name: "initialEthTokenPrice";
483
- readonly internalType: "uint256";
484
- readonly type: "uint256";
485
- }, {
486
- readonly name: "newBaseURI";
487
- readonly internalType: "string";
488
- readonly type: "string";
489
- }, {
490
- readonly name: "newContractURI";
491
- readonly internalType: "string";
492
- readonly type: "string";
493
- }];
494
- readonly name: "initialize";
495
- readonly outputs: readonly [{
496
- readonly name: "mints";
497
- readonly internalType: "contract IZoraMints1155";
498
- readonly type: "address";
499
- }];
500
- }, {
501
- readonly stateMutability: "nonpayable";
502
- readonly type: "function";
503
- readonly inputs: readonly [{
504
- readonly name: "tokenAddress";
505
- readonly internalType: "address";
506
- readonly type: "address";
507
- }, {
508
- readonly name: "quantity";
509
- readonly internalType: "uint256";
510
- readonly type: "uint256";
511
- }, {
512
- readonly name: "recipient";
513
- readonly internalType: "address";
514
- readonly type: "address";
515
- }];
516
- readonly name: "mintWithERC20";
517
- readonly outputs: readonly [{
518
- readonly name: "mintableTokenId";
519
- readonly internalType: "uint256";
520
- readonly type: "uint256";
521
- }];
522
- }, {
523
- readonly stateMutability: "payable";
524
- readonly type: "function";
525
- readonly inputs: readonly [{
526
- readonly name: "quantity";
527
- readonly internalType: "uint256";
528
- readonly type: "uint256";
529
- }, {
530
- readonly name: "recipient";
531
- readonly internalType: "address";
532
- readonly type: "address";
533
- }];
534
- readonly name: "mintWithEth";
535
- readonly outputs: readonly [{
536
- readonly name: "mintableTokenId";
537
- readonly internalType: "uint256";
538
- readonly type: "uint256";
539
- }];
540
- }, {
541
- readonly stateMutability: "view";
542
- readonly type: "function";
543
- readonly inputs: readonly [];
544
- readonly name: "mintableEthToken";
545
- readonly outputs: readonly [{
546
- readonly name: "";
547
- readonly internalType: "uint256";
548
- readonly type: "uint256";
549
- }];
550
- }, {
551
- readonly stateMutability: "nonpayable";
552
- readonly type: "function";
553
- readonly inputs: readonly [{
554
- readonly name: "";
555
- readonly internalType: "address";
556
- readonly type: "address";
557
- }, {
558
- readonly name: "from";
559
- readonly internalType: "address";
560
- readonly type: "address";
561
- }, {
562
- readonly name: "ids";
563
- readonly internalType: "uint256[]";
564
- readonly type: "uint256[]";
565
- }, {
566
- readonly name: "values";
567
- readonly internalType: "uint256[]";
568
- readonly type: "uint256[]";
569
- }, {
570
- readonly name: "data";
571
- readonly internalType: "bytes";
572
- readonly type: "bytes";
573
- }];
574
- readonly name: "onERC1155BatchReceived";
575
- readonly outputs: readonly [{
576
- readonly name: "";
577
- readonly internalType: "bytes4";
578
- readonly type: "bytes4";
579
- }];
580
- }, {
581
- readonly stateMutability: "nonpayable";
582
- readonly type: "function";
583
- readonly inputs: readonly [{
584
- readonly name: "";
585
- readonly internalType: "address";
586
- readonly type: "address";
587
- }, {
588
- readonly name: "from";
589
- readonly internalType: "address";
590
- readonly type: "address";
591
- }, {
592
- readonly name: "id";
593
- readonly internalType: "uint256";
594
- readonly type: "uint256";
595
- }, {
596
- readonly name: "value";
597
- readonly internalType: "uint256";
598
- readonly type: "uint256";
599
- }, {
600
- readonly name: "data";
601
- readonly internalType: "bytes";
602
- readonly type: "bytes";
603
- }];
604
- readonly name: "onERC1155Received";
605
- readonly outputs: readonly [{
606
- readonly name: "";
607
- readonly internalType: "bytes4";
608
- readonly type: "bytes4";
609
- }];
610
- }, {
611
- readonly stateMutability: "view";
612
- readonly type: "function";
613
- readonly inputs: readonly [];
614
- readonly name: "owner";
615
- readonly outputs: readonly [{
616
- readonly name: "";
617
- readonly internalType: "address";
618
- readonly type: "address";
619
- }];
620
- }, {
621
- readonly stateMutability: "view";
622
- readonly type: "function";
623
- readonly inputs: readonly [];
624
- readonly name: "pendingOwner";
625
- readonly outputs: readonly [{
626
- readonly name: "";
627
- readonly internalType: "address";
628
- readonly type: "address";
629
- }];
630
- }, {
631
- readonly stateMutability: "view";
632
- readonly type: "function";
633
- readonly inputs: readonly [];
634
- readonly name: "proxiableUUID";
635
- readonly outputs: readonly [{
636
- readonly name: "";
637
- readonly internalType: "bytes32";
638
- readonly type: "bytes32";
639
- }];
640
- }, {
641
- readonly stateMutability: "nonpayable";
642
- readonly type: "function";
643
- readonly inputs: readonly [];
644
- readonly name: "renounceOwnership";
645
- readonly outputs: readonly [];
646
- }, {
647
- readonly stateMutability: "nonpayable";
648
- readonly type: "function";
649
- readonly inputs: readonly [{
650
- readonly name: "tokenAddress";
651
- readonly internalType: "address";
652
- readonly type: "address";
653
- }, {
654
- readonly name: "tokenId";
655
- readonly internalType: "uint256";
656
- readonly type: "uint256";
657
- }];
658
- readonly name: "setDefaultMintable";
659
- readonly outputs: readonly [];
660
- }, {
661
- readonly stateMutability: "nonpayable";
662
- readonly type: "function";
663
- readonly inputs: readonly [{
664
- readonly name: "newContractURI";
665
- readonly internalType: "string";
666
- readonly type: "string";
667
- }, {
668
- readonly name: "newBaseURI";
669
- readonly internalType: "string";
670
- readonly type: "string";
671
- }, {
672
- readonly name: "tokenIdsToNotifyUpdate";
673
- readonly internalType: "uint256[]";
674
- readonly type: "uint256[]";
675
- }];
676
- readonly name: "setMetadataURIs";
677
- readonly outputs: readonly [];
678
- }, {
679
- readonly stateMutability: "nonpayable";
680
- readonly type: "function";
681
- readonly inputs: readonly [{
682
- readonly name: "newOwner";
683
- readonly internalType: "address";
684
- readonly type: "address";
685
- }];
686
- readonly name: "transferOwnership";
687
- readonly outputs: readonly [];
688
- }, {
689
- readonly stateMutability: "payable";
690
- readonly type: "function";
691
- readonly inputs: readonly [{
692
- readonly name: "newImplementation";
693
- readonly internalType: "address";
694
- readonly type: "address";
695
- }, {
696
- readonly name: "data";
697
- readonly internalType: "bytes";
698
- readonly type: "bytes";
699
- }];
700
- readonly name: "upgradeToAndCall";
701
- readonly outputs: readonly [];
702
- }, {
703
- readonly stateMutability: "view";
704
- readonly type: "function";
705
- readonly inputs: readonly [{
706
- readonly name: "tokenId";
707
- readonly internalType: "uint256";
708
- readonly type: "uint256";
709
- }];
710
- readonly name: "uri";
711
- readonly outputs: readonly [{
712
- readonly name: "";
713
- readonly internalType: "string";
714
- readonly type: "string";
715
- }];
716
- }, {
717
- readonly stateMutability: "view";
718
- readonly type: "function";
719
- readonly inputs: readonly [];
720
- readonly name: "zoraMints1155";
721
- readonly outputs: readonly [{
722
- readonly name: "";
723
- readonly internalType: "contract IZoraMints1155";
724
- readonly type: "address";
725
- }];
726
- }, {
727
- readonly type: "event";
728
- readonly anonymous: false;
729
- readonly inputs: readonly [{
730
- readonly name: "tokenIds";
731
- readonly internalType: "uint256[]";
732
- readonly type: "uint256[]";
733
- readonly indexed: true;
734
- }, {
735
- readonly name: "quantities";
736
- readonly internalType: "uint256[]";
737
- readonly type: "uint256[]";
738
- readonly indexed: false;
739
- }, {
740
- readonly name: "zoraCreator1155Contract";
741
- readonly internalType: "address";
742
- readonly type: "address";
743
- readonly indexed: true;
744
- }, {
745
- readonly name: "zoraCreator1155TokenId";
746
- readonly internalType: "uint256";
747
- readonly type: "uint256";
748
- readonly indexed: true;
749
- }];
750
- readonly name: "Collected";
751
- }, {
752
- readonly type: "event";
753
- readonly anonymous: false;
754
- readonly inputs: readonly [{
755
- readonly name: "tokenAddress";
756
- readonly internalType: "address";
757
- readonly type: "address";
758
- readonly indexed: false;
759
- }, {
760
- readonly name: "tokenId";
761
- readonly internalType: "uint256";
762
- readonly type: "uint256";
763
- readonly indexed: false;
764
- }];
765
- readonly name: "DefaultMintableTokenSet";
766
- }, {
767
- readonly type: "event";
768
- readonly anonymous: false;
769
- readonly inputs: readonly [{
770
- readonly name: "version";
771
- readonly internalType: "uint64";
772
- readonly type: "uint64";
773
- readonly indexed: false;
774
- }];
775
- readonly name: "Initialized";
776
- }, {
777
- readonly type: "event";
778
- readonly anonymous: false;
779
- readonly inputs: readonly [{
780
- readonly name: "sender";
781
- readonly internalType: "address";
782
- readonly type: "address";
783
- readonly indexed: true;
784
- }, {
785
- readonly name: "tokenContract";
786
- readonly internalType: "address";
787
- readonly type: "address";
788
- readonly indexed: true;
789
- }, {
790
- readonly name: "tokenId";
791
- readonly internalType: "uint256";
792
- readonly type: "uint256";
793
- readonly indexed: true;
794
- }, {
795
- readonly name: "quantity";
796
- readonly internalType: "uint256";
797
- readonly type: "uint256";
798
- readonly indexed: false;
799
- }, {
800
- readonly name: "comment";
801
- readonly internalType: "string";
802
- readonly type: "string";
803
- readonly indexed: false;
804
- }];
805
- readonly name: "MintComment";
806
- }, {
807
- readonly type: "event";
808
- readonly anonymous: false;
809
- readonly inputs: readonly [{
810
- readonly name: "previousOwner";
811
- readonly internalType: "address";
812
- readonly type: "address";
813
- readonly indexed: true;
814
- }, {
815
- readonly name: "newOwner";
816
- readonly internalType: "address";
817
- readonly type: "address";
818
- readonly indexed: true;
819
- }];
820
- readonly name: "OwnershipTransferStarted";
821
- }, {
822
- readonly type: "event";
823
- readonly anonymous: false;
824
- readonly inputs: readonly [{
825
- readonly name: "previousOwner";
826
- readonly internalType: "address";
827
- readonly type: "address";
828
- readonly indexed: true;
829
- }, {
830
- readonly name: "newOwner";
831
- readonly internalType: "address";
832
- readonly type: "address";
833
- readonly indexed: true;
834
- }];
835
- readonly name: "OwnershipTransferred";
836
- }, {
837
- readonly type: "event";
838
- readonly anonymous: false;
839
- readonly inputs: readonly [{
840
- readonly name: "contractURI";
841
- readonly internalType: "string";
842
- readonly type: "string";
843
- readonly indexed: false;
844
- }, {
845
- readonly name: "baseURI";
846
- readonly internalType: "string";
847
- readonly type: "string";
848
- readonly indexed: false;
849
- }];
850
- readonly name: "URIsUpdated";
851
- }, {
852
- readonly type: "event";
853
- readonly anonymous: false;
854
- readonly inputs: readonly [{
855
- readonly name: "implementation";
856
- readonly internalType: "address";
857
- readonly type: "address";
858
- readonly indexed: true;
859
- }];
860
- readonly name: "Upgraded";
861
- }, {
862
- readonly type: "error";
863
- readonly inputs: readonly [{
864
- readonly name: "target";
865
- readonly internalType: "address";
866
- readonly type: "address";
867
- }];
868
- readonly name: "AddressEmptyCode";
869
- }, {
870
- readonly type: "error";
871
- readonly inputs: readonly [{
872
- readonly name: "account";
873
- readonly internalType: "address";
874
- readonly type: "address";
875
- }];
876
- readonly name: "AddressInsufficientBalance";
877
- }, {
878
- readonly type: "error";
879
- readonly inputs: readonly [{
880
- readonly name: "lengthA";
881
- readonly internalType: "uint256";
882
- readonly type: "uint256";
883
- }, {
884
- readonly name: "lengthB";
885
- readonly internalType: "uint256";
886
- readonly type: "uint256";
887
- }];
888
- readonly name: "ArrayLengthMismatch";
889
- }, {
890
- readonly type: "error";
891
- readonly inputs: readonly [{
892
- readonly name: "operator";
893
- readonly internalType: "address";
894
- readonly type: "address";
895
- }, {
896
- readonly name: "user";
897
- readonly internalType: "address";
898
- readonly type: "address";
899
- }];
900
- readonly name: "Burn_NotOwnerOrApproved";
901
- }, {
902
- readonly type: "error";
903
- readonly inputs: readonly [{
904
- readonly name: "reason";
905
- readonly internalType: "bytes";
906
- readonly type: "bytes";
907
- }];
908
- readonly name: "CallFailed";
909
- }, {
910
- readonly type: "error";
911
- readonly inputs: readonly [];
912
- readonly name: "Call_TokenIdMismatch";
913
- }, {
914
- readonly type: "error";
915
- readonly inputs: readonly [];
916
- readonly name: "CallerNotZoraCreator1155";
917
- }, {
918
- readonly type: "error";
919
- readonly inputs: readonly [{
920
- readonly name: "tokenId";
921
- readonly internalType: "uint256";
922
- readonly type: "uint256";
923
- }, {
924
- readonly name: "quantity";
925
- readonly internalType: "uint256";
926
- readonly type: "uint256";
927
- }, {
928
- readonly name: "totalMinted";
929
- readonly internalType: "uint256";
930
- readonly type: "uint256";
931
- }, {
932
- readonly name: "maxSupply";
933
- readonly internalType: "uint256";
934
- readonly type: "uint256";
935
- }];
936
- readonly name: "CannotMintMoreTokens";
937
- }, {
938
- readonly type: "error";
939
- readonly inputs: readonly [{
940
- readonly name: "proposedAddress";
941
- readonly internalType: "address";
942
- readonly type: "address";
943
- }];
944
- readonly name: "Config_TransferHookNotSupported";
945
- }, {
946
- readonly type: "error";
947
- readonly inputs: readonly [];
948
- readonly name: "Create2EmptyBytecode";
949
- }, {
950
- readonly type: "error";
951
- readonly inputs: readonly [];
952
- readonly name: "Create2FailedDeployment";
953
- }, {
954
- readonly type: "error";
955
- readonly inputs: readonly [{
956
- readonly name: "balance";
957
- readonly internalType: "uint256";
958
- readonly type: "uint256";
959
- }, {
960
- readonly name: "needed";
961
- readonly internalType: "uint256";
962
- readonly type: "uint256";
963
- }];
964
- readonly name: "Create2InsufficientBalance";
965
- }, {
966
- readonly type: "error";
967
- readonly inputs: readonly [];
968
- readonly name: "DefaultOwnerCannotBeZero";
969
- }, {
970
- readonly type: "error";
971
- readonly inputs: readonly [];
972
- readonly name: "ERC1155BatchReceivedCallFailed";
973
- }, {
974
- readonly type: "error";
975
- readonly inputs: readonly [];
976
- readonly name: "ERC1155_MINT_TO_ZERO_ADDRESS";
977
- }, {
978
- readonly type: "error";
979
- readonly inputs: readonly [{
980
- readonly name: "implementation";
981
- readonly internalType: "address";
982
- readonly type: "address";
983
- }];
984
- readonly name: "ERC1967InvalidImplementation";
985
- }, {
986
- readonly type: "error";
987
- readonly inputs: readonly [];
988
- readonly name: "ERC1967NonPayable";
989
- }, {
990
- readonly type: "error";
991
- readonly inputs: readonly [];
992
- readonly name: "ERC20TransferSlippage";
993
- }, {
994
- readonly type: "error";
995
- readonly inputs: readonly [];
996
- readonly name: "ETHTransferFailed";
997
- }, {
998
- readonly type: "error";
999
- readonly inputs: readonly [{
1000
- readonly name: "recipient";
1001
- readonly internalType: "address";
1002
- readonly type: "address";
1003
- }, {
1004
- readonly name: "amount";
1005
- readonly internalType: "uint256";
1006
- readonly type: "uint256";
1007
- }];
1008
- readonly name: "ETHWithdrawFailed";
1009
- }, {
1010
- readonly type: "error";
1011
- readonly inputs: readonly [];
1012
- readonly name: "FailedInnerCall";
1013
- }, {
1014
- readonly type: "error";
1015
- readonly inputs: readonly [];
1016
- readonly name: "FirstMinterAddressZero";
1017
- }, {
1018
- readonly type: "error";
1019
- readonly inputs: readonly [{
1020
- readonly name: "amount";
1021
- readonly internalType: "uint256";
1022
- readonly type: "uint256";
1023
- }, {
1024
- readonly name: "contractValue";
1025
- readonly internalType: "uint256";
1026
- readonly type: "uint256";
1027
- }];
1028
- readonly name: "FundsWithdrawInsolvent";
1029
- }, {
1030
- readonly type: "error";
1031
- readonly inputs: readonly [];
1032
- readonly name: "IncorrectAmountSent";
1033
- }, {
1034
- readonly type: "error";
1035
- readonly inputs: readonly [];
1036
- readonly name: "InvalidAdminAction";
1037
- }, {
1038
- readonly type: "error";
1039
- readonly inputs: readonly [];
1040
- readonly name: "InvalidInitialization";
1041
- }, {
1042
- readonly type: "error";
1043
- readonly inputs: readonly [{
1044
- readonly name: "mintTo";
1045
- readonly internalType: "address";
1046
- readonly type: "address";
1047
- }, {
1048
- readonly name: "merkleProof";
1049
- readonly internalType: "bytes32[]";
1050
- readonly type: "bytes32[]";
1051
- }, {
1052
- readonly name: "merkleRoot";
1053
- readonly internalType: "bytes32";
1054
- readonly type: "bytes32";
1055
- }];
1056
- readonly name: "InvalidMerkleProof";
1057
- }, {
1058
- readonly type: "error";
1059
- readonly inputs: readonly [];
1060
- readonly name: "InvalidMintSchedule";
1061
- }, {
1062
- readonly type: "error";
1063
- readonly inputs: readonly [];
1064
- readonly name: "InvalidOwnerForAssociatedZoraMints";
1065
- }, {
1066
- readonly type: "error";
1067
- readonly inputs: readonly [];
1068
- readonly name: "InvalidPremintVersion";
1069
- }, {
1070
- readonly type: "error";
1071
- readonly inputs: readonly [];
1072
- readonly name: "InvalidRecipient";
1073
- }, {
1074
- readonly type: "error";
1075
- readonly inputs: readonly [];
1076
- readonly name: "InvalidSignature";
1077
- }, {
1078
- readonly type: "error";
1079
- readonly inputs: readonly [];
1080
- readonly name: "InvalidSignatureVersion";
1081
- }, {
1082
- readonly type: "error";
1083
- readonly inputs: readonly [{
1084
- readonly name: "magicValue";
1085
- readonly internalType: "bytes4";
1086
- readonly type: "bytes4";
1087
- }];
1088
- readonly name: "InvalidSigner";
1089
- }, {
1090
- readonly type: "error";
1091
- readonly inputs: readonly [];
1092
- readonly name: "InvalidTokenPrice";
1093
- }, {
1094
- readonly type: "error";
1095
- readonly inputs: readonly [];
1096
- readonly name: "MintNotYetStarted";
1097
- }, {
1098
- readonly type: "error";
1099
- readonly inputs: readonly [];
1100
- readonly name: "MintWithMintsNotSupportedOnContract";
1101
- }, {
1102
- readonly type: "error";
1103
- readonly inputs: readonly [];
1104
- readonly name: "Mint_InsolventSaleTransfer";
1105
- }, {
1106
- readonly type: "error";
1107
- readonly inputs: readonly [];
1108
- readonly name: "Mint_InvalidMintArrayLength";
1109
- }, {
1110
- readonly type: "error";
1111
- readonly inputs: readonly [];
1112
- readonly name: "Mint_TokenIDMintNotAllowed";
1113
- }, {
1114
- readonly type: "error";
1115
- readonly inputs: readonly [];
1116
- readonly name: "Mint_UnknownCommand";
1117
- }, {
1118
- readonly type: "error";
1119
- readonly inputs: readonly [];
1120
- readonly name: "Mint_ValueTransferFail";
1121
- }, {
1122
- readonly type: "error";
1123
- readonly inputs: readonly [];
1124
- readonly name: "MinterContractAlreadyExists";
1125
- }, {
1126
- readonly type: "error";
1127
- readonly inputs: readonly [];
1128
- readonly name: "MinterContractDoesNotExist";
1129
- }, {
1130
- readonly type: "error";
1131
- readonly inputs: readonly [];
1132
- readonly name: "NewOwnerNeedsToBeAdmin";
1133
- }, {
1134
- readonly type: "error";
1135
- readonly inputs: readonly [];
1136
- readonly name: "NoTokensTransferred";
1137
- }, {
1138
- readonly type: "error";
1139
- readonly inputs: readonly [];
1140
- readonly name: "NoUriForNonexistentToken";
1141
- }, {
1142
- readonly type: "error";
1143
- readonly inputs: readonly [];
1144
- readonly name: "NonEthRedemption";
1145
- }, {
1146
- readonly type: "error";
1147
- readonly inputs: readonly [{
1148
- readonly name: "handler";
1149
- readonly internalType: "address";
1150
- readonly type: "address";
1151
- }];
1152
- readonly name: "NotARedeemHandler";
1153
- }, {
1154
- readonly type: "error";
1155
- readonly inputs: readonly [];
1156
- readonly name: "NotInitializing";
1157
- }, {
1158
- readonly type: "error";
1159
- readonly inputs: readonly [];
1160
- readonly name: "NotSelfCall";
1161
- }, {
1162
- readonly type: "error";
1163
- readonly inputs: readonly [];
1164
- readonly name: "NotZoraMints1155";
1165
- }, {
1166
- readonly type: "error";
1167
- readonly inputs: readonly [];
1168
- readonly name: "OnlyTransfersFromZoraMints";
1169
- }, {
1170
- readonly type: "error";
1171
- readonly inputs: readonly [{
1172
- readonly name: "owner";
1173
- readonly internalType: "address";
1174
- readonly type: "address";
1175
- }];
1176
- readonly name: "OwnableInvalidOwner";
1177
- }, {
1178
- readonly type: "error";
1179
- readonly inputs: readonly [{
1180
- readonly name: "account";
1181
- readonly internalType: "address";
1182
- readonly type: "address";
1183
- }];
1184
- readonly name: "OwnableUnauthorizedAccount";
1185
- }, {
1186
- readonly type: "error";
1187
- readonly inputs: readonly [];
1188
- readonly name: "PremintDeleted";
1189
- }, {
1190
- readonly type: "error";
1191
- readonly inputs: readonly [];
1192
- readonly name: "PremintExecutorCannotBeZero";
1193
- }, {
1194
- readonly type: "error";
1195
- readonly inputs: readonly [{
1196
- readonly name: "caller";
1197
- readonly internalType: "address";
1198
- readonly type: "address";
1199
- }, {
1200
- readonly name: "recipient";
1201
- readonly internalType: "address";
1202
- readonly type: "address";
1203
- }, {
1204
- readonly name: "amount";
1205
- readonly internalType: "uint256";
1206
- readonly type: "uint256";
1207
- }];
1208
- readonly name: "ProtocolRewardsWithdrawFailed";
1209
- }, {
1210
- readonly type: "error";
1211
- readonly inputs: readonly [];
1212
- readonly name: "ReentrancyGuardReentrantCall";
1213
- }, {
1214
- readonly type: "error";
1215
- readonly inputs: readonly [];
1216
- readonly name: "Renderer_NotValidRendererContract";
1217
- }, {
1218
- readonly type: "error";
1219
- readonly inputs: readonly [{
1220
- readonly name: "token";
1221
- readonly internalType: "address";
1222
- readonly type: "address";
1223
- }];
1224
- readonly name: "SafeERC20FailedOperation";
1225
- }, {
1226
- readonly type: "error";
1227
- readonly inputs: readonly [];
1228
- readonly name: "SaleEnded";
1229
- }, {
1230
- readonly type: "error";
1231
- readonly inputs: readonly [];
1232
- readonly name: "SaleHasNotStarted";
1233
- }, {
1234
- readonly type: "error";
1235
- readonly inputs: readonly [{
1236
- readonly name: "targetContract";
1237
- readonly internalType: "address";
1238
- readonly type: "address";
1239
- }];
1240
- readonly name: "Sale_CannotCallNonSalesContract";
1241
- }, {
1242
- readonly type: "error";
1243
- readonly inputs: readonly [];
1244
- readonly name: "TokenAlreadyCreated";
1245
- }, {
1246
- readonly type: "error";
1247
- readonly inputs: readonly [];
1248
- readonly name: "TokenDoesNotExist";
1249
- }, {
1250
- readonly type: "error";
1251
- readonly inputs: readonly [{
1252
- readonly name: "expected";
1253
- readonly internalType: "uint256";
1254
- readonly type: "uint256";
1255
- }, {
1256
- readonly name: "actual";
1257
- readonly internalType: "uint256";
1258
- readonly type: "uint256";
1259
- }];
1260
- readonly name: "TokenIdMismatch";
1261
- }, {
1262
- readonly type: "error";
1263
- readonly inputs: readonly [{
1264
- readonly name: "storedTokenAddress";
1265
- readonly internalType: "address";
1266
- readonly type: "address";
1267
- }, {
1268
- readonly name: "expectedTokenAddress";
1269
- readonly internalType: "address";
1270
- readonly type: "address";
1271
- }];
1272
- readonly name: "TokenMismatch";
1273
- }, {
1274
- readonly type: "error";
1275
- readonly inputs: readonly [];
1276
- readonly name: "TokenNotMintable";
1277
- }, {
1278
- readonly type: "error";
1279
- readonly inputs: readonly [];
1280
- readonly name: "UUPSUnauthorizedCallContext";
1281
- }, {
1282
- readonly type: "error";
1283
- readonly inputs: readonly [{
1284
- readonly name: "slot";
1285
- readonly internalType: "bytes32";
1286
- readonly type: "bytes32";
1287
- }];
1288
- readonly name: "UUPSUnsupportedProxiableUUID";
1289
- }, {
1290
- readonly type: "error";
1291
- readonly inputs: readonly [{
1292
- readonly name: "selector";
1293
- readonly internalType: "bytes4";
1294
- readonly type: "bytes4";
1295
- }];
1296
- readonly name: "UnknownUserAction";
1297
- }, {
1298
- readonly type: "error";
1299
- readonly inputs: readonly [{
1300
- readonly name: "expected";
1301
- readonly internalType: "string";
1302
- readonly type: "string";
1303
- }, {
1304
- readonly name: "actual";
1305
- readonly internalType: "string";
1306
- readonly type: "string";
1307
- }];
1308
- readonly name: "UpgradeToMismatchedContractName";
1309
- }, {
1310
- readonly type: "error";
1311
- readonly inputs: readonly [{
1312
- readonly name: "user";
1313
- readonly internalType: "address";
1314
- readonly type: "address";
1315
- }, {
1316
- readonly name: "limit";
1317
- readonly internalType: "uint256";
1318
- readonly type: "uint256";
1319
- }, {
1320
- readonly name: "requestedAmount";
1321
- readonly internalType: "uint256";
1322
- readonly type: "uint256";
1323
- }];
1324
- readonly name: "UserExceedsMintLimit";
1325
- }, {
1326
- readonly type: "error";
1327
- readonly inputs: readonly [{
1328
- readonly name: "user";
1329
- readonly internalType: "address";
1330
- readonly type: "address";
1331
- }, {
1332
- readonly name: "tokenId";
1333
- readonly internalType: "uint256";
1334
- readonly type: "uint256";
1335
- }, {
1336
- readonly name: "role";
1337
- readonly internalType: "uint256";
1338
- readonly type: "uint256";
1339
- }];
1340
- readonly name: "UserMissingRoleForToken";
1341
- }, {
1342
- readonly type: "error";
1343
- readonly inputs: readonly [];
1344
- readonly name: "WrongValueSent";
1345
- }, {
1346
- readonly type: "error";
1347
- readonly inputs: readonly [];
1348
- readonly name: "premintSignerContractFailedToRecoverSigner";
1349
- }, {
1350
- readonly type: "error";
1351
- readonly inputs: readonly [];
1352
- readonly name: "premintSignerContractNotAContract";
1353
- }], "mintWithEth", [bigint, `0x${string}`], import("viem").Chain, import("viem").Chain | undefined, `0x${string}` | {
1354
- address: `0x${string}`;
1355
- type: "json-rpc";
1356
- experimental_signAuthMessage?: undefined;
1357
- signMessage?: undefined;
1358
- signTransaction?: undefined;
1359
- signTypedData?: undefined;
1360
- publicKey?: undefined;
1361
- source?: undefined;
1362
- } | {
1363
- address: `0x${string}`;
1364
- experimental_signAuthMessage?: ((parameters: import("viem/_types/experimental/eip3074/utils/toAuthMessage").ToAuthMessageParameters) => Promise<`0x${string}`>) | undefined;
1365
- signMessage: ({ message }: {
1366
- message: import("viem").SignableMessage;
1367
- }) => Promise<`0x${string}`>;
1368
- signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, args?: {
1369
- serializer?: serializer | undefined;
1370
- } | undefined) => Promise<import("viem/_types/types/utils").IsNarrowable<import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>>, `0x${string}`> extends true ? import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>> : `0x${string}`>;
1371
- signTypedData: <const typedData extends Record<string, unknown> | {
1372
- [x: string]: readonly import("viem").TypedDataParameter[];
1373
- [x: `string[${string}]`]: undefined;
1374
- [x: `function[${string}]`]: undefined;
1375
- [x: `address[${string}]`]: undefined;
1376
- [x: `bool[${string}]`]: undefined;
1377
- [x: `bytes[${string}]`]: undefined;
1378
- [x: `bytes21[${string}]`]: undefined;
1379
- [x: `bytes1[${string}]`]: undefined;
1380
- [x: `bytes2[${string}]`]: undefined;
1381
- [x: `bytes3[${string}]`]: undefined;
1382
- [x: `bytes4[${string}]`]: undefined;
1383
- [x: `bytes5[${string}]`]: undefined;
1384
- [x: `bytes6[${string}]`]: undefined;
1385
- [x: `bytes7[${string}]`]: undefined;
1386
- [x: `bytes8[${string}]`]: undefined;
1387
- [x: `bytes9[${string}]`]: undefined;
1388
- [x: `bytes10[${string}]`]: undefined;
1389
- [x: `bytes11[${string}]`]: undefined;
1390
- [x: `bytes12[${string}]`]: undefined;
1391
- [x: `bytes13[${string}]`]: undefined;
1392
- [x: `bytes14[${string}]`]: undefined;
1393
- [x: `bytes15[${string}]`]: undefined;
1394
- [x: `bytes16[${string}]`]: undefined;
1395
- [x: `bytes17[${string}]`]: undefined;
1396
- [x: `bytes18[${string}]`]: undefined;
1397
- [x: `bytes19[${string}]`]: undefined;
1398
- [x: `bytes20[${string}]`]: undefined;
1399
- [x: `bytes22[${string}]`]: undefined;
1400
- [x: `bytes23[${string}]`]: undefined;
1401
- [x: `bytes24[${string}]`]: undefined;
1402
- [x: `bytes25[${string}]`]: undefined;
1403
- [x: `bytes26[${string}]`]: undefined;
1404
- [x: `bytes27[${string}]`]: undefined;
1405
- [x: `bytes28[${string}]`]: undefined;
1406
- [x: `bytes29[${string}]`]: undefined;
1407
- [x: `bytes30[${string}]`]: undefined;
1408
- [x: `bytes31[${string}]`]: undefined;
1409
- [x: `bytes32[${string}]`]: undefined;
1410
- [x: `int[${string}]`]: undefined;
1411
- [x: `int8[${string}]`]: undefined;
1412
- [x: `int16[${string}]`]: undefined;
1413
- [x: `int24[${string}]`]: undefined;
1414
- [x: `int32[${string}]`]: undefined;
1415
- [x: `int40[${string}]`]: undefined;
1416
- [x: `int48[${string}]`]: undefined;
1417
- [x: `int56[${string}]`]: undefined;
1418
- [x: `int64[${string}]`]: undefined;
1419
- [x: `int72[${string}]`]: undefined;
1420
- [x: `int80[${string}]`]: undefined;
1421
- [x: `int88[${string}]`]: undefined;
1422
- [x: `int96[${string}]`]: undefined;
1423
- [x: `int104[${string}]`]: undefined;
1424
- [x: `int112[${string}]`]: undefined;
1425
- [x: `int120[${string}]`]: undefined;
1426
- [x: `int128[${string}]`]: undefined;
1427
- [x: `int136[${string}]`]: undefined;
1428
- [x: `int144[${string}]`]: undefined;
1429
- [x: `int152[${string}]`]: undefined;
1430
- [x: `int160[${string}]`]: undefined;
1431
- [x: `int168[${string}]`]: undefined;
1432
- [x: `int176[${string}]`]: undefined;
1433
- [x: `int184[${string}]`]: undefined;
1434
- [x: `int192[${string}]`]: undefined;
1435
- [x: `int200[${string}]`]: undefined;
1436
- [x: `int208[${string}]`]: undefined;
1437
- [x: `int216[${string}]`]: undefined;
1438
- [x: `int224[${string}]`]: undefined;
1439
- [x: `int232[${string}]`]: undefined;
1440
- [x: `int240[${string}]`]: undefined;
1441
- [x: `int248[${string}]`]: undefined;
1442
- [x: `int256[${string}]`]: undefined;
1443
- [x: `uint[${string}]`]: undefined;
1444
- [x: `uint8[${string}]`]: undefined;
1445
- [x: `uint16[${string}]`]: undefined;
1446
- [x: `uint24[${string}]`]: undefined;
1447
- [x: `uint32[${string}]`]: undefined;
1448
- [x: `uint40[${string}]`]: undefined;
1449
- [x: `uint48[${string}]`]: undefined;
1450
- [x: `uint56[${string}]`]: undefined;
1451
- [x: `uint64[${string}]`]: undefined;
1452
- [x: `uint72[${string}]`]: undefined;
1453
- [x: `uint80[${string}]`]: undefined;
1454
- [x: `uint88[${string}]`]: undefined;
1455
- [x: `uint96[${string}]`]: undefined;
1456
- [x: `uint104[${string}]`]: undefined;
1457
- [x: `uint112[${string}]`]: undefined;
1458
- [x: `uint120[${string}]`]: undefined;
1459
- [x: `uint128[${string}]`]: undefined;
1460
- [x: `uint136[${string}]`]: undefined;
1461
- [x: `uint144[${string}]`]: undefined;
1462
- [x: `uint152[${string}]`]: undefined;
1463
- [x: `uint160[${string}]`]: undefined;
1464
- [x: `uint168[${string}]`]: undefined;
1465
- [x: `uint176[${string}]`]: undefined;
1466
- [x: `uint184[${string}]`]: undefined;
1467
- [x: `uint192[${string}]`]: undefined;
1468
- [x: `uint200[${string}]`]: undefined;
1469
- [x: `uint208[${string}]`]: undefined;
1470
- [x: `uint216[${string}]`]: undefined;
1471
- [x: `uint224[${string}]`]: undefined;
1472
- [x: `uint232[${string}]`]: undefined;
1473
- [x: `uint240[${string}]`]: undefined;
1474
- [x: `uint248[${string}]`]: undefined;
1475
- [x: `uint256[${string}]`]: undefined;
1476
- string?: undefined;
1477
- address?: undefined;
1478
- bool?: undefined;
1479
- bytes?: undefined;
1480
- bytes21?: undefined;
1481
- bytes1?: undefined;
1482
- bytes2?: undefined;
1483
- bytes3?: undefined;
1484
- bytes4?: undefined;
1485
- bytes5?: undefined;
1486
- bytes6?: undefined;
1487
- bytes7?: undefined;
1488
- bytes8?: undefined;
1489
- bytes9?: undefined;
1490
- bytes10?: undefined;
1491
- bytes11?: undefined;
1492
- bytes12?: undefined;
1493
- bytes13?: undefined;
1494
- bytes14?: undefined;
1495
- bytes15?: undefined;
1496
- bytes16?: undefined;
1497
- bytes17?: undefined;
1498
- bytes18?: undefined;
1499
- bytes19?: undefined;
1500
- bytes20?: undefined;
1501
- bytes22?: undefined;
1502
- bytes23?: undefined;
1503
- bytes24?: undefined;
1504
- bytes25?: undefined;
1505
- bytes26?: undefined;
1506
- bytes27?: undefined;
1507
- bytes28?: undefined;
1508
- bytes29?: undefined;
1509
- bytes30?: undefined;
1510
- bytes31?: undefined;
1511
- bytes32?: undefined;
1512
- int8?: undefined;
1513
- int16?: undefined;
1514
- int24?: undefined;
1515
- int32?: undefined;
1516
- int40?: undefined;
1517
- int48?: undefined;
1518
- int56?: undefined;
1519
- int64?: undefined;
1520
- int72?: undefined;
1521
- int80?: undefined;
1522
- int88?: undefined;
1523
- int96?: undefined;
1524
- int104?: undefined;
1525
- int112?: undefined;
1526
- int120?: undefined;
1527
- int128?: undefined;
1528
- int136?: undefined;
1529
- int144?: undefined;
1530
- int152?: undefined;
1531
- int160?: undefined;
1532
- int168?: undefined;
1533
- int176?: undefined;
1534
- int184?: undefined;
1535
- int192?: undefined;
1536
- int200?: undefined;
1537
- int208?: undefined;
1538
- int216?: undefined;
1539
- int224?: undefined;
1540
- int232?: undefined;
1541
- int240?: undefined;
1542
- int248?: undefined;
1543
- int256?: undefined;
1544
- uint8?: undefined;
1545
- uint16?: undefined;
1546
- uint24?: undefined;
1547
- uint32?: undefined;
1548
- uint40?: undefined;
1549
- uint48?: undefined;
1550
- uint56?: undefined;
1551
- uint64?: undefined;
1552
- uint72?: undefined;
1553
- uint80?: undefined;
1554
- uint88?: undefined;
1555
- uint96?: undefined;
1556
- uint104?: undefined;
1557
- uint112?: undefined;
1558
- uint120?: undefined;
1559
- uint128?: undefined;
1560
- uint136?: undefined;
1561
- uint144?: undefined;
1562
- uint152?: undefined;
1563
- uint160?: undefined;
1564
- uint168?: undefined;
1565
- uint176?: undefined;
1566
- uint184?: undefined;
1567
- uint192?: undefined;
1568
- uint200?: undefined;
1569
- uint208?: undefined;
1570
- uint216?: undefined;
1571
- uint224?: undefined;
1572
- uint232?: undefined;
1573
- uint240?: undefined;
1574
- uint248?: undefined;
1575
- uint256?: undefined;
1576
- }, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(typedDataDefinition: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
1577
- publicKey: `0x${string}`;
1578
- source: string;
1579
- type: "local";
1580
- }>;
23
+ }) => import("../types").SimulateContractParametersWithAccount;
1581
24
  /**
1582
25
  * Constructs the parameters to get the total mints balance of an account on the ZoraMints1155 contract.
1583
26
  * @param account - The address of the account to check the balance of.
@@ -1613,1474 +56,7 @@ export declare function collectWithMintsParams({ tokenIds, quantities, chainId,
1613
56
  chainId: keyof typeof zoraMints1155Config.address;
1614
57
  paidMintPricePerToken?: bigint;
1615
58
  account: Address | Account;
1616
- } & CollectOnManagerParams): import("viem").SimulateContractParameters<readonly [{
1617
- readonly stateMutability: "nonpayable";
1618
- readonly type: "constructor";
1619
- readonly inputs: readonly [];
1620
- }, {
1621
- readonly stateMutability: "view";
1622
- readonly type: "function";
1623
- readonly inputs: readonly [];
1624
- readonly name: "ETH_ADDRESS";
1625
- readonly outputs: readonly [{
1626
- readonly name: "";
1627
- readonly internalType: "address";
1628
- readonly type: "address";
1629
- }];
1630
- }, {
1631
- readonly stateMutability: "view";
1632
- readonly type: "function";
1633
- readonly inputs: readonly [];
1634
- readonly name: "MINIMUM_ERC20_PRICE";
1635
- readonly outputs: readonly [{
1636
- readonly name: "";
1637
- readonly internalType: "uint256";
1638
- readonly type: "uint256";
1639
- }];
1640
- }, {
1641
- readonly stateMutability: "view";
1642
- readonly type: "function";
1643
- readonly inputs: readonly [];
1644
- readonly name: "MINIMUM_ETH_PRICE";
1645
- readonly outputs: readonly [{
1646
- readonly name: "";
1647
- readonly internalType: "uint256";
1648
- readonly type: "uint256";
1649
- }];
1650
- }, {
1651
- readonly stateMutability: "view";
1652
- readonly type: "function";
1653
- readonly inputs: readonly [];
1654
- readonly name: "NAME";
1655
- readonly outputs: readonly [{
1656
- readonly name: "";
1657
- readonly internalType: "string";
1658
- readonly type: "string";
1659
- }];
1660
- }, {
1661
- readonly stateMutability: "view";
1662
- readonly type: "function";
1663
- readonly inputs: readonly [];
1664
- readonly name: "VERSION";
1665
- readonly outputs: readonly [{
1666
- readonly name: "";
1667
- readonly internalType: "string";
1668
- readonly type: "string";
1669
- }];
1670
- }, {
1671
- readonly stateMutability: "view";
1672
- readonly type: "function";
1673
- readonly inputs: readonly [];
1674
- readonly name: "authority";
1675
- readonly outputs: readonly [{
1676
- readonly name: "";
1677
- readonly internalType: "address";
1678
- readonly type: "address";
1679
- }];
1680
- }, {
1681
- readonly stateMutability: "view";
1682
- readonly type: "function";
1683
- readonly inputs: readonly [{
1684
- readonly name: "account";
1685
- readonly internalType: "address";
1686
- readonly type: "address";
1687
- }, {
1688
- readonly name: "id";
1689
- readonly internalType: "uint256";
1690
- readonly type: "uint256";
1691
- }];
1692
- readonly name: "balanceOf";
1693
- readonly outputs: readonly [{
1694
- readonly name: "";
1695
- readonly internalType: "uint256";
1696
- readonly type: "uint256";
1697
- }];
1698
- }, {
1699
- readonly stateMutability: "view";
1700
- readonly type: "function";
1701
- readonly inputs: readonly [{
1702
- readonly name: "account";
1703
- readonly internalType: "address";
1704
- readonly type: "address";
1705
- }];
1706
- readonly name: "balanceOfAccount";
1707
- readonly outputs: readonly [{
1708
- readonly name: "";
1709
- readonly internalType: "uint256";
1710
- readonly type: "uint256";
1711
- }];
1712
- }, {
1713
- readonly stateMutability: "view";
1714
- readonly type: "function";
1715
- readonly inputs: readonly [{
1716
- readonly name: "accounts";
1717
- readonly internalType: "address[]";
1718
- readonly type: "address[]";
1719
- }, {
1720
- readonly name: "ids";
1721
- readonly internalType: "uint256[]";
1722
- readonly type: "uint256[]";
1723
- }];
1724
- readonly name: "balanceOfBatch";
1725
- readonly outputs: readonly [{
1726
- readonly name: "";
1727
- readonly internalType: "uint256[]";
1728
- readonly type: "uint256[]";
1729
- }];
1730
- }, {
1731
- readonly stateMutability: "view";
1732
- readonly type: "function";
1733
- readonly inputs: readonly [];
1734
- readonly name: "contractURI";
1735
- readonly outputs: readonly [{
1736
- readonly name: "";
1737
- readonly internalType: "string";
1738
- readonly type: "string";
1739
- }];
1740
- }, {
1741
- readonly stateMutability: "nonpayable";
1742
- readonly type: "function";
1743
- readonly inputs: readonly [{
1744
- readonly name: "tokenId";
1745
- readonly internalType: "uint256";
1746
- readonly type: "uint256";
1747
- }, {
1748
- readonly name: "tokenConfig";
1749
- readonly internalType: "struct TokenConfig";
1750
- readonly type: "tuple";
1751
- readonly components: readonly [{
1752
- readonly name: "price";
1753
- readonly internalType: "uint256";
1754
- readonly type: "uint256";
1755
- }, {
1756
- readonly name: "tokenAddress";
1757
- readonly internalType: "address";
1758
- readonly type: "address";
1759
- }, {
1760
- readonly name: "redeemHandler";
1761
- readonly internalType: "address";
1762
- readonly type: "address";
1763
- }];
1764
- }];
1765
- readonly name: "createToken";
1766
- readonly outputs: readonly [];
1767
- }, {
1768
- readonly stateMutability: "view";
1769
- readonly type: "function";
1770
- readonly inputs: readonly [];
1771
- readonly name: "eip712Domain";
1772
- readonly outputs: readonly [{
1773
- readonly name: "fields";
1774
- readonly internalType: "bytes1";
1775
- readonly type: "bytes1";
1776
- }, {
1777
- readonly name: "name";
1778
- readonly internalType: "string";
1779
- readonly type: "string";
1780
- }, {
1781
- readonly name: "version";
1782
- readonly internalType: "string";
1783
- readonly type: "string";
1784
- }, {
1785
- readonly name: "chainId";
1786
- readonly internalType: "uint256";
1787
- readonly type: "uint256";
1788
- }, {
1789
- readonly name: "verifyingContract";
1790
- readonly internalType: "address";
1791
- readonly type: "address";
1792
- }, {
1793
- readonly name: "salt";
1794
- readonly internalType: "bytes32";
1795
- readonly type: "bytes32";
1796
- }, {
1797
- readonly name: "extensions";
1798
- readonly internalType: "uint256[]";
1799
- readonly type: "uint256[]";
1800
- }];
1801
- }, {
1802
- readonly stateMutability: "view";
1803
- readonly type: "function";
1804
- readonly inputs: readonly [];
1805
- readonly name: "getManager";
1806
- readonly outputs: readonly [{
1807
- readonly name: "";
1808
- readonly internalType: "address";
1809
- readonly type: "address";
1810
- }];
1811
- }, {
1812
- readonly stateMutability: "view";
1813
- readonly type: "function";
1814
- readonly inputs: readonly [{
1815
- readonly name: "tokenId";
1816
- readonly internalType: "uint256";
1817
- readonly type: "uint256";
1818
- }];
1819
- readonly name: "getTokenConfig";
1820
- readonly outputs: readonly [{
1821
- readonly name: "";
1822
- readonly internalType: "struct TokenConfig";
1823
- readonly type: "tuple";
1824
- readonly components: readonly [{
1825
- readonly name: "price";
1826
- readonly internalType: "uint256";
1827
- readonly type: "uint256";
1828
- }, {
1829
- readonly name: "tokenAddress";
1830
- readonly internalType: "address";
1831
- readonly type: "address";
1832
- }, {
1833
- readonly name: "redeemHandler";
1834
- readonly internalType: "address";
1835
- readonly type: "address";
1836
- }];
1837
- }];
1838
- }, {
1839
- readonly stateMutability: "view";
1840
- readonly type: "function";
1841
- readonly inputs: readonly [{
1842
- readonly name: "permit";
1843
- readonly internalType: "struct IZoraMints1155Managed.PermitBatch";
1844
- readonly type: "tuple";
1845
- readonly components: readonly [{
1846
- readonly name: "owner";
1847
- readonly internalType: "address";
1848
- readonly type: "address";
1849
- }, {
1850
- readonly name: "to";
1851
- readonly internalType: "address";
1852
- readonly type: "address";
1853
- }, {
1854
- readonly name: "tokenIds";
1855
- readonly internalType: "uint256[]";
1856
- readonly type: "uint256[]";
1857
- }, {
1858
- readonly name: "quantities";
1859
- readonly internalType: "uint256[]";
1860
- readonly type: "uint256[]";
1861
- }, {
1862
- readonly name: "safeTransferData";
1863
- readonly internalType: "bytes";
1864
- readonly type: "bytes";
1865
- }, {
1866
- readonly name: "deadline";
1867
- readonly internalType: "uint256";
1868
- readonly type: "uint256";
1869
- }, {
1870
- readonly name: "nonce";
1871
- readonly internalType: "uint256";
1872
- readonly type: "uint256";
1873
- }];
1874
- }];
1875
- readonly name: "hashPermitBatch";
1876
- readonly outputs: readonly [{
1877
- readonly name: "";
1878
- readonly internalType: "bytes32";
1879
- readonly type: "bytes32";
1880
- }];
1881
- }, {
1882
- readonly stateMutability: "view";
1883
- readonly type: "function";
1884
- readonly inputs: readonly [{
1885
- readonly name: "permit";
1886
- readonly internalType: "struct IZoraMints1155Managed.PermitSingle";
1887
- readonly type: "tuple";
1888
- readonly components: readonly [{
1889
- readonly name: "owner";
1890
- readonly internalType: "address";
1891
- readonly type: "address";
1892
- }, {
1893
- readonly name: "to";
1894
- readonly internalType: "address";
1895
- readonly type: "address";
1896
- }, {
1897
- readonly name: "tokenId";
1898
- readonly internalType: "uint256";
1899
- readonly type: "uint256";
1900
- }, {
1901
- readonly name: "quantity";
1902
- readonly internalType: "uint256";
1903
- readonly type: "uint256";
1904
- }, {
1905
- readonly name: "safeTransferData";
1906
- readonly internalType: "bytes";
1907
- readonly type: "bytes";
1908
- }, {
1909
- readonly name: "deadline";
1910
- readonly internalType: "uint256";
1911
- readonly type: "uint256";
1912
- }, {
1913
- readonly name: "nonce";
1914
- readonly internalType: "uint256";
1915
- readonly type: "uint256";
1916
- }];
1917
- }];
1918
- readonly name: "hashPermitSingle";
1919
- readonly outputs: readonly [{
1920
- readonly name: "";
1921
- readonly internalType: "bytes32";
1922
- readonly type: "bytes32";
1923
- }];
1924
- }, {
1925
- readonly stateMutability: "view";
1926
- readonly type: "function";
1927
- readonly inputs: readonly [{
1928
- readonly name: "account";
1929
- readonly internalType: "address";
1930
- readonly type: "address";
1931
- }, {
1932
- readonly name: "operator";
1933
- readonly internalType: "address";
1934
- readonly type: "address";
1935
- }];
1936
- readonly name: "isApprovedForAll";
1937
- readonly outputs: readonly [{
1938
- readonly name: "";
1939
- readonly internalType: "bool";
1940
- readonly type: "bool";
1941
- }];
1942
- }, {
1943
- readonly stateMutability: "view";
1944
- readonly type: "function";
1945
- readonly inputs: readonly [];
1946
- readonly name: "isConsumingScheduledOp";
1947
- readonly outputs: readonly [{
1948
- readonly name: "";
1949
- readonly internalType: "bytes4";
1950
- readonly type: "bytes4";
1951
- }];
1952
- }, {
1953
- readonly stateMutability: "view";
1954
- readonly type: "function";
1955
- readonly inputs: readonly [{
1956
- readonly name: "permit";
1957
- readonly internalType: "struct IZoraMints1155Managed.PermitBatch";
1958
- readonly type: "tuple";
1959
- readonly components: readonly [{
1960
- readonly name: "owner";
1961
- readonly internalType: "address";
1962
- readonly type: "address";
1963
- }, {
1964
- readonly name: "to";
1965
- readonly internalType: "address";
1966
- readonly type: "address";
1967
- }, {
1968
- readonly name: "tokenIds";
1969
- readonly internalType: "uint256[]";
1970
- readonly type: "uint256[]";
1971
- }, {
1972
- readonly name: "quantities";
1973
- readonly internalType: "uint256[]";
1974
- readonly type: "uint256[]";
1975
- }, {
1976
- readonly name: "safeTransferData";
1977
- readonly internalType: "bytes";
1978
- readonly type: "bytes";
1979
- }, {
1980
- readonly name: "deadline";
1981
- readonly internalType: "uint256";
1982
- readonly type: "uint256";
1983
- }, {
1984
- readonly name: "nonce";
1985
- readonly internalType: "uint256";
1986
- readonly type: "uint256";
1987
- }];
1988
- }, {
1989
- readonly name: "signature";
1990
- readonly internalType: "bytes";
1991
- readonly type: "bytes";
1992
- }];
1993
- readonly name: "isValidSignatureTransferBatch";
1994
- readonly outputs: readonly [{
1995
- readonly name: "";
1996
- readonly internalType: "bool";
1997
- readonly type: "bool";
1998
- }];
1999
- }, {
2000
- readonly stateMutability: "view";
2001
- readonly type: "function";
2002
- readonly inputs: readonly [{
2003
- readonly name: "permit";
2004
- readonly internalType: "struct IZoraMints1155Managed.PermitSingle";
2005
- readonly type: "tuple";
2006
- readonly components: readonly [{
2007
- readonly name: "owner";
2008
- readonly internalType: "address";
2009
- readonly type: "address";
2010
- }, {
2011
- readonly name: "to";
2012
- readonly internalType: "address";
2013
- readonly type: "address";
2014
- }, {
2015
- readonly name: "tokenId";
2016
- readonly internalType: "uint256";
2017
- readonly type: "uint256";
2018
- }, {
2019
- readonly name: "quantity";
2020
- readonly internalType: "uint256";
2021
- readonly type: "uint256";
2022
- }, {
2023
- readonly name: "safeTransferData";
2024
- readonly internalType: "bytes";
2025
- readonly type: "bytes";
2026
- }, {
2027
- readonly name: "deadline";
2028
- readonly internalType: "uint256";
2029
- readonly type: "uint256";
2030
- }, {
2031
- readonly name: "nonce";
2032
- readonly internalType: "uint256";
2033
- readonly type: "uint256";
2034
- }];
2035
- }, {
2036
- readonly name: "signature";
2037
- readonly internalType: "bytes";
2038
- readonly type: "bytes";
2039
- }];
2040
- readonly name: "isValidSignatureTransferSingle";
2041
- readonly outputs: readonly [{
2042
- readonly name: "";
2043
- readonly internalType: "bool";
2044
- readonly type: "bool";
2045
- }];
2046
- }, {
2047
- readonly stateMutability: "nonpayable";
2048
- readonly type: "function";
2049
- readonly inputs: readonly [{
2050
- readonly name: "tokenId";
2051
- readonly internalType: "uint256";
2052
- readonly type: "uint256";
2053
- }, {
2054
- readonly name: "tokenAddress";
2055
- readonly internalType: "address";
2056
- readonly type: "address";
2057
- }, {
2058
- readonly name: "quantity";
2059
- readonly internalType: "uint256";
2060
- readonly type: "uint256";
2061
- }, {
2062
- readonly name: "recipient";
2063
- readonly internalType: "address";
2064
- readonly type: "address";
2065
- }, {
2066
- readonly name: "data";
2067
- readonly internalType: "bytes";
2068
- readonly type: "bytes";
2069
- }];
2070
- readonly name: "mintTokenWithERC20";
2071
- readonly outputs: readonly [];
2072
- }, {
2073
- readonly stateMutability: "payable";
2074
- readonly type: "function";
2075
- readonly inputs: readonly [{
2076
- readonly name: "tokenId";
2077
- readonly internalType: "uint256";
2078
- readonly type: "uint256";
2079
- }, {
2080
- readonly name: "quantity";
2081
- readonly internalType: "uint256";
2082
- readonly type: "uint256";
2083
- }, {
2084
- readonly name: "recipient";
2085
- readonly internalType: "address";
2086
- readonly type: "address";
2087
- }, {
2088
- readonly name: "data";
2089
- readonly internalType: "bytes";
2090
- readonly type: "bytes";
2091
- }];
2092
- readonly name: "mintTokenWithEth";
2093
- readonly outputs: readonly [];
2094
- }, {
2095
- readonly stateMutability: "pure";
2096
- readonly type: "function";
2097
- readonly inputs: readonly [];
2098
- readonly name: "name";
2099
- readonly outputs: readonly [{
2100
- readonly name: "";
2101
- readonly internalType: "string";
2102
- readonly type: "string";
2103
- }];
2104
- }, {
2105
- readonly stateMutability: "view";
2106
- readonly type: "function";
2107
- readonly inputs: readonly [{
2108
- readonly name: "owner";
2109
- readonly internalType: "address";
2110
- readonly type: "address";
2111
- }, {
2112
- readonly name: "nonce";
2113
- readonly internalType: "uint256";
2114
- readonly type: "uint256";
2115
- }];
2116
- readonly name: "nonceUsed";
2117
- readonly outputs: readonly [{
2118
- readonly name: "";
2119
- readonly internalType: "bool";
2120
- readonly type: "bool";
2121
- }];
2122
- }, {
2123
- readonly stateMutability: "nonpayable";
2124
- readonly type: "function";
2125
- readonly inputs: readonly [{
2126
- readonly name: "newContractURI";
2127
- readonly internalType: "string";
2128
- readonly type: "string";
2129
- }, {
2130
- readonly name: "newBaseURI";
2131
- readonly internalType: "string";
2132
- readonly type: "string";
2133
- }];
2134
- readonly name: "notifyURIsUpdated";
2135
- readonly outputs: readonly [];
2136
- }, {
2137
- readonly stateMutability: "nonpayable";
2138
- readonly type: "function";
2139
- readonly inputs: readonly [{
2140
- readonly name: "newUri";
2141
- readonly internalType: "string";
2142
- readonly type: "string";
2143
- }, {
2144
- readonly name: "tokenId";
2145
- readonly internalType: "uint256";
2146
- readonly type: "uint256";
2147
- }];
2148
- readonly name: "notifyUpdatedTokenURI";
2149
- readonly outputs: readonly [];
2150
- }, {
2151
- readonly stateMutability: "nonpayable";
2152
- readonly type: "function";
2153
- readonly inputs: readonly [{
2154
- readonly name: "permit";
2155
- readonly internalType: "struct IZoraMints1155Managed.PermitSingle";
2156
- readonly type: "tuple";
2157
- readonly components: readonly [{
2158
- readonly name: "owner";
2159
- readonly internalType: "address";
2160
- readonly type: "address";
2161
- }, {
2162
- readonly name: "to";
2163
- readonly internalType: "address";
2164
- readonly type: "address";
2165
- }, {
2166
- readonly name: "tokenId";
2167
- readonly internalType: "uint256";
2168
- readonly type: "uint256";
2169
- }, {
2170
- readonly name: "quantity";
2171
- readonly internalType: "uint256";
2172
- readonly type: "uint256";
2173
- }, {
2174
- readonly name: "safeTransferData";
2175
- readonly internalType: "bytes";
2176
- readonly type: "bytes";
2177
- }, {
2178
- readonly name: "deadline";
2179
- readonly internalType: "uint256";
2180
- readonly type: "uint256";
2181
- }, {
2182
- readonly name: "nonce";
2183
- readonly internalType: "uint256";
2184
- readonly type: "uint256";
2185
- }];
2186
- }, {
2187
- readonly name: "signature";
2188
- readonly internalType: "bytes";
2189
- readonly type: "bytes";
2190
- }];
2191
- readonly name: "permitSafeTransfer";
2192
- readonly outputs: readonly [];
2193
- }, {
2194
- readonly stateMutability: "nonpayable";
2195
- readonly type: "function";
2196
- readonly inputs: readonly [{
2197
- readonly name: "permit";
2198
- readonly internalType: "struct IZoraMints1155Managed.PermitBatch";
2199
- readonly type: "tuple";
2200
- readonly components: readonly [{
2201
- readonly name: "owner";
2202
- readonly internalType: "address";
2203
- readonly type: "address";
2204
- }, {
2205
- readonly name: "to";
2206
- readonly internalType: "address";
2207
- readonly type: "address";
2208
- }, {
2209
- readonly name: "tokenIds";
2210
- readonly internalType: "uint256[]";
2211
- readonly type: "uint256[]";
2212
- }, {
2213
- readonly name: "quantities";
2214
- readonly internalType: "uint256[]";
2215
- readonly type: "uint256[]";
2216
- }, {
2217
- readonly name: "safeTransferData";
2218
- readonly internalType: "bytes";
2219
- readonly type: "bytes";
2220
- }, {
2221
- readonly name: "deadline";
2222
- readonly internalType: "uint256";
2223
- readonly type: "uint256";
2224
- }, {
2225
- readonly name: "nonce";
2226
- readonly internalType: "uint256";
2227
- readonly type: "uint256";
2228
- }];
2229
- }, {
2230
- readonly name: "signature";
2231
- readonly internalType: "bytes";
2232
- readonly type: "bytes";
2233
- }];
2234
- readonly name: "permitSafeTransferBatch";
2235
- readonly outputs: readonly [];
2236
- }, {
2237
- readonly stateMutability: "nonpayable";
2238
- readonly type: "function";
2239
- readonly inputs: readonly [{
2240
- readonly name: "tokenId";
2241
- readonly internalType: "uint256";
2242
- readonly type: "uint256";
2243
- }, {
2244
- readonly name: "quantity";
2245
- readonly internalType: "uint256";
2246
- readonly type: "uint256";
2247
- }, {
2248
- readonly name: "recipient";
2249
- readonly internalType: "address";
2250
- readonly type: "address";
2251
- }];
2252
- readonly name: "redeem";
2253
- readonly outputs: readonly [{
2254
- readonly name: "";
2255
- readonly internalType: "struct Redemption";
2256
- readonly type: "tuple";
2257
- readonly components: readonly [{
2258
- readonly name: "tokenAddress";
2259
- readonly internalType: "address";
2260
- readonly type: "address";
2261
- }, {
2262
- readonly name: "valueRedeemed";
2263
- readonly internalType: "uint256";
2264
- readonly type: "uint256";
2265
- }];
2266
- }];
2267
- }, {
2268
- readonly stateMutability: "nonpayable";
2269
- readonly type: "function";
2270
- readonly inputs: readonly [{
2271
- readonly name: "tokenIds";
2272
- readonly internalType: "uint256[]";
2273
- readonly type: "uint256[]";
2274
- }, {
2275
- readonly name: "quantities";
2276
- readonly internalType: "uint256[]";
2277
- readonly type: "uint256[]";
2278
- }, {
2279
- readonly name: "recipient";
2280
- readonly internalType: "address";
2281
- readonly type: "address";
2282
- }];
2283
- readonly name: "redeemBatch";
2284
- readonly outputs: readonly [{
2285
- readonly name: "redemptions";
2286
- readonly internalType: "struct Redemption[]";
2287
- readonly type: "tuple[]";
2288
- readonly components: readonly [{
2289
- readonly name: "tokenAddress";
2290
- readonly internalType: "address";
2291
- readonly type: "address";
2292
- }, {
2293
- readonly name: "valueRedeemed";
2294
- readonly internalType: "uint256";
2295
- readonly type: "uint256";
2296
- }];
2297
- }];
2298
- }, {
2299
- readonly stateMutability: "nonpayable";
2300
- readonly type: "function";
2301
- readonly inputs: readonly [{
2302
- readonly name: "from";
2303
- readonly internalType: "address";
2304
- readonly type: "address";
2305
- }, {
2306
- readonly name: "to";
2307
- readonly internalType: "address";
2308
- readonly type: "address";
2309
- }, {
2310
- readonly name: "ids";
2311
- readonly internalType: "uint256[]";
2312
- readonly type: "uint256[]";
2313
- }, {
2314
- readonly name: "values";
2315
- readonly internalType: "uint256[]";
2316
- readonly type: "uint256[]";
2317
- }, {
2318
- readonly name: "data";
2319
- readonly internalType: "bytes";
2320
- readonly type: "bytes";
2321
- }];
2322
- readonly name: "safeBatchTransferFrom";
2323
- readonly outputs: readonly [];
2324
- }, {
2325
- readonly stateMutability: "nonpayable";
2326
- readonly type: "function";
2327
- readonly inputs: readonly [{
2328
- readonly name: "from";
2329
- readonly internalType: "address";
2330
- readonly type: "address";
2331
- }, {
2332
- readonly name: "to";
2333
- readonly internalType: "address";
2334
- readonly type: "address";
2335
- }, {
2336
- readonly name: "id";
2337
- readonly internalType: "uint256";
2338
- readonly type: "uint256";
2339
- }, {
2340
- readonly name: "value";
2341
- readonly internalType: "uint256";
2342
- readonly type: "uint256";
2343
- }, {
2344
- readonly name: "data";
2345
- readonly internalType: "bytes";
2346
- readonly type: "bytes";
2347
- }];
2348
- readonly name: "safeTransferFrom";
2349
- readonly outputs: readonly [];
2350
- }, {
2351
- readonly stateMutability: "nonpayable";
2352
- readonly type: "function";
2353
- readonly inputs: readonly [{
2354
- readonly name: "operator";
2355
- readonly internalType: "address";
2356
- readonly type: "address";
2357
- }, {
2358
- readonly name: "approved";
2359
- readonly internalType: "bool";
2360
- readonly type: "bool";
2361
- }];
2362
- readonly name: "setApprovalForAll";
2363
- readonly outputs: readonly [];
2364
- }, {
2365
- readonly stateMutability: "nonpayable";
2366
- readonly type: "function";
2367
- readonly inputs: readonly [{
2368
- readonly name: "newAuthority";
2369
- readonly internalType: "address";
2370
- readonly type: "address";
2371
- }];
2372
- readonly name: "setAuthority";
2373
- readonly outputs: readonly [];
2374
- }, {
2375
- readonly stateMutability: "view";
2376
- readonly type: "function";
2377
- readonly inputs: readonly [{
2378
- readonly name: "interfaceId";
2379
- readonly internalType: "bytes4";
2380
- readonly type: "bytes4";
2381
- }];
2382
- readonly name: "supportsInterface";
2383
- readonly outputs: readonly [{
2384
- readonly name: "";
2385
- readonly internalType: "bool";
2386
- readonly type: "bool";
2387
- }];
2388
- }, {
2389
- readonly stateMutability: "pure";
2390
- readonly type: "function";
2391
- readonly inputs: readonly [];
2392
- readonly name: "symbol";
2393
- readonly outputs: readonly [{
2394
- readonly name: "";
2395
- readonly internalType: "string";
2396
- readonly type: "string";
2397
- }];
2398
- }, {
2399
- readonly stateMutability: "view";
2400
- readonly type: "function";
2401
- readonly inputs: readonly [{
2402
- readonly name: "tokenId";
2403
- readonly internalType: "uint256";
2404
- readonly type: "uint256";
2405
- }];
2406
- readonly name: "tokenExists";
2407
- readonly outputs: readonly [{
2408
- readonly name: "";
2409
- readonly internalType: "bool";
2410
- readonly type: "bool";
2411
- }];
2412
- }, {
2413
- readonly stateMutability: "view";
2414
- readonly type: "function";
2415
- readonly inputs: readonly [{
2416
- readonly name: "tokenId";
2417
- readonly internalType: "uint256";
2418
- readonly type: "uint256";
2419
- }];
2420
- readonly name: "tokenPrice";
2421
- readonly outputs: readonly [{
2422
- readonly name: "";
2423
- readonly internalType: "uint256";
2424
- readonly type: "uint256";
2425
- }];
2426
- }, {
2427
- readonly stateMutability: "payable";
2428
- readonly type: "function";
2429
- readonly inputs: readonly [{
2430
- readonly name: "tokenIds";
2431
- readonly internalType: "uint256[]";
2432
- readonly type: "uint256[]";
2433
- }, {
2434
- readonly name: "quantities";
2435
- readonly internalType: "uint256[]";
2436
- readonly type: "uint256[]";
2437
- }, {
2438
- readonly name: "call";
2439
- readonly internalType: "bytes";
2440
- readonly type: "bytes";
2441
- }];
2442
- readonly name: "transferBatchToManagerAndCall";
2443
- readonly outputs: readonly [{
2444
- readonly name: "callReturn";
2445
- readonly internalType: "bytes";
2446
- readonly type: "bytes";
2447
- }];
2448
- }, {
2449
- readonly stateMutability: "view";
2450
- readonly type: "function";
2451
- readonly inputs: readonly [{
2452
- readonly name: "tokenId";
2453
- readonly internalType: "uint256";
2454
- readonly type: "uint256";
2455
- }];
2456
- readonly name: "uri";
2457
- readonly outputs: readonly [{
2458
- readonly name: "";
2459
- readonly internalType: "string";
2460
- readonly type: "string";
2461
- }];
2462
- }, {
2463
- readonly type: "event";
2464
- readonly anonymous: false;
2465
- readonly inputs: readonly [{
2466
- readonly name: "account";
2467
- readonly internalType: "address";
2468
- readonly type: "address";
2469
- readonly indexed: true;
2470
- }, {
2471
- readonly name: "operator";
2472
- readonly internalType: "address";
2473
- readonly type: "address";
2474
- readonly indexed: true;
2475
- }, {
2476
- readonly name: "approved";
2477
- readonly internalType: "bool";
2478
- readonly type: "bool";
2479
- readonly indexed: false;
2480
- }];
2481
- readonly name: "ApprovalForAll";
2482
- }, {
2483
- readonly type: "event";
2484
- readonly anonymous: false;
2485
- readonly inputs: readonly [{
2486
- readonly name: "authority";
2487
- readonly internalType: "address";
2488
- readonly type: "address";
2489
- readonly indexed: false;
2490
- }];
2491
- readonly name: "AuthorityUpdated";
2492
- }, {
2493
- readonly type: "event";
2494
- readonly anonymous: false;
2495
- readonly inputs: readonly [];
2496
- readonly name: "ContractURIUpdated";
2497
- }, {
2498
- readonly type: "event";
2499
- readonly anonymous: false;
2500
- readonly inputs: readonly [];
2501
- readonly name: "EIP712DomainChanged";
2502
- }, {
2503
- readonly type: "event";
2504
- readonly anonymous: false;
2505
- readonly inputs: readonly [{
2506
- readonly name: "tokenId";
2507
- readonly internalType: "uint256";
2508
- readonly type: "uint256";
2509
- readonly indexed: true;
2510
- }, {
2511
- readonly name: "price";
2512
- readonly internalType: "uint256";
2513
- readonly type: "uint256";
2514
- readonly indexed: true;
2515
- }, {
2516
- readonly name: "tokenAddress";
2517
- readonly internalType: "address";
2518
- readonly type: "address";
2519
- readonly indexed: true;
2520
- }];
2521
- readonly name: "TokenCreated";
2522
- }, {
2523
- readonly type: "event";
2524
- readonly anonymous: false;
2525
- readonly inputs: readonly [{
2526
- readonly name: "operator";
2527
- readonly internalType: "address";
2528
- readonly type: "address";
2529
- readonly indexed: true;
2530
- }, {
2531
- readonly name: "from";
2532
- readonly internalType: "address";
2533
- readonly type: "address";
2534
- readonly indexed: true;
2535
- }, {
2536
- readonly name: "to";
2537
- readonly internalType: "address";
2538
- readonly type: "address";
2539
- readonly indexed: true;
2540
- }, {
2541
- readonly name: "ids";
2542
- readonly internalType: "uint256[]";
2543
- readonly type: "uint256[]";
2544
- readonly indexed: false;
2545
- }, {
2546
- readonly name: "values";
2547
- readonly internalType: "uint256[]";
2548
- readonly type: "uint256[]";
2549
- readonly indexed: false;
2550
- }];
2551
- readonly name: "TransferBatch";
2552
- }, {
2553
- readonly type: "event";
2554
- readonly anonymous: false;
2555
- readonly inputs: readonly [{
2556
- readonly name: "operator";
2557
- readonly internalType: "address";
2558
- readonly type: "address";
2559
- readonly indexed: true;
2560
- }, {
2561
- readonly name: "from";
2562
- readonly internalType: "address";
2563
- readonly type: "address";
2564
- readonly indexed: true;
2565
- }, {
2566
- readonly name: "to";
2567
- readonly internalType: "address";
2568
- readonly type: "address";
2569
- readonly indexed: true;
2570
- }, {
2571
- readonly name: "id";
2572
- readonly internalType: "uint256";
2573
- readonly type: "uint256";
2574
- readonly indexed: false;
2575
- }, {
2576
- readonly name: "value";
2577
- readonly internalType: "uint256";
2578
- readonly type: "uint256";
2579
- readonly indexed: false;
2580
- }];
2581
- readonly name: "TransferSingle";
2582
- }, {
2583
- readonly type: "event";
2584
- readonly anonymous: false;
2585
- readonly inputs: readonly [{
2586
- readonly name: "value";
2587
- readonly internalType: "string";
2588
- readonly type: "string";
2589
- readonly indexed: false;
2590
- }, {
2591
- readonly name: "id";
2592
- readonly internalType: "uint256";
2593
- readonly type: "uint256";
2594
- readonly indexed: true;
2595
- }];
2596
- readonly name: "URI";
2597
- }, {
2598
- readonly type: "event";
2599
- readonly anonymous: false;
2600
- readonly inputs: readonly [{
2601
- readonly name: "contractURI";
2602
- readonly internalType: "string";
2603
- readonly type: "string";
2604
- readonly indexed: false;
2605
- }, {
2606
- readonly name: "baseURI";
2607
- readonly internalType: "string";
2608
- readonly type: "string";
2609
- readonly indexed: false;
2610
- }];
2611
- readonly name: "URIsUpdated";
2612
- }, {
2613
- readonly type: "error";
2614
- readonly inputs: readonly [{
2615
- readonly name: "authority";
2616
- readonly internalType: "address";
2617
- readonly type: "address";
2618
- }];
2619
- readonly name: "AccessManagedInvalidAuthority";
2620
- }, {
2621
- readonly type: "error";
2622
- readonly inputs: readonly [{
2623
- readonly name: "caller";
2624
- readonly internalType: "address";
2625
- readonly type: "address";
2626
- }, {
2627
- readonly name: "delay";
2628
- readonly internalType: "uint32";
2629
- readonly type: "uint32";
2630
- }];
2631
- readonly name: "AccessManagedRequiredDelay";
2632
- }, {
2633
- readonly type: "error";
2634
- readonly inputs: readonly [{
2635
- readonly name: "caller";
2636
- readonly internalType: "address";
2637
- readonly type: "address";
2638
- }];
2639
- readonly name: "AccessManagedUnauthorized";
2640
- }, {
2641
- readonly type: "error";
2642
- readonly inputs: readonly [{
2643
- readonly name: "target";
2644
- readonly internalType: "address";
2645
- readonly type: "address";
2646
- }];
2647
- readonly name: "AddressEmptyCode";
2648
- }, {
2649
- readonly type: "error";
2650
- readonly inputs: readonly [{
2651
- readonly name: "account";
2652
- readonly internalType: "address";
2653
- readonly type: "address";
2654
- }];
2655
- readonly name: "AddressInsufficientBalance";
2656
- }, {
2657
- readonly type: "error";
2658
- readonly inputs: readonly [{
2659
- readonly name: "lengthA";
2660
- readonly internalType: "uint256";
2661
- readonly type: "uint256";
2662
- }, {
2663
- readonly name: "lengthB";
2664
- readonly internalType: "uint256";
2665
- readonly type: "uint256";
2666
- }];
2667
- readonly name: "ArrayLengthMismatch";
2668
- }, {
2669
- readonly type: "error";
2670
- readonly inputs: readonly [{
2671
- readonly name: "returnData";
2672
- readonly internalType: "bytes";
2673
- readonly type: "bytes";
2674
- }];
2675
- readonly name: "CallFailed";
2676
- }, {
2677
- readonly type: "error";
2678
- readonly inputs: readonly [{
2679
- readonly name: "sender";
2680
- readonly internalType: "address";
2681
- readonly type: "address";
2682
- }, {
2683
- readonly name: "balance";
2684
- readonly internalType: "uint256";
2685
- readonly type: "uint256";
2686
- }, {
2687
- readonly name: "needed";
2688
- readonly internalType: "uint256";
2689
- readonly type: "uint256";
2690
- }, {
2691
- readonly name: "tokenId";
2692
- readonly internalType: "uint256";
2693
- readonly type: "uint256";
2694
- }];
2695
- readonly name: "ERC1155InsufficientBalance";
2696
- }, {
2697
- readonly type: "error";
2698
- readonly inputs: readonly [{
2699
- readonly name: "approver";
2700
- readonly internalType: "address";
2701
- readonly type: "address";
2702
- }];
2703
- readonly name: "ERC1155InvalidApprover";
2704
- }, {
2705
- readonly type: "error";
2706
- readonly inputs: readonly [{
2707
- readonly name: "idsLength";
2708
- readonly internalType: "uint256";
2709
- readonly type: "uint256";
2710
- }, {
2711
- readonly name: "valuesLength";
2712
- readonly internalType: "uint256";
2713
- readonly type: "uint256";
2714
- }];
2715
- readonly name: "ERC1155InvalidArrayLength";
2716
- }, {
2717
- readonly type: "error";
2718
- readonly inputs: readonly [{
2719
- readonly name: "operator";
2720
- readonly internalType: "address";
2721
- readonly type: "address";
2722
- }];
2723
- readonly name: "ERC1155InvalidOperator";
2724
- }, {
2725
- readonly type: "error";
2726
- readonly inputs: readonly [{
2727
- readonly name: "receiver";
2728
- readonly internalType: "address";
2729
- readonly type: "address";
2730
- }];
2731
- readonly name: "ERC1155InvalidReceiver";
2732
- }, {
2733
- readonly type: "error";
2734
- readonly inputs: readonly [{
2735
- readonly name: "sender";
2736
- readonly internalType: "address";
2737
- readonly type: "address";
2738
- }];
2739
- readonly name: "ERC1155InvalidSender";
2740
- }, {
2741
- readonly type: "error";
2742
- readonly inputs: readonly [{
2743
- readonly name: "operator";
2744
- readonly internalType: "address";
2745
- readonly type: "address";
2746
- }, {
2747
- readonly name: "owner";
2748
- readonly internalType: "address";
2749
- readonly type: "address";
2750
- }];
2751
- readonly name: "ERC1155MissingApprovalForAll";
2752
- }, {
2753
- readonly type: "error";
2754
- readonly inputs: readonly [];
2755
- readonly name: "ERC20TransferSlippage";
2756
- }, {
2757
- readonly type: "error";
2758
- readonly inputs: readonly [{
2759
- readonly name: "deadline";
2760
- readonly internalType: "uint256";
2761
- readonly type: "uint256";
2762
- }];
2763
- readonly name: "ERC2612ExpiredSignature";
2764
- }, {
2765
- readonly type: "error";
2766
- readonly inputs: readonly [];
2767
- readonly name: "ETHTransferFailed";
2768
- }, {
2769
- readonly type: "error";
2770
- readonly inputs: readonly [];
2771
- readonly name: "FailedInnerCall";
2772
- }, {
2773
- readonly type: "error";
2774
- readonly inputs: readonly [];
2775
- readonly name: "IncorrectAmountSent";
2776
- }, {
2777
- readonly type: "error";
2778
- readonly inputs: readonly [{
2779
- readonly name: "account";
2780
- readonly internalType: "address";
2781
- readonly type: "address";
2782
- }, {
2783
- readonly name: "currentNonce";
2784
- readonly internalType: "uint256";
2785
- readonly type: "uint256";
2786
- }];
2787
- readonly name: "InvalidAccountNonce";
2788
- }, {
2789
- readonly type: "error";
2790
- readonly inputs: readonly [];
2791
- readonly name: "InvalidRecipient";
2792
- }, {
2793
- readonly type: "error";
2794
- readonly inputs: readonly [];
2795
- readonly name: "InvalidShortString";
2796
- }, {
2797
- readonly type: "error";
2798
- readonly inputs: readonly [];
2799
- readonly name: "InvalidSignature";
2800
- }, {
2801
- readonly type: "error";
2802
- readonly inputs: readonly [];
2803
- readonly name: "InvalidTokenPrice";
2804
- }, {
2805
- readonly type: "error";
2806
- readonly inputs: readonly [];
2807
- readonly name: "NoUriForNonexistentToken";
2808
- }, {
2809
- readonly type: "error";
2810
- readonly inputs: readonly [{
2811
- readonly name: "handler";
2812
- readonly internalType: "address";
2813
- readonly type: "address";
2814
- }];
2815
- readonly name: "NotARedeemHandler";
2816
- }, {
2817
- readonly type: "error";
2818
- readonly inputs: readonly [{
2819
- readonly name: "token";
2820
- readonly internalType: "address";
2821
- readonly type: "address";
2822
- }];
2823
- readonly name: "SafeERC20FailedOperation";
2824
- }, {
2825
- readonly type: "error";
2826
- readonly inputs: readonly [{
2827
- readonly name: "str";
2828
- readonly internalType: "string";
2829
- readonly type: "string";
2830
- }];
2831
- readonly name: "StringTooLong";
2832
- }, {
2833
- readonly type: "error";
2834
- readonly inputs: readonly [];
2835
- readonly name: "TokenAlreadyCreated";
2836
- }, {
2837
- readonly type: "error";
2838
- readonly inputs: readonly [];
2839
- readonly name: "TokenDoesNotExist";
2840
- }, {
2841
- readonly type: "error";
2842
- readonly inputs: readonly [{
2843
- readonly name: "storedTokenAddress";
2844
- readonly internalType: "address";
2845
- readonly type: "address";
2846
- }, {
2847
- readonly name: "expectedTokenAddress";
2848
- readonly internalType: "address";
2849
- readonly type: "address";
2850
- }];
2851
- readonly name: "TokenMismatch";
2852
- }, {
2853
- readonly type: "error";
2854
- readonly inputs: readonly [];
2855
- readonly name: "TokenNotMintable";
2856
- }], "transferBatchToManagerAndCall", [bigint[], bigint[], `0x${string}`], import("viem").Chain, import("viem").Chain | undefined, `0x${string}` | {
2857
- address: `0x${string}`;
2858
- type: "json-rpc";
2859
- experimental_signAuthMessage?: undefined;
2860
- signMessage?: undefined;
2861
- signTransaction?: undefined;
2862
- signTypedData?: undefined;
2863
- publicKey?: undefined;
2864
- source?: undefined;
2865
- } | {
2866
- address: `0x${string}`;
2867
- experimental_signAuthMessage?: ((parameters: import("viem/_types/experimental/eip3074/utils/toAuthMessage").ToAuthMessageParameters) => Promise<`0x${string}`>) | undefined;
2868
- signMessage: ({ message }: {
2869
- message: import("viem").SignableMessage;
2870
- }) => Promise<`0x${string}`>;
2871
- signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, args?: {
2872
- serializer?: serializer | undefined;
2873
- } | undefined) => Promise<import("viem/_types/types/utils").IsNarrowable<import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>>, `0x${string}`> extends true ? import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>> : `0x${string}`>;
2874
- signTypedData: <const typedData extends Record<string, unknown> | {
2875
- [x: string]: readonly import("viem").TypedDataParameter[];
2876
- [x: `string[${string}]`]: undefined;
2877
- [x: `function[${string}]`]: undefined;
2878
- [x: `address[${string}]`]: undefined;
2879
- [x: `bool[${string}]`]: undefined;
2880
- [x: `bytes[${string}]`]: undefined;
2881
- [x: `bytes21[${string}]`]: undefined;
2882
- [x: `bytes1[${string}]`]: undefined;
2883
- [x: `bytes2[${string}]`]: undefined;
2884
- [x: `bytes3[${string}]`]: undefined;
2885
- [x: `bytes4[${string}]`]: undefined;
2886
- [x: `bytes5[${string}]`]: undefined;
2887
- [x: `bytes6[${string}]`]: undefined;
2888
- [x: `bytes7[${string}]`]: undefined;
2889
- [x: `bytes8[${string}]`]: undefined;
2890
- [x: `bytes9[${string}]`]: undefined;
2891
- [x: `bytes10[${string}]`]: undefined;
2892
- [x: `bytes11[${string}]`]: undefined;
2893
- [x: `bytes12[${string}]`]: undefined;
2894
- [x: `bytes13[${string}]`]: undefined;
2895
- [x: `bytes14[${string}]`]: undefined;
2896
- [x: `bytes15[${string}]`]: undefined;
2897
- [x: `bytes16[${string}]`]: undefined;
2898
- [x: `bytes17[${string}]`]: undefined;
2899
- [x: `bytes18[${string}]`]: undefined;
2900
- [x: `bytes19[${string}]`]: undefined;
2901
- [x: `bytes20[${string}]`]: undefined;
2902
- [x: `bytes22[${string}]`]: undefined;
2903
- [x: `bytes23[${string}]`]: undefined;
2904
- [x: `bytes24[${string}]`]: undefined;
2905
- [x: `bytes25[${string}]`]: undefined;
2906
- [x: `bytes26[${string}]`]: undefined;
2907
- [x: `bytes27[${string}]`]: undefined;
2908
- [x: `bytes28[${string}]`]: undefined;
2909
- [x: `bytes29[${string}]`]: undefined;
2910
- [x: `bytes30[${string}]`]: undefined;
2911
- [x: `bytes31[${string}]`]: undefined;
2912
- [x: `bytes32[${string}]`]: undefined;
2913
- [x: `int[${string}]`]: undefined;
2914
- [x: `int8[${string}]`]: undefined;
2915
- [x: `int16[${string}]`]: undefined;
2916
- [x: `int24[${string}]`]: undefined;
2917
- [x: `int32[${string}]`]: undefined;
2918
- [x: `int40[${string}]`]: undefined;
2919
- [x: `int48[${string}]`]: undefined;
2920
- [x: `int56[${string}]`]: undefined;
2921
- [x: `int64[${string}]`]: undefined;
2922
- [x: `int72[${string}]`]: undefined;
2923
- [x: `int80[${string}]`]: undefined;
2924
- [x: `int88[${string}]`]: undefined;
2925
- [x: `int96[${string}]`]: undefined;
2926
- [x: `int104[${string}]`]: undefined;
2927
- [x: `int112[${string}]`]: undefined;
2928
- [x: `int120[${string}]`]: undefined;
2929
- [x: `int128[${string}]`]: undefined;
2930
- [x: `int136[${string}]`]: undefined;
2931
- [x: `int144[${string}]`]: undefined;
2932
- [x: `int152[${string}]`]: undefined;
2933
- [x: `int160[${string}]`]: undefined;
2934
- [x: `int168[${string}]`]: undefined;
2935
- [x: `int176[${string}]`]: undefined;
2936
- [x: `int184[${string}]`]: undefined;
2937
- [x: `int192[${string}]`]: undefined;
2938
- [x: `int200[${string}]`]: undefined;
2939
- [x: `int208[${string}]`]: undefined;
2940
- [x: `int216[${string}]`]: undefined;
2941
- [x: `int224[${string}]`]: undefined;
2942
- [x: `int232[${string}]`]: undefined;
2943
- [x: `int240[${string}]`]: undefined;
2944
- [x: `int248[${string}]`]: undefined;
2945
- [x: `int256[${string}]`]: undefined;
2946
- [x: `uint[${string}]`]: undefined;
2947
- [x: `uint8[${string}]`]: undefined;
2948
- [x: `uint16[${string}]`]: undefined;
2949
- [x: `uint24[${string}]`]: undefined;
2950
- [x: `uint32[${string}]`]: undefined;
2951
- [x: `uint40[${string}]`]: undefined;
2952
- [x: `uint48[${string}]`]: undefined;
2953
- [x: `uint56[${string}]`]: undefined;
2954
- [x: `uint64[${string}]`]: undefined;
2955
- [x: `uint72[${string}]`]: undefined;
2956
- [x: `uint80[${string}]`]: undefined;
2957
- [x: `uint88[${string}]`]: undefined;
2958
- [x: `uint96[${string}]`]: undefined;
2959
- [x: `uint104[${string}]`]: undefined;
2960
- [x: `uint112[${string}]`]: undefined;
2961
- [x: `uint120[${string}]`]: undefined;
2962
- [x: `uint128[${string}]`]: undefined;
2963
- [x: `uint136[${string}]`]: undefined;
2964
- [x: `uint144[${string}]`]: undefined;
2965
- [x: `uint152[${string}]`]: undefined;
2966
- [x: `uint160[${string}]`]: undefined;
2967
- [x: `uint168[${string}]`]: undefined;
2968
- [x: `uint176[${string}]`]: undefined;
2969
- [x: `uint184[${string}]`]: undefined;
2970
- [x: `uint192[${string}]`]: undefined;
2971
- [x: `uint200[${string}]`]: undefined;
2972
- [x: `uint208[${string}]`]: undefined;
2973
- [x: `uint216[${string}]`]: undefined;
2974
- [x: `uint224[${string}]`]: undefined;
2975
- [x: `uint232[${string}]`]: undefined;
2976
- [x: `uint240[${string}]`]: undefined;
2977
- [x: `uint248[${string}]`]: undefined;
2978
- [x: `uint256[${string}]`]: undefined;
2979
- string?: undefined;
2980
- address?: undefined;
2981
- bool?: undefined;
2982
- bytes?: undefined;
2983
- bytes21?: undefined;
2984
- bytes1?: undefined;
2985
- bytes2?: undefined;
2986
- bytes3?: undefined;
2987
- bytes4?: undefined;
2988
- bytes5?: undefined;
2989
- bytes6?: undefined;
2990
- bytes7?: undefined;
2991
- bytes8?: undefined;
2992
- bytes9?: undefined;
2993
- bytes10?: undefined;
2994
- bytes11?: undefined;
2995
- bytes12?: undefined;
2996
- bytes13?: undefined;
2997
- bytes14?: undefined;
2998
- bytes15?: undefined;
2999
- bytes16?: undefined;
3000
- bytes17?: undefined;
3001
- bytes18?: undefined;
3002
- bytes19?: undefined;
3003
- bytes20?: undefined;
3004
- bytes22?: undefined;
3005
- bytes23?: undefined;
3006
- bytes24?: undefined;
3007
- bytes25?: undefined;
3008
- bytes26?: undefined;
3009
- bytes27?: undefined;
3010
- bytes28?: undefined;
3011
- bytes29?: undefined;
3012
- bytes30?: undefined;
3013
- bytes31?: undefined;
3014
- bytes32?: undefined;
3015
- int8?: undefined;
3016
- int16?: undefined;
3017
- int24?: undefined;
3018
- int32?: undefined;
3019
- int40?: undefined;
3020
- int48?: undefined;
3021
- int56?: undefined;
3022
- int64?: undefined;
3023
- int72?: undefined;
3024
- int80?: undefined;
3025
- int88?: undefined;
3026
- int96?: undefined;
3027
- int104?: undefined;
3028
- int112?: undefined;
3029
- int120?: undefined;
3030
- int128?: undefined;
3031
- int136?: undefined;
3032
- int144?: undefined;
3033
- int152?: undefined;
3034
- int160?: undefined;
3035
- int168?: undefined;
3036
- int176?: undefined;
3037
- int184?: undefined;
3038
- int192?: undefined;
3039
- int200?: undefined;
3040
- int208?: undefined;
3041
- int216?: undefined;
3042
- int224?: undefined;
3043
- int232?: undefined;
3044
- int240?: undefined;
3045
- int248?: undefined;
3046
- int256?: undefined;
3047
- uint8?: undefined;
3048
- uint16?: undefined;
3049
- uint24?: undefined;
3050
- uint32?: undefined;
3051
- uint40?: undefined;
3052
- uint48?: undefined;
3053
- uint56?: undefined;
3054
- uint64?: undefined;
3055
- uint72?: undefined;
3056
- uint80?: undefined;
3057
- uint88?: undefined;
3058
- uint96?: undefined;
3059
- uint104?: undefined;
3060
- uint112?: undefined;
3061
- uint120?: undefined;
3062
- uint128?: undefined;
3063
- uint136?: undefined;
3064
- uint144?: undefined;
3065
- uint152?: undefined;
3066
- uint160?: undefined;
3067
- uint168?: undefined;
3068
- uint176?: undefined;
3069
- uint184?: undefined;
3070
- uint192?: undefined;
3071
- uint200?: undefined;
3072
- uint208?: undefined;
3073
- uint216?: undefined;
3074
- uint224?: undefined;
3075
- uint232?: undefined;
3076
- uint240?: undefined;
3077
- uint248?: undefined;
3078
- uint256?: undefined;
3079
- }, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(typedDataDefinition: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
3080
- publicKey: `0x${string}`;
3081
- source: string;
3082
- type: "local";
3083
- }>;
59
+ } & CollectOnManagerParams): import("../types").SimulateContractParametersWithAccount;
3084
60
  type PermitTransferBatchParameters = {
3085
61
  tokenIds: bigint[];
3086
62
  quantities: bigint[];
@@ -3213,1474 +189,7 @@ export declare function collectPremintV2WithMintsParams({ tokenIds, quantities,
3213
189
  paidMintPricePerToken?: bigint;
3214
190
  chainId: keyof typeof zoraMints1155Config.address;
3215
191
  account: Address | Account;
3216
- } & PremintOnManagerParams): import("viem").SimulateContractParameters<readonly [{
3217
- readonly stateMutability: "nonpayable";
3218
- readonly type: "constructor";
3219
- readonly inputs: readonly [];
3220
- }, {
3221
- readonly stateMutability: "view";
3222
- readonly type: "function";
3223
- readonly inputs: readonly [];
3224
- readonly name: "ETH_ADDRESS";
3225
- readonly outputs: readonly [{
3226
- readonly name: "";
3227
- readonly internalType: "address";
3228
- readonly type: "address";
3229
- }];
3230
- }, {
3231
- readonly stateMutability: "view";
3232
- readonly type: "function";
3233
- readonly inputs: readonly [];
3234
- readonly name: "MINIMUM_ERC20_PRICE";
3235
- readonly outputs: readonly [{
3236
- readonly name: "";
3237
- readonly internalType: "uint256";
3238
- readonly type: "uint256";
3239
- }];
3240
- }, {
3241
- readonly stateMutability: "view";
3242
- readonly type: "function";
3243
- readonly inputs: readonly [];
3244
- readonly name: "MINIMUM_ETH_PRICE";
3245
- readonly outputs: readonly [{
3246
- readonly name: "";
3247
- readonly internalType: "uint256";
3248
- readonly type: "uint256";
3249
- }];
3250
- }, {
3251
- readonly stateMutability: "view";
3252
- readonly type: "function";
3253
- readonly inputs: readonly [];
3254
- readonly name: "NAME";
3255
- readonly outputs: readonly [{
3256
- readonly name: "";
3257
- readonly internalType: "string";
3258
- readonly type: "string";
3259
- }];
3260
- }, {
3261
- readonly stateMutability: "view";
3262
- readonly type: "function";
3263
- readonly inputs: readonly [];
3264
- readonly name: "VERSION";
3265
- readonly outputs: readonly [{
3266
- readonly name: "";
3267
- readonly internalType: "string";
3268
- readonly type: "string";
3269
- }];
3270
- }, {
3271
- readonly stateMutability: "view";
3272
- readonly type: "function";
3273
- readonly inputs: readonly [];
3274
- readonly name: "authority";
3275
- readonly outputs: readonly [{
3276
- readonly name: "";
3277
- readonly internalType: "address";
3278
- readonly type: "address";
3279
- }];
3280
- }, {
3281
- readonly stateMutability: "view";
3282
- readonly type: "function";
3283
- readonly inputs: readonly [{
3284
- readonly name: "account";
3285
- readonly internalType: "address";
3286
- readonly type: "address";
3287
- }, {
3288
- readonly name: "id";
3289
- readonly internalType: "uint256";
3290
- readonly type: "uint256";
3291
- }];
3292
- readonly name: "balanceOf";
3293
- readonly outputs: readonly [{
3294
- readonly name: "";
3295
- readonly internalType: "uint256";
3296
- readonly type: "uint256";
3297
- }];
3298
- }, {
3299
- readonly stateMutability: "view";
3300
- readonly type: "function";
3301
- readonly inputs: readonly [{
3302
- readonly name: "account";
3303
- readonly internalType: "address";
3304
- readonly type: "address";
3305
- }];
3306
- readonly name: "balanceOfAccount";
3307
- readonly outputs: readonly [{
3308
- readonly name: "";
3309
- readonly internalType: "uint256";
3310
- readonly type: "uint256";
3311
- }];
3312
- }, {
3313
- readonly stateMutability: "view";
3314
- readonly type: "function";
3315
- readonly inputs: readonly [{
3316
- readonly name: "accounts";
3317
- readonly internalType: "address[]";
3318
- readonly type: "address[]";
3319
- }, {
3320
- readonly name: "ids";
3321
- readonly internalType: "uint256[]";
3322
- readonly type: "uint256[]";
3323
- }];
3324
- readonly name: "balanceOfBatch";
3325
- readonly outputs: readonly [{
3326
- readonly name: "";
3327
- readonly internalType: "uint256[]";
3328
- readonly type: "uint256[]";
3329
- }];
3330
- }, {
3331
- readonly stateMutability: "view";
3332
- readonly type: "function";
3333
- readonly inputs: readonly [];
3334
- readonly name: "contractURI";
3335
- readonly outputs: readonly [{
3336
- readonly name: "";
3337
- readonly internalType: "string";
3338
- readonly type: "string";
3339
- }];
3340
- }, {
3341
- readonly stateMutability: "nonpayable";
3342
- readonly type: "function";
3343
- readonly inputs: readonly [{
3344
- readonly name: "tokenId";
3345
- readonly internalType: "uint256";
3346
- readonly type: "uint256";
3347
- }, {
3348
- readonly name: "tokenConfig";
3349
- readonly internalType: "struct TokenConfig";
3350
- readonly type: "tuple";
3351
- readonly components: readonly [{
3352
- readonly name: "price";
3353
- readonly internalType: "uint256";
3354
- readonly type: "uint256";
3355
- }, {
3356
- readonly name: "tokenAddress";
3357
- readonly internalType: "address";
3358
- readonly type: "address";
3359
- }, {
3360
- readonly name: "redeemHandler";
3361
- readonly internalType: "address";
3362
- readonly type: "address";
3363
- }];
3364
- }];
3365
- readonly name: "createToken";
3366
- readonly outputs: readonly [];
3367
- }, {
3368
- readonly stateMutability: "view";
3369
- readonly type: "function";
3370
- readonly inputs: readonly [];
3371
- readonly name: "eip712Domain";
3372
- readonly outputs: readonly [{
3373
- readonly name: "fields";
3374
- readonly internalType: "bytes1";
3375
- readonly type: "bytes1";
3376
- }, {
3377
- readonly name: "name";
3378
- readonly internalType: "string";
3379
- readonly type: "string";
3380
- }, {
3381
- readonly name: "version";
3382
- readonly internalType: "string";
3383
- readonly type: "string";
3384
- }, {
3385
- readonly name: "chainId";
3386
- readonly internalType: "uint256";
3387
- readonly type: "uint256";
3388
- }, {
3389
- readonly name: "verifyingContract";
3390
- readonly internalType: "address";
3391
- readonly type: "address";
3392
- }, {
3393
- readonly name: "salt";
3394
- readonly internalType: "bytes32";
3395
- readonly type: "bytes32";
3396
- }, {
3397
- readonly name: "extensions";
3398
- readonly internalType: "uint256[]";
3399
- readonly type: "uint256[]";
3400
- }];
3401
- }, {
3402
- readonly stateMutability: "view";
3403
- readonly type: "function";
3404
- readonly inputs: readonly [];
3405
- readonly name: "getManager";
3406
- readonly outputs: readonly [{
3407
- readonly name: "";
3408
- readonly internalType: "address";
3409
- readonly type: "address";
3410
- }];
3411
- }, {
3412
- readonly stateMutability: "view";
3413
- readonly type: "function";
3414
- readonly inputs: readonly [{
3415
- readonly name: "tokenId";
3416
- readonly internalType: "uint256";
3417
- readonly type: "uint256";
3418
- }];
3419
- readonly name: "getTokenConfig";
3420
- readonly outputs: readonly [{
3421
- readonly name: "";
3422
- readonly internalType: "struct TokenConfig";
3423
- readonly type: "tuple";
3424
- readonly components: readonly [{
3425
- readonly name: "price";
3426
- readonly internalType: "uint256";
3427
- readonly type: "uint256";
3428
- }, {
3429
- readonly name: "tokenAddress";
3430
- readonly internalType: "address";
3431
- readonly type: "address";
3432
- }, {
3433
- readonly name: "redeemHandler";
3434
- readonly internalType: "address";
3435
- readonly type: "address";
3436
- }];
3437
- }];
3438
- }, {
3439
- readonly stateMutability: "view";
3440
- readonly type: "function";
3441
- readonly inputs: readonly [{
3442
- readonly name: "permit";
3443
- readonly internalType: "struct IZoraMints1155Managed.PermitBatch";
3444
- readonly type: "tuple";
3445
- readonly components: readonly [{
3446
- readonly name: "owner";
3447
- readonly internalType: "address";
3448
- readonly type: "address";
3449
- }, {
3450
- readonly name: "to";
3451
- readonly internalType: "address";
3452
- readonly type: "address";
3453
- }, {
3454
- readonly name: "tokenIds";
3455
- readonly internalType: "uint256[]";
3456
- readonly type: "uint256[]";
3457
- }, {
3458
- readonly name: "quantities";
3459
- readonly internalType: "uint256[]";
3460
- readonly type: "uint256[]";
3461
- }, {
3462
- readonly name: "safeTransferData";
3463
- readonly internalType: "bytes";
3464
- readonly type: "bytes";
3465
- }, {
3466
- readonly name: "deadline";
3467
- readonly internalType: "uint256";
3468
- readonly type: "uint256";
3469
- }, {
3470
- readonly name: "nonce";
3471
- readonly internalType: "uint256";
3472
- readonly type: "uint256";
3473
- }];
3474
- }];
3475
- readonly name: "hashPermitBatch";
3476
- readonly outputs: readonly [{
3477
- readonly name: "";
3478
- readonly internalType: "bytes32";
3479
- readonly type: "bytes32";
3480
- }];
3481
- }, {
3482
- readonly stateMutability: "view";
3483
- readonly type: "function";
3484
- readonly inputs: readonly [{
3485
- readonly name: "permit";
3486
- readonly internalType: "struct IZoraMints1155Managed.PermitSingle";
3487
- readonly type: "tuple";
3488
- readonly components: readonly [{
3489
- readonly name: "owner";
3490
- readonly internalType: "address";
3491
- readonly type: "address";
3492
- }, {
3493
- readonly name: "to";
3494
- readonly internalType: "address";
3495
- readonly type: "address";
3496
- }, {
3497
- readonly name: "tokenId";
3498
- readonly internalType: "uint256";
3499
- readonly type: "uint256";
3500
- }, {
3501
- readonly name: "quantity";
3502
- readonly internalType: "uint256";
3503
- readonly type: "uint256";
3504
- }, {
3505
- readonly name: "safeTransferData";
3506
- readonly internalType: "bytes";
3507
- readonly type: "bytes";
3508
- }, {
3509
- readonly name: "deadline";
3510
- readonly internalType: "uint256";
3511
- readonly type: "uint256";
3512
- }, {
3513
- readonly name: "nonce";
3514
- readonly internalType: "uint256";
3515
- readonly type: "uint256";
3516
- }];
3517
- }];
3518
- readonly name: "hashPermitSingle";
3519
- readonly outputs: readonly [{
3520
- readonly name: "";
3521
- readonly internalType: "bytes32";
3522
- readonly type: "bytes32";
3523
- }];
3524
- }, {
3525
- readonly stateMutability: "view";
3526
- readonly type: "function";
3527
- readonly inputs: readonly [{
3528
- readonly name: "account";
3529
- readonly internalType: "address";
3530
- readonly type: "address";
3531
- }, {
3532
- readonly name: "operator";
3533
- readonly internalType: "address";
3534
- readonly type: "address";
3535
- }];
3536
- readonly name: "isApprovedForAll";
3537
- readonly outputs: readonly [{
3538
- readonly name: "";
3539
- readonly internalType: "bool";
3540
- readonly type: "bool";
3541
- }];
3542
- }, {
3543
- readonly stateMutability: "view";
3544
- readonly type: "function";
3545
- readonly inputs: readonly [];
3546
- readonly name: "isConsumingScheduledOp";
3547
- readonly outputs: readonly [{
3548
- readonly name: "";
3549
- readonly internalType: "bytes4";
3550
- readonly type: "bytes4";
3551
- }];
3552
- }, {
3553
- readonly stateMutability: "view";
3554
- readonly type: "function";
3555
- readonly inputs: readonly [{
3556
- readonly name: "permit";
3557
- readonly internalType: "struct IZoraMints1155Managed.PermitBatch";
3558
- readonly type: "tuple";
3559
- readonly components: readonly [{
3560
- readonly name: "owner";
3561
- readonly internalType: "address";
3562
- readonly type: "address";
3563
- }, {
3564
- readonly name: "to";
3565
- readonly internalType: "address";
3566
- readonly type: "address";
3567
- }, {
3568
- readonly name: "tokenIds";
3569
- readonly internalType: "uint256[]";
3570
- readonly type: "uint256[]";
3571
- }, {
3572
- readonly name: "quantities";
3573
- readonly internalType: "uint256[]";
3574
- readonly type: "uint256[]";
3575
- }, {
3576
- readonly name: "safeTransferData";
3577
- readonly internalType: "bytes";
3578
- readonly type: "bytes";
3579
- }, {
3580
- readonly name: "deadline";
3581
- readonly internalType: "uint256";
3582
- readonly type: "uint256";
3583
- }, {
3584
- readonly name: "nonce";
3585
- readonly internalType: "uint256";
3586
- readonly type: "uint256";
3587
- }];
3588
- }, {
3589
- readonly name: "signature";
3590
- readonly internalType: "bytes";
3591
- readonly type: "bytes";
3592
- }];
3593
- readonly name: "isValidSignatureTransferBatch";
3594
- readonly outputs: readonly [{
3595
- readonly name: "";
3596
- readonly internalType: "bool";
3597
- readonly type: "bool";
3598
- }];
3599
- }, {
3600
- readonly stateMutability: "view";
3601
- readonly type: "function";
3602
- readonly inputs: readonly [{
3603
- readonly name: "permit";
3604
- readonly internalType: "struct IZoraMints1155Managed.PermitSingle";
3605
- readonly type: "tuple";
3606
- readonly components: readonly [{
3607
- readonly name: "owner";
3608
- readonly internalType: "address";
3609
- readonly type: "address";
3610
- }, {
3611
- readonly name: "to";
3612
- readonly internalType: "address";
3613
- readonly type: "address";
3614
- }, {
3615
- readonly name: "tokenId";
3616
- readonly internalType: "uint256";
3617
- readonly type: "uint256";
3618
- }, {
3619
- readonly name: "quantity";
3620
- readonly internalType: "uint256";
3621
- readonly type: "uint256";
3622
- }, {
3623
- readonly name: "safeTransferData";
3624
- readonly internalType: "bytes";
3625
- readonly type: "bytes";
3626
- }, {
3627
- readonly name: "deadline";
3628
- readonly internalType: "uint256";
3629
- readonly type: "uint256";
3630
- }, {
3631
- readonly name: "nonce";
3632
- readonly internalType: "uint256";
3633
- readonly type: "uint256";
3634
- }];
3635
- }, {
3636
- readonly name: "signature";
3637
- readonly internalType: "bytes";
3638
- readonly type: "bytes";
3639
- }];
3640
- readonly name: "isValidSignatureTransferSingle";
3641
- readonly outputs: readonly [{
3642
- readonly name: "";
3643
- readonly internalType: "bool";
3644
- readonly type: "bool";
3645
- }];
3646
- }, {
3647
- readonly stateMutability: "nonpayable";
3648
- readonly type: "function";
3649
- readonly inputs: readonly [{
3650
- readonly name: "tokenId";
3651
- readonly internalType: "uint256";
3652
- readonly type: "uint256";
3653
- }, {
3654
- readonly name: "tokenAddress";
3655
- readonly internalType: "address";
3656
- readonly type: "address";
3657
- }, {
3658
- readonly name: "quantity";
3659
- readonly internalType: "uint256";
3660
- readonly type: "uint256";
3661
- }, {
3662
- readonly name: "recipient";
3663
- readonly internalType: "address";
3664
- readonly type: "address";
3665
- }, {
3666
- readonly name: "data";
3667
- readonly internalType: "bytes";
3668
- readonly type: "bytes";
3669
- }];
3670
- readonly name: "mintTokenWithERC20";
3671
- readonly outputs: readonly [];
3672
- }, {
3673
- readonly stateMutability: "payable";
3674
- readonly type: "function";
3675
- readonly inputs: readonly [{
3676
- readonly name: "tokenId";
3677
- readonly internalType: "uint256";
3678
- readonly type: "uint256";
3679
- }, {
3680
- readonly name: "quantity";
3681
- readonly internalType: "uint256";
3682
- readonly type: "uint256";
3683
- }, {
3684
- readonly name: "recipient";
3685
- readonly internalType: "address";
3686
- readonly type: "address";
3687
- }, {
3688
- readonly name: "data";
3689
- readonly internalType: "bytes";
3690
- readonly type: "bytes";
3691
- }];
3692
- readonly name: "mintTokenWithEth";
3693
- readonly outputs: readonly [];
3694
- }, {
3695
- readonly stateMutability: "pure";
3696
- readonly type: "function";
3697
- readonly inputs: readonly [];
3698
- readonly name: "name";
3699
- readonly outputs: readonly [{
3700
- readonly name: "";
3701
- readonly internalType: "string";
3702
- readonly type: "string";
3703
- }];
3704
- }, {
3705
- readonly stateMutability: "view";
3706
- readonly type: "function";
3707
- readonly inputs: readonly [{
3708
- readonly name: "owner";
3709
- readonly internalType: "address";
3710
- readonly type: "address";
3711
- }, {
3712
- readonly name: "nonce";
3713
- readonly internalType: "uint256";
3714
- readonly type: "uint256";
3715
- }];
3716
- readonly name: "nonceUsed";
3717
- readonly outputs: readonly [{
3718
- readonly name: "";
3719
- readonly internalType: "bool";
3720
- readonly type: "bool";
3721
- }];
3722
- }, {
3723
- readonly stateMutability: "nonpayable";
3724
- readonly type: "function";
3725
- readonly inputs: readonly [{
3726
- readonly name: "newContractURI";
3727
- readonly internalType: "string";
3728
- readonly type: "string";
3729
- }, {
3730
- readonly name: "newBaseURI";
3731
- readonly internalType: "string";
3732
- readonly type: "string";
3733
- }];
3734
- readonly name: "notifyURIsUpdated";
3735
- readonly outputs: readonly [];
3736
- }, {
3737
- readonly stateMutability: "nonpayable";
3738
- readonly type: "function";
3739
- readonly inputs: readonly [{
3740
- readonly name: "newUri";
3741
- readonly internalType: "string";
3742
- readonly type: "string";
3743
- }, {
3744
- readonly name: "tokenId";
3745
- readonly internalType: "uint256";
3746
- readonly type: "uint256";
3747
- }];
3748
- readonly name: "notifyUpdatedTokenURI";
3749
- readonly outputs: readonly [];
3750
- }, {
3751
- readonly stateMutability: "nonpayable";
3752
- readonly type: "function";
3753
- readonly inputs: readonly [{
3754
- readonly name: "permit";
3755
- readonly internalType: "struct IZoraMints1155Managed.PermitSingle";
3756
- readonly type: "tuple";
3757
- readonly components: readonly [{
3758
- readonly name: "owner";
3759
- readonly internalType: "address";
3760
- readonly type: "address";
3761
- }, {
3762
- readonly name: "to";
3763
- readonly internalType: "address";
3764
- readonly type: "address";
3765
- }, {
3766
- readonly name: "tokenId";
3767
- readonly internalType: "uint256";
3768
- readonly type: "uint256";
3769
- }, {
3770
- readonly name: "quantity";
3771
- readonly internalType: "uint256";
3772
- readonly type: "uint256";
3773
- }, {
3774
- readonly name: "safeTransferData";
3775
- readonly internalType: "bytes";
3776
- readonly type: "bytes";
3777
- }, {
3778
- readonly name: "deadline";
3779
- readonly internalType: "uint256";
3780
- readonly type: "uint256";
3781
- }, {
3782
- readonly name: "nonce";
3783
- readonly internalType: "uint256";
3784
- readonly type: "uint256";
3785
- }];
3786
- }, {
3787
- readonly name: "signature";
3788
- readonly internalType: "bytes";
3789
- readonly type: "bytes";
3790
- }];
3791
- readonly name: "permitSafeTransfer";
3792
- readonly outputs: readonly [];
3793
- }, {
3794
- readonly stateMutability: "nonpayable";
3795
- readonly type: "function";
3796
- readonly inputs: readonly [{
3797
- readonly name: "permit";
3798
- readonly internalType: "struct IZoraMints1155Managed.PermitBatch";
3799
- readonly type: "tuple";
3800
- readonly components: readonly [{
3801
- readonly name: "owner";
3802
- readonly internalType: "address";
3803
- readonly type: "address";
3804
- }, {
3805
- readonly name: "to";
3806
- readonly internalType: "address";
3807
- readonly type: "address";
3808
- }, {
3809
- readonly name: "tokenIds";
3810
- readonly internalType: "uint256[]";
3811
- readonly type: "uint256[]";
3812
- }, {
3813
- readonly name: "quantities";
3814
- readonly internalType: "uint256[]";
3815
- readonly type: "uint256[]";
3816
- }, {
3817
- readonly name: "safeTransferData";
3818
- readonly internalType: "bytes";
3819
- readonly type: "bytes";
3820
- }, {
3821
- readonly name: "deadline";
3822
- readonly internalType: "uint256";
3823
- readonly type: "uint256";
3824
- }, {
3825
- readonly name: "nonce";
3826
- readonly internalType: "uint256";
3827
- readonly type: "uint256";
3828
- }];
3829
- }, {
3830
- readonly name: "signature";
3831
- readonly internalType: "bytes";
3832
- readonly type: "bytes";
3833
- }];
3834
- readonly name: "permitSafeTransferBatch";
3835
- readonly outputs: readonly [];
3836
- }, {
3837
- readonly stateMutability: "nonpayable";
3838
- readonly type: "function";
3839
- readonly inputs: readonly [{
3840
- readonly name: "tokenId";
3841
- readonly internalType: "uint256";
3842
- readonly type: "uint256";
3843
- }, {
3844
- readonly name: "quantity";
3845
- readonly internalType: "uint256";
3846
- readonly type: "uint256";
3847
- }, {
3848
- readonly name: "recipient";
3849
- readonly internalType: "address";
3850
- readonly type: "address";
3851
- }];
3852
- readonly name: "redeem";
3853
- readonly outputs: readonly [{
3854
- readonly name: "";
3855
- readonly internalType: "struct Redemption";
3856
- readonly type: "tuple";
3857
- readonly components: readonly [{
3858
- readonly name: "tokenAddress";
3859
- readonly internalType: "address";
3860
- readonly type: "address";
3861
- }, {
3862
- readonly name: "valueRedeemed";
3863
- readonly internalType: "uint256";
3864
- readonly type: "uint256";
3865
- }];
3866
- }];
3867
- }, {
3868
- readonly stateMutability: "nonpayable";
3869
- readonly type: "function";
3870
- readonly inputs: readonly [{
3871
- readonly name: "tokenIds";
3872
- readonly internalType: "uint256[]";
3873
- readonly type: "uint256[]";
3874
- }, {
3875
- readonly name: "quantities";
3876
- readonly internalType: "uint256[]";
3877
- readonly type: "uint256[]";
3878
- }, {
3879
- readonly name: "recipient";
3880
- readonly internalType: "address";
3881
- readonly type: "address";
3882
- }];
3883
- readonly name: "redeemBatch";
3884
- readonly outputs: readonly [{
3885
- readonly name: "redemptions";
3886
- readonly internalType: "struct Redemption[]";
3887
- readonly type: "tuple[]";
3888
- readonly components: readonly [{
3889
- readonly name: "tokenAddress";
3890
- readonly internalType: "address";
3891
- readonly type: "address";
3892
- }, {
3893
- readonly name: "valueRedeemed";
3894
- readonly internalType: "uint256";
3895
- readonly type: "uint256";
3896
- }];
3897
- }];
3898
- }, {
3899
- readonly stateMutability: "nonpayable";
3900
- readonly type: "function";
3901
- readonly inputs: readonly [{
3902
- readonly name: "from";
3903
- readonly internalType: "address";
3904
- readonly type: "address";
3905
- }, {
3906
- readonly name: "to";
3907
- readonly internalType: "address";
3908
- readonly type: "address";
3909
- }, {
3910
- readonly name: "ids";
3911
- readonly internalType: "uint256[]";
3912
- readonly type: "uint256[]";
3913
- }, {
3914
- readonly name: "values";
3915
- readonly internalType: "uint256[]";
3916
- readonly type: "uint256[]";
3917
- }, {
3918
- readonly name: "data";
3919
- readonly internalType: "bytes";
3920
- readonly type: "bytes";
3921
- }];
3922
- readonly name: "safeBatchTransferFrom";
3923
- readonly outputs: readonly [];
3924
- }, {
3925
- readonly stateMutability: "nonpayable";
3926
- readonly type: "function";
3927
- readonly inputs: readonly [{
3928
- readonly name: "from";
3929
- readonly internalType: "address";
3930
- readonly type: "address";
3931
- }, {
3932
- readonly name: "to";
3933
- readonly internalType: "address";
3934
- readonly type: "address";
3935
- }, {
3936
- readonly name: "id";
3937
- readonly internalType: "uint256";
3938
- readonly type: "uint256";
3939
- }, {
3940
- readonly name: "value";
3941
- readonly internalType: "uint256";
3942
- readonly type: "uint256";
3943
- }, {
3944
- readonly name: "data";
3945
- readonly internalType: "bytes";
3946
- readonly type: "bytes";
3947
- }];
3948
- readonly name: "safeTransferFrom";
3949
- readonly outputs: readonly [];
3950
- }, {
3951
- readonly stateMutability: "nonpayable";
3952
- readonly type: "function";
3953
- readonly inputs: readonly [{
3954
- readonly name: "operator";
3955
- readonly internalType: "address";
3956
- readonly type: "address";
3957
- }, {
3958
- readonly name: "approved";
3959
- readonly internalType: "bool";
3960
- readonly type: "bool";
3961
- }];
3962
- readonly name: "setApprovalForAll";
3963
- readonly outputs: readonly [];
3964
- }, {
3965
- readonly stateMutability: "nonpayable";
3966
- readonly type: "function";
3967
- readonly inputs: readonly [{
3968
- readonly name: "newAuthority";
3969
- readonly internalType: "address";
3970
- readonly type: "address";
3971
- }];
3972
- readonly name: "setAuthority";
3973
- readonly outputs: readonly [];
3974
- }, {
3975
- readonly stateMutability: "view";
3976
- readonly type: "function";
3977
- readonly inputs: readonly [{
3978
- readonly name: "interfaceId";
3979
- readonly internalType: "bytes4";
3980
- readonly type: "bytes4";
3981
- }];
3982
- readonly name: "supportsInterface";
3983
- readonly outputs: readonly [{
3984
- readonly name: "";
3985
- readonly internalType: "bool";
3986
- readonly type: "bool";
3987
- }];
3988
- }, {
3989
- readonly stateMutability: "pure";
3990
- readonly type: "function";
3991
- readonly inputs: readonly [];
3992
- readonly name: "symbol";
3993
- readonly outputs: readonly [{
3994
- readonly name: "";
3995
- readonly internalType: "string";
3996
- readonly type: "string";
3997
- }];
3998
- }, {
3999
- readonly stateMutability: "view";
4000
- readonly type: "function";
4001
- readonly inputs: readonly [{
4002
- readonly name: "tokenId";
4003
- readonly internalType: "uint256";
4004
- readonly type: "uint256";
4005
- }];
4006
- readonly name: "tokenExists";
4007
- readonly outputs: readonly [{
4008
- readonly name: "";
4009
- readonly internalType: "bool";
4010
- readonly type: "bool";
4011
- }];
4012
- }, {
4013
- readonly stateMutability: "view";
4014
- readonly type: "function";
4015
- readonly inputs: readonly [{
4016
- readonly name: "tokenId";
4017
- readonly internalType: "uint256";
4018
- readonly type: "uint256";
4019
- }];
4020
- readonly name: "tokenPrice";
4021
- readonly outputs: readonly [{
4022
- readonly name: "";
4023
- readonly internalType: "uint256";
4024
- readonly type: "uint256";
4025
- }];
4026
- }, {
4027
- readonly stateMutability: "payable";
4028
- readonly type: "function";
4029
- readonly inputs: readonly [{
4030
- readonly name: "tokenIds";
4031
- readonly internalType: "uint256[]";
4032
- readonly type: "uint256[]";
4033
- }, {
4034
- readonly name: "quantities";
4035
- readonly internalType: "uint256[]";
4036
- readonly type: "uint256[]";
4037
- }, {
4038
- readonly name: "call";
4039
- readonly internalType: "bytes";
4040
- readonly type: "bytes";
4041
- }];
4042
- readonly name: "transferBatchToManagerAndCall";
4043
- readonly outputs: readonly [{
4044
- readonly name: "callReturn";
4045
- readonly internalType: "bytes";
4046
- readonly type: "bytes";
4047
- }];
4048
- }, {
4049
- readonly stateMutability: "view";
4050
- readonly type: "function";
4051
- readonly inputs: readonly [{
4052
- readonly name: "tokenId";
4053
- readonly internalType: "uint256";
4054
- readonly type: "uint256";
4055
- }];
4056
- readonly name: "uri";
4057
- readonly outputs: readonly [{
4058
- readonly name: "";
4059
- readonly internalType: "string";
4060
- readonly type: "string";
4061
- }];
4062
- }, {
4063
- readonly type: "event";
4064
- readonly anonymous: false;
4065
- readonly inputs: readonly [{
4066
- readonly name: "account";
4067
- readonly internalType: "address";
4068
- readonly type: "address";
4069
- readonly indexed: true;
4070
- }, {
4071
- readonly name: "operator";
4072
- readonly internalType: "address";
4073
- readonly type: "address";
4074
- readonly indexed: true;
4075
- }, {
4076
- readonly name: "approved";
4077
- readonly internalType: "bool";
4078
- readonly type: "bool";
4079
- readonly indexed: false;
4080
- }];
4081
- readonly name: "ApprovalForAll";
4082
- }, {
4083
- readonly type: "event";
4084
- readonly anonymous: false;
4085
- readonly inputs: readonly [{
4086
- readonly name: "authority";
4087
- readonly internalType: "address";
4088
- readonly type: "address";
4089
- readonly indexed: false;
4090
- }];
4091
- readonly name: "AuthorityUpdated";
4092
- }, {
4093
- readonly type: "event";
4094
- readonly anonymous: false;
4095
- readonly inputs: readonly [];
4096
- readonly name: "ContractURIUpdated";
4097
- }, {
4098
- readonly type: "event";
4099
- readonly anonymous: false;
4100
- readonly inputs: readonly [];
4101
- readonly name: "EIP712DomainChanged";
4102
- }, {
4103
- readonly type: "event";
4104
- readonly anonymous: false;
4105
- readonly inputs: readonly [{
4106
- readonly name: "tokenId";
4107
- readonly internalType: "uint256";
4108
- readonly type: "uint256";
4109
- readonly indexed: true;
4110
- }, {
4111
- readonly name: "price";
4112
- readonly internalType: "uint256";
4113
- readonly type: "uint256";
4114
- readonly indexed: true;
4115
- }, {
4116
- readonly name: "tokenAddress";
4117
- readonly internalType: "address";
4118
- readonly type: "address";
4119
- readonly indexed: true;
4120
- }];
4121
- readonly name: "TokenCreated";
4122
- }, {
4123
- readonly type: "event";
4124
- readonly anonymous: false;
4125
- readonly inputs: readonly [{
4126
- readonly name: "operator";
4127
- readonly internalType: "address";
4128
- readonly type: "address";
4129
- readonly indexed: true;
4130
- }, {
4131
- readonly name: "from";
4132
- readonly internalType: "address";
4133
- readonly type: "address";
4134
- readonly indexed: true;
4135
- }, {
4136
- readonly name: "to";
4137
- readonly internalType: "address";
4138
- readonly type: "address";
4139
- readonly indexed: true;
4140
- }, {
4141
- readonly name: "ids";
4142
- readonly internalType: "uint256[]";
4143
- readonly type: "uint256[]";
4144
- readonly indexed: false;
4145
- }, {
4146
- readonly name: "values";
4147
- readonly internalType: "uint256[]";
4148
- readonly type: "uint256[]";
4149
- readonly indexed: false;
4150
- }];
4151
- readonly name: "TransferBatch";
4152
- }, {
4153
- readonly type: "event";
4154
- readonly anonymous: false;
4155
- readonly inputs: readonly [{
4156
- readonly name: "operator";
4157
- readonly internalType: "address";
4158
- readonly type: "address";
4159
- readonly indexed: true;
4160
- }, {
4161
- readonly name: "from";
4162
- readonly internalType: "address";
4163
- readonly type: "address";
4164
- readonly indexed: true;
4165
- }, {
4166
- readonly name: "to";
4167
- readonly internalType: "address";
4168
- readonly type: "address";
4169
- readonly indexed: true;
4170
- }, {
4171
- readonly name: "id";
4172
- readonly internalType: "uint256";
4173
- readonly type: "uint256";
4174
- readonly indexed: false;
4175
- }, {
4176
- readonly name: "value";
4177
- readonly internalType: "uint256";
4178
- readonly type: "uint256";
4179
- readonly indexed: false;
4180
- }];
4181
- readonly name: "TransferSingle";
4182
- }, {
4183
- readonly type: "event";
4184
- readonly anonymous: false;
4185
- readonly inputs: readonly [{
4186
- readonly name: "value";
4187
- readonly internalType: "string";
4188
- readonly type: "string";
4189
- readonly indexed: false;
4190
- }, {
4191
- readonly name: "id";
4192
- readonly internalType: "uint256";
4193
- readonly type: "uint256";
4194
- readonly indexed: true;
4195
- }];
4196
- readonly name: "URI";
4197
- }, {
4198
- readonly type: "event";
4199
- readonly anonymous: false;
4200
- readonly inputs: readonly [{
4201
- readonly name: "contractURI";
4202
- readonly internalType: "string";
4203
- readonly type: "string";
4204
- readonly indexed: false;
4205
- }, {
4206
- readonly name: "baseURI";
4207
- readonly internalType: "string";
4208
- readonly type: "string";
4209
- readonly indexed: false;
4210
- }];
4211
- readonly name: "URIsUpdated";
4212
- }, {
4213
- readonly type: "error";
4214
- readonly inputs: readonly [{
4215
- readonly name: "authority";
4216
- readonly internalType: "address";
4217
- readonly type: "address";
4218
- }];
4219
- readonly name: "AccessManagedInvalidAuthority";
4220
- }, {
4221
- readonly type: "error";
4222
- readonly inputs: readonly [{
4223
- readonly name: "caller";
4224
- readonly internalType: "address";
4225
- readonly type: "address";
4226
- }, {
4227
- readonly name: "delay";
4228
- readonly internalType: "uint32";
4229
- readonly type: "uint32";
4230
- }];
4231
- readonly name: "AccessManagedRequiredDelay";
4232
- }, {
4233
- readonly type: "error";
4234
- readonly inputs: readonly [{
4235
- readonly name: "caller";
4236
- readonly internalType: "address";
4237
- readonly type: "address";
4238
- }];
4239
- readonly name: "AccessManagedUnauthorized";
4240
- }, {
4241
- readonly type: "error";
4242
- readonly inputs: readonly [{
4243
- readonly name: "target";
4244
- readonly internalType: "address";
4245
- readonly type: "address";
4246
- }];
4247
- readonly name: "AddressEmptyCode";
4248
- }, {
4249
- readonly type: "error";
4250
- readonly inputs: readonly [{
4251
- readonly name: "account";
4252
- readonly internalType: "address";
4253
- readonly type: "address";
4254
- }];
4255
- readonly name: "AddressInsufficientBalance";
4256
- }, {
4257
- readonly type: "error";
4258
- readonly inputs: readonly [{
4259
- readonly name: "lengthA";
4260
- readonly internalType: "uint256";
4261
- readonly type: "uint256";
4262
- }, {
4263
- readonly name: "lengthB";
4264
- readonly internalType: "uint256";
4265
- readonly type: "uint256";
4266
- }];
4267
- readonly name: "ArrayLengthMismatch";
4268
- }, {
4269
- readonly type: "error";
4270
- readonly inputs: readonly [{
4271
- readonly name: "returnData";
4272
- readonly internalType: "bytes";
4273
- readonly type: "bytes";
4274
- }];
4275
- readonly name: "CallFailed";
4276
- }, {
4277
- readonly type: "error";
4278
- readonly inputs: readonly [{
4279
- readonly name: "sender";
4280
- readonly internalType: "address";
4281
- readonly type: "address";
4282
- }, {
4283
- readonly name: "balance";
4284
- readonly internalType: "uint256";
4285
- readonly type: "uint256";
4286
- }, {
4287
- readonly name: "needed";
4288
- readonly internalType: "uint256";
4289
- readonly type: "uint256";
4290
- }, {
4291
- readonly name: "tokenId";
4292
- readonly internalType: "uint256";
4293
- readonly type: "uint256";
4294
- }];
4295
- readonly name: "ERC1155InsufficientBalance";
4296
- }, {
4297
- readonly type: "error";
4298
- readonly inputs: readonly [{
4299
- readonly name: "approver";
4300
- readonly internalType: "address";
4301
- readonly type: "address";
4302
- }];
4303
- readonly name: "ERC1155InvalidApprover";
4304
- }, {
4305
- readonly type: "error";
4306
- readonly inputs: readonly [{
4307
- readonly name: "idsLength";
4308
- readonly internalType: "uint256";
4309
- readonly type: "uint256";
4310
- }, {
4311
- readonly name: "valuesLength";
4312
- readonly internalType: "uint256";
4313
- readonly type: "uint256";
4314
- }];
4315
- readonly name: "ERC1155InvalidArrayLength";
4316
- }, {
4317
- readonly type: "error";
4318
- readonly inputs: readonly [{
4319
- readonly name: "operator";
4320
- readonly internalType: "address";
4321
- readonly type: "address";
4322
- }];
4323
- readonly name: "ERC1155InvalidOperator";
4324
- }, {
4325
- readonly type: "error";
4326
- readonly inputs: readonly [{
4327
- readonly name: "receiver";
4328
- readonly internalType: "address";
4329
- readonly type: "address";
4330
- }];
4331
- readonly name: "ERC1155InvalidReceiver";
4332
- }, {
4333
- readonly type: "error";
4334
- readonly inputs: readonly [{
4335
- readonly name: "sender";
4336
- readonly internalType: "address";
4337
- readonly type: "address";
4338
- }];
4339
- readonly name: "ERC1155InvalidSender";
4340
- }, {
4341
- readonly type: "error";
4342
- readonly inputs: readonly [{
4343
- readonly name: "operator";
4344
- readonly internalType: "address";
4345
- readonly type: "address";
4346
- }, {
4347
- readonly name: "owner";
4348
- readonly internalType: "address";
4349
- readonly type: "address";
4350
- }];
4351
- readonly name: "ERC1155MissingApprovalForAll";
4352
- }, {
4353
- readonly type: "error";
4354
- readonly inputs: readonly [];
4355
- readonly name: "ERC20TransferSlippage";
4356
- }, {
4357
- readonly type: "error";
4358
- readonly inputs: readonly [{
4359
- readonly name: "deadline";
4360
- readonly internalType: "uint256";
4361
- readonly type: "uint256";
4362
- }];
4363
- readonly name: "ERC2612ExpiredSignature";
4364
- }, {
4365
- readonly type: "error";
4366
- readonly inputs: readonly [];
4367
- readonly name: "ETHTransferFailed";
4368
- }, {
4369
- readonly type: "error";
4370
- readonly inputs: readonly [];
4371
- readonly name: "FailedInnerCall";
4372
- }, {
4373
- readonly type: "error";
4374
- readonly inputs: readonly [];
4375
- readonly name: "IncorrectAmountSent";
4376
- }, {
4377
- readonly type: "error";
4378
- readonly inputs: readonly [{
4379
- readonly name: "account";
4380
- readonly internalType: "address";
4381
- readonly type: "address";
4382
- }, {
4383
- readonly name: "currentNonce";
4384
- readonly internalType: "uint256";
4385
- readonly type: "uint256";
4386
- }];
4387
- readonly name: "InvalidAccountNonce";
4388
- }, {
4389
- readonly type: "error";
4390
- readonly inputs: readonly [];
4391
- readonly name: "InvalidRecipient";
4392
- }, {
4393
- readonly type: "error";
4394
- readonly inputs: readonly [];
4395
- readonly name: "InvalidShortString";
4396
- }, {
4397
- readonly type: "error";
4398
- readonly inputs: readonly [];
4399
- readonly name: "InvalidSignature";
4400
- }, {
4401
- readonly type: "error";
4402
- readonly inputs: readonly [];
4403
- readonly name: "InvalidTokenPrice";
4404
- }, {
4405
- readonly type: "error";
4406
- readonly inputs: readonly [];
4407
- readonly name: "NoUriForNonexistentToken";
4408
- }, {
4409
- readonly type: "error";
4410
- readonly inputs: readonly [{
4411
- readonly name: "handler";
4412
- readonly internalType: "address";
4413
- readonly type: "address";
4414
- }];
4415
- readonly name: "NotARedeemHandler";
4416
- }, {
4417
- readonly type: "error";
4418
- readonly inputs: readonly [{
4419
- readonly name: "token";
4420
- readonly internalType: "address";
4421
- readonly type: "address";
4422
- }];
4423
- readonly name: "SafeERC20FailedOperation";
4424
- }, {
4425
- readonly type: "error";
4426
- readonly inputs: readonly [{
4427
- readonly name: "str";
4428
- readonly internalType: "string";
4429
- readonly type: "string";
4430
- }];
4431
- readonly name: "StringTooLong";
4432
- }, {
4433
- readonly type: "error";
4434
- readonly inputs: readonly [];
4435
- readonly name: "TokenAlreadyCreated";
4436
- }, {
4437
- readonly type: "error";
4438
- readonly inputs: readonly [];
4439
- readonly name: "TokenDoesNotExist";
4440
- }, {
4441
- readonly type: "error";
4442
- readonly inputs: readonly [{
4443
- readonly name: "storedTokenAddress";
4444
- readonly internalType: "address";
4445
- readonly type: "address";
4446
- }, {
4447
- readonly name: "expectedTokenAddress";
4448
- readonly internalType: "address";
4449
- readonly type: "address";
4450
- }];
4451
- readonly name: "TokenMismatch";
4452
- }, {
4453
- readonly type: "error";
4454
- readonly inputs: readonly [];
4455
- readonly name: "TokenNotMintable";
4456
- }], "transferBatchToManagerAndCall", [bigint[], bigint[], `0x${string}`], import("viem").Chain, import("viem").Chain | undefined, `0x${string}` | {
4457
- address: `0x${string}`;
4458
- type: "json-rpc";
4459
- experimental_signAuthMessage?: undefined;
4460
- signMessage?: undefined;
4461
- signTransaction?: undefined;
4462
- signTypedData?: undefined;
4463
- publicKey?: undefined;
4464
- source?: undefined;
4465
- } | {
4466
- address: `0x${string}`;
4467
- experimental_signAuthMessage?: ((parameters: import("viem/_types/experimental/eip3074/utils/toAuthMessage").ToAuthMessageParameters) => Promise<`0x${string}`>) | undefined;
4468
- signMessage: ({ message }: {
4469
- message: import("viem").SignableMessage;
4470
- }) => Promise<`0x${string}`>;
4471
- signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, args?: {
4472
- serializer?: serializer | undefined;
4473
- } | undefined) => Promise<import("viem/_types/types/utils").IsNarrowable<import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>>, `0x${string}`> extends true ? import("viem").TransactionSerialized<import("viem").GetTransactionType<transaction>> : `0x${string}`>;
4474
- signTypedData: <const typedData extends Record<string, unknown> | {
4475
- [x: string]: readonly import("viem").TypedDataParameter[];
4476
- [x: `string[${string}]`]: undefined;
4477
- [x: `function[${string}]`]: undefined;
4478
- [x: `address[${string}]`]: undefined;
4479
- [x: `bool[${string}]`]: undefined;
4480
- [x: `bytes[${string}]`]: undefined;
4481
- [x: `bytes21[${string}]`]: undefined;
4482
- [x: `bytes1[${string}]`]: undefined;
4483
- [x: `bytes2[${string}]`]: undefined;
4484
- [x: `bytes3[${string}]`]: undefined;
4485
- [x: `bytes4[${string}]`]: undefined;
4486
- [x: `bytes5[${string}]`]: undefined;
4487
- [x: `bytes6[${string}]`]: undefined;
4488
- [x: `bytes7[${string}]`]: undefined;
4489
- [x: `bytes8[${string}]`]: undefined;
4490
- [x: `bytes9[${string}]`]: undefined;
4491
- [x: `bytes10[${string}]`]: undefined;
4492
- [x: `bytes11[${string}]`]: undefined;
4493
- [x: `bytes12[${string}]`]: undefined;
4494
- [x: `bytes13[${string}]`]: undefined;
4495
- [x: `bytes14[${string}]`]: undefined;
4496
- [x: `bytes15[${string}]`]: undefined;
4497
- [x: `bytes16[${string}]`]: undefined;
4498
- [x: `bytes17[${string}]`]: undefined;
4499
- [x: `bytes18[${string}]`]: undefined;
4500
- [x: `bytes19[${string}]`]: undefined;
4501
- [x: `bytes20[${string}]`]: undefined;
4502
- [x: `bytes22[${string}]`]: undefined;
4503
- [x: `bytes23[${string}]`]: undefined;
4504
- [x: `bytes24[${string}]`]: undefined;
4505
- [x: `bytes25[${string}]`]: undefined;
4506
- [x: `bytes26[${string}]`]: undefined;
4507
- [x: `bytes27[${string}]`]: undefined;
4508
- [x: `bytes28[${string}]`]: undefined;
4509
- [x: `bytes29[${string}]`]: undefined;
4510
- [x: `bytes30[${string}]`]: undefined;
4511
- [x: `bytes31[${string}]`]: undefined;
4512
- [x: `bytes32[${string}]`]: undefined;
4513
- [x: `int[${string}]`]: undefined;
4514
- [x: `int8[${string}]`]: undefined;
4515
- [x: `int16[${string}]`]: undefined;
4516
- [x: `int24[${string}]`]: undefined;
4517
- [x: `int32[${string}]`]: undefined;
4518
- [x: `int40[${string}]`]: undefined;
4519
- [x: `int48[${string}]`]: undefined;
4520
- [x: `int56[${string}]`]: undefined;
4521
- [x: `int64[${string}]`]: undefined;
4522
- [x: `int72[${string}]`]: undefined;
4523
- [x: `int80[${string}]`]: undefined;
4524
- [x: `int88[${string}]`]: undefined;
4525
- [x: `int96[${string}]`]: undefined;
4526
- [x: `int104[${string}]`]: undefined;
4527
- [x: `int112[${string}]`]: undefined;
4528
- [x: `int120[${string}]`]: undefined;
4529
- [x: `int128[${string}]`]: undefined;
4530
- [x: `int136[${string}]`]: undefined;
4531
- [x: `int144[${string}]`]: undefined;
4532
- [x: `int152[${string}]`]: undefined;
4533
- [x: `int160[${string}]`]: undefined;
4534
- [x: `int168[${string}]`]: undefined;
4535
- [x: `int176[${string}]`]: undefined;
4536
- [x: `int184[${string}]`]: undefined;
4537
- [x: `int192[${string}]`]: undefined;
4538
- [x: `int200[${string}]`]: undefined;
4539
- [x: `int208[${string}]`]: undefined;
4540
- [x: `int216[${string}]`]: undefined;
4541
- [x: `int224[${string}]`]: undefined;
4542
- [x: `int232[${string}]`]: undefined;
4543
- [x: `int240[${string}]`]: undefined;
4544
- [x: `int248[${string}]`]: undefined;
4545
- [x: `int256[${string}]`]: undefined;
4546
- [x: `uint[${string}]`]: undefined;
4547
- [x: `uint8[${string}]`]: undefined;
4548
- [x: `uint16[${string}]`]: undefined;
4549
- [x: `uint24[${string}]`]: undefined;
4550
- [x: `uint32[${string}]`]: undefined;
4551
- [x: `uint40[${string}]`]: undefined;
4552
- [x: `uint48[${string}]`]: undefined;
4553
- [x: `uint56[${string}]`]: undefined;
4554
- [x: `uint64[${string}]`]: undefined;
4555
- [x: `uint72[${string}]`]: undefined;
4556
- [x: `uint80[${string}]`]: undefined;
4557
- [x: `uint88[${string}]`]: undefined;
4558
- [x: `uint96[${string}]`]: undefined;
4559
- [x: `uint104[${string}]`]: undefined;
4560
- [x: `uint112[${string}]`]: undefined;
4561
- [x: `uint120[${string}]`]: undefined;
4562
- [x: `uint128[${string}]`]: undefined;
4563
- [x: `uint136[${string}]`]: undefined;
4564
- [x: `uint144[${string}]`]: undefined;
4565
- [x: `uint152[${string}]`]: undefined;
4566
- [x: `uint160[${string}]`]: undefined;
4567
- [x: `uint168[${string}]`]: undefined;
4568
- [x: `uint176[${string}]`]: undefined;
4569
- [x: `uint184[${string}]`]: undefined;
4570
- [x: `uint192[${string}]`]: undefined;
4571
- [x: `uint200[${string}]`]: undefined;
4572
- [x: `uint208[${string}]`]: undefined;
4573
- [x: `uint216[${string}]`]: undefined;
4574
- [x: `uint224[${string}]`]: undefined;
4575
- [x: `uint232[${string}]`]: undefined;
4576
- [x: `uint240[${string}]`]: undefined;
4577
- [x: `uint248[${string}]`]: undefined;
4578
- [x: `uint256[${string}]`]: undefined;
4579
- string?: undefined;
4580
- address?: undefined;
4581
- bool?: undefined;
4582
- bytes?: undefined;
4583
- bytes21?: undefined;
4584
- bytes1?: undefined;
4585
- bytes2?: undefined;
4586
- bytes3?: undefined;
4587
- bytes4?: undefined;
4588
- bytes5?: undefined;
4589
- bytes6?: undefined;
4590
- bytes7?: undefined;
4591
- bytes8?: undefined;
4592
- bytes9?: undefined;
4593
- bytes10?: undefined;
4594
- bytes11?: undefined;
4595
- bytes12?: undefined;
4596
- bytes13?: undefined;
4597
- bytes14?: undefined;
4598
- bytes15?: undefined;
4599
- bytes16?: undefined;
4600
- bytes17?: undefined;
4601
- bytes18?: undefined;
4602
- bytes19?: undefined;
4603
- bytes20?: undefined;
4604
- bytes22?: undefined;
4605
- bytes23?: undefined;
4606
- bytes24?: undefined;
4607
- bytes25?: undefined;
4608
- bytes26?: undefined;
4609
- bytes27?: undefined;
4610
- bytes28?: undefined;
4611
- bytes29?: undefined;
4612
- bytes30?: undefined;
4613
- bytes31?: undefined;
4614
- bytes32?: undefined;
4615
- int8?: undefined;
4616
- int16?: undefined;
4617
- int24?: undefined;
4618
- int32?: undefined;
4619
- int40?: undefined;
4620
- int48?: undefined;
4621
- int56?: undefined;
4622
- int64?: undefined;
4623
- int72?: undefined;
4624
- int80?: undefined;
4625
- int88?: undefined;
4626
- int96?: undefined;
4627
- int104?: undefined;
4628
- int112?: undefined;
4629
- int120?: undefined;
4630
- int128?: undefined;
4631
- int136?: undefined;
4632
- int144?: undefined;
4633
- int152?: undefined;
4634
- int160?: undefined;
4635
- int168?: undefined;
4636
- int176?: undefined;
4637
- int184?: undefined;
4638
- int192?: undefined;
4639
- int200?: undefined;
4640
- int208?: undefined;
4641
- int216?: undefined;
4642
- int224?: undefined;
4643
- int232?: undefined;
4644
- int240?: undefined;
4645
- int248?: undefined;
4646
- int256?: undefined;
4647
- uint8?: undefined;
4648
- uint16?: undefined;
4649
- uint24?: undefined;
4650
- uint32?: undefined;
4651
- uint40?: undefined;
4652
- uint48?: undefined;
4653
- uint56?: undefined;
4654
- uint64?: undefined;
4655
- uint72?: undefined;
4656
- uint80?: undefined;
4657
- uint88?: undefined;
4658
- uint96?: undefined;
4659
- uint104?: undefined;
4660
- uint112?: undefined;
4661
- uint120?: undefined;
4662
- uint128?: undefined;
4663
- uint136?: undefined;
4664
- uint144?: undefined;
4665
- uint152?: undefined;
4666
- uint160?: undefined;
4667
- uint168?: undefined;
4668
- uint176?: undefined;
4669
- uint184?: undefined;
4670
- uint192?: undefined;
4671
- uint200?: undefined;
4672
- uint208?: undefined;
4673
- uint216?: undefined;
4674
- uint224?: undefined;
4675
- uint232?: undefined;
4676
- uint240?: undefined;
4677
- uint248?: undefined;
4678
- uint256?: undefined;
4679
- }, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(typedDataDefinition: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
4680
- publicKey: `0x${string}`;
4681
- source: string;
4682
- type: "local";
4683
- }>;
192
+ } & PremintOnManagerParams): import("../types").SimulateContractParametersWithAccount;
4684
193
  export type PermitSafeTransferBatch = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof zoraMints1155Config.abi, "permitSafeTransferBatch">["inputs"]>[0];
4685
194
  export type PermitSafeTransfer = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof zoraMints1155Config.abi, "permitSafeTransfer">["inputs"]>[0];
4686
195
  export type CollectMintArguments = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof zoraMintsManagerImplConfig.abi, "collect">["inputs"]>[3];
@@ -4777,6 +286,14 @@ export declare function decodeCallFailedError(error: ContractFunctionRevertedErr
4777
286
  };
4778
287
  args: readonly [];
4779
288
  errorName: "ERC1155_MINT_TO_ZERO_ADDRESS";
289
+ } | {
290
+ abiItem: {
291
+ readonly type: "error";
292
+ readonly inputs: readonly [];
293
+ readonly name: "ERC20TransferSlippage";
294
+ };
295
+ args: readonly [];
296
+ errorName: "ERC20TransferSlippage";
4780
297
  } | {
4781
298
  abiItem: {
4782
299
  readonly type: "error";
@@ -5049,6 +566,22 @@ export declare function decodeCallFailedError(error: ContractFunctionRevertedErr
5049
566
  };
5050
567
  args: readonly [bigint, bigint];
5051
568
  errorName: "TokenIdMismatch";
569
+ } | {
570
+ abiItem: {
571
+ readonly type: "error";
572
+ readonly inputs: readonly [{
573
+ readonly name: "expected";
574
+ readonly internalType: "string";
575
+ readonly type: "string";
576
+ }, {
577
+ readonly name: "actual";
578
+ readonly internalType: "string";
579
+ readonly type: "string";
580
+ }];
581
+ readonly name: "UpgradeToMismatchedContractName";
582
+ };
583
+ args: readonly [string, string];
584
+ errorName: "UpgradeToMismatchedContractName";
5052
585
  } | {
5053
586
  abiItem: {
5054
587
  readonly type: "error";
@@ -5113,30 +646,6 @@ export declare function decodeCallFailedError(error: ContractFunctionRevertedErr
5113
646
  };
5114
647
  args: readonly [];
5115
648
  errorName: "premintSignerContractNotAContract";
5116
- } | {
5117
- abiItem: {
5118
- readonly type: "error";
5119
- readonly inputs: readonly [];
5120
- readonly name: "ERC20TransferSlippage";
5121
- };
5122
- args: readonly [];
5123
- errorName: "ERC20TransferSlippage";
5124
- } | {
5125
- abiItem: {
5126
- readonly type: "error";
5127
- readonly inputs: readonly [{
5128
- readonly name: "expected";
5129
- readonly internalType: "string";
5130
- readonly type: "string";
5131
- }, {
5132
- readonly name: "actual";
5133
- readonly internalType: "string";
5134
- readonly type: "string";
5135
- }];
5136
- readonly name: "UpgradeToMismatchedContractName";
5137
- };
5138
- args: readonly [string, string];
5139
- errorName: "UpgradeToMismatchedContractName";
5140
649
  } | {
5141
650
  abiItem: {
5142
651
  readonly type: "error";