@zoralabs/coins 2.0.0 → 2.1.1

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 (72) hide show
  1. package/.turbo/turbo-build.log +107 -114
  2. package/CHANGELOG.md +34 -0
  3. package/README.md +30 -109
  4. package/abis/BaseCoin.json +442 -0
  5. package/abis/CoinTest.json +3 -246
  6. package/abis/FactoryTest.json +5 -137
  7. package/abis/HooksTest.json +0 -26
  8. package/abis/ICoin.json +378 -0
  9. package/abis/ICoinV3.json +378 -0
  10. package/abis/IZoraFactory.json +0 -18
  11. package/abis/LiquidityMigrationTest.json +101 -0
  12. package/abis/MockBadFactory.json +15 -0
  13. package/abis/ZoraFactoryImpl.json +1 -67
  14. package/dist/index.cjs +236 -265
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.js +235 -264
  17. package/dist/index.js.map +1 -1
  18. package/dist/wagmiGenerated.d.ts +389 -493
  19. package/dist/wagmiGenerated.d.ts.map +1 -1
  20. package/foundry.toml +1 -3
  21. package/package/wagmiGenerated.ts +240 -269
  22. package/package.json +3 -3
  23. package/script/DeployPostDeploymentHooks.s.sol +2 -2
  24. package/script/TestBackingCoinSwap.s.sol +8 -8
  25. package/script/TestV4Swap.s.sol +8 -8
  26. package/script/UpgradeFactoryImpl.s.sol +0 -1
  27. package/src/BaseCoin.sol +111 -7
  28. package/src/ContentCoin.sol +4 -4
  29. package/src/CreatorCoin.sol +5 -5
  30. package/src/ZoraFactoryImpl.sol +10 -93
  31. package/src/deployment/CoinsDeployerBase.sol +10 -27
  32. package/src/hooks/BaseZoraV4CoinHook.sol +5 -5
  33. package/src/hooks/ContentCoinHook.sol +2 -2
  34. package/src/hooks/deployment/BuySupplyWithSwapRouterHook.sol +4 -5
  35. package/src/interfaces/ICoin.sol +67 -1
  36. package/src/interfaces/ICreatorCoin.sol +2 -2
  37. package/src/interfaces/IZoraFactory.sol +0 -5
  38. package/src/libs/CoinConfigurationVersions.sol +1 -39
  39. package/src/libs/CoinRewardsV4.sol +2 -2
  40. package/src/libs/CoinSetup.sol +1 -4
  41. package/src/libs/MarketConstants.sol +0 -4
  42. package/src/libs/UniV4SwapHelper.sol +1 -1
  43. package/src/libs/UniV4SwapToCurrency.sol +2 -2
  44. package/src/libs/V4Liquidity.sol +1 -1
  45. package/src/version/ContractVersionBase.sol +1 -1
  46. package/test/Coin.t.sol +112 -535
  47. package/test/CoinUniV4.t.sol +7 -7
  48. package/test/DeploymentHooks.t.sol +5 -102
  49. package/test/Factory.t.sol +23 -306
  50. package/test/LiquidityMigration.t.sol +160 -2
  51. package/test/MultiOwnable.t.sol +36 -36
  52. package/test/Upgrades.t.sol +16 -35
  53. package/test/utils/BaseTest.sol +16 -69
  54. package/test/utils/FeeEstimatorHook.sol +3 -3
  55. package/wagmi.config.ts +1 -1
  56. package/abis/BaseCoinV4.json +0 -1840
  57. package/abis/Coin.json +0 -1912
  58. package/abis/DopplerUniswapV3Test.json +0 -800
  59. package/abis/ICoinV4.json +0 -1048
  60. package/abis/Simulate.json +0 -29
  61. package/abis/UniV3BuySell.json +0 -12
  62. package/abis/UniV3Errors.json +0 -32
  63. package/script/Simulate.s.sol +0 -59
  64. package/src/BaseCoinV4.sol +0 -143
  65. package/src/Coin.sol +0 -236
  66. package/src/interfaces/ICoinV4.sol +0 -74
  67. package/src/libs/CoinDopplerUniV3.sol +0 -50
  68. package/src/libs/CoinRewards.sol +0 -201
  69. package/src/libs/CoinSetupV3.sol +0 -50
  70. package/src/libs/UniV3BuySell.sol +0 -231
  71. package/src/libs/UniV3Errors.sol +0 -11
  72. package/test/CoinDopplerUniV3.t.sol +0 -310
