@zoralabs/protocol-deployments 0.1.8 → 0.1.10
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/.turbo/turbo-build.log +13 -22
- package/CHANGELOG.md +12 -0
- package/dist/generated/wagmi.d.ts +474 -80
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +395 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +391 -40
- package/dist/index.js.map +1 -1
- package/dist/typedData.d.ts +177 -0
- package/dist/typedData.d.ts.map +1 -0
- package/package.json +11 -17
- package/src/generated/wagmi.ts +227 -39
- package/src/index.ts +1 -0
- package/src/typedData.ts +226 -0
- package/wagmi.config.ts +0 -189
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
|
|
11
11
|
*/
|
|
12
12
|
export declare const erc20MinterABI: readonly [{
|
|
13
|
+
readonly stateMutability: "nonpayable";
|
|
14
|
+
readonly type: "function";
|
|
15
|
+
readonly inputs: readonly [];
|
|
16
|
+
readonly name: "acceptOwnership";
|
|
17
|
+
readonly outputs: readonly [];
|
|
18
|
+
}, {
|
|
19
|
+
readonly stateMutability: "nonpayable";
|
|
20
|
+
readonly type: "function";
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "cancelOwnershipTransfer";
|
|
23
|
+
readonly outputs: readonly [];
|
|
24
|
+
}, {
|
|
13
25
|
readonly stateMutability: "pure";
|
|
14
26
|
readonly type: "function";
|
|
15
27
|
readonly inputs: readonly [{
|
|
@@ -59,7 +71,7 @@ export declare const erc20MinterABI: readonly [{
|
|
|
59
71
|
readonly type: "uint256";
|
|
60
72
|
}];
|
|
61
73
|
}, {
|
|
62
|
-
readonly stateMutability: "
|
|
74
|
+
readonly stateMutability: "view";
|
|
63
75
|
readonly type: "function";
|
|
64
76
|
readonly inputs: readonly [{
|
|
65
77
|
readonly name: "totalValue";
|
|
@@ -102,6 +114,16 @@ export declare const erc20MinterABI: readonly [{
|
|
|
102
114
|
readonly internalType: "string";
|
|
103
115
|
readonly type: "string";
|
|
104
116
|
}];
|
|
117
|
+
}, {
|
|
118
|
+
readonly stateMutability: "view";
|
|
119
|
+
readonly type: "function";
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "ethRewardAmount";
|
|
122
|
+
readonly outputs: readonly [{
|
|
123
|
+
readonly name: "";
|
|
124
|
+
readonly internalType: "uint256";
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
}];
|
|
105
127
|
}, {
|
|
106
128
|
readonly stateMutability: "view";
|
|
107
129
|
readonly type: "function";
|
|
@@ -120,6 +142,29 @@ export declare const erc20MinterABI: readonly [{
|
|
|
120
142
|
readonly internalType: "address";
|
|
121
143
|
readonly type: "address";
|
|
122
144
|
}];
|
|
145
|
+
}, {
|
|
146
|
+
readonly stateMutability: "view";
|
|
147
|
+
readonly type: "function";
|
|
148
|
+
readonly inputs: readonly [];
|
|
149
|
+
readonly name: "getERC20MinterConfig";
|
|
150
|
+
readonly outputs: readonly [{
|
|
151
|
+
readonly name: "";
|
|
152
|
+
readonly internalType: "struct IERC20Minter.ERC20MinterConfig";
|
|
153
|
+
readonly type: "tuple";
|
|
154
|
+
readonly components: readonly [{
|
|
155
|
+
readonly name: "zoraRewardRecipientAddress";
|
|
156
|
+
readonly internalType: "address";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}, {
|
|
159
|
+
readonly name: "rewardRecipientPercentage";
|
|
160
|
+
readonly internalType: "uint256";
|
|
161
|
+
readonly type: "uint256";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "ethReward";
|
|
164
|
+
readonly internalType: "uint256";
|
|
165
|
+
readonly type: "uint256";
|
|
166
|
+
}];
|
|
167
|
+
}];
|
|
123
168
|
}, {
|
|
124
169
|
readonly stateMutability: "view";
|
|
125
170
|
readonly type: "function";
|
|
@@ -167,11 +212,23 @@ export declare const erc20MinterABI: readonly [{
|
|
|
167
212
|
readonly name: "_zoraRewardRecipientAddress";
|
|
168
213
|
readonly internalType: "address";
|
|
169
214
|
readonly type: "address";
|
|
215
|
+
}, {
|
|
216
|
+
readonly name: "owner";
|
|
217
|
+
readonly internalType: "address";
|
|
218
|
+
readonly type: "address";
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "_rewardPct";
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly type: "uint256";
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "_ethReward";
|
|
225
|
+
readonly internalType: "uint256";
|
|
226
|
+
readonly type: "uint256";
|
|
170
227
|
}];
|
|
171
228
|
readonly name: "initialize";
|
|
172
229
|
readonly outputs: readonly [];
|
|
173
230
|
}, {
|
|
174
|
-
readonly stateMutability: "
|
|
231
|
+
readonly stateMutability: "payable";
|
|
175
232
|
readonly type: "function";
|
|
176
233
|
readonly inputs: readonly [{
|
|
177
234
|
readonly name: "mintTo";
|
|
@@ -208,6 +265,44 @@ export declare const erc20MinterABI: readonly [{
|
|
|
208
265
|
}];
|
|
209
266
|
readonly name: "mint";
|
|
210
267
|
readonly outputs: readonly [];
|
|
268
|
+
}, {
|
|
269
|
+
readonly stateMutability: "view";
|
|
270
|
+
readonly type: "function";
|
|
271
|
+
readonly inputs: readonly [];
|
|
272
|
+
readonly name: "minterConfig";
|
|
273
|
+
readonly outputs: readonly [{
|
|
274
|
+
readonly name: "zoraRewardRecipientAddress";
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
readonly type: "address";
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "rewardRecipientPercentage";
|
|
279
|
+
readonly internalType: "uint256";
|
|
280
|
+
readonly type: "uint256";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "ethReward";
|
|
283
|
+
readonly internalType: "uint256";
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
}];
|
|
286
|
+
}, {
|
|
287
|
+
readonly stateMutability: "view";
|
|
288
|
+
readonly type: "function";
|
|
289
|
+
readonly inputs: readonly [];
|
|
290
|
+
readonly name: "owner";
|
|
291
|
+
readonly outputs: readonly [{
|
|
292
|
+
readonly name: "";
|
|
293
|
+
readonly internalType: "address";
|
|
294
|
+
readonly type: "address";
|
|
295
|
+
}];
|
|
296
|
+
}, {
|
|
297
|
+
readonly stateMutability: "view";
|
|
298
|
+
readonly type: "function";
|
|
299
|
+
readonly inputs: readonly [];
|
|
300
|
+
readonly name: "pendingOwner";
|
|
301
|
+
readonly outputs: readonly [{
|
|
302
|
+
readonly name: "";
|
|
303
|
+
readonly internalType: "address";
|
|
304
|
+
readonly type: "address";
|
|
305
|
+
}];
|
|
211
306
|
}, {
|
|
212
307
|
readonly stateMutability: "pure";
|
|
213
308
|
readonly type: "function";
|
|
@@ -266,6 +361,22 @@ export declare const erc20MinterABI: readonly [{
|
|
|
266
361
|
}];
|
|
267
362
|
readonly name: "resetSale";
|
|
268
363
|
readonly outputs: readonly [];
|
|
364
|
+
}, {
|
|
365
|
+
readonly stateMutability: "nonpayable";
|
|
366
|
+
readonly type: "function";
|
|
367
|
+
readonly inputs: readonly [];
|
|
368
|
+
readonly name: "resignOwnership";
|
|
369
|
+
readonly outputs: readonly [];
|
|
370
|
+
}, {
|
|
371
|
+
readonly stateMutability: "nonpayable";
|
|
372
|
+
readonly type: "function";
|
|
373
|
+
readonly inputs: readonly [{
|
|
374
|
+
readonly name: "_newOwner";
|
|
375
|
+
readonly internalType: "address";
|
|
376
|
+
readonly type: "address";
|
|
377
|
+
}];
|
|
378
|
+
readonly name: "safeTransferOwnership";
|
|
379
|
+
readonly outputs: readonly [];
|
|
269
380
|
}, {
|
|
270
381
|
readonly stateMutability: "view";
|
|
271
382
|
readonly type: "function";
|
|
@@ -309,6 +420,29 @@ export declare const erc20MinterABI: readonly [{
|
|
|
309
420
|
readonly type: "address";
|
|
310
421
|
}];
|
|
311
422
|
}];
|
|
423
|
+
}, {
|
|
424
|
+
readonly stateMutability: "nonpayable";
|
|
425
|
+
readonly type: "function";
|
|
426
|
+
readonly inputs: readonly [{
|
|
427
|
+
readonly name: "config";
|
|
428
|
+
readonly internalType: "struct IERC20Minter.ERC20MinterConfig";
|
|
429
|
+
readonly type: "tuple";
|
|
430
|
+
readonly components: readonly [{
|
|
431
|
+
readonly name: "zoraRewardRecipientAddress";
|
|
432
|
+
readonly internalType: "address";
|
|
433
|
+
readonly type: "address";
|
|
434
|
+
}, {
|
|
435
|
+
readonly name: "rewardRecipientPercentage";
|
|
436
|
+
readonly internalType: "uint256";
|
|
437
|
+
readonly type: "uint256";
|
|
438
|
+
}, {
|
|
439
|
+
readonly name: "ethReward";
|
|
440
|
+
readonly internalType: "uint256";
|
|
441
|
+
readonly type: "uint256";
|
|
442
|
+
}];
|
|
443
|
+
}];
|
|
444
|
+
readonly name: "setERC20MinterConfig";
|
|
445
|
+
readonly outputs: readonly [];
|
|
312
446
|
}, {
|
|
313
447
|
readonly stateMutability: "nonpayable";
|
|
314
448
|
readonly type: "function";
|
|
@@ -348,16 +482,6 @@ export declare const erc20MinterABI: readonly [{
|
|
|
348
482
|
}];
|
|
349
483
|
readonly name: "setSale";
|
|
350
484
|
readonly outputs: readonly [];
|
|
351
|
-
}, {
|
|
352
|
-
readonly stateMutability: "nonpayable";
|
|
353
|
-
readonly type: "function";
|
|
354
|
-
readonly inputs: readonly [{
|
|
355
|
-
readonly name: "recipient";
|
|
356
|
-
readonly internalType: "address";
|
|
357
|
-
readonly type: "address";
|
|
358
|
-
}];
|
|
359
|
-
readonly name: "setZoraRewardsRecipient";
|
|
360
|
-
readonly outputs: readonly [];
|
|
361
485
|
}, {
|
|
362
486
|
readonly stateMutability: "pure";
|
|
363
487
|
readonly type: "function";
|
|
@@ -373,7 +497,7 @@ export declare const erc20MinterABI: readonly [{
|
|
|
373
497
|
readonly type: "bool";
|
|
374
498
|
}];
|
|
375
499
|
}, {
|
|
376
|
-
readonly stateMutability: "
|
|
500
|
+
readonly stateMutability: "view";
|
|
377
501
|
readonly type: "function";
|
|
378
502
|
readonly inputs: readonly [];
|
|
379
503
|
readonly name: "totalRewardPct";
|
|
@@ -383,25 +507,38 @@ export declare const erc20MinterABI: readonly [{
|
|
|
383
507
|
readonly type: "uint256";
|
|
384
508
|
}];
|
|
385
509
|
}, {
|
|
386
|
-
readonly stateMutability: "
|
|
510
|
+
readonly stateMutability: "nonpayable";
|
|
387
511
|
readonly type: "function";
|
|
388
|
-
readonly inputs: readonly [
|
|
389
|
-
|
|
390
|
-
readonly outputs: readonly [{
|
|
391
|
-
readonly name: "";
|
|
512
|
+
readonly inputs: readonly [{
|
|
513
|
+
readonly name: "_newOwner";
|
|
392
514
|
readonly internalType: "address";
|
|
393
515
|
readonly type: "address";
|
|
394
516
|
}];
|
|
517
|
+
readonly name: "transferOwnership";
|
|
518
|
+
readonly outputs: readonly [];
|
|
395
519
|
}, {
|
|
396
520
|
readonly type: "event";
|
|
397
521
|
readonly anonymous: false;
|
|
398
522
|
readonly inputs: readonly [{
|
|
399
|
-
readonly name: "
|
|
400
|
-
readonly internalType: "
|
|
401
|
-
readonly type: "
|
|
523
|
+
readonly name: "config";
|
|
524
|
+
readonly internalType: "struct IERC20Minter.ERC20MinterConfig";
|
|
525
|
+
readonly type: "tuple";
|
|
526
|
+
readonly components: readonly [{
|
|
527
|
+
readonly name: "zoraRewardRecipientAddress";
|
|
528
|
+
readonly internalType: "address";
|
|
529
|
+
readonly type: "address";
|
|
530
|
+
}, {
|
|
531
|
+
readonly name: "rewardRecipientPercentage";
|
|
532
|
+
readonly internalType: "uint256";
|
|
533
|
+
readonly type: "uint256";
|
|
534
|
+
}, {
|
|
535
|
+
readonly name: "ethReward";
|
|
536
|
+
readonly internalType: "uint256";
|
|
537
|
+
readonly type: "uint256";
|
|
538
|
+
}];
|
|
402
539
|
readonly indexed: false;
|
|
403
540
|
}];
|
|
404
|
-
readonly name: "
|
|
541
|
+
readonly name: "ERC20MinterConfigSet";
|
|
405
542
|
}, {
|
|
406
543
|
readonly type: "event";
|
|
407
544
|
readonly anonymous: false;
|
|
@@ -462,6 +599,16 @@ export declare const erc20MinterABI: readonly [{
|
|
|
462
599
|
readonly indexed: false;
|
|
463
600
|
}];
|
|
464
601
|
readonly name: "ERC20RewardsDeposit";
|
|
602
|
+
}, {
|
|
603
|
+
readonly type: "event";
|
|
604
|
+
readonly anonymous: false;
|
|
605
|
+
readonly inputs: readonly [{
|
|
606
|
+
readonly name: "version";
|
|
607
|
+
readonly internalType: "uint8";
|
|
608
|
+
readonly type: "uint8";
|
|
609
|
+
readonly indexed: false;
|
|
610
|
+
}];
|
|
611
|
+
readonly name: "Initialized";
|
|
465
612
|
}, {
|
|
466
613
|
readonly type: "event";
|
|
467
614
|
readonly anonymous: false;
|
|
@@ -492,6 +639,51 @@ export declare const erc20MinterABI: readonly [{
|
|
|
492
639
|
readonly indexed: false;
|
|
493
640
|
}];
|
|
494
641
|
readonly name: "MintComment";
|
|
642
|
+
}, {
|
|
643
|
+
readonly type: "event";
|
|
644
|
+
readonly anonymous: false;
|
|
645
|
+
readonly inputs: readonly [{
|
|
646
|
+
readonly name: "owner";
|
|
647
|
+
readonly internalType: "address";
|
|
648
|
+
readonly type: "address";
|
|
649
|
+
readonly indexed: true;
|
|
650
|
+
}, {
|
|
651
|
+
readonly name: "canceledOwner";
|
|
652
|
+
readonly internalType: "address";
|
|
653
|
+
readonly type: "address";
|
|
654
|
+
readonly indexed: true;
|
|
655
|
+
}];
|
|
656
|
+
readonly name: "OwnerCanceled";
|
|
657
|
+
}, {
|
|
658
|
+
readonly type: "event";
|
|
659
|
+
readonly anonymous: false;
|
|
660
|
+
readonly inputs: readonly [{
|
|
661
|
+
readonly name: "owner";
|
|
662
|
+
readonly internalType: "address";
|
|
663
|
+
readonly type: "address";
|
|
664
|
+
readonly indexed: true;
|
|
665
|
+
}, {
|
|
666
|
+
readonly name: "pendingOwner";
|
|
667
|
+
readonly internalType: "address";
|
|
668
|
+
readonly type: "address";
|
|
669
|
+
readonly indexed: true;
|
|
670
|
+
}];
|
|
671
|
+
readonly name: "OwnerPending";
|
|
672
|
+
}, {
|
|
673
|
+
readonly type: "event";
|
|
674
|
+
readonly anonymous: false;
|
|
675
|
+
readonly inputs: readonly [{
|
|
676
|
+
readonly name: "prevOwner";
|
|
677
|
+
readonly internalType: "address";
|
|
678
|
+
readonly type: "address";
|
|
679
|
+
readonly indexed: true;
|
|
680
|
+
}, {
|
|
681
|
+
readonly name: "newOwner";
|
|
682
|
+
readonly internalType: "address";
|
|
683
|
+
readonly type: "address";
|
|
684
|
+
readonly indexed: true;
|
|
685
|
+
}];
|
|
686
|
+
readonly name: "OwnerUpdated";
|
|
495
687
|
}, {
|
|
496
688
|
readonly type: "event";
|
|
497
689
|
readonly anonymous: false;
|
|
@@ -537,21 +729,6 @@ export declare const erc20MinterABI: readonly [{
|
|
|
537
729
|
readonly indexed: false;
|
|
538
730
|
}];
|
|
539
731
|
readonly name: "SaleSet";
|
|
540
|
-
}, {
|
|
541
|
-
readonly type: "event";
|
|
542
|
-
readonly anonymous: false;
|
|
543
|
-
readonly inputs: readonly [{
|
|
544
|
-
readonly name: "prevRecipient";
|
|
545
|
-
readonly internalType: "address";
|
|
546
|
-
readonly type: "address";
|
|
547
|
-
readonly indexed: true;
|
|
548
|
-
}, {
|
|
549
|
-
readonly name: "newRecipient";
|
|
550
|
-
readonly internalType: "address";
|
|
551
|
-
readonly type: "address";
|
|
552
|
-
readonly indexed: true;
|
|
553
|
-
}];
|
|
554
|
-
readonly name: "ZoraRewardsRecipientSet";
|
|
555
732
|
}, {
|
|
556
733
|
readonly type: "error";
|
|
557
734
|
readonly inputs: readonly [];
|
|
@@ -559,11 +736,19 @@ export declare const erc20MinterABI: readonly [{
|
|
|
559
736
|
}, {
|
|
560
737
|
readonly type: "error";
|
|
561
738
|
readonly inputs: readonly [];
|
|
562
|
-
readonly name: "
|
|
739
|
+
readonly name: "ERC20TransferSlippage";
|
|
563
740
|
}, {
|
|
564
741
|
readonly type: "error";
|
|
565
742
|
readonly inputs: readonly [];
|
|
566
|
-
readonly name: "
|
|
743
|
+
readonly name: "FailedToSendEthReward";
|
|
744
|
+
}, {
|
|
745
|
+
readonly type: "error";
|
|
746
|
+
readonly inputs: readonly [];
|
|
747
|
+
readonly name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED";
|
|
748
|
+
}, {
|
|
749
|
+
readonly type: "error";
|
|
750
|
+
readonly inputs: readonly [];
|
|
751
|
+
readonly name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING";
|
|
567
752
|
}, {
|
|
568
753
|
readonly type: "error";
|
|
569
754
|
readonly inputs: readonly [];
|
|
@@ -571,7 +756,19 @@ export declare const erc20MinterABI: readonly [{
|
|
|
571
756
|
}, {
|
|
572
757
|
readonly type: "error";
|
|
573
758
|
readonly inputs: readonly [];
|
|
574
|
-
readonly name: "
|
|
759
|
+
readonly name: "InvalidValue";
|
|
760
|
+
}, {
|
|
761
|
+
readonly type: "error";
|
|
762
|
+
readonly inputs: readonly [];
|
|
763
|
+
readonly name: "ONLY_OWNER";
|
|
764
|
+
}, {
|
|
765
|
+
readonly type: "error";
|
|
766
|
+
readonly inputs: readonly [];
|
|
767
|
+
readonly name: "ONLY_PENDING_OWNER";
|
|
768
|
+
}, {
|
|
769
|
+
readonly type: "error";
|
|
770
|
+
readonly inputs: readonly [];
|
|
771
|
+
readonly name: "OWNER_CANNOT_BE_ZERO_ADDRESS";
|
|
575
772
|
}, {
|
|
576
773
|
readonly type: "error";
|
|
577
774
|
readonly inputs: readonly [];
|
|
@@ -657,6 +854,18 @@ export declare const erc20MinterConfig: {
|
|
|
657
854
|
readonly 999999999: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31";
|
|
658
855
|
};
|
|
659
856
|
readonly abi: readonly [{
|
|
857
|
+
readonly stateMutability: "nonpayable";
|
|
858
|
+
readonly type: "function";
|
|
859
|
+
readonly inputs: readonly [];
|
|
860
|
+
readonly name: "acceptOwnership";
|
|
861
|
+
readonly outputs: readonly [];
|
|
862
|
+
}, {
|
|
863
|
+
readonly stateMutability: "nonpayable";
|
|
864
|
+
readonly type: "function";
|
|
865
|
+
readonly inputs: readonly [];
|
|
866
|
+
readonly name: "cancelOwnershipTransfer";
|
|
867
|
+
readonly outputs: readonly [];
|
|
868
|
+
}, {
|
|
660
869
|
readonly stateMutability: "pure";
|
|
661
870
|
readonly type: "function";
|
|
662
871
|
readonly inputs: readonly [{
|
|
@@ -706,7 +915,7 @@ export declare const erc20MinterConfig: {
|
|
|
706
915
|
readonly type: "uint256";
|
|
707
916
|
}];
|
|
708
917
|
}, {
|
|
709
|
-
readonly stateMutability: "
|
|
918
|
+
readonly stateMutability: "view";
|
|
710
919
|
readonly type: "function";
|
|
711
920
|
readonly inputs: readonly [{
|
|
712
921
|
readonly name: "totalValue";
|
|
@@ -749,6 +958,16 @@ export declare const erc20MinterConfig: {
|
|
|
749
958
|
readonly internalType: "string";
|
|
750
959
|
readonly type: "string";
|
|
751
960
|
}];
|
|
961
|
+
}, {
|
|
962
|
+
readonly stateMutability: "view";
|
|
963
|
+
readonly type: "function";
|
|
964
|
+
readonly inputs: readonly [];
|
|
965
|
+
readonly name: "ethRewardAmount";
|
|
966
|
+
readonly outputs: readonly [{
|
|
967
|
+
readonly name: "";
|
|
968
|
+
readonly internalType: "uint256";
|
|
969
|
+
readonly type: "uint256";
|
|
970
|
+
}];
|
|
752
971
|
}, {
|
|
753
972
|
readonly stateMutability: "view";
|
|
754
973
|
readonly type: "function";
|
|
@@ -767,6 +986,29 @@ export declare const erc20MinterConfig: {
|
|
|
767
986
|
readonly internalType: "address";
|
|
768
987
|
readonly type: "address";
|
|
769
988
|
}];
|
|
989
|
+
}, {
|
|
990
|
+
readonly stateMutability: "view";
|
|
991
|
+
readonly type: "function";
|
|
992
|
+
readonly inputs: readonly [];
|
|
993
|
+
readonly name: "getERC20MinterConfig";
|
|
994
|
+
readonly outputs: readonly [{
|
|
995
|
+
readonly name: "";
|
|
996
|
+
readonly internalType: "struct IERC20Minter.ERC20MinterConfig";
|
|
997
|
+
readonly type: "tuple";
|
|
998
|
+
readonly components: readonly [{
|
|
999
|
+
readonly name: "zoraRewardRecipientAddress";
|
|
1000
|
+
readonly internalType: "address";
|
|
1001
|
+
readonly type: "address";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly name: "rewardRecipientPercentage";
|
|
1004
|
+
readonly internalType: "uint256";
|
|
1005
|
+
readonly type: "uint256";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly name: "ethReward";
|
|
1008
|
+
readonly internalType: "uint256";
|
|
1009
|
+
readonly type: "uint256";
|
|
1010
|
+
}];
|
|
1011
|
+
}];
|
|
770
1012
|
}, {
|
|
771
1013
|
readonly stateMutability: "view";
|
|
772
1014
|
readonly type: "function";
|
|
@@ -814,11 +1056,23 @@ export declare const erc20MinterConfig: {
|
|
|
814
1056
|
readonly name: "_zoraRewardRecipientAddress";
|
|
815
1057
|
readonly internalType: "address";
|
|
816
1058
|
readonly type: "address";
|
|
1059
|
+
}, {
|
|
1060
|
+
readonly name: "owner";
|
|
1061
|
+
readonly internalType: "address";
|
|
1062
|
+
readonly type: "address";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly name: "_rewardPct";
|
|
1065
|
+
readonly internalType: "uint256";
|
|
1066
|
+
readonly type: "uint256";
|
|
1067
|
+
}, {
|
|
1068
|
+
readonly name: "_ethReward";
|
|
1069
|
+
readonly internalType: "uint256";
|
|
1070
|
+
readonly type: "uint256";
|
|
817
1071
|
}];
|
|
818
1072
|
readonly name: "initialize";
|
|
819
1073
|
readonly outputs: readonly [];
|
|
820
1074
|
}, {
|
|
821
|
-
readonly stateMutability: "
|
|
1075
|
+
readonly stateMutability: "payable";
|
|
822
1076
|
readonly type: "function";
|
|
823
1077
|
readonly inputs: readonly [{
|
|
824
1078
|
readonly name: "mintTo";
|
|
@@ -855,6 +1109,44 @@ export declare const erc20MinterConfig: {
|
|
|
855
1109
|
}];
|
|
856
1110
|
readonly name: "mint";
|
|
857
1111
|
readonly outputs: readonly [];
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly stateMutability: "view";
|
|
1114
|
+
readonly type: "function";
|
|
1115
|
+
readonly inputs: readonly [];
|
|
1116
|
+
readonly name: "minterConfig";
|
|
1117
|
+
readonly outputs: readonly [{
|
|
1118
|
+
readonly name: "zoraRewardRecipientAddress";
|
|
1119
|
+
readonly internalType: "address";
|
|
1120
|
+
readonly type: "address";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly name: "rewardRecipientPercentage";
|
|
1123
|
+
readonly internalType: "uint256";
|
|
1124
|
+
readonly type: "uint256";
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly name: "ethReward";
|
|
1127
|
+
readonly internalType: "uint256";
|
|
1128
|
+
readonly type: "uint256";
|
|
1129
|
+
}];
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly stateMutability: "view";
|
|
1132
|
+
readonly type: "function";
|
|
1133
|
+
readonly inputs: readonly [];
|
|
1134
|
+
readonly name: "owner";
|
|
1135
|
+
readonly outputs: readonly [{
|
|
1136
|
+
readonly name: "";
|
|
1137
|
+
readonly internalType: "address";
|
|
1138
|
+
readonly type: "address";
|
|
1139
|
+
}];
|
|
1140
|
+
}, {
|
|
1141
|
+
readonly stateMutability: "view";
|
|
1142
|
+
readonly type: "function";
|
|
1143
|
+
readonly inputs: readonly [];
|
|
1144
|
+
readonly name: "pendingOwner";
|
|
1145
|
+
readonly outputs: readonly [{
|
|
1146
|
+
readonly name: "";
|
|
1147
|
+
readonly internalType: "address";
|
|
1148
|
+
readonly type: "address";
|
|
1149
|
+
}];
|
|
858
1150
|
}, {
|
|
859
1151
|
readonly stateMutability: "pure";
|
|
860
1152
|
readonly type: "function";
|
|
@@ -913,6 +1205,22 @@ export declare const erc20MinterConfig: {
|
|
|
913
1205
|
}];
|
|
914
1206
|
readonly name: "resetSale";
|
|
915
1207
|
readonly outputs: readonly [];
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly stateMutability: "nonpayable";
|
|
1210
|
+
readonly type: "function";
|
|
1211
|
+
readonly inputs: readonly [];
|
|
1212
|
+
readonly name: "resignOwnership";
|
|
1213
|
+
readonly outputs: readonly [];
|
|
1214
|
+
}, {
|
|
1215
|
+
readonly stateMutability: "nonpayable";
|
|
1216
|
+
readonly type: "function";
|
|
1217
|
+
readonly inputs: readonly [{
|
|
1218
|
+
readonly name: "_newOwner";
|
|
1219
|
+
readonly internalType: "address";
|
|
1220
|
+
readonly type: "address";
|
|
1221
|
+
}];
|
|
1222
|
+
readonly name: "safeTransferOwnership";
|
|
1223
|
+
readonly outputs: readonly [];
|
|
916
1224
|
}, {
|
|
917
1225
|
readonly stateMutability: "view";
|
|
918
1226
|
readonly type: "function";
|
|
@@ -956,6 +1264,29 @@ export declare const erc20MinterConfig: {
|
|
|
956
1264
|
readonly type: "address";
|
|
957
1265
|
}];
|
|
958
1266
|
}];
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly stateMutability: "nonpayable";
|
|
1269
|
+
readonly type: "function";
|
|
1270
|
+
readonly inputs: readonly [{
|
|
1271
|
+
readonly name: "config";
|
|
1272
|
+
readonly internalType: "struct IERC20Minter.ERC20MinterConfig";
|
|
1273
|
+
readonly type: "tuple";
|
|
1274
|
+
readonly components: readonly [{
|
|
1275
|
+
readonly name: "zoraRewardRecipientAddress";
|
|
1276
|
+
readonly internalType: "address";
|
|
1277
|
+
readonly type: "address";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly name: "rewardRecipientPercentage";
|
|
1280
|
+
readonly internalType: "uint256";
|
|
1281
|
+
readonly type: "uint256";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly name: "ethReward";
|
|
1284
|
+
readonly internalType: "uint256";
|
|
1285
|
+
readonly type: "uint256";
|
|
1286
|
+
}];
|
|
1287
|
+
}];
|
|
1288
|
+
readonly name: "setERC20MinterConfig";
|
|
1289
|
+
readonly outputs: readonly [];
|
|
959
1290
|
}, {
|
|
960
1291
|
readonly stateMutability: "nonpayable";
|
|
961
1292
|
readonly type: "function";
|
|
@@ -995,16 +1326,6 @@ export declare const erc20MinterConfig: {
|
|
|
995
1326
|
}];
|
|
996
1327
|
readonly name: "setSale";
|
|
997
1328
|
readonly outputs: readonly [];
|
|
998
|
-
}, {
|
|
999
|
-
readonly stateMutability: "nonpayable";
|
|
1000
|
-
readonly type: "function";
|
|
1001
|
-
readonly inputs: readonly [{
|
|
1002
|
-
readonly name: "recipient";
|
|
1003
|
-
readonly internalType: "address";
|
|
1004
|
-
readonly type: "address";
|
|
1005
|
-
}];
|
|
1006
|
-
readonly name: "setZoraRewardsRecipient";
|
|
1007
|
-
readonly outputs: readonly [];
|
|
1008
1329
|
}, {
|
|
1009
1330
|
readonly stateMutability: "pure";
|
|
1010
1331
|
readonly type: "function";
|
|
@@ -1020,7 +1341,7 @@ export declare const erc20MinterConfig: {
|
|
|
1020
1341
|
readonly type: "bool";
|
|
1021
1342
|
}];
|
|
1022
1343
|
}, {
|
|
1023
|
-
readonly stateMutability: "
|
|
1344
|
+
readonly stateMutability: "view";
|
|
1024
1345
|
readonly type: "function";
|
|
1025
1346
|
readonly inputs: readonly [];
|
|
1026
1347
|
readonly name: "totalRewardPct";
|
|
@@ -1030,25 +1351,38 @@ export declare const erc20MinterConfig: {
|
|
|
1030
1351
|
readonly type: "uint256";
|
|
1031
1352
|
}];
|
|
1032
1353
|
}, {
|
|
1033
|
-
readonly stateMutability: "
|
|
1354
|
+
readonly stateMutability: "nonpayable";
|
|
1034
1355
|
readonly type: "function";
|
|
1035
|
-
readonly inputs: readonly [
|
|
1036
|
-
|
|
1037
|
-
readonly outputs: readonly [{
|
|
1038
|
-
readonly name: "";
|
|
1356
|
+
readonly inputs: readonly [{
|
|
1357
|
+
readonly name: "_newOwner";
|
|
1039
1358
|
readonly internalType: "address";
|
|
1040
1359
|
readonly type: "address";
|
|
1041
1360
|
}];
|
|
1361
|
+
readonly name: "transferOwnership";
|
|
1362
|
+
readonly outputs: readonly [];
|
|
1042
1363
|
}, {
|
|
1043
1364
|
readonly type: "event";
|
|
1044
1365
|
readonly anonymous: false;
|
|
1045
1366
|
readonly inputs: readonly [{
|
|
1046
|
-
readonly name: "
|
|
1047
|
-
readonly internalType: "
|
|
1048
|
-
readonly type: "
|
|
1367
|
+
readonly name: "config";
|
|
1368
|
+
readonly internalType: "struct IERC20Minter.ERC20MinterConfig";
|
|
1369
|
+
readonly type: "tuple";
|
|
1370
|
+
readonly components: readonly [{
|
|
1371
|
+
readonly name: "zoraRewardRecipientAddress";
|
|
1372
|
+
readonly internalType: "address";
|
|
1373
|
+
readonly type: "address";
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly name: "rewardRecipientPercentage";
|
|
1376
|
+
readonly internalType: "uint256";
|
|
1377
|
+
readonly type: "uint256";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly name: "ethReward";
|
|
1380
|
+
readonly internalType: "uint256";
|
|
1381
|
+
readonly type: "uint256";
|
|
1382
|
+
}];
|
|
1049
1383
|
readonly indexed: false;
|
|
1050
1384
|
}];
|
|
1051
|
-
readonly name: "
|
|
1385
|
+
readonly name: "ERC20MinterConfigSet";
|
|
1052
1386
|
}, {
|
|
1053
1387
|
readonly type: "event";
|
|
1054
1388
|
readonly anonymous: false;
|
|
@@ -1109,6 +1443,16 @@ export declare const erc20MinterConfig: {
|
|
|
1109
1443
|
readonly indexed: false;
|
|
1110
1444
|
}];
|
|
1111
1445
|
readonly name: "ERC20RewardsDeposit";
|
|
1446
|
+
}, {
|
|
1447
|
+
readonly type: "event";
|
|
1448
|
+
readonly anonymous: false;
|
|
1449
|
+
readonly inputs: readonly [{
|
|
1450
|
+
readonly name: "version";
|
|
1451
|
+
readonly internalType: "uint8";
|
|
1452
|
+
readonly type: "uint8";
|
|
1453
|
+
readonly indexed: false;
|
|
1454
|
+
}];
|
|
1455
|
+
readonly name: "Initialized";
|
|
1112
1456
|
}, {
|
|
1113
1457
|
readonly type: "event";
|
|
1114
1458
|
readonly anonymous: false;
|
|
@@ -1139,6 +1483,51 @@ export declare const erc20MinterConfig: {
|
|
|
1139
1483
|
readonly indexed: false;
|
|
1140
1484
|
}];
|
|
1141
1485
|
readonly name: "MintComment";
|
|
1486
|
+
}, {
|
|
1487
|
+
readonly type: "event";
|
|
1488
|
+
readonly anonymous: false;
|
|
1489
|
+
readonly inputs: readonly [{
|
|
1490
|
+
readonly name: "owner";
|
|
1491
|
+
readonly internalType: "address";
|
|
1492
|
+
readonly type: "address";
|
|
1493
|
+
readonly indexed: true;
|
|
1494
|
+
}, {
|
|
1495
|
+
readonly name: "canceledOwner";
|
|
1496
|
+
readonly internalType: "address";
|
|
1497
|
+
readonly type: "address";
|
|
1498
|
+
readonly indexed: true;
|
|
1499
|
+
}];
|
|
1500
|
+
readonly name: "OwnerCanceled";
|
|
1501
|
+
}, {
|
|
1502
|
+
readonly type: "event";
|
|
1503
|
+
readonly anonymous: false;
|
|
1504
|
+
readonly inputs: readonly [{
|
|
1505
|
+
readonly name: "owner";
|
|
1506
|
+
readonly internalType: "address";
|
|
1507
|
+
readonly type: "address";
|
|
1508
|
+
readonly indexed: true;
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly name: "pendingOwner";
|
|
1511
|
+
readonly internalType: "address";
|
|
1512
|
+
readonly type: "address";
|
|
1513
|
+
readonly indexed: true;
|
|
1514
|
+
}];
|
|
1515
|
+
readonly name: "OwnerPending";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly type: "event";
|
|
1518
|
+
readonly anonymous: false;
|
|
1519
|
+
readonly inputs: readonly [{
|
|
1520
|
+
readonly name: "prevOwner";
|
|
1521
|
+
readonly internalType: "address";
|
|
1522
|
+
readonly type: "address";
|
|
1523
|
+
readonly indexed: true;
|
|
1524
|
+
}, {
|
|
1525
|
+
readonly name: "newOwner";
|
|
1526
|
+
readonly internalType: "address";
|
|
1527
|
+
readonly type: "address";
|
|
1528
|
+
readonly indexed: true;
|
|
1529
|
+
}];
|
|
1530
|
+
readonly name: "OwnerUpdated";
|
|
1142
1531
|
}, {
|
|
1143
1532
|
readonly type: "event";
|
|
1144
1533
|
readonly anonymous: false;
|
|
@@ -1184,21 +1573,6 @@ export declare const erc20MinterConfig: {
|
|
|
1184
1573
|
readonly indexed: false;
|
|
1185
1574
|
}];
|
|
1186
1575
|
readonly name: "SaleSet";
|
|
1187
|
-
}, {
|
|
1188
|
-
readonly type: "event";
|
|
1189
|
-
readonly anonymous: false;
|
|
1190
|
-
readonly inputs: readonly [{
|
|
1191
|
-
readonly name: "prevRecipient";
|
|
1192
|
-
readonly internalType: "address";
|
|
1193
|
-
readonly type: "address";
|
|
1194
|
-
readonly indexed: true;
|
|
1195
|
-
}, {
|
|
1196
|
-
readonly name: "newRecipient";
|
|
1197
|
-
readonly internalType: "address";
|
|
1198
|
-
readonly type: "address";
|
|
1199
|
-
readonly indexed: true;
|
|
1200
|
-
}];
|
|
1201
|
-
readonly name: "ZoraRewardsRecipientSet";
|
|
1202
1576
|
}, {
|
|
1203
1577
|
readonly type: "error";
|
|
1204
1578
|
readonly inputs: readonly [];
|
|
@@ -1206,11 +1580,19 @@ export declare const erc20MinterConfig: {
|
|
|
1206
1580
|
}, {
|
|
1207
1581
|
readonly type: "error";
|
|
1208
1582
|
readonly inputs: readonly [];
|
|
1209
|
-
readonly name: "
|
|
1583
|
+
readonly name: "ERC20TransferSlippage";
|
|
1210
1584
|
}, {
|
|
1211
1585
|
readonly type: "error";
|
|
1212
1586
|
readonly inputs: readonly [];
|
|
1213
|
-
readonly name: "
|
|
1587
|
+
readonly name: "FailedToSendEthReward";
|
|
1588
|
+
}, {
|
|
1589
|
+
readonly type: "error";
|
|
1590
|
+
readonly inputs: readonly [];
|
|
1591
|
+
readonly name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED";
|
|
1592
|
+
}, {
|
|
1593
|
+
readonly type: "error";
|
|
1594
|
+
readonly inputs: readonly [];
|
|
1595
|
+
readonly name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING";
|
|
1214
1596
|
}, {
|
|
1215
1597
|
readonly type: "error";
|
|
1216
1598
|
readonly inputs: readonly [];
|
|
@@ -1218,7 +1600,19 @@ export declare const erc20MinterConfig: {
|
|
|
1218
1600
|
}, {
|
|
1219
1601
|
readonly type: "error";
|
|
1220
1602
|
readonly inputs: readonly [];
|
|
1221
|
-
readonly name: "
|
|
1603
|
+
readonly name: "InvalidValue";
|
|
1604
|
+
}, {
|
|
1605
|
+
readonly type: "error";
|
|
1606
|
+
readonly inputs: readonly [];
|
|
1607
|
+
readonly name: "ONLY_OWNER";
|
|
1608
|
+
}, {
|
|
1609
|
+
readonly type: "error";
|
|
1610
|
+
readonly inputs: readonly [];
|
|
1611
|
+
readonly name: "ONLY_PENDING_OWNER";
|
|
1612
|
+
}, {
|
|
1613
|
+
readonly type: "error";
|
|
1614
|
+
readonly inputs: readonly [];
|
|
1615
|
+
readonly name: "OWNER_CANNOT_BE_ZERO_ADDRESS";
|
|
1222
1616
|
}, {
|
|
1223
1617
|
readonly type: "error";
|
|
1224
1618
|
readonly inputs: readonly [];
|