@zoralabs/protocol-deployments 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -21,11 +21,17 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
23
  contracts1155: () => __exports,
24
+ erc20MinterABI: () => erc20MinterABI,
25
+ erc20MinterAddress: () => erc20MinterAddress,
26
+ erc20MinterConfig: () => erc20MinterConfig,
24
27
  iUnwrapAndForwardActionABI: () => iUnwrapAndForwardActionABI,
25
28
  mints: () => mints_exports,
26
29
  mintsEthUnwrapperAndCallerABI: () => mintsEthUnwrapperAndCallerABI,
27
30
  mintsEthUnwrapperAndCallerAddress: () => mintsEthUnwrapperAndCallerAddress,
28
31
  mintsEthUnwrapperAndCallerConfig: () => mintsEthUnwrapperAndCallerConfig,
32
+ protocolRewardsABI: () => protocolRewardsABI,
33
+ protocolRewardsAddress: () => protocolRewardsAddress,
34
+ protocolRewardsConfig: () => protocolRewardsConfig,
29
35
  zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
30
36
  zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
31
37
  zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
@@ -52,6 +58,479 @@ __export(src_exports, {
52
58
  module.exports = __toCommonJS(src_exports);
53
59
 
54
60
  // src/generated/wagmi.ts
61
+ var erc20MinterABI = [
62
+ {
63
+ stateMutability: "pure",
64
+ type: "function",
65
+ inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
66
+ name: "computePaidMintRewards",
67
+ outputs: [
68
+ {
69
+ name: "",
70
+ internalType: "struct IERC20Minter.RewardsSettings",
71
+ type: "tuple",
72
+ components: [
73
+ {
74
+ name: "createReferralReward",
75
+ internalType: "uint256",
76
+ type: "uint256"
77
+ },
78
+ {
79
+ name: "mintReferralReward",
80
+ internalType: "uint256",
81
+ type: "uint256"
82
+ },
83
+ { name: "zoraReward", internalType: "uint256", type: "uint256" },
84
+ {
85
+ name: "firstMinterReward",
86
+ internalType: "uint256",
87
+ type: "uint256"
88
+ }
89
+ ]
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ stateMutability: "pure",
95
+ type: "function",
96
+ inputs: [
97
+ { name: "totalReward", internalType: "uint256", type: "uint256" },
98
+ { name: "rewardPct", internalType: "uint256", type: "uint256" }
99
+ ],
100
+ name: "computeReward",
101
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
102
+ },
103
+ {
104
+ stateMutability: "pure",
105
+ type: "function",
106
+ inputs: [{ name: "totalValue", internalType: "uint256", type: "uint256" }],
107
+ name: "computeTotalReward",
108
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
109
+ },
110
+ {
111
+ stateMutability: "pure",
112
+ type: "function",
113
+ inputs: [],
114
+ name: "contractName",
115
+ outputs: [{ name: "", internalType: "string", type: "string" }]
116
+ },
117
+ {
118
+ stateMutability: "pure",
119
+ type: "function",
120
+ inputs: [],
121
+ name: "contractURI",
122
+ outputs: [{ name: "", internalType: "string", type: "string" }]
123
+ },
124
+ {
125
+ stateMutability: "pure",
126
+ type: "function",
127
+ inputs: [],
128
+ name: "contractVersion",
129
+ outputs: [{ name: "", internalType: "string", type: "string" }]
130
+ },
131
+ {
132
+ stateMutability: "view",
133
+ type: "function",
134
+ inputs: [
135
+ { name: "tokenContract", internalType: "address", type: "address" },
136
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
137
+ ],
138
+ name: "getCreateReferral",
139
+ outputs: [
140
+ { name: "createReferral", internalType: "address", type: "address" }
141
+ ]
142
+ },
143
+ {
144
+ stateMutability: "view",
145
+ type: "function",
146
+ inputs: [
147
+ { name: "tokenContract", internalType: "address", type: "address" },
148
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
149
+ ],
150
+ name: "getFirstMinter",
151
+ outputs: [
152
+ { name: "firstMinter", internalType: "address", type: "address" }
153
+ ]
154
+ },
155
+ {
156
+ stateMutability: "view",
157
+ type: "function",
158
+ inputs: [
159
+ { name: "tokenContract", internalType: "address", type: "address" },
160
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
161
+ { name: "wallet", internalType: "address", type: "address" }
162
+ ],
163
+ name: "getMintedPerWallet",
164
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
165
+ },
166
+ {
167
+ stateMutability: "nonpayable",
168
+ type: "function",
169
+ inputs: [
170
+ {
171
+ name: "_zoraRewardRecipientAddress",
172
+ internalType: "address",
173
+ type: "address"
174
+ }
175
+ ],
176
+ name: "initialize",
177
+ outputs: []
178
+ },
179
+ {
180
+ stateMutability: "nonpayable",
181
+ type: "function",
182
+ inputs: [
183
+ { name: "mintTo", internalType: "address", type: "address" },
184
+ { name: "quantity", internalType: "uint256", type: "uint256" },
185
+ { name: "tokenAddress", internalType: "address", type: "address" },
186
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
187
+ { name: "totalValue", internalType: "uint256", type: "uint256" },
188
+ { name: "currency", internalType: "address", type: "address" },
189
+ { name: "mintReferral", internalType: "address", type: "address" },
190
+ { name: "comment", internalType: "string", type: "string" }
191
+ ],
192
+ name: "mint",
193
+ outputs: []
194
+ },
195
+ {
196
+ stateMutability: "pure",
197
+ type: "function",
198
+ inputs: [
199
+ { name: "", internalType: "address", type: "address" },
200
+ { name: "", internalType: "uint256", type: "uint256" },
201
+ { name: "", internalType: "uint256", type: "uint256" },
202
+ { name: "", internalType: "uint256", type: "uint256" },
203
+ { name: "", internalType: "bytes", type: "bytes" }
204
+ ],
205
+ name: "requestMint",
206
+ outputs: [
207
+ {
208
+ name: "",
209
+ internalType: "struct ICreatorCommands.CommandSet",
210
+ type: "tuple",
211
+ components: [
212
+ {
213
+ name: "commands",
214
+ internalType: "struct ICreatorCommands.Command[]",
215
+ type: "tuple[]",
216
+ components: [
217
+ {
218
+ name: "method",
219
+ internalType: "enum ICreatorCommands.CreatorActions",
220
+ type: "uint8"
221
+ },
222
+ { name: "args", internalType: "bytes", type: "bytes" }
223
+ ]
224
+ },
225
+ { name: "at", internalType: "uint256", type: "uint256" }
226
+ ]
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ stateMutability: "nonpayable",
232
+ type: "function",
233
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
234
+ name: "resetSale",
235
+ outputs: []
236
+ },
237
+ {
238
+ stateMutability: "view",
239
+ type: "function",
240
+ inputs: [
241
+ { name: "tokenContract", internalType: "address", type: "address" },
242
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
243
+ ],
244
+ name: "sale",
245
+ outputs: [
246
+ {
247
+ name: "",
248
+ internalType: "struct IERC20Minter.SalesConfig",
249
+ type: "tuple",
250
+ components: [
251
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
252
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
253
+ {
254
+ name: "maxTokensPerAddress",
255
+ internalType: "uint64",
256
+ type: "uint64"
257
+ },
258
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
259
+ { name: "fundsRecipient", internalType: "address", type: "address" },
260
+ { name: "currency", internalType: "address", type: "address" }
261
+ ]
262
+ }
263
+ ]
264
+ },
265
+ {
266
+ stateMutability: "nonpayable",
267
+ type: "function",
268
+ inputs: [
269
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
270
+ {
271
+ name: "salesConfig",
272
+ internalType: "struct IERC20Minter.SalesConfig",
273
+ type: "tuple",
274
+ components: [
275
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
276
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
277
+ {
278
+ name: "maxTokensPerAddress",
279
+ internalType: "uint64",
280
+ type: "uint64"
281
+ },
282
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
283
+ { name: "fundsRecipient", internalType: "address", type: "address" },
284
+ { name: "currency", internalType: "address", type: "address" }
285
+ ]
286
+ }
287
+ ],
288
+ name: "setSale",
289
+ outputs: []
290
+ },
291
+ {
292
+ stateMutability: "nonpayable",
293
+ type: "function",
294
+ inputs: [{ name: "recipient", internalType: "address", type: "address" }],
295
+ name: "setZoraRewardsRecipient",
296
+ outputs: []
297
+ },
298
+ {
299
+ stateMutability: "pure",
300
+ type: "function",
301
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
302
+ name: "supportsInterface",
303
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
304
+ },
305
+ {
306
+ stateMutability: "pure",
307
+ type: "function",
308
+ inputs: [],
309
+ name: "totalRewardPct",
310
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
311
+ },
312
+ {
313
+ stateMutability: "view",
314
+ type: "function",
315
+ inputs: [],
316
+ name: "zoraRewardRecipientAddress",
317
+ outputs: [{ name: "", internalType: "address", type: "address" }]
318
+ },
319
+ {
320
+ type: "event",
321
+ anonymous: false,
322
+ inputs: [
323
+ {
324
+ name: "rewardPercentage",
325
+ internalType: "uint256",
326
+ type: "uint256",
327
+ indexed: false
328
+ }
329
+ ],
330
+ name: "ERC20MinterInitialized"
331
+ },
332
+ {
333
+ type: "event",
334
+ anonymous: false,
335
+ inputs: [
336
+ {
337
+ name: "createReferral",
338
+ internalType: "address",
339
+ type: "address",
340
+ indexed: true
341
+ },
342
+ {
343
+ name: "mintReferral",
344
+ internalType: "address",
345
+ type: "address",
346
+ indexed: true
347
+ },
348
+ {
349
+ name: "firstMinter",
350
+ internalType: "address",
351
+ type: "address",
352
+ indexed: true
353
+ },
354
+ {
355
+ name: "zora",
356
+ internalType: "address",
357
+ type: "address",
358
+ indexed: false
359
+ },
360
+ {
361
+ name: "collection",
362
+ internalType: "address",
363
+ type: "address",
364
+ indexed: false
365
+ },
366
+ {
367
+ name: "currency",
368
+ internalType: "address",
369
+ type: "address",
370
+ indexed: false
371
+ },
372
+ {
373
+ name: "tokenId",
374
+ internalType: "uint256",
375
+ type: "uint256",
376
+ indexed: false
377
+ },
378
+ {
379
+ name: "createReferralReward",
380
+ internalType: "uint256",
381
+ type: "uint256",
382
+ indexed: false
383
+ },
384
+ {
385
+ name: "mintReferralReward",
386
+ internalType: "uint256",
387
+ type: "uint256",
388
+ indexed: false
389
+ },
390
+ {
391
+ name: "firstMinterReward",
392
+ internalType: "uint256",
393
+ type: "uint256",
394
+ indexed: false
395
+ },
396
+ {
397
+ name: "zoraReward",
398
+ internalType: "uint256",
399
+ type: "uint256",
400
+ indexed: false
401
+ }
402
+ ],
403
+ name: "ERC20RewardsDeposit"
404
+ },
405
+ {
406
+ type: "event",
407
+ anonymous: false,
408
+ inputs: [
409
+ {
410
+ name: "sender",
411
+ internalType: "address",
412
+ type: "address",
413
+ indexed: true
414
+ },
415
+ {
416
+ name: "tokenContract",
417
+ internalType: "address",
418
+ type: "address",
419
+ indexed: true
420
+ },
421
+ {
422
+ name: "tokenId",
423
+ internalType: "uint256",
424
+ type: "uint256",
425
+ indexed: true
426
+ },
427
+ {
428
+ name: "quantity",
429
+ internalType: "uint256",
430
+ type: "uint256",
431
+ indexed: false
432
+ },
433
+ {
434
+ name: "comment",
435
+ internalType: "string",
436
+ type: "string",
437
+ indexed: false
438
+ }
439
+ ],
440
+ name: "MintComment"
441
+ },
442
+ {
443
+ type: "event",
444
+ anonymous: false,
445
+ inputs: [
446
+ {
447
+ name: "mediaContract",
448
+ internalType: "address",
449
+ type: "address",
450
+ indexed: true
451
+ },
452
+ {
453
+ name: "tokenId",
454
+ internalType: "uint256",
455
+ type: "uint256",
456
+ indexed: true
457
+ },
458
+ {
459
+ name: "salesConfig",
460
+ internalType: "struct IERC20Minter.SalesConfig",
461
+ type: "tuple",
462
+ components: [
463
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
464
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
465
+ {
466
+ name: "maxTokensPerAddress",
467
+ internalType: "uint64",
468
+ type: "uint64"
469
+ },
470
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
471
+ { name: "fundsRecipient", internalType: "address", type: "address" },
472
+ { name: "currency", internalType: "address", type: "address" }
473
+ ],
474
+ indexed: false
475
+ }
476
+ ],
477
+ name: "SaleSet"
478
+ },
479
+ {
480
+ type: "event",
481
+ anonymous: false,
482
+ inputs: [
483
+ {
484
+ name: "prevRecipient",
485
+ internalType: "address",
486
+ type: "address",
487
+ indexed: true
488
+ },
489
+ {
490
+ name: "newRecipient",
491
+ internalType: "address",
492
+ type: "address",
493
+ indexed: true
494
+ }
495
+ ],
496
+ name: "ZoraRewardsRecipientSet"
497
+ },
498
+ { type: "error", inputs: [], name: "AddressZero" },
499
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
500
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
501
+ { type: "error", inputs: [], name: "InvalidCurrency" },
502
+ { type: "error", inputs: [], name: "OnlyZoraRewardsRecipient" },
503
+ { type: "error", inputs: [], name: "PricePerTokenTooLow" },
504
+ { type: "error", inputs: [], name: "RequestMintInvalidUseMint" },
505
+ { type: "error", inputs: [], name: "SaleEnded" },
506
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
507
+ {
508
+ type: "error",
509
+ inputs: [
510
+ { name: "user", internalType: "address", type: "address" },
511
+ { name: "limit", internalType: "uint256", type: "uint256" },
512
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
513
+ ],
514
+ name: "UserExceedsMintLimit"
515
+ },
516
+ { type: "error", inputs: [], name: "WrongValueSent" }
517
+ ];
518
+ var erc20MinterAddress = {
519
+ 1: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
520
+ 10: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
521
+ 8453: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
522
+ 42161: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
523
+ 81457: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
524
+ 84532: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
525
+ 421614: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
526
+ 7777777: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
527
+ 11155111: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
528
+ 999999999: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31"
529
+ };
530
+ var erc20MinterConfig = {
531
+ address: erc20MinterAddress,
532
+ abi: erc20MinterABI
533
+ };
55
534
  var iUnwrapAndForwardActionABI = [
56
535
  {
57
536
  stateMutability: "payable",
@@ -145,7 +624,6 @@ var mintsEthUnwrapperAndCallerABI = [
145
624
  { type: "error", inputs: [], name: "FailedInnerCall" },
146
625
  { type: "error", inputs: [], name: "NotExpectingReceive" },
147
626
  { type: "error", inputs: [], name: "NotZoraMints1155" },
148
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
149
627
  {
150
628
  type: "error",
151
629
  inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
@@ -154,13 +632,281 @@ var mintsEthUnwrapperAndCallerABI = [
154
632
  { type: "error", inputs: [], name: "UnknownUserAction" }
155
633
  ];
156
634
  var mintsEthUnwrapperAndCallerAddress = {
157
- 7777777: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
158
- 999999999: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC"
635
+ 7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
636
+ 999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
159
637
  };
160
638
  var mintsEthUnwrapperAndCallerConfig = {
161
639
  address: mintsEthUnwrapperAndCallerAddress,
162
640
  abi: mintsEthUnwrapperAndCallerABI
163
641
  };
642
+ var protocolRewardsABI = [
643
+ { stateMutability: "payable", type: "constructor", inputs: [] },
644
+ {
645
+ stateMutability: "view",
646
+ type: "function",
647
+ inputs: [],
648
+ name: "WITHDRAW_TYPEHASH",
649
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
650
+ },
651
+ {
652
+ stateMutability: "view",
653
+ type: "function",
654
+ inputs: [{ name: "", internalType: "address", type: "address" }],
655
+ name: "balanceOf",
656
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
657
+ },
658
+ {
659
+ stateMutability: "payable",
660
+ type: "function",
661
+ inputs: [
662
+ { name: "to", internalType: "address", type: "address" },
663
+ { name: "reason", internalType: "bytes4", type: "bytes4" },
664
+ { name: "comment", internalType: "string", type: "string" }
665
+ ],
666
+ name: "deposit",
667
+ outputs: []
668
+ },
669
+ {
670
+ stateMutability: "payable",
671
+ type: "function",
672
+ inputs: [
673
+ { name: "recipients", internalType: "address[]", type: "address[]" },
674
+ { name: "amounts", internalType: "uint256[]", type: "uint256[]" },
675
+ { name: "reasons", internalType: "bytes4[]", type: "bytes4[]" },
676
+ { name: "comment", internalType: "string", type: "string" }
677
+ ],
678
+ name: "depositBatch",
679
+ outputs: []
680
+ },
681
+ {
682
+ stateMutability: "payable",
683
+ type: "function",
684
+ inputs: [
685
+ { name: "creator", internalType: "address", type: "address" },
686
+ { name: "creatorReward", internalType: "uint256", type: "uint256" },
687
+ { name: "createReferral", internalType: "address", type: "address" },
688
+ {
689
+ name: "createReferralReward",
690
+ internalType: "uint256",
691
+ type: "uint256"
692
+ },
693
+ { name: "mintReferral", internalType: "address", type: "address" },
694
+ { name: "mintReferralReward", internalType: "uint256", type: "uint256" },
695
+ { name: "firstMinter", internalType: "address", type: "address" },
696
+ { name: "firstMinterReward", internalType: "uint256", type: "uint256" },
697
+ { name: "zora", internalType: "address", type: "address" },
698
+ { name: "zoraReward", internalType: "uint256", type: "uint256" }
699
+ ],
700
+ name: "depositRewards",
701
+ outputs: []
702
+ },
703
+ {
704
+ stateMutability: "view",
705
+ type: "function",
706
+ inputs: [],
707
+ name: "eip712Domain",
708
+ outputs: [
709
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
710
+ { name: "name", internalType: "string", type: "string" },
711
+ { name: "version", internalType: "string", type: "string" },
712
+ { name: "chainId", internalType: "uint256", type: "uint256" },
713
+ { name: "verifyingContract", internalType: "address", type: "address" },
714
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
715
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
716
+ ]
717
+ },
718
+ {
719
+ stateMutability: "view",
720
+ type: "function",
721
+ inputs: [{ name: "", internalType: "address", type: "address" }],
722
+ name: "nonces",
723
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
724
+ },
725
+ {
726
+ stateMutability: "view",
727
+ type: "function",
728
+ inputs: [],
729
+ name: "totalSupply",
730
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
731
+ },
732
+ {
733
+ stateMutability: "nonpayable",
734
+ type: "function",
735
+ inputs: [
736
+ { name: "to", internalType: "address", type: "address" },
737
+ { name: "amount", internalType: "uint256", type: "uint256" }
738
+ ],
739
+ name: "withdraw",
740
+ outputs: []
741
+ },
742
+ {
743
+ stateMutability: "nonpayable",
744
+ type: "function",
745
+ inputs: [
746
+ { name: "to", internalType: "address", type: "address" },
747
+ { name: "amount", internalType: "uint256", type: "uint256" }
748
+ ],
749
+ name: "withdrawFor",
750
+ outputs: []
751
+ },
752
+ {
753
+ stateMutability: "nonpayable",
754
+ type: "function",
755
+ inputs: [
756
+ { name: "from", internalType: "address", type: "address" },
757
+ { name: "to", internalType: "address", type: "address" },
758
+ { name: "amount", internalType: "uint256", type: "uint256" },
759
+ { name: "deadline", internalType: "uint256", type: "uint256" },
760
+ { name: "v", internalType: "uint8", type: "uint8" },
761
+ { name: "r", internalType: "bytes32", type: "bytes32" },
762
+ { name: "s", internalType: "bytes32", type: "bytes32" }
763
+ ],
764
+ name: "withdrawWithSig",
765
+ outputs: []
766
+ },
767
+ {
768
+ type: "event",
769
+ anonymous: false,
770
+ inputs: [
771
+ { name: "from", internalType: "address", type: "address", indexed: true },
772
+ { name: "to", internalType: "address", type: "address", indexed: true },
773
+ { name: "reason", internalType: "bytes4", type: "bytes4", indexed: true },
774
+ {
775
+ name: "amount",
776
+ internalType: "uint256",
777
+ type: "uint256",
778
+ indexed: false
779
+ },
780
+ {
781
+ name: "comment",
782
+ internalType: "string",
783
+ type: "string",
784
+ indexed: false
785
+ }
786
+ ],
787
+ name: "Deposit"
788
+ },
789
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
790
+ {
791
+ type: "event",
792
+ anonymous: false,
793
+ inputs: [
794
+ {
795
+ name: "creator",
796
+ internalType: "address",
797
+ type: "address",
798
+ indexed: true
799
+ },
800
+ {
801
+ name: "createReferral",
802
+ internalType: "address",
803
+ type: "address",
804
+ indexed: true
805
+ },
806
+ {
807
+ name: "mintReferral",
808
+ internalType: "address",
809
+ type: "address",
810
+ indexed: true
811
+ },
812
+ {
813
+ name: "firstMinter",
814
+ internalType: "address",
815
+ type: "address",
816
+ indexed: false
817
+ },
818
+ {
819
+ name: "zora",
820
+ internalType: "address",
821
+ type: "address",
822
+ indexed: false
823
+ },
824
+ {
825
+ name: "from",
826
+ internalType: "address",
827
+ type: "address",
828
+ indexed: false
829
+ },
830
+ {
831
+ name: "creatorReward",
832
+ internalType: "uint256",
833
+ type: "uint256",
834
+ indexed: false
835
+ },
836
+ {
837
+ name: "createReferralReward",
838
+ internalType: "uint256",
839
+ type: "uint256",
840
+ indexed: false
841
+ },
842
+ {
843
+ name: "mintReferralReward",
844
+ internalType: "uint256",
845
+ type: "uint256",
846
+ indexed: false
847
+ },
848
+ {
849
+ name: "firstMinterReward",
850
+ internalType: "uint256",
851
+ type: "uint256",
852
+ indexed: false
853
+ },
854
+ {
855
+ name: "zoraReward",
856
+ internalType: "uint256",
857
+ type: "uint256",
858
+ indexed: false
859
+ }
860
+ ],
861
+ name: "RewardsDeposit"
862
+ },
863
+ {
864
+ type: "event",
865
+ anonymous: false,
866
+ inputs: [
867
+ { name: "from", internalType: "address", type: "address", indexed: true },
868
+ { name: "to", internalType: "address", type: "address", indexed: true },
869
+ {
870
+ name: "amount",
871
+ internalType: "uint256",
872
+ type: "uint256",
873
+ indexed: false
874
+ }
875
+ ],
876
+ name: "Withdraw"
877
+ },
878
+ { type: "error", inputs: [], name: "ADDRESS_ZERO" },
879
+ { type: "error", inputs: [], name: "ARRAY_LENGTH_MISMATCH" },
880
+ { type: "error", inputs: [], name: "INVALID_DEPOSIT" },
881
+ { type: "error", inputs: [], name: "INVALID_SIGNATURE" },
882
+ { type: "error", inputs: [], name: "INVALID_WITHDRAW" },
883
+ { type: "error", inputs: [], name: "InvalidShortString" },
884
+ { type: "error", inputs: [], name: "SIGNATURE_DEADLINE_EXPIRED" },
885
+ {
886
+ type: "error",
887
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
888
+ name: "StringTooLong"
889
+ },
890
+ { type: "error", inputs: [], name: "TRANSFER_FAILED" }
891
+ ];
892
+ var protocolRewardsAddress = {
893
+ 1: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
894
+ 10: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
895
+ 999: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
896
+ 8453: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
897
+ 42161: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
898
+ 81457: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
899
+ 84532: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
900
+ 421614: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
901
+ 7777777: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
902
+ 11155111: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
903
+ 168587773: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
904
+ 999999999: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
905
+ };
906
+ var protocolRewardsConfig = {
907
+ address: protocolRewardsAddress,
908
+ abi: protocolRewardsABI
909
+ };
164
910
  var zoraCreator1155FactoryImplABI = [
165
911
  {
166
912
  stateMutability: "nonpayable",
@@ -4841,7 +5587,12 @@ var zoraMintsManagerImplABI = [
4841
5587
  type: "function",
4842
5588
  inputs: [
4843
5589
  { name: "newContractURI", internalType: "string", type: "string" },
4844
- { name: "newBaseURI", internalType: "string", type: "string" }
5590
+ { name: "newBaseURI", internalType: "string", type: "string" },
5591
+ {
5592
+ name: "tokenIdsToNotifyUpdate",
5593
+ internalType: "uint256[]",
5594
+ type: "uint256[]"
5595
+ }
4845
5596
  ],
4846
5597
  name: "setMetadataURIs",
4847
5598
  outputs: []
@@ -5491,6 +6242,7 @@ var addresses = {
5491
6242
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
5492
6243
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
5493
6244
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
6245
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
5494
6246
  timestamp: 1712349677
5495
6247
  },
5496
6248
  11155111: {
@@ -5531,6 +6283,7 @@ var addresses = {
5531
6283
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
5532
6284
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
5533
6285
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
6286
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
5534
6287
  timestamp: 1712339316
5535
6288
  }
5536
6289
  };
@@ -5581,24 +6334,30 @@ var chainConfigs2 = {
5581
6334
  };
5582
6335
  var addresses2 = {
5583
6336
  7777777: {
5584
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
5585
- MINTS_MANAGER_IMPL: "0x212957295F3A40408E14531387915cDfB26A7DeB",
5586
- MINTS_MANAGER_IMPL_VERSION: "0.1.0"
6337
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
6338
+ MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
6339
+ MINTS_MANAGER_IMPL_VERSION: "0.1.2"
5587
6340
  },
5588
6341
  999999999: {
5589
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
5590
- MINTS_MANAGER_IMPL: "0x212957295F3A40408E14531387915cDfB26A7DeB",
5591
- MINTS_MANAGER_IMPL_VERSION: "0.1.0"
6342
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
6343
+ MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
6344
+ MINTS_MANAGER_IMPL_VERSION: "0.1.2"
5592
6345
  }
5593
6346
  };
5594
6347
  // Annotate the CommonJS export names for ESM import in node:
5595
6348
  0 && (module.exports = {
5596
6349
  contracts1155,
6350
+ erc20MinterABI,
6351
+ erc20MinterAddress,
6352
+ erc20MinterConfig,
5597
6353
  iUnwrapAndForwardActionABI,
5598
6354
  mints,
5599
6355
  mintsEthUnwrapperAndCallerABI,
5600
6356
  mintsEthUnwrapperAndCallerAddress,
5601
6357
  mintsEthUnwrapperAndCallerConfig,
6358
+ protocolRewardsABI,
6359
+ protocolRewardsAddress,
6360
+ protocolRewardsConfig,
5602
6361
  zoraCreator1155FactoryImplABI,
5603
6362
  zoraCreator1155FactoryImplAddress,
5604
6363
  zoraCreator1155FactoryImplConfig,