@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.js CHANGED
@@ -5,6 +5,479 @@ var __export = (target, all) => {
5
5
  };
6
6
 
7
7
  // src/generated/wagmi.ts
8
+ var erc20MinterABI = [
9
+ {
10
+ stateMutability: "pure",
11
+ type: "function",
12
+ inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
13
+ name: "computePaidMintRewards",
14
+ outputs: [
15
+ {
16
+ name: "",
17
+ internalType: "struct IERC20Minter.RewardsSettings",
18
+ type: "tuple",
19
+ components: [
20
+ {
21
+ name: "createReferralReward",
22
+ internalType: "uint256",
23
+ type: "uint256"
24
+ },
25
+ {
26
+ name: "mintReferralReward",
27
+ internalType: "uint256",
28
+ type: "uint256"
29
+ },
30
+ { name: "zoraReward", internalType: "uint256", type: "uint256" },
31
+ {
32
+ name: "firstMinterReward",
33
+ internalType: "uint256",
34
+ type: "uint256"
35
+ }
36
+ ]
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ stateMutability: "pure",
42
+ type: "function",
43
+ inputs: [
44
+ { name: "totalReward", internalType: "uint256", type: "uint256" },
45
+ { name: "rewardPct", internalType: "uint256", type: "uint256" }
46
+ ],
47
+ name: "computeReward",
48
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
49
+ },
50
+ {
51
+ stateMutability: "pure",
52
+ type: "function",
53
+ inputs: [{ name: "totalValue", internalType: "uint256", type: "uint256" }],
54
+ name: "computeTotalReward",
55
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
56
+ },
57
+ {
58
+ stateMutability: "pure",
59
+ type: "function",
60
+ inputs: [],
61
+ name: "contractName",
62
+ outputs: [{ name: "", internalType: "string", type: "string" }]
63
+ },
64
+ {
65
+ stateMutability: "pure",
66
+ type: "function",
67
+ inputs: [],
68
+ name: "contractURI",
69
+ outputs: [{ name: "", internalType: "string", type: "string" }]
70
+ },
71
+ {
72
+ stateMutability: "pure",
73
+ type: "function",
74
+ inputs: [],
75
+ name: "contractVersion",
76
+ outputs: [{ name: "", internalType: "string", type: "string" }]
77
+ },
78
+ {
79
+ stateMutability: "view",
80
+ type: "function",
81
+ inputs: [
82
+ { name: "tokenContract", internalType: "address", type: "address" },
83
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
84
+ ],
85
+ name: "getCreateReferral",
86
+ outputs: [
87
+ { name: "createReferral", internalType: "address", type: "address" }
88
+ ]
89
+ },
90
+ {
91
+ stateMutability: "view",
92
+ type: "function",
93
+ inputs: [
94
+ { name: "tokenContract", internalType: "address", type: "address" },
95
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
96
+ ],
97
+ name: "getFirstMinter",
98
+ outputs: [
99
+ { name: "firstMinter", internalType: "address", type: "address" }
100
+ ]
101
+ },
102
+ {
103
+ stateMutability: "view",
104
+ type: "function",
105
+ inputs: [
106
+ { name: "tokenContract", internalType: "address", type: "address" },
107
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
108
+ { name: "wallet", internalType: "address", type: "address" }
109
+ ],
110
+ name: "getMintedPerWallet",
111
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
112
+ },
113
+ {
114
+ stateMutability: "nonpayable",
115
+ type: "function",
116
+ inputs: [
117
+ {
118
+ name: "_zoraRewardRecipientAddress",
119
+ internalType: "address",
120
+ type: "address"
121
+ }
122
+ ],
123
+ name: "initialize",
124
+ outputs: []
125
+ },
126
+ {
127
+ stateMutability: "nonpayable",
128
+ type: "function",
129
+ inputs: [
130
+ { name: "mintTo", internalType: "address", type: "address" },
131
+ { name: "quantity", internalType: "uint256", type: "uint256" },
132
+ { name: "tokenAddress", internalType: "address", type: "address" },
133
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
134
+ { name: "totalValue", internalType: "uint256", type: "uint256" },
135
+ { name: "currency", internalType: "address", type: "address" },
136
+ { name: "mintReferral", internalType: "address", type: "address" },
137
+ { name: "comment", internalType: "string", type: "string" }
138
+ ],
139
+ name: "mint",
140
+ outputs: []
141
+ },
142
+ {
143
+ stateMutability: "pure",
144
+ type: "function",
145
+ inputs: [
146
+ { name: "", internalType: "address", type: "address" },
147
+ { name: "", internalType: "uint256", type: "uint256" },
148
+ { name: "", internalType: "uint256", type: "uint256" },
149
+ { name: "", internalType: "uint256", type: "uint256" },
150
+ { name: "", internalType: "bytes", type: "bytes" }
151
+ ],
152
+ name: "requestMint",
153
+ outputs: [
154
+ {
155
+ name: "",
156
+ internalType: "struct ICreatorCommands.CommandSet",
157
+ type: "tuple",
158
+ components: [
159
+ {
160
+ name: "commands",
161
+ internalType: "struct ICreatorCommands.Command[]",
162
+ type: "tuple[]",
163
+ components: [
164
+ {
165
+ name: "method",
166
+ internalType: "enum ICreatorCommands.CreatorActions",
167
+ type: "uint8"
168
+ },
169
+ { name: "args", internalType: "bytes", type: "bytes" }
170
+ ]
171
+ },
172
+ { name: "at", internalType: "uint256", type: "uint256" }
173
+ ]
174
+ }
175
+ ]
176
+ },
177
+ {
178
+ stateMutability: "nonpayable",
179
+ type: "function",
180
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
181
+ name: "resetSale",
182
+ outputs: []
183
+ },
184
+ {
185
+ stateMutability: "view",
186
+ type: "function",
187
+ inputs: [
188
+ { name: "tokenContract", internalType: "address", type: "address" },
189
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
190
+ ],
191
+ name: "sale",
192
+ outputs: [
193
+ {
194
+ name: "",
195
+ internalType: "struct IERC20Minter.SalesConfig",
196
+ type: "tuple",
197
+ components: [
198
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
199
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
200
+ {
201
+ name: "maxTokensPerAddress",
202
+ internalType: "uint64",
203
+ type: "uint64"
204
+ },
205
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
206
+ { name: "fundsRecipient", internalType: "address", type: "address" },
207
+ { name: "currency", internalType: "address", type: "address" }
208
+ ]
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ stateMutability: "nonpayable",
214
+ type: "function",
215
+ inputs: [
216
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
217
+ {
218
+ name: "salesConfig",
219
+ internalType: "struct IERC20Minter.SalesConfig",
220
+ type: "tuple",
221
+ components: [
222
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
223
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
224
+ {
225
+ name: "maxTokensPerAddress",
226
+ internalType: "uint64",
227
+ type: "uint64"
228
+ },
229
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
230
+ { name: "fundsRecipient", internalType: "address", type: "address" },
231
+ { name: "currency", internalType: "address", type: "address" }
232
+ ]
233
+ }
234
+ ],
235
+ name: "setSale",
236
+ outputs: []
237
+ },
238
+ {
239
+ stateMutability: "nonpayable",
240
+ type: "function",
241
+ inputs: [{ name: "recipient", internalType: "address", type: "address" }],
242
+ name: "setZoraRewardsRecipient",
243
+ outputs: []
244
+ },
245
+ {
246
+ stateMutability: "pure",
247
+ type: "function",
248
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
249
+ name: "supportsInterface",
250
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
251
+ },
252
+ {
253
+ stateMutability: "pure",
254
+ type: "function",
255
+ inputs: [],
256
+ name: "totalRewardPct",
257
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
258
+ },
259
+ {
260
+ stateMutability: "view",
261
+ type: "function",
262
+ inputs: [],
263
+ name: "zoraRewardRecipientAddress",
264
+ outputs: [{ name: "", internalType: "address", type: "address" }]
265
+ },
266
+ {
267
+ type: "event",
268
+ anonymous: false,
269
+ inputs: [
270
+ {
271
+ name: "rewardPercentage",
272
+ internalType: "uint256",
273
+ type: "uint256",
274
+ indexed: false
275
+ }
276
+ ],
277
+ name: "ERC20MinterInitialized"
278
+ },
279
+ {
280
+ type: "event",
281
+ anonymous: false,
282
+ inputs: [
283
+ {
284
+ name: "createReferral",
285
+ internalType: "address",
286
+ type: "address",
287
+ indexed: true
288
+ },
289
+ {
290
+ name: "mintReferral",
291
+ internalType: "address",
292
+ type: "address",
293
+ indexed: true
294
+ },
295
+ {
296
+ name: "firstMinter",
297
+ internalType: "address",
298
+ type: "address",
299
+ indexed: true
300
+ },
301
+ {
302
+ name: "zora",
303
+ internalType: "address",
304
+ type: "address",
305
+ indexed: false
306
+ },
307
+ {
308
+ name: "collection",
309
+ internalType: "address",
310
+ type: "address",
311
+ indexed: false
312
+ },
313
+ {
314
+ name: "currency",
315
+ internalType: "address",
316
+ type: "address",
317
+ indexed: false
318
+ },
319
+ {
320
+ name: "tokenId",
321
+ internalType: "uint256",
322
+ type: "uint256",
323
+ indexed: false
324
+ },
325
+ {
326
+ name: "createReferralReward",
327
+ internalType: "uint256",
328
+ type: "uint256",
329
+ indexed: false
330
+ },
331
+ {
332
+ name: "mintReferralReward",
333
+ internalType: "uint256",
334
+ type: "uint256",
335
+ indexed: false
336
+ },
337
+ {
338
+ name: "firstMinterReward",
339
+ internalType: "uint256",
340
+ type: "uint256",
341
+ indexed: false
342
+ },
343
+ {
344
+ name: "zoraReward",
345
+ internalType: "uint256",
346
+ type: "uint256",
347
+ indexed: false
348
+ }
349
+ ],
350
+ name: "ERC20RewardsDeposit"
351
+ },
352
+ {
353
+ type: "event",
354
+ anonymous: false,
355
+ inputs: [
356
+ {
357
+ name: "sender",
358
+ internalType: "address",
359
+ type: "address",
360
+ indexed: true
361
+ },
362
+ {
363
+ name: "tokenContract",
364
+ internalType: "address",
365
+ type: "address",
366
+ indexed: true
367
+ },
368
+ {
369
+ name: "tokenId",
370
+ internalType: "uint256",
371
+ type: "uint256",
372
+ indexed: true
373
+ },
374
+ {
375
+ name: "quantity",
376
+ internalType: "uint256",
377
+ type: "uint256",
378
+ indexed: false
379
+ },
380
+ {
381
+ name: "comment",
382
+ internalType: "string",
383
+ type: "string",
384
+ indexed: false
385
+ }
386
+ ],
387
+ name: "MintComment"
388
+ },
389
+ {
390
+ type: "event",
391
+ anonymous: false,
392
+ inputs: [
393
+ {
394
+ name: "mediaContract",
395
+ internalType: "address",
396
+ type: "address",
397
+ indexed: true
398
+ },
399
+ {
400
+ name: "tokenId",
401
+ internalType: "uint256",
402
+ type: "uint256",
403
+ indexed: true
404
+ },
405
+ {
406
+ name: "salesConfig",
407
+ internalType: "struct IERC20Minter.SalesConfig",
408
+ type: "tuple",
409
+ components: [
410
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
411
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
412
+ {
413
+ name: "maxTokensPerAddress",
414
+ internalType: "uint64",
415
+ type: "uint64"
416
+ },
417
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
418
+ { name: "fundsRecipient", internalType: "address", type: "address" },
419
+ { name: "currency", internalType: "address", type: "address" }
420
+ ],
421
+ indexed: false
422
+ }
423
+ ],
424
+ name: "SaleSet"
425
+ },
426
+ {
427
+ type: "event",
428
+ anonymous: false,
429
+ inputs: [
430
+ {
431
+ name: "prevRecipient",
432
+ internalType: "address",
433
+ type: "address",
434
+ indexed: true
435
+ },
436
+ {
437
+ name: "newRecipient",
438
+ internalType: "address",
439
+ type: "address",
440
+ indexed: true
441
+ }
442
+ ],
443
+ name: "ZoraRewardsRecipientSet"
444
+ },
445
+ { type: "error", inputs: [], name: "AddressZero" },
446
+ { type: "error", inputs: [], name: "AlreadyInitialized" },
447
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
448
+ { type: "error", inputs: [], name: "InvalidCurrency" },
449
+ { type: "error", inputs: [], name: "OnlyZoraRewardsRecipient" },
450
+ { type: "error", inputs: [], name: "PricePerTokenTooLow" },
451
+ { type: "error", inputs: [], name: "RequestMintInvalidUseMint" },
452
+ { type: "error", inputs: [], name: "SaleEnded" },
453
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
454
+ {
455
+ type: "error",
456
+ inputs: [
457
+ { name: "user", internalType: "address", type: "address" },
458
+ { name: "limit", internalType: "uint256", type: "uint256" },
459
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
460
+ ],
461
+ name: "UserExceedsMintLimit"
462
+ },
463
+ { type: "error", inputs: [], name: "WrongValueSent" }
464
+ ];
465
+ var erc20MinterAddress = {
466
+ 1: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
467
+ 10: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
468
+ 8453: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
469
+ 42161: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
470
+ 81457: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
471
+ 84532: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
472
+ 421614: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
473
+ 7777777: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
474
+ 11155111: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
475
+ 999999999: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31"
476
+ };
477
+ var erc20MinterConfig = {
478
+ address: erc20MinterAddress,
479
+ abi: erc20MinterABI
480
+ };
8
481
  var iUnwrapAndForwardActionABI = [
9
482
  {
10
483
  stateMutability: "payable",
@@ -98,7 +571,6 @@ var mintsEthUnwrapperAndCallerABI = [
98
571
  { type: "error", inputs: [], name: "FailedInnerCall" },
99
572
  { type: "error", inputs: [], name: "NotExpectingReceive" },
100
573
  { type: "error", inputs: [], name: "NotZoraMints1155" },
101
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
102
574
  {
103
575
  type: "error",
104
576
  inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
@@ -107,13 +579,281 @@ var mintsEthUnwrapperAndCallerABI = [
107
579
  { type: "error", inputs: [], name: "UnknownUserAction" }
108
580
  ];
109
581
  var mintsEthUnwrapperAndCallerAddress = {
110
- 7777777: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
111
- 999999999: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC"
582
+ 7777777: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
583
+ 999999999: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A"
112
584
  };
113
585
  var mintsEthUnwrapperAndCallerConfig = {
114
586
  address: mintsEthUnwrapperAndCallerAddress,
115
587
  abi: mintsEthUnwrapperAndCallerABI
116
588
  };
589
+ var protocolRewardsABI = [
590
+ { stateMutability: "payable", type: "constructor", inputs: [] },
591
+ {
592
+ stateMutability: "view",
593
+ type: "function",
594
+ inputs: [],
595
+ name: "WITHDRAW_TYPEHASH",
596
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
597
+ },
598
+ {
599
+ stateMutability: "view",
600
+ type: "function",
601
+ inputs: [{ name: "", internalType: "address", type: "address" }],
602
+ name: "balanceOf",
603
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
604
+ },
605
+ {
606
+ stateMutability: "payable",
607
+ type: "function",
608
+ inputs: [
609
+ { name: "to", internalType: "address", type: "address" },
610
+ { name: "reason", internalType: "bytes4", type: "bytes4" },
611
+ { name: "comment", internalType: "string", type: "string" }
612
+ ],
613
+ name: "deposit",
614
+ outputs: []
615
+ },
616
+ {
617
+ stateMutability: "payable",
618
+ type: "function",
619
+ inputs: [
620
+ { name: "recipients", internalType: "address[]", type: "address[]" },
621
+ { name: "amounts", internalType: "uint256[]", type: "uint256[]" },
622
+ { name: "reasons", internalType: "bytes4[]", type: "bytes4[]" },
623
+ { name: "comment", internalType: "string", type: "string" }
624
+ ],
625
+ name: "depositBatch",
626
+ outputs: []
627
+ },
628
+ {
629
+ stateMutability: "payable",
630
+ type: "function",
631
+ inputs: [
632
+ { name: "creator", internalType: "address", type: "address" },
633
+ { name: "creatorReward", internalType: "uint256", type: "uint256" },
634
+ { name: "createReferral", internalType: "address", type: "address" },
635
+ {
636
+ name: "createReferralReward",
637
+ internalType: "uint256",
638
+ type: "uint256"
639
+ },
640
+ { name: "mintReferral", internalType: "address", type: "address" },
641
+ { name: "mintReferralReward", internalType: "uint256", type: "uint256" },
642
+ { name: "firstMinter", internalType: "address", type: "address" },
643
+ { name: "firstMinterReward", internalType: "uint256", type: "uint256" },
644
+ { name: "zora", internalType: "address", type: "address" },
645
+ { name: "zoraReward", internalType: "uint256", type: "uint256" }
646
+ ],
647
+ name: "depositRewards",
648
+ outputs: []
649
+ },
650
+ {
651
+ stateMutability: "view",
652
+ type: "function",
653
+ inputs: [],
654
+ name: "eip712Domain",
655
+ outputs: [
656
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
657
+ { name: "name", internalType: "string", type: "string" },
658
+ { name: "version", internalType: "string", type: "string" },
659
+ { name: "chainId", internalType: "uint256", type: "uint256" },
660
+ { name: "verifyingContract", internalType: "address", type: "address" },
661
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
662
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
663
+ ]
664
+ },
665
+ {
666
+ stateMutability: "view",
667
+ type: "function",
668
+ inputs: [{ name: "", internalType: "address", type: "address" }],
669
+ name: "nonces",
670
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
671
+ },
672
+ {
673
+ stateMutability: "view",
674
+ type: "function",
675
+ inputs: [],
676
+ name: "totalSupply",
677
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
678
+ },
679
+ {
680
+ stateMutability: "nonpayable",
681
+ type: "function",
682
+ inputs: [
683
+ { name: "to", internalType: "address", type: "address" },
684
+ { name: "amount", internalType: "uint256", type: "uint256" }
685
+ ],
686
+ name: "withdraw",
687
+ outputs: []
688
+ },
689
+ {
690
+ stateMutability: "nonpayable",
691
+ type: "function",
692
+ inputs: [
693
+ { name: "to", internalType: "address", type: "address" },
694
+ { name: "amount", internalType: "uint256", type: "uint256" }
695
+ ],
696
+ name: "withdrawFor",
697
+ outputs: []
698
+ },
699
+ {
700
+ stateMutability: "nonpayable",
701
+ type: "function",
702
+ inputs: [
703
+ { name: "from", internalType: "address", type: "address" },
704
+ { name: "to", internalType: "address", type: "address" },
705
+ { name: "amount", internalType: "uint256", type: "uint256" },
706
+ { name: "deadline", internalType: "uint256", type: "uint256" },
707
+ { name: "v", internalType: "uint8", type: "uint8" },
708
+ { name: "r", internalType: "bytes32", type: "bytes32" },
709
+ { name: "s", internalType: "bytes32", type: "bytes32" }
710
+ ],
711
+ name: "withdrawWithSig",
712
+ outputs: []
713
+ },
714
+ {
715
+ type: "event",
716
+ anonymous: false,
717
+ inputs: [
718
+ { name: "from", internalType: "address", type: "address", indexed: true },
719
+ { name: "to", internalType: "address", type: "address", indexed: true },
720
+ { name: "reason", internalType: "bytes4", type: "bytes4", indexed: true },
721
+ {
722
+ name: "amount",
723
+ internalType: "uint256",
724
+ type: "uint256",
725
+ indexed: false
726
+ },
727
+ {
728
+ name: "comment",
729
+ internalType: "string",
730
+ type: "string",
731
+ indexed: false
732
+ }
733
+ ],
734
+ name: "Deposit"
735
+ },
736
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
737
+ {
738
+ type: "event",
739
+ anonymous: false,
740
+ inputs: [
741
+ {
742
+ name: "creator",
743
+ internalType: "address",
744
+ type: "address",
745
+ indexed: true
746
+ },
747
+ {
748
+ name: "createReferral",
749
+ internalType: "address",
750
+ type: "address",
751
+ indexed: true
752
+ },
753
+ {
754
+ name: "mintReferral",
755
+ internalType: "address",
756
+ type: "address",
757
+ indexed: true
758
+ },
759
+ {
760
+ name: "firstMinter",
761
+ internalType: "address",
762
+ type: "address",
763
+ indexed: false
764
+ },
765
+ {
766
+ name: "zora",
767
+ internalType: "address",
768
+ type: "address",
769
+ indexed: false
770
+ },
771
+ {
772
+ name: "from",
773
+ internalType: "address",
774
+ type: "address",
775
+ indexed: false
776
+ },
777
+ {
778
+ name: "creatorReward",
779
+ internalType: "uint256",
780
+ type: "uint256",
781
+ indexed: false
782
+ },
783
+ {
784
+ name: "createReferralReward",
785
+ internalType: "uint256",
786
+ type: "uint256",
787
+ indexed: false
788
+ },
789
+ {
790
+ name: "mintReferralReward",
791
+ internalType: "uint256",
792
+ type: "uint256",
793
+ indexed: false
794
+ },
795
+ {
796
+ name: "firstMinterReward",
797
+ internalType: "uint256",
798
+ type: "uint256",
799
+ indexed: false
800
+ },
801
+ {
802
+ name: "zoraReward",
803
+ internalType: "uint256",
804
+ type: "uint256",
805
+ indexed: false
806
+ }
807
+ ],
808
+ name: "RewardsDeposit"
809
+ },
810
+ {
811
+ type: "event",
812
+ anonymous: false,
813
+ inputs: [
814
+ { name: "from", internalType: "address", type: "address", indexed: true },
815
+ { name: "to", internalType: "address", type: "address", indexed: true },
816
+ {
817
+ name: "amount",
818
+ internalType: "uint256",
819
+ type: "uint256",
820
+ indexed: false
821
+ }
822
+ ],
823
+ name: "Withdraw"
824
+ },
825
+ { type: "error", inputs: [], name: "ADDRESS_ZERO" },
826
+ { type: "error", inputs: [], name: "ARRAY_LENGTH_MISMATCH" },
827
+ { type: "error", inputs: [], name: "INVALID_DEPOSIT" },
828
+ { type: "error", inputs: [], name: "INVALID_SIGNATURE" },
829
+ { type: "error", inputs: [], name: "INVALID_WITHDRAW" },
830
+ { type: "error", inputs: [], name: "InvalidShortString" },
831
+ { type: "error", inputs: [], name: "SIGNATURE_DEADLINE_EXPIRED" },
832
+ {
833
+ type: "error",
834
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
835
+ name: "StringTooLong"
836
+ },
837
+ { type: "error", inputs: [], name: "TRANSFER_FAILED" }
838
+ ];
839
+ var protocolRewardsAddress = {
840
+ 1: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
841
+ 10: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
842
+ 999: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
843
+ 8453: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
844
+ 42161: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
845
+ 81457: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
846
+ 84532: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
847
+ 421614: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
848
+ 7777777: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
849
+ 11155111: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
850
+ 168587773: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B",
851
+ 999999999: "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
852
+ };
853
+ var protocolRewardsConfig = {
854
+ address: protocolRewardsAddress,
855
+ abi: protocolRewardsABI
856
+ };
117
857
  var zoraCreator1155FactoryImplABI = [
118
858
  {
119
859
  stateMutability: "nonpayable",
@@ -4794,7 +5534,12 @@ var zoraMintsManagerImplABI = [
4794
5534
  type: "function",
4795
5535
  inputs: [
4796
5536
  { name: "newContractURI", internalType: "string", type: "string" },
4797
- { name: "newBaseURI", internalType: "string", type: "string" }
5537
+ { name: "newBaseURI", internalType: "string", type: "string" },
5538
+ {
5539
+ name: "tokenIdsToNotifyUpdate",
5540
+ internalType: "uint256[]",
5541
+ type: "uint256[]"
5542
+ }
4798
5543
  ],
4799
5544
  name: "setMetadataURIs",
4800
5545
  outputs: []
@@ -5444,6 +6189,7 @@ var addresses = {
5444
6189
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
5445
6190
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
5446
6191
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
6192
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
5447
6193
  timestamp: 1712349677
5448
6194
  },
5449
6195
  11155111: {
@@ -5484,6 +6230,7 @@ var addresses = {
5484
6230
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
5485
6231
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
5486
6232
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
6233
+ ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
5487
6234
  timestamp: 1712339316
5488
6235
  }
5489
6236
  };
@@ -5534,23 +6281,29 @@ var chainConfigs2 = {
5534
6281
  };
5535
6282
  var addresses2 = {
5536
6283
  7777777: {
5537
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
5538
- MINTS_MANAGER_IMPL: "0x212957295F3A40408E14531387915cDfB26A7DeB",
5539
- MINTS_MANAGER_IMPL_VERSION: "0.1.0"
6284
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
6285
+ MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
6286
+ MINTS_MANAGER_IMPL_VERSION: "0.1.2"
5540
6287
  },
5541
6288
  999999999: {
5542
- MINTS_ETH_UNWRAPPER_AND_CALLER: "0xE9Db91DD126D81697B588F1C145d74283E5C8ccC",
5543
- MINTS_MANAGER_IMPL: "0x212957295F3A40408E14531387915cDfB26A7DeB",
5544
- MINTS_MANAGER_IMPL_VERSION: "0.1.0"
6289
+ MINTS_ETH_UNWRAPPER_AND_CALLER: "0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
6290
+ MINTS_MANAGER_IMPL: "0x978685ad10B829F17e6c2C6E8EeABd7dFDdC1678",
6291
+ MINTS_MANAGER_IMPL_VERSION: "0.1.2"
5545
6292
  }
5546
6293
  };
5547
6294
  export {
5548
6295
  __exports as contracts1155,
6296
+ erc20MinterABI,
6297
+ erc20MinterAddress,
6298
+ erc20MinterConfig,
5549
6299
  iUnwrapAndForwardActionABI,
5550
6300
  mints_exports as mints,
5551
6301
  mintsEthUnwrapperAndCallerABI,
5552
6302
  mintsEthUnwrapperAndCallerAddress,
5553
6303
  mintsEthUnwrapperAndCallerConfig,
6304
+ protocolRewardsABI,
6305
+ protocolRewardsAddress,
6306
+ protocolRewardsConfig,
5554
6307
  zoraCreator1155FactoryImplABI,
5555
6308
  zoraCreator1155FactoryImplAddress,
5556
6309
  zoraCreator1155FactoryImplConfig,