package/abis/Coin.json DELETED
@@ -1,1912 +0,0 @@
1
- [
2
- {
3
- "type": "constructor",
4
- "inputs": [
5
- {
6
- "name": "protocolRewardRecipient_",
7
- "type": "address",
8
- "internalType": "address"
9
- },
10
- {
11
- "name": "protocolRewards_",
12
- "type": "address",
13
- "internalType": "address"
14
- },
15
- {
16
- "name": "weth_",
17
- "type": "address",
18
- "internalType": "address"
19
- },
20
- {
21
- "name": "v3Factory_",
22
- "type": "address",
23
- "internalType": "address"
24
- },
25
- {
26
- "name": "swapRouter_",
27
- "type": "address",
28
- "internalType": "address"
29
- },
30
- {
31
- "name": "airlock_",
32
- "type": "address",
33
- "internalType": "address"
34
- }
35
- ],
36
- "stateMutability": "nonpayable"
37
- },
38
- {
39
- "type": "receive",
40
- "stateMutability": "payable"
41
- },
42
- {
43
- "type": "function",
44
- "name": "DOMAIN_SEPARATOR",
45
- "inputs": [],
46
- "outputs": [
47
- {
48
- "name": "",
49
- "type": "bytes32",
50
- "internalType": "bytes32"
51
- }
52
- ],
53
- "stateMutability": "view"
54
- },
55
- {
56
- "type": "function",
57
- "name": "WETH",
58
- "inputs": [],
59
- "outputs": [
60
- {
61
- "name": "",
62
- "type": "address",
63
- "internalType": "address"
64
- }
65
- ],
66
- "stateMutability": "view"
67
- },
68
- {
69
- "type": "function",
70
- "name": "addOwner",
71
- "inputs": [
72
- {
73
- "name": "account",
74
- "type": "address",
75
- "internalType": "address"
76
- }
77
- ],
78
- "outputs": [],
79
- "stateMutability": "nonpayable"
80
- },
81
- {
82
- "type": "function",
83
- "name": "addOwners",
84
- "inputs": [
85
- {
86
- "name": "accounts",
87
- "type": "address[]",
88
- "internalType": "address[]"
89
- }
90
- ],
91
- "outputs": [],
92
- "stateMutability": "nonpayable"
93
- },
94
- {
95
- "type": "function",
96
- "name": "airlock",
97
- "inputs": [],
98
- "outputs": [
99
- {
100
- "name": "",
101
- "type": "address",
102
- "internalType": "address"
103
- }
104
- ],
105
- "stateMutability": "view"
106
- },
107
- {
108
- "type": "function",
109
- "name": "allowance",
110
- "inputs": [
111
- {
112
- "name": "owner",
113
- "type": "address",
114
- "internalType": "address"
115
- },
116
- {
117
- "name": "spender",
118
- "type": "address",
119
- "internalType": "address"
120
- }
121
- ],
122
- "outputs": [
123
- {
124
- "name": "",
125
- "type": "uint256",
126
- "internalType": "uint256"
127
- }
128
- ],
129
- "stateMutability": "view"
130
- },
131
- {
132
- "type": "function",
133
- "name": "approve",
134
- "inputs": [
135
- {
136
- "name": "spender",
137
- "type": "address",
138
- "internalType": "address"
139
- },
140
- {
141
- "name": "value",
142
- "type": "uint256",
143
- "internalType": "uint256"
144
- }
145
- ],
146
- "outputs": [
147
- {
148
- "name": "",
149
- "type": "bool",
150
- "internalType": "bool"
151
- }
152
- ],
153
- "stateMutability": "nonpayable"
154
- },
155
- {
156
- "type": "function",
157
- "name": "balanceOf",
158
- "inputs": [
159
- {
160
- "name": "account",
161
- "type": "address",
162
- "internalType": "address"
163
- }
164
- ],
165
- "outputs": [
166
- {
167
- "name": "",
168
- "type": "uint256",
169
- "internalType": "uint256"
170
- }
171
- ],
172
- "stateMutability": "view"
173
- },
174
- {
175
- "type": "function",
176
- "name": "burn",
177
- "inputs": [
178
- {
179
- "name": "amount",
180
- "type": "uint256",
181
- "internalType": "uint256"
182
- }
183
- ],
184
- "outputs": [],
185
- "stateMutability": "nonpayable"
186
- },
187
- {
188
- "type": "function",
189
- "name": "buy",
190
- "inputs": [
191
- {
192
- "name": "recipient",
193
- "type": "address",
194
- "internalType": "address"
195
- },
196
- {
197
- "name": "orderSize",
198
- "type": "uint256",
199
- "internalType": "uint256"
200
- },
201
- {
202
- "name": "minAmountOut",
203
- "type": "uint256",
204
- "internalType": "uint256"
205
- },
206
- {
207
- "name": "sqrtPriceLimitX96",
208
- "type": "uint160",
209
- "internalType": "uint160"
210
- },
211
- {
212
- "name": "tradeReferrer",
213
- "type": "address",
214
- "internalType": "address"
215
- }
216
- ],
217
- "outputs": [
218
- {
219
- "name": "",
220
- "type": "uint256",
221
- "internalType": "uint256"
222
- },
223
- {
224
- "name": "",
225
- "type": "uint256",
226
- "internalType": "uint256"
227
- }
228
- ],
229
- "stateMutability": "payable"
230
- },
231
- {
232
- "type": "function",
233
- "name": "claimSecondaryRewards",
234
- "inputs": [
235
- {
236
- "name": "pushEthRewards",
237
- "type": "bool",
238
- "internalType": "bool"
239
- }
240
- ],
241
- "outputs": [],
242
- "stateMutability": "nonpayable"
243
- },
244
- {
245
- "type": "function",
246
- "name": "contractURI",
247
- "inputs": [],
248
- "outputs": [
249
- {
250
- "name": "",
251
- "type": "string",
252
- "internalType": "string"
253
- }
254
- ],
255
- "stateMutability": "view"
256
- },
257
- {
258
- "type": "function",
259
- "name": "contractVersion",
260
- "inputs": [],
261
- "outputs": [
262
- {
263
- "name": "",
264
- "type": "string",
265
- "internalType": "string"
266
- }
267
- ],
268
- "stateMutability": "pure"
269
- },
270
- {
271
- "type": "function",
272
- "name": "currency",
273
- "inputs": [],
274
- "outputs": [
275
- {
276
- "name": "",
277
- "type": "address",
278
- "internalType": "address"
279
- }
280
- ],
281
- "stateMutability": "view"
282
- },
283
- {
284
- "type": "function",
285
- "name": "decimals",
286
- "inputs": [],
287
- "outputs": [
288
- {
289
- "name": "",
290
- "type": "uint8",
291
- "internalType": "uint8"
292
- }
293
- ],
294
- "stateMutability": "view"
295
- },
296
- {
297
- "type": "function",
298
- "name": "dopplerFeeRecipient",
299
- "inputs": [],
300
- "outputs": [
301
- {
302
- "name": "",
303
- "type": "address",
304
- "internalType": "address"
305
- }
306
- ],
307
- "stateMutability": "view"
308
- },
309
- {
310
- "type": "function",
311
- "name": "eip712Domain",
312
- "inputs": [],
313
- "outputs": [
314
- {
315
- "name": "fields",
316
- "type": "bytes1",
317
- "internalType": "bytes1"
318
- },
319
- {
320
- "name": "name",
321
- "type": "string",
322
- "internalType": "string"
323
- },
324
- {
325
- "name": "version",
326
- "type": "string",
327
- "internalType": "string"
328
- },
329
- {
330
- "name": "chainId",
331
- "type": "uint256",
332
- "internalType": "uint256"
333
- },
334
- {
335
- "name": "verifyingContract",
336
- "type": "address",
337
- "internalType": "address"
338
- },
339
- {
340
- "name": "salt",
341
- "type": "bytes32",
342
- "internalType": "bytes32"
343
- },
344
- {
345
- "name": "extensions",
346
- "type": "uint256[]",
347
- "internalType": "uint256[]"
348
- }
349
- ],
350
- "stateMutability": "view"
351
- },
352
- {
353
- "type": "function",
354
- "name": "getPoolConfiguration",
355
- "inputs": [],
356
- "outputs": [
357
- {
358
- "name": "",
359
- "type": "tuple",
360
- "internalType": "struct PoolConfiguration",
361
- "components": [
362
- {
363
- "name": "version",
364
- "type": "uint8",
365
- "internalType": "uint8"
366
- },
367
- {
368
- "name": "numPositions",
369
- "type": "uint16",
370
- "internalType": "uint16"
371
- },
372
- {
373
- "name": "fee",
374
- "type": "uint24",
375
- "internalType": "uint24"
376
- },
377
- {
378
- "name": "tickSpacing",
379
- "type": "int24",
380
- "internalType": "int24"
381
- },
382
- {
383
- "name": "numDiscoveryPositions",
384
- "type": "uint16[]",
385
- "internalType": "uint16[]"
386
- },
387
- {
388
- "name": "tickLower",
389
- "type": "int24[]",
390
- "internalType": "int24[]"
391
- },
392
- {
393
- "name": "tickUpper",
394
- "type": "int24[]",
395
- "internalType": "int24[]"
396
- },
397
- {
398
- "name": "maxDiscoverySupplyShare",
399
- "type": "uint256[]",
400
- "internalType": "uint256[]"
401
- }
402
- ]
403
- }
404
- ],
405
- "stateMutability": "view"
406
- },
407
- {
408
- "type": "function",
409
- "name": "initialize",
410
- "inputs": [
411
- {
412
- "name": "payoutRecipient_",
413
- "type": "address",
414
- "internalType": "address"
415
- },
416
- {
417
- "name": "owners_",
418
- "type": "address[]",
419
- "internalType": "address[]"
420
- },
421
- {
422
- "name": "tokenURI_",
423
- "type": "string",
424
- "internalType": "string"
425
- },
426
- {
427
- "name": "name_",
428
- "type": "string",
429
- "internalType": "string"
430
- },
431
- {
432
- "name": "symbol_",
433
- "type": "string",
434
- "internalType": "string"
435
- },
436
- {
437
- "name": "platformReferrer_",
438
- "type": "address",
439
- "internalType": "address"
440
- },
441
- {
442
- "name": "currency_",
443
- "type": "address",
444
- "internalType": "address"
445
- },
446
- {
447
- "name": "poolAddress_",
448
- "type": "address",
449
- "internalType": "address"
450
- },
451
- {
452
- "name": "poolConfiguration_",
453
- "type": "tuple",
454
- "internalType": "struct PoolConfiguration",
455
- "components": [
456
- {
457
- "name": "version",
458
- "type": "uint8",
459
- "internalType": "uint8"
460
- },
461
- {
462
- "name": "numPositions",
463
- "type": "uint16",
464
- "internalType": "uint16"
465
- },
466
- {
467
- "name": "fee",
468
- "type": "uint24",
469
- "internalType": "uint24"
470
- },
471
- {
472
- "name": "tickSpacing",
473
- "type": "int24",
474
- "internalType": "int24"
475
- },
476
- {
477
- "name": "numDiscoveryPositions",
478
- "type": "uint16[]",
479
- "internalType": "uint16[]"
480
- },
481
- {
482
- "name": "tickLower",
483
- "type": "int24[]",
484
- "internalType": "int24[]"
485
- },
486
- {
487
- "name": "tickUpper",
488
- "type": "int24[]",
489
- "internalType": "int24[]"
490
- },
491
- {
492
- "name": "maxDiscoverySupplyShare",
493
- "type": "uint256[]",
494
- "internalType": "uint256[]"
495
- }
496
- ]
497
- },
498
- {
499
- "name": "positions_",
500
- "type": "tuple[]",
501
- "internalType": "struct LpPosition[]",
502
- "components": [
503
- {
504
- "name": "tickLower",
505
- "type": "int24",
506
- "internalType": "int24"
507
- },
508
- {
509
- "name": "tickUpper",
510
- "type": "int24",
511
- "internalType": "int24"
512
- },
513
- {
514
- "name": "liquidity",
515
- "type": "uint128",
516
- "internalType": "uint128"
517
- }
518
- ]
519
- }
520
- ],
521
- "outputs": [],
522
- "stateMutability": "nonpayable"
523
- },
524
- {
525
- "type": "function",
526
- "name": "isOwner",
527
- "inputs": [
528
- {
529
- "name": "account",
530
- "type": "address",
531
- "internalType": "address"
532
- }
533
- ],
534
- "outputs": [
535
- {
536
- "name": "",
537
- "type": "bool",
538
- "internalType": "bool"
539
- }
540
- ],
541
- "stateMutability": "view"
542
- },
543
- {
544
- "type": "function",
545
- "name": "market",
546
- "inputs": [],
547
- "outputs": [
548
- {
549
- "name": "",
550
- "type": "bytes",
551
- "internalType": "bytes"
552
- }
553
- ],
554
- "stateMutability": "view"
555
- },
556
- {
557
- "type": "function",
558
- "name": "marketVersion",
559
- "inputs": [],
560
- "outputs": [
561
- {
562
- "name": "",
563
- "type": "uint8",
564
- "internalType": "uint8"
565
- }
566
- ],
567
- "stateMutability": "view"
568
- },
569
- {
570
- "type": "function",
571
- "name": "name",
572
- "inputs": [],
573
- "outputs": [
574
- {
575
- "name": "",
576
- "type": "string",
577
- "internalType": "string"
578
- }
579
- ],
580
- "stateMutability": "view"
581
- },
582
- {
583
- "type": "function",
584
- "name": "nonces",
585
- "inputs": [
586
- {
587
- "name": "owner",
588
- "type": "address",
589
- "internalType": "address"
590
- }
591
- ],
592
- "outputs": [
593
- {
594
- "name": "",
595
- "type": "uint256",
596
- "internalType": "uint256"
597
- }
598
- ],
599
- "stateMutability": "view"
600
- },
601
- {
602
- "type": "function",
603
- "name": "owners",
604
- "inputs": [],
605
- "outputs": [
606
- {
607
- "name": "",
608
- "type": "address[]",
609
- "internalType": "address[]"
610
- }
611
- ],
612
- "stateMutability": "view"
613
- },
614
- {
615
- "type": "function",
616
- "name": "payoutRecipient",
617
- "inputs": [],
618
- "outputs": [
619
- {
620
- "name": "",
621
- "type": "address",
622
- "internalType": "address"
623
- }
624
- ],
625
- "stateMutability": "view"
626
- },
627
- {
628
- "type": "function",
629
- "name": "permit",
630
- "inputs": [
631
- {
632
- "name": "owner",
633
- "type": "address",
634
- "internalType": "address"
635
- },
636
- {
637
- "name": "spender",
638
- "type": "address",
639
- "internalType": "address"
640
- },
641
- {
642
- "name": "value",
643
- "type": "uint256",
644
- "internalType": "uint256"
645
- },
646
- {
647
- "name": "deadline",
648
- "type": "uint256",
649
- "internalType": "uint256"
650
- },
651
- {
652
- "name": "v",
653
- "type": "uint8",
654
- "internalType": "uint8"
655
- },
656
- {
657
- "name": "r",
658
- "type": "bytes32",
659
- "internalType": "bytes32"
660
- },
661
- {
662
- "name": "s",
663
- "type": "bytes32",
664
- "internalType": "bytes32"
665
- }
666
- ],
667
- "outputs": [],
668
- "stateMutability": "nonpayable"
669
- },
670
- {
671
- "type": "function",
672
- "name": "platformReferrer",
673
- "inputs": [],
674
- "outputs": [
675
- {
676
- "name": "",
677
- "type": "address",
678
- "internalType": "address"
679
- }
680
- ],
681
- "stateMutability": "view"
682
- },
683
- {
684
- "type": "function",
685
- "name": "poolAddress",
686
- "inputs": [],
687
- "outputs": [
688
- {
689
- "name": "",
690
- "type": "address",
691
- "internalType": "address"
692
- }
693
- ],
694
- "stateMutability": "view"
695
- },
696
- {
697
- "type": "function",
698
- "name": "poolConfiguration",
699
- "inputs": [],
700
- "outputs": [
701
- {
702
- "name": "version",
703
- "type": "uint8",
704
- "internalType": "uint8"
705
- },
706
- {
707
- "name": "numPositions",
708
- "type": "uint16",
709
- "internalType": "uint16"
710
- },
711
- {
712
- "name": "fee",
713
- "type": "uint24",
714
- "internalType": "uint24"
715
- },
716
- {
717
- "name": "tickSpacing",
718
- "type": "int24",
719
- "internalType": "int24"
720
- }
721
- ],
722
- "stateMutability": "view"
723
- },
724
- {
725
- "type": "function",
726
- "name": "positions",
727
- "inputs": [
728
- {
729
- "name": "",
730
- "type": "uint256",
731
- "internalType": "uint256"
732
- }
733
- ],
734
- "outputs": [
735
- {
736
- "name": "tickLower",
737
- "type": "int24",
738
- "internalType": "int24"
739
- },
740
- {
741
- "name": "tickUpper",
742
- "type": "int24",
743
- "internalType": "int24"
744
- },
745
- {
746
- "name": "liquidity",
747
- "type": "uint128",
748
- "internalType": "uint128"
749
- }
750
- ],
751
- "stateMutability": "view"
752
- },
753
- {
754
- "type": "function",
755
- "name": "protocolRewardRecipient",
756
- "inputs": [],
757
- "outputs": [
758
- {
759
- "name": "",
760
- "type": "address",
761
- "internalType": "address"
762
- }
763
- ],
764
- "stateMutability": "view"
765
- },
766
- {
767
- "type": "function",
768
- "name": "protocolRewards",
769
- "inputs": [],
770
- "outputs": [
771
- {
772
- "name": "",
773
- "type": "address",
774
- "internalType": "address"
775
- }
776
- ],
777
- "stateMutability": "view"
778
- },
779
- {
780
- "type": "function",
781
- "name": "removeOwner",
782
- "inputs": [
783
- {
784
- "name": "account",
785
- "type": "address",
786
- "internalType": "address"
787
- }
788
- ],
789
- "outputs": [],
790
- "stateMutability": "nonpayable"
791
- },
792
- {
793
- "type": "function",
794
- "name": "removeOwners",
795
- "inputs": [
796
- {
797
- "name": "accounts",
798
- "type": "address[]",
799
- "internalType": "address[]"
800
- }
801
- ],
802
- "outputs": [],
803
- "stateMutability": "nonpayable"
804
- },
805
- {
806
- "type": "function",
807
- "name": "revokeOwnership",
808
- "inputs": [],
809
- "outputs": [],
810
- "stateMutability": "nonpayable"
811
- },
812
- {
813
- "type": "function",
814
- "name": "sell",
815
- "inputs": [
816
- {
817
- "name": "recipient",
818
- "type": "address",
819
- "internalType": "address"
820
- },
821
- {
822
- "name": "orderSize",
823
- "type": "uint256",
824
- "internalType": "uint256"
825
- },
826
- {
827
- "name": "minAmountOut",
828
- "type": "uint256",
829
- "internalType": "uint256"
830
- },
831
- {
832
- "name": "sqrtPriceLimitX96",
833
- "type": "uint160",
834
- "internalType": "uint160"
835
- },
836
- {
837
- "name": "tradeReferrer",
838
- "type": "address",
839
- "internalType": "address"
840
- }
841
- ],
842
- "outputs": [
843
- {
844
- "name": "",
845
- "type": "uint256",
846
- "internalType": "uint256"
847
- },
848
- {
849
- "name": "",
850
- "type": "uint256",
851
- "internalType": "uint256"
852
- }
853
- ],
854
- "stateMutability": "nonpayable"
855
- },
856
- {
857
- "type": "function",
858
- "name": "setContractURI",
859
- "inputs": [
860
- {
861
- "name": "newURI",
862
- "type": "string",
863
- "internalType": "string"
864
- }
865
- ],
866
- "outputs": [],
867
- "stateMutability": "nonpayable"
868
- },
869
- {
870
- "type": "function",
871
- "name": "setNameAndSymbol",
872
- "inputs": [
873
- {
874
- "name": "newName",
875
- "type": "string",
876
- "internalType": "string"
877
- },
878
- {
879
- "name": "newSymbol",
880
- "type": "string",
881
- "internalType": "string"
882
- }
883
- ],
884
- "outputs": [],
885
- "stateMutability": "nonpayable"
886
- },
887
- {
888
- "type": "function",
889
- "name": "setPayoutRecipient",
890
- "inputs": [
891
- {
892
- "name": "newPayoutRecipient",
893
- "type": "address",
894
- "internalType": "address"
895
- }
896
- ],
897
- "outputs": [],
898
- "stateMutability": "nonpayable"
899
- },
900
- {
901
- "type": "function",
902
- "name": "supportsInterface",
903
- "inputs": [
904
- {
905
- "name": "interfaceId",
906
- "type": "bytes4",
907
- "internalType": "bytes4"
908
- }
909
- ],
910
- "outputs": [
911
- {
912
- "name": "",
913
- "type": "bool",
914
- "internalType": "bool"
915
- }
916
- ],
917
- "stateMutability": "view"
918
- },
919
- {
920
- "type": "function",
921
- "name": "swapRouter",
922
- "inputs": [],
923
- "outputs": [
924
- {
925
- "name": "",
926
- "type": "address",
927
- "internalType": "address"
928
- }
929
- ],
930
- "stateMutability": "view"
931
- },
932
- {
933
- "type": "function",
934
- "name": "symbol",
935
- "inputs": [],
936
- "outputs": [
937
- {
938
- "name": "",
939
- "type": "string",
940
- "internalType": "string"
941
- }
942
- ],
943
- "stateMutability": "view"
944
- },
945
- {
946
- "type": "function",
947
- "name": "tokenURI",
948
- "inputs": [],
949
- "outputs": [
950
- {
951
- "name": "",
952
- "type": "string",
953
- "internalType": "string"
954
- }
955
- ],
956
- "stateMutability": "view"
957
- },
958
- {
959
- "type": "function",
960
- "name": "totalSupply",
961
- "inputs": [],
962
- "outputs": [
963
- {
964
- "name": "",
965
- "type": "uint256",
966
- "internalType": "uint256"
967
- }
968
- ],
969
- "stateMutability": "view"
970
- },
971
- {
972
- "type": "function",
973
- "name": "transfer",
974
- "inputs": [
975
- {
976
- "name": "to",
977
- "type": "address",
978
- "internalType": "address"
979
- },
980
- {
981
- "name": "value",
982
- "type": "uint256",
983
- "internalType": "uint256"
984
- }
985
- ],
986
- "outputs": [
987
- {
988
- "name": "",
989
- "type": "bool",
990
- "internalType": "bool"
991
- }
992
- ],
993
- "stateMutability": "nonpayable"
994
- },
995
- {
996
- "type": "function",
997
- "name": "transferFrom",
998
- "inputs": [
999
- {
1000
- "name": "from",
1001
- "type": "address",
1002
- "internalType": "address"
1003
- },
1004
- {
1005
- "name": "to",
1006
- "type": "address",
1007
- "internalType": "address"
1008
- },
1009
- {
1010
- "name": "value",
1011
- "type": "uint256",
1012
- "internalType": "uint256"
1013
- }
1014
- ],
1015
- "outputs": [
1016
- {
1017
- "name": "",
1018
- "type": "bool",
1019
- "internalType": "bool"
1020
- }
1021
- ],
1022
- "stateMutability": "nonpayable"
1023
- },
1024
- {
1025
- "type": "function",
1026
- "name": "uniswapV3MintCallback",
1027
- "inputs": [
1028
- {
1029
- "name": "amount0Owed",
1030
- "type": "uint256",
1031
- "internalType": "uint256"
1032
- },
1033
- {
1034
- "name": "amount1Owed",
1035
- "type": "uint256",
1036
- "internalType": "uint256"
1037
- },
1038
- {
1039
- "name": "",
1040
- "type": "bytes",
1041
- "internalType": "bytes"
1042
- }
1043
- ],
1044
- "outputs": [],
1045
- "stateMutability": "nonpayable"
1046
- },
1047
- {
1048
- "type": "function",
1049
- "name": "v3Factory",
1050
- "inputs": [],
1051
- "outputs": [
1052
- {
1053
- "name": "",
1054
- "type": "address",
1055
- "internalType": "address"
1056
- }
1057
- ],
1058
- "stateMutability": "view"
1059
- },
1060
- {
1061
- "type": "event",
1062
- "name": "Approval",
1063
- "inputs": [
1064
- {
1065
- "name": "owner",
1066
- "type": "address",
1067
- "indexed": true,
1068
- "internalType": "address"
1069
- },
1070
- {
1071
- "name": "spender",
1072
- "type": "address",
1073
- "indexed": true,
1074
- "internalType": "address"
1075
- },
1076
- {
1077
- "name": "value",
1078
- "type": "uint256",
1079
- "indexed": false,
1080
- "internalType": "uint256"
1081
- }
1082
- ],
1083
- "anonymous": false
1084
- },
1085
- {
1086
- "type": "event",
1087
- "name": "CoinBuy",
1088
- "inputs": [
1089
- {
1090
- "name": "buyer",
1091
- "type": "address",
1092
- "indexed": true,
1093
- "internalType": "address"
1094
- },
1095
- {
1096
- "name": "recipient",
1097
- "type": "address",
1098
- "indexed": true,
1099
- "internalType": "address"
1100
- },
1101
- {
1102
- "name": "tradeReferrer",
1103
- "type": "address",
1104
- "indexed": true,
1105
- "internalType": "address"
1106
- },
1107
- {
1108
- "name": "coinsPurchased",
1109
- "type": "uint256",
1110
- "indexed": false,
1111
- "internalType": "uint256"
1112
- },
1113
- {
1114
- "name": "currency",
1115
- "type": "address",
1116
- "indexed": false,
1117
- "internalType": "address"
1118
- },
1119
- {
1120
- "name": "amountFee",
1121
- "type": "uint256",
1122
- "indexed": false,
1123
- "internalType": "uint256"
1124
- },
1125
- {
1126
- "name": "amountSold",
1127
- "type": "uint256",
1128
- "indexed": false,
1129
- "internalType": "uint256"
1130
- }
1131
- ],
1132
- "anonymous": false
1133
- },
1134
- {
1135
- "type": "event",
1136
- "name": "CoinMarketRewards",
1137
- "inputs": [
1138
- {
1139
- "name": "payoutRecipient",
1140
- "type": "address",
1141
- "indexed": true,
1142
- "internalType": "address"
1143
- },
1144
- {
1145
- "name": "platformReferrer",
1146
- "type": "address",
1147
- "indexed": true,
1148
- "internalType": "address"
1149
- },
1150
- {
1151
- "name": "protocolRewardRecipient",
1152
- "type": "address",
1153
- "indexed": false,
1154
- "internalType": "address"
1155
- },
1156
- {
1157
- "name": "currency",
1158
- "type": "address",
1159
- "indexed": false,
1160
- "internalType": "address"
1161
- },
1162
- {
1163
- "name": "marketRewards",
1164
- "type": "tuple",
1165
- "indexed": false,
1166
- "internalType": "struct ICoin.MarketRewards",
1167
- "components": [
1168
- {
1169
- "name": "totalAmountCurrency",
1170
- "type": "uint256",
1171
- "internalType": "uint256"
1172
- },
1173
- {
1174
- "name": "totalAmountCoin",
1175
- "type": "uint256",
1176
- "internalType": "uint256"
1177
- },
1178
- {
1179
- "name": "creatorPayoutAmountCurrency",
1180
- "type": "uint256",
1181
- "internalType": "uint256"
1182
- },
1183
- {
1184
- "name": "creatorPayoutAmountCoin",
1185
- "type": "uint256",
1186
- "internalType": "uint256"
1187
- },
1188
- {
1189
- "name": "platformReferrerAmountCurrency",
1190
- "type": "uint256",
1191
- "internalType": "uint256"
1192
- },
1193
- {
1194
- "name": "platformReferrerAmountCoin",
1195
- "type": "uint256",
1196
- "internalType": "uint256"
1197
- },
1198
- {
1199
- "name": "protocolAmountCurrency",
1200
- "type": "uint256",
1201
- "internalType": "uint256"
1202
- },
1203
- {
1204
- "name": "protocolAmountCoin",
1205
- "type": "uint256",
1206
- "internalType": "uint256"
1207
- }
1208
- ]
1209
- }
1210
- ],
1211
- "anonymous": false
1212
- },
1213
- {
1214
- "type": "event",
1215
- "name": "CoinPayoutRecipientUpdated",
1216
- "inputs": [
1217
- {
1218
- "name": "caller",
1219
- "type": "address",
1220
- "indexed": true,
1221
- "internalType": "address"
1222
- },
1223
- {
1224
- "name": "prevRecipient",
1225
- "type": "address",
1226
- "indexed": true,
1227
- "internalType": "address"
1228
- },
1229
- {
1230
- "name": "newRecipient",
1231
- "type": "address",
1232
- "indexed": true,
1233
- "internalType": "address"
1234
- }
1235
- ],
1236
- "anonymous": false
1237
- },
1238
- {
1239
- "type": "event",
1240
- "name": "CoinSell",
1241
- "inputs": [
1242
- {
1243
- "name": "seller",
1244
- "type": "address",
1245
- "indexed": true,
1246
- "internalType": "address"
1247
- },
1248
- {
1249
- "name": "recipient",
1250
- "type": "address",
1251
- "indexed": true,
1252
- "internalType": "address"
1253
- },
1254
- {
1255
- "name": "tradeReferrer",
1256
- "type": "address",
1257
- "indexed": true,
1258
- "internalType": "address"
1259
- },
1260
- {
1261
- "name": "coinsSold",
1262
- "type": "uint256",
1263
- "indexed": false,
1264
- "internalType": "uint256"
1265
- },
1266
- {
1267
- "name": "currency",
1268
- "type": "address",
1269
- "indexed": false,
1270
- "internalType": "address"
1271
- },
1272
- {
1273
- "name": "amountFee",
1274
- "type": "uint256",
1275
- "indexed": false,
1276
- "internalType": "uint256"
1277
- },
1278
- {
1279
- "name": "amountPurchased",
1280
- "type": "uint256",
1281
- "indexed": false,
1282
- "internalType": "uint256"
1283
- }
1284
- ],
1285
- "anonymous": false
1286
- },
1287
- {
1288
- "type": "event",
1289
- "name": "CoinTradeRewards",
1290
- "inputs": [
1291
- {
1292
- "name": "payoutRecipient",
1293
- "type": "address",
1294
- "indexed": true,
1295
- "internalType": "address"
1296
- },
1297
- {
1298
- "name": "platformReferrer",
1299
- "type": "address",
1300
- "indexed": true,
1301
- "internalType": "address"
1302
- },
1303
- {
1304
- "name": "tradeReferrer",
1305
- "type": "address",
1306
- "indexed": true,
1307
- "internalType": "address"
1308
- },
1309
- {
1310
- "name": "protocolRewardRecipient",
1311
- "type": "address",
1312
- "indexed": false,
1313
- "internalType": "address"
1314
- },
1315
- {
1316
- "name": "creatorReward",
1317
- "type": "uint256",
1318
- "indexed": false,
1319
- "internalType": "uint256"
1320
- },
1321
- {
1322
- "name": "platformReferrerReward",
1323
- "type": "uint256",
1324
- "indexed": false,
1325
- "internalType": "uint256"
1326
- },
1327
- {
1328
- "name": "traderReferrerReward",
1329
- "type": "uint256",
1330
- "indexed": false,
1331
- "internalType": "uint256"
1332
- },
1333
- {
1334
- "name": "protocolReward",
1335
- "type": "uint256",
1336
- "indexed": false,
1337
- "internalType": "uint256"
1338
- },
1339
- {
1340
- "name": "currency",
1341
- "type": "address",
1342
- "indexed": false,
1343
- "internalType": "address"
1344
- }
1345
- ],
1346
- "anonymous": false
1347
- },
1348
- {
1349
- "type": "event",
1350
- "name": "CoinTransfer",
1351
- "inputs": [
1352
- {
1353
- "name": "sender",
1354
- "type": "address",
1355
- "indexed": true,
1356
- "internalType": "address"
1357
- },
1358
- {
1359
- "name": "recipient",
1360
- "type": "address",
1361
- "indexed": true,
1362
- "internalType": "address"
1363
- },
1364
- {
1365
- "name": "amount",
1366
- "type": "uint256",
1367
- "indexed": false,
1368
- "internalType": "uint256"
1369
- },
1370
- {
1371
- "name": "senderBalance",
1372
- "type": "uint256",
1373
- "indexed": false,
1374
- "internalType": "uint256"
1375
- },
1376
- {
1377
- "name": "recipientBalance",
1378
- "type": "uint256",
1379
- "indexed": false,
1380
- "internalType": "uint256"
1381
- }
1382
- ],
1383
- "anonymous": false
1384
- },
1385
- {
1386
- "type": "event",
1387
- "name": "ContractMetadataUpdated",
1388
- "inputs": [
1389
- {
1390
- "name": "caller",
1391
- "type": "address",
1392
- "indexed": true,
1393
- "internalType": "address"
1394
- },
1395
- {
1396
- "name": "newURI",
1397
- "type": "string",
1398
- "indexed": false,
1399
- "internalType": "string"
1400
- },
1401
- {
1402
- "name": "name",
1403
- "type": "string",
1404
- "indexed": false,
1405
- "internalType": "string"
1406
- }
1407
- ],
1408
- "anonymous": false
1409
- },
1410
- {
1411
- "type": "event",
1412
- "name": "ContractURIUpdated",
1413
- "inputs": [],
1414
- "anonymous": false
1415
- },
1416
- {
1417
- "type": "event",
1418
- "name": "EIP712DomainChanged",
1419
- "inputs": [],
1420
- "anonymous": false
1421
- },
1422
- {
1423
- "type": "event",
1424
- "name": "Initialized",
1425
- "inputs": [
1426
- {
1427
- "name": "version",
1428
- "type": "uint64",
1429
- "indexed": false,
1430
- "internalType": "uint64"
1431
- }
1432
- ],
1433
- "anonymous": false
1434
- },
1435
- {
1436
- "type": "event",
1437
- "name": "NameAndSymbolUpdated",
1438
- "inputs": [
1439
- {
1440
- "name": "caller",
1441
- "type": "address",
1442
- "indexed": true,
1443
- "internalType": "address"
1444
- },
1445
- {
1446
- "name": "newName",
1447
- "type": "string",
1448
- "indexed": false,
1449
- "internalType": "string"
1450
- },
1451
- {
1452
- "name": "newSymbol",
1453
- "type": "string",
1454
- "indexed": false,
1455
- "internalType": "string"
1456
- }
1457
- ],
1458
- "anonymous": false
1459
- },
1460
- {
1461
- "type": "event",
1462
- "name": "OwnerUpdated",
1463
- "inputs": [
1464
- {
1465
- "name": "caller",
1466
- "type": "address",
1467
- "indexed": true,
1468
- "internalType": "address"
1469
- },
1470
- {
1471
- "name": "prevOwner",
1472
- "type": "address",
1473
- "indexed": true,
1474
- "internalType": "address"
1475
- },
1476
- {
1477
- "name": "newOwner",
1478
- "type": "address",
1479
- "indexed": true,
1480
- "internalType": "address"
1481
- }
1482
- ],
1483
- "anonymous": false
1484
- },
1485
- {
1486
- "type": "event",
1487
- "name": "Transfer",
1488
- "inputs": [
1489
- {
1490
- "name": "from",
1491
- "type": "address",
1492
- "indexed": true,
1493
- "internalType": "address"
1494
- },
1495
- {
1496
- "name": "to",
1497
- "type": "address",
1498
- "indexed": true,
1499
- "internalType": "address"
1500
- },
1501
- {
1502
- "name": "value",
1503
- "type": "uint256",
1504
- "indexed": false,
1505
- "internalType": "uint256"
1506
- }
1507
- ],
1508
- "anonymous": false
1509
- },
1510
- {
1511
- "type": "error",
1512
- "name": "AddressEmptyCode",
1513
- "inputs": [
1514
- {
1515
- "name": "target",
1516
- "type": "address",
1517
- "internalType": "address"
1518
- }
1519
- ]
1520
- },
1521
- {
1522
- "type": "error",
1523
- "name": "AddressInsufficientBalance",
1524
- "inputs": [
1525
- {
1526
- "name": "account",
1527
- "type": "address",
1528
- "internalType": "address"
1529
- }
1530
- ]
1531
- },
1532
- {
1533
- "type": "error",
1534
- "name": "AddressZero",
1535
- "inputs": []
1536
- },
1537
- {
1538
- "type": "error",
1539
- "name": "AddressZero",
1540
- "inputs": []
1541
- },
1542
- {
1543
- "type": "error",
1544
- "name": "AlreadyOwner",
1545
- "inputs": []
1546
- },
1547
- {
1548
- "type": "error",
1549
- "name": "CannotMintZeroLiquidity",
1550
- "inputs": []
1551
- },
1552
- {
1553
- "type": "error",
1554
- "name": "DopplerPoolMustHaveMoreThan2DiscoveryPositions",
1555
- "inputs": []
1556
- },
1557
- {
1558
- "type": "error",
1559
- "name": "ECDSAInvalidSignature",
1560
- "inputs": []
1561
- },
1562
- {
1563
- "type": "error",
1564
- "name": "ECDSAInvalidSignatureLength",
1565
- "inputs": [
1566
- {
1567
- "name": "length",
1568
- "type": "uint256",
1569
- "internalType": "uint256"
1570
- }
1571
- ]
1572
- },
1573
- {
1574
- "type": "error",
1575
- "name": "ECDSAInvalidSignatureS",
1576
- "inputs": [
1577
- {
1578
- "name": "s",
1579
- "type": "bytes32",
1580
- "internalType": "bytes32"
1581
- }
1582
- ]
1583
- },
1584
- {
1585
- "type": "error",
1586
- "name": "ERC20InsufficientAllowance",
1587
- "inputs": [
1588
- {
1589
- "name": "spender",
1590
- "type": "address",
1591
- "internalType": "address"
1592
- },
1593
- {
1594
- "name": "allowance",
1595
- "type": "uint256",
1596
- "internalType": "uint256"
1597
- },
1598
- {
1599
- "name": "needed",
1600
- "type": "uint256",
1601
- "internalType": "uint256"
1602
- }
1603
- ]
1604
- },
1605
- {
1606
- "type": "error",
1607
- "name": "ERC20InsufficientBalance",
1608
- "inputs": [
1609
- {
1610
- "name": "sender",
1611
- "type": "address",
1612
- "internalType": "address"
1613
- },
1614
- {
1615
- "name": "balance",
1616
- "type": "uint256",
1617
- "internalType": "uint256"
1618
- },
1619
- {
1620
- "name": "needed",
1621
- "type": "uint256",
1622
- "internalType": "uint256"
1623
- }
1624
- ]
1625
- },
1626
- {
1627
- "type": "error",
1628
- "name": "ERC20InvalidApprover",
1629
- "inputs": [
1630
- {
1631
- "name": "approver",
1632
- "type": "address",
1633
- "internalType": "address"
1634
- }
1635
- ]
1636
- },
1637
- {
1638
- "type": "error",
1639
- "name": "ERC20InvalidReceiver",
1640
- "inputs": [
1641
- {
1642
- "name": "receiver",
1643
- "type": "address",
1644
- "internalType": "address"
1645
- }
1646
- ]
1647
- },
1648
- {
1649
- "type": "error",
1650
- "name": "ERC20InvalidSender",
1651
- "inputs": [
1652
- {
1653
- "name": "sender",
1654
- "type": "address",
1655
- "internalType": "address"
1656
- }
1657
- ]
1658
- },
1659
- {
1660
- "type": "error",
1661
- "name": "ERC20InvalidSpender",
1662
- "inputs": [
1663
- {
1664
- "name": "spender",
1665
- "type": "address",
1666
- "internalType": "address"
1667
- }
1668
- ]
1669
- },
1670
- {
1671
- "type": "error",
1672
- "name": "ERC20TransferAmountMismatch",
1673
- "inputs": []
1674
- },
1675
- {
1676
- "type": "error",
1677
- "name": "ERC2612ExpiredSignature",
1678
- "inputs": [
1679
- {
1680
- "name": "deadline",
1681
- "type": "uint256",
1682
- "internalType": "uint256"
1683
- }
1684
- ]
1685
- },
1686
- {
1687
- "type": "error",
1688
- "name": "ERC2612InvalidSigner",
1689
- "inputs": [
1690
- {
1691
- "name": "signer",
1692
- "type": "address",
1693
- "internalType": "address"
1694
- },
1695
- {
1696
- "name": "owner",
1697
- "type": "address",
1698
- "internalType": "address"
1699
- }
1700
- ]
1701
- },
1702
- {
1703
- "type": "error",
1704
- "name": "EthAmountMismatch",
1705
- "inputs": []
1706
- },
1707
- {
1708
- "type": "error",
1709
- "name": "EthAmountTooSmall",
1710
- "inputs": []
1711
- },
1712
- {
1713
- "type": "error",
1714
- "name": "EthTransferFailed",
1715
- "inputs": []
1716
- },
1717
- {
1718
- "type": "error",
1719
- "name": "EthTransferInvalid",
1720
- "inputs": []
1721
- },
1722
- {
1723
- "type": "error",
1724
- "name": "FailedInnerCall",
1725
- "inputs": []
1726
- },
1727
- {
1728
- "type": "error",
1729
- "name": "InitialOrderSizeTooLarge",
1730
- "inputs": []
1731
- },
1732
- {
1733
- "type": "error",
1734
- "name": "InsufficientFunds",
1735
- "inputs": []
1736
- },
1737
- {
1738
- "type": "error",
1739
- "name": "InsufficientLiquidity",
1740
- "inputs": []
1741
- },
1742
- {
1743
- "type": "error",
1744
- "name": "InvalidAccountNonce",
1745
- "inputs": [
1746
- {
1747
- "name": "account",
1748
- "type": "address",
1749
- "internalType": "address"
1750
- },
1751
- {
1752
- "name": "currentNonce",
1753
- "type": "uint256",
1754
- "internalType": "uint256"
1755
- }
1756
- ]
1757
- },
1758
- {
1759
- "type": "error",
1760
- "name": "InvalidCurrencyLowerTick",
1761
- "inputs": []
1762
- },
1763
- {
1764
- "type": "error",
1765
- "name": "InvalidInitialization",
1766
- "inputs": []
1767
- },
1768
- {
1769
- "type": "error",
1770
- "name": "InvalidMarketType",
1771
- "inputs": []
1772
- },
1773
- {
1774
- "type": "error",
1775
- "name": "InvalidPoolVersion",
1776
- "inputs": []
1777
- },
1778
- {
1779
- "type": "error",
1780
- "name": "InvalidTickRangeMisordered",
1781
- "inputs": [
1782
- {
1783
- "name": "tickLower",
1784
- "type": "int24",
1785
- "internalType": "int24"
1786
- },
1787
- {
1788
- "name": "tickUpper",
1789
- "type": "int24",
1790
- "internalType": "int24"
1791
- }
1792
- ]
1793
- },
1794
- {
1795
- "type": "error",
1796
- "name": "InvalidWethLowerTick",
1797
- "inputs": []
1798
- },
1799
- {
1800
- "type": "error",
1801
- "name": "LegacyPoolMustHaveOneDiscoveryPosition",
1802
- "inputs": []
1803
- },
1804
- {
1805
- "type": "error",
1806
- "name": "MarketAlreadyGraduated",
1807
- "inputs": []
1808
- },
1809
- {
1810
- "type": "error",
1811
- "name": "MarketNotGraduated",
1812
- "inputs": []
1813
- },
1814
- {
1815
- "type": "error",
1816
- "name": "MaxShareToBeSoldExceeded",
1817
- "inputs": [
1818
- {
1819
- "name": "value",
1820
- "type": "uint256",
1821
- "internalType": "uint256"
1822
- },
1823
- {
1824
- "name": "limit",
1825
- "type": "uint256",
1826
- "internalType": "uint256"
1827
- }
1828
- ]
1829
- },
1830
- {
1831
- "type": "error",
1832
- "name": "NameIsRequired",
1833
- "inputs": []
1834
- },
1835
- {
1836
- "type": "error",
1837
- "name": "NotInitializing",
1838
- "inputs": []
1839
- },
1840
- {
1841
- "type": "error",
1842
- "name": "NotOwner",
1843
- "inputs": []
1844
- },
1845
- {
1846
- "type": "error",
1847
- "name": "NumDiscoveryPositionsOutOfRange",
1848
- "inputs": []
1849
- },
1850
- {
1851
- "type": "error",
1852
- "name": "OneOwnerRequired",
1853
- "inputs": []
1854
- },
1855
- {
1856
- "type": "error",
1857
- "name": "OnlyOwner",
1858
- "inputs": []
1859
- },
1860
- {
1861
- "type": "error",
1862
- "name": "OnlyPool",
1863
- "inputs": [
1864
- {
1865
- "name": "sender",
1866
- "type": "address",
1867
- "internalType": "address"
1868
- },
1869
- {
1870
- "name": "pool",
1871
- "type": "address",
1872
- "internalType": "address"
1873
- }
1874
- ]
1875
- },
1876
- {
1877
- "type": "error",
1878
- "name": "OnlyWeth",
1879
- "inputs": []
1880
- },
1881
- {
1882
- "type": "error",
1883
- "name": "OwnerCannotBeAddressZero",
1884
- "inputs": []
1885
- },
1886
- {
1887
- "type": "error",
1888
- "name": "ReentrancyGuardReentrantCall",
1889
- "inputs": []
1890
- },
1891
- {
1892
- "type": "error",
1893
- "name": "SafeERC20FailedOperation",
1894
- "inputs": [
1895
- {
1896
- "name": "token",
1897
- "type": "address",
1898
- "internalType": "address"
1899
- }
1900
- ]
1901
- },
1902
- {
1903
- "type": "error",
1904
- "name": "SlippageBoundsExceeded",
1905
- "inputs": []
1906
- },
1907
- {
1908
- "type": "error",
1909
- "name": "UseRevokeOwnershipToRemoveSelf",
1910
- "inputs": []
1911
- }
1912
- ]