@zoralabs/coins 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.turbo/turbo-build.log +69 -55
  2. package/CHANGELOG.md +12 -0
  3. package/abis/BaseTest.json +0 -23
  4. package/abis/Coin.json +186 -77
  5. package/abis/CoinConfigurationVersions.json +7 -0
  6. package/abis/CoinSetup.json +7 -0
  7. package/abis/CoinTest.json +5 -49
  8. package/abis/CustomRevert.json +28 -0
  9. package/abis/DopplerUniswapV3Test.json +891 -0
  10. package/abis/FactoryTest.json +7 -23
  11. package/abis/IAirlock.json +15 -0
  12. package/abis/ICoin.json +52 -34
  13. package/abis/IDopplerErrors.json +44 -0
  14. package/abis/INonfungiblePositionManager.json +13 -0
  15. package/abis/IUniswapV3Factory.json +198 -0
  16. package/abis/IUniswapV3Pool.json +135 -0
  17. package/abis/MultiOwnableTest.json +0 -23
  18. package/abis/SafeCast.json +7 -0
  19. package/abis/Simulate.json +120 -0
  20. package/abis/SqrtPriceMath.json +22 -0
  21. package/abis/TickMath.json +24 -0
  22. package/abis/ZoraFactoryImpl.json +59 -0
  23. package/addresses/8453.json +3 -3
  24. package/dist/index.cjs +160 -39
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.js +160 -39
  27. package/dist/index.js.map +1 -1
  28. package/dist/wagmiGenerated.d.ts +349 -67
  29. package/dist/wagmiGenerated.d.ts.map +1 -1
  30. package/package/wagmiGenerated.ts +161 -40
  31. package/package.json +3 -3
  32. package/script/CoinsDeployerBase.sol +1 -1
  33. package/script/Simulate.s.sol +67 -0
  34. package/src/Coin.sol +159 -90
  35. package/src/ZoraFactoryImpl.sol +47 -1
  36. package/src/interfaces/IAirlock.sol +6 -0
  37. package/src/interfaces/ICoin.sol +18 -2
  38. package/src/interfaces/IDopplerErrors.sol +14 -0
  39. package/src/interfaces/INonfungiblePositionManager.sol +2 -0
  40. package/src/interfaces/IUniswapV3Factory.sol +64 -0
  41. package/src/interfaces/IUniswapV3Pool.sol +48 -0
  42. package/src/libs/CoinConfigurationVersions.sol +9 -0
  43. package/src/libs/CoinDopplerUniV3.sol +202 -0
  44. package/src/libs/CoinLegacy.sol +48 -0
  45. package/src/libs/CoinSetup.sol +37 -0
  46. package/src/libs/MarketConstants.sol +25 -0
  47. package/src/types/LpPosition.sol +8 -0
  48. package/src/types/PoolState.sol +24 -0
  49. package/src/utils/CoinConstants.sol +5 -12
  50. package/src/utils/uniswap/BitMath.sol +55 -0
  51. package/src/utils/uniswap/CustomRevert.sol +111 -0
  52. package/src/utils/uniswap/FixedPoint96.sol +11 -0
  53. package/src/utils/uniswap/FullMath.sol +118 -0
  54. package/src/utils/uniswap/LiquidityAmounts.sol +117 -0
  55. package/src/utils/uniswap/SafeCast.sol +61 -0
  56. package/src/utils/uniswap/SqrtPriceMath.sol +249 -0
  57. package/src/utils/uniswap/TickMath.sol +244 -0
  58. package/src/utils/uniswap/UnsafeMath.sol +30 -0
  59. package/src/version/ContractVersionBase.sol +1 -1
  60. package/test/Coin.t.sol +65 -65
  61. package/test/CoinDopplerUniV3.t.sol +452 -0
  62. package/test/Factory.t.sol +49 -7
  63. package/test/utils/BaseTest.sol +26 -7
  64. package/wagmi.config.ts +1 -1
  65. package/abis/IERC721Receiver.json +0 -36
  66. package/src/utils/TickMath.sol +0 -210
@@ -0,0 +1,891 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "IS_TEST",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "bool",
10
+ "internalType": "bool"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "MAX_TOTAL_SUPPLY",
18
+ "inputs": [],
19
+ "outputs": [
20
+ {
21
+ "name": "",
22
+ "type": "uint256",
23
+ "internalType": "uint256"
24
+ }
25
+ ],
26
+ "stateMutability": "view"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "MIN_ORDER_SIZE",
31
+ "inputs": [],
32
+ "outputs": [
33
+ {
34
+ "name": "",
35
+ "type": "uint256",
36
+ "internalType": "uint256"
37
+ }
38
+ ],
39
+ "stateMutability": "view"
40
+ },
41
+ {
42
+ "type": "function",
43
+ "name": "PLATFORM_REFERRER_FEE_BPS",
44
+ "inputs": [],
45
+ "outputs": [
46
+ {
47
+ "name": "",
48
+ "type": "uint256",
49
+ "internalType": "uint256"
50
+ }
51
+ ],
52
+ "stateMutability": "view"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "PROTOCOL_FEE_BPS",
57
+ "inputs": [],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "uint256",
62
+ "internalType": "uint256"
63
+ }
64
+ ],
65
+ "stateMutability": "view"
66
+ },
67
+ {
68
+ "type": "function",
69
+ "name": "TOKEN_CREATOR_FEE_BPS",
70
+ "inputs": [],
71
+ "outputs": [
72
+ {
73
+ "name": "",
74
+ "type": "uint256",
75
+ "internalType": "uint256"
76
+ }
77
+ ],
78
+ "stateMutability": "view"
79
+ },
80
+ {
81
+ "type": "function",
82
+ "name": "TOTAL_FEE_BPS",
83
+ "inputs": [],
84
+ "outputs": [
85
+ {
86
+ "name": "",
87
+ "type": "uint256",
88
+ "internalType": "uint256"
89
+ }
90
+ ],
91
+ "stateMutability": "view"
92
+ },
93
+ {
94
+ "type": "function",
95
+ "name": "TRADE_REFERRER_FEE_BPS",
96
+ "inputs": [],
97
+ "outputs": [
98
+ {
99
+ "name": "",
100
+ "type": "uint256",
101
+ "internalType": "uint256"
102
+ }
103
+ ],
104
+ "stateMutability": "view"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "excludeArtifacts",
109
+ "inputs": [],
110
+ "outputs": [
111
+ {
112
+ "name": "excludedArtifacts_",
113
+ "type": "string[]",
114
+ "internalType": "string[]"
115
+ }
116
+ ],
117
+ "stateMutability": "view"
118
+ },
119
+ {
120
+ "type": "function",
121
+ "name": "excludeContracts",
122
+ "inputs": [],
123
+ "outputs": [
124
+ {
125
+ "name": "excludedContracts_",
126
+ "type": "address[]",
127
+ "internalType": "address[]"
128
+ }
129
+ ],
130
+ "stateMutability": "view"
131
+ },
132
+ {
133
+ "type": "function",
134
+ "name": "excludeSelectors",
135
+ "inputs": [],
136
+ "outputs": [
137
+ {
138
+ "name": "excludedSelectors_",
139
+ "type": "tuple[]",
140
+ "internalType": "struct StdInvariant.FuzzSelector[]",
141
+ "components": [
142
+ {
143
+ "name": "addr",
144
+ "type": "address",
145
+ "internalType": "address"
146
+ },
147
+ {
148
+ "name": "selectors",
149
+ "type": "bytes4[]",
150
+ "internalType": "bytes4[]"
151
+ }
152
+ ]
153
+ }
154
+ ],
155
+ "stateMutability": "view"
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "excludeSenders",
160
+ "inputs": [],
161
+ "outputs": [
162
+ {
163
+ "name": "excludedSenders_",
164
+ "type": "address[]",
165
+ "internalType": "address[]"
166
+ }
167
+ ],
168
+ "stateMutability": "view"
169
+ },
170
+ {
171
+ "type": "function",
172
+ "name": "failed",
173
+ "inputs": [],
174
+ "outputs": [
175
+ {
176
+ "name": "",
177
+ "type": "bool",
178
+ "internalType": "bool"
179
+ }
180
+ ],
181
+ "stateMutability": "view"
182
+ },
183
+ {
184
+ "type": "function",
185
+ "name": "setUp",
186
+ "inputs": [],
187
+ "outputs": [],
188
+ "stateMutability": "nonpayable"
189
+ },
190
+ {
191
+ "type": "function",
192
+ "name": "targetArtifactSelectors",
193
+ "inputs": [],
194
+ "outputs": [
195
+ {
196
+ "name": "targetedArtifactSelectors_",
197
+ "type": "tuple[]",
198
+ "internalType": "struct StdInvariant.FuzzArtifactSelector[]",
199
+ "components": [
200
+ {
201
+ "name": "artifact",
202
+ "type": "string",
203
+ "internalType": "string"
204
+ },
205
+ {
206
+ "name": "selectors",
207
+ "type": "bytes4[]",
208
+ "internalType": "bytes4[]"
209
+ }
210
+ ]
211
+ }
212
+ ],
213
+ "stateMutability": "view"
214
+ },
215
+ {
216
+ "type": "function",
217
+ "name": "targetArtifacts",
218
+ "inputs": [],
219
+ "outputs": [
220
+ {
221
+ "name": "targetedArtifacts_",
222
+ "type": "string[]",
223
+ "internalType": "string[]"
224
+ }
225
+ ],
226
+ "stateMutability": "view"
227
+ },
228
+ {
229
+ "type": "function",
230
+ "name": "targetContracts",
231
+ "inputs": [],
232
+ "outputs": [
233
+ {
234
+ "name": "targetedContracts_",
235
+ "type": "address[]",
236
+ "internalType": "address[]"
237
+ }
238
+ ],
239
+ "stateMutability": "view"
240
+ },
241
+ {
242
+ "type": "function",
243
+ "name": "targetInterfaces",
244
+ "inputs": [],
245
+ "outputs": [
246
+ {
247
+ "name": "targetedInterfaces_",
248
+ "type": "tuple[]",
249
+ "internalType": "struct StdInvariant.FuzzInterface[]",
250
+ "components": [
251
+ {
252
+ "name": "addr",
253
+ "type": "address",
254
+ "internalType": "address"
255
+ },
256
+ {
257
+ "name": "artifacts",
258
+ "type": "string[]",
259
+ "internalType": "string[]"
260
+ }
261
+ ]
262
+ }
263
+ ],
264
+ "stateMutability": "view"
265
+ },
266
+ {
267
+ "type": "function",
268
+ "name": "targetSelectors",
269
+ "inputs": [],
270
+ "outputs": [
271
+ {
272
+ "name": "targetedSelectors_",
273
+ "type": "tuple[]",
274
+ "internalType": "struct StdInvariant.FuzzSelector[]",
275
+ "components": [
276
+ {
277
+ "name": "addr",
278
+ "type": "address",
279
+ "internalType": "address"
280
+ },
281
+ {
282
+ "name": "selectors",
283
+ "type": "bytes4[]",
284
+ "internalType": "bytes4[]"
285
+ }
286
+ ]
287
+ }
288
+ ],
289
+ "stateMutability": "view"
290
+ },
291
+ {
292
+ "type": "function",
293
+ "name": "targetSenders",
294
+ "inputs": [],
295
+ "outputs": [
296
+ {
297
+ "name": "targetedSenders_",
298
+ "type": "address[]",
299
+ "internalType": "address[]"
300
+ }
301
+ ],
302
+ "stateMutability": "view"
303
+ },
304
+ {
305
+ "type": "function",
306
+ "name": "test_alignTick_isToken0_negative",
307
+ "inputs": [],
308
+ "outputs": [],
309
+ "stateMutability": "pure"
310
+ },
311
+ {
312
+ "type": "function",
313
+ "name": "test_alignTick_isToken0_positive",
314
+ "inputs": [],
315
+ "outputs": [],
316
+ "stateMutability": "pure"
317
+ },
318
+ {
319
+ "type": "function",
320
+ "name": "test_alignTick_isToken0_zero",
321
+ "inputs": [],
322
+ "outputs": [],
323
+ "stateMutability": "pure"
324
+ },
325
+ {
326
+ "type": "function",
327
+ "name": "test_alignTick_isToken1_negative",
328
+ "inputs": [],
329
+ "outputs": [],
330
+ "stateMutability": "pure"
331
+ },
332
+ {
333
+ "type": "function",
334
+ "name": "test_alignTick_isToken1_positive",
335
+ "inputs": [],
336
+ "outputs": [],
337
+ "stateMutability": "pure"
338
+ },
339
+ {
340
+ "type": "function",
341
+ "name": "test_alignTick_isToken1_zero",
342
+ "inputs": [],
343
+ "outputs": [],
344
+ "stateMutability": "pure"
345
+ },
346
+ {
347
+ "type": "function",
348
+ "name": "test_calculateLogNormalDistribution_isToken0",
349
+ "inputs": [],
350
+ "outputs": [],
351
+ "stateMutability": "pure"
352
+ },
353
+ {
354
+ "type": "function",
355
+ "name": "test_calculateLogNormalDistribution_isToken1",
356
+ "inputs": [],
357
+ "outputs": [],
358
+ "stateMutability": "pure"
359
+ },
360
+ {
361
+ "type": "function",
362
+ "name": "test_calculateLogNormalDistribution_startingTickEqualsFarTick",
363
+ "inputs": [],
364
+ "outputs": [],
365
+ "stateMutability": "pure"
366
+ },
367
+ {
368
+ "type": "function",
369
+ "name": "test_calculateLogNormalDistribution_zeroDiscoverySupply",
370
+ "inputs": [],
371
+ "outputs": [],
372
+ "stateMutability": "pure"
373
+ },
374
+ {
375
+ "type": "function",
376
+ "name": "test_calculateLpTail_isToken0",
377
+ "inputs": [],
378
+ "outputs": [],
379
+ "stateMutability": "pure"
380
+ },
381
+ {
382
+ "type": "function",
383
+ "name": "test_calculateLpTail_isToken1",
384
+ "inputs": [],
385
+ "outputs": [],
386
+ "stateMutability": "pure"
387
+ },
388
+ {
389
+ "type": "function",
390
+ "name": "test_deploy_doppler_eth",
391
+ "inputs": [],
392
+ "outputs": [],
393
+ "stateMutability": "nonpayable"
394
+ },
395
+ {
396
+ "type": "function",
397
+ "name": "test_deploy_doppler_eth_with_prebuy",
398
+ "inputs": [
399
+ {
400
+ "name": "initialOrderSize",
401
+ "type": "uint256",
402
+ "internalType": "uint256"
403
+ }
404
+ ],
405
+ "outputs": [],
406
+ "stateMutability": "nonpayable"
407
+ },
408
+ {
409
+ "type": "function",
410
+ "name": "test_deploy_legacy_eth_config",
411
+ "inputs": [],
412
+ "outputs": [],
413
+ "stateMutability": "nonpayable"
414
+ },
415
+ {
416
+ "type": "function",
417
+ "name": "test_deploy_legacy_eth_config_with_prebuy",
418
+ "inputs": [
419
+ {
420
+ "name": "initialOrderSize",
421
+ "type": "uint256",
422
+ "internalType": "uint256"
423
+ }
424
+ ],
425
+ "outputs": [],
426
+ "stateMutability": "nonpayable"
427
+ },
428
+ {
429
+ "type": "function",
430
+ "name": "test_deploy_legacy_usdc_config_with_prebuy",
431
+ "inputs": [],
432
+ "outputs": [],
433
+ "stateMutability": "nonpayable"
434
+ },
435
+ {
436
+ "type": "function",
437
+ "name": "test_invalid_tick_range",
438
+ "inputs": [],
439
+ "outputs": [],
440
+ "stateMutability": "nonpayable"
441
+ },
442
+ {
443
+ "type": "function",
444
+ "name": "test_inverted_tick_range_revert",
445
+ "inputs": [],
446
+ "outputs": [],
447
+ "stateMutability": "nonpayable"
448
+ },
449
+ {
450
+ "type": "function",
451
+ "name": "test_revert_deploy_invalid_discovery_supply_share",
452
+ "inputs": [],
453
+ "outputs": [],
454
+ "stateMutability": "nonpayable"
455
+ },
456
+ {
457
+ "type": "event",
458
+ "name": "SlotFound",
459
+ "inputs": [
460
+ {
461
+ "name": "who",
462
+ "type": "address",
463
+ "indexed": false,
464
+ "internalType": "address"
465
+ },
466
+ {
467
+ "name": "fsig",
468
+ "type": "bytes4",
469
+ "indexed": false,
470
+ "internalType": "bytes4"
471
+ },
472
+ {
473
+ "name": "keysHash",
474
+ "type": "bytes32",
475
+ "indexed": false,
476
+ "internalType": "bytes32"
477
+ },
478
+ {
479
+ "name": "slot",
480
+ "type": "uint256",
481
+ "indexed": false,
482
+ "internalType": "uint256"
483
+ }
484
+ ],
485
+ "anonymous": false
486
+ },
487
+ {
488
+ "type": "event",
489
+ "name": "WARNING_UninitedSlot",
490
+ "inputs": [
491
+ {
492
+ "name": "who",
493
+ "type": "address",
494
+ "indexed": false,
495
+ "internalType": "address"
496
+ },
497
+ {
498
+ "name": "slot",
499
+ "type": "uint256",
500
+ "indexed": false,
501
+ "internalType": "uint256"
502
+ }
503
+ ],
504
+ "anonymous": false
505
+ },
506
+ {
507
+ "type": "event",
508
+ "name": "log",
509
+ "inputs": [
510
+ {
511
+ "name": "",
512
+ "type": "string",
513
+ "indexed": false,
514
+ "internalType": "string"
515
+ }
516
+ ],
517
+ "anonymous": false
518
+ },
519
+ {
520
+ "type": "event",
521
+ "name": "log_address",
522
+ "inputs": [
523
+ {
524
+ "name": "",
525
+ "type": "address",
526
+ "indexed": false,
527
+ "internalType": "address"
528
+ }
529
+ ],
530
+ "anonymous": false
531
+ },
532
+ {
533
+ "type": "event",
534
+ "name": "log_array",
535
+ "inputs": [
536
+ {
537
+ "name": "val",
538
+ "type": "uint256[]",
539
+ "indexed": false,
540
+ "internalType": "uint256[]"
541
+ }
542
+ ],
543
+ "anonymous": false
544
+ },
545
+ {
546
+ "type": "event",
547
+ "name": "log_array",
548
+ "inputs": [
549
+ {
550
+ "name": "val",
551
+ "type": "int256[]",
552
+ "indexed": false,
553
+ "internalType": "int256[]"
554
+ }
555
+ ],
556
+ "anonymous": false
557
+ },
558
+ {
559
+ "type": "event",
560
+ "name": "log_array",
561
+ "inputs": [
562
+ {
563
+ "name": "val",
564
+ "type": "address[]",
565
+ "indexed": false,
566
+ "internalType": "address[]"
567
+ }
568
+ ],
569
+ "anonymous": false
570
+ },
571
+ {
572
+ "type": "event",
573
+ "name": "log_bytes",
574
+ "inputs": [
575
+ {
576
+ "name": "",
577
+ "type": "bytes",
578
+ "indexed": false,
579
+ "internalType": "bytes"
580
+ }
581
+ ],
582
+ "anonymous": false
583
+ },
584
+ {
585
+ "type": "event",
586
+ "name": "log_bytes32",
587
+ "inputs": [
588
+ {
589
+ "name": "",
590
+ "type": "bytes32",
591
+ "indexed": false,
592
+ "internalType": "bytes32"
593
+ }
594
+ ],
595
+ "anonymous": false
596
+ },
597
+ {
598
+ "type": "event",
599
+ "name": "log_int",
600
+ "inputs": [
601
+ {
602
+ "name": "",
603
+ "type": "int256",
604
+ "indexed": false,
605
+ "internalType": "int256"
606
+ }
607
+ ],
608
+ "anonymous": false
609
+ },
610
+ {
611
+ "type": "event",
612
+ "name": "log_named_address",
613
+ "inputs": [
614
+ {
615
+ "name": "key",
616
+ "type": "string",
617
+ "indexed": false,
618
+ "internalType": "string"
619
+ },
620
+ {
621
+ "name": "val",
622
+ "type": "address",
623
+ "indexed": false,
624
+ "internalType": "address"
625
+ }
626
+ ],
627
+ "anonymous": false
628
+ },
629
+ {
630
+ "type": "event",
631
+ "name": "log_named_array",
632
+ "inputs": [
633
+ {
634
+ "name": "key",
635
+ "type": "string",
636
+ "indexed": false,
637
+ "internalType": "string"
638
+ },
639
+ {
640
+ "name": "val",
641
+ "type": "uint256[]",
642
+ "indexed": false,
643
+ "internalType": "uint256[]"
644
+ }
645
+ ],
646
+ "anonymous": false
647
+ },
648
+ {
649
+ "type": "event",
650
+ "name": "log_named_array",
651
+ "inputs": [
652
+ {
653
+ "name": "key",
654
+ "type": "string",
655
+ "indexed": false,
656
+ "internalType": "string"
657
+ },
658
+ {
659
+ "name": "val",
660
+ "type": "int256[]",
661
+ "indexed": false,
662
+ "internalType": "int256[]"
663
+ }
664
+ ],
665
+ "anonymous": false
666
+ },
667
+ {
668
+ "type": "event",
669
+ "name": "log_named_array",
670
+ "inputs": [
671
+ {
672
+ "name": "key",
673
+ "type": "string",
674
+ "indexed": false,
675
+ "internalType": "string"
676
+ },
677
+ {
678
+ "name": "val",
679
+ "type": "address[]",
680
+ "indexed": false,
681
+ "internalType": "address[]"
682
+ }
683
+ ],
684
+ "anonymous": false
685
+ },
686
+ {
687
+ "type": "event",
688
+ "name": "log_named_bytes",
689
+ "inputs": [
690
+ {
691
+ "name": "key",
692
+ "type": "string",
693
+ "indexed": false,
694
+ "internalType": "string"
695
+ },
696
+ {
697
+ "name": "val",
698
+ "type": "bytes",
699
+ "indexed": false,
700
+ "internalType": "bytes"
701
+ }
702
+ ],
703
+ "anonymous": false
704
+ },
705
+ {
706
+ "type": "event",
707
+ "name": "log_named_bytes32",
708
+ "inputs": [
709
+ {
710
+ "name": "key",
711
+ "type": "string",
712
+ "indexed": false,
713
+ "internalType": "string"
714
+ },
715
+ {
716
+ "name": "val",
717
+ "type": "bytes32",
718
+ "indexed": false,
719
+ "internalType": "bytes32"
720
+ }
721
+ ],
722
+ "anonymous": false
723
+ },
724
+ {
725
+ "type": "event",
726
+ "name": "log_named_decimal_int",
727
+ "inputs": [
728
+ {
729
+ "name": "key",
730
+ "type": "string",
731
+ "indexed": false,
732
+ "internalType": "string"
733
+ },
734
+ {
735
+ "name": "val",
736
+ "type": "int256",
737
+ "indexed": false,
738
+ "internalType": "int256"
739
+ },
740
+ {
741
+ "name": "decimals",
742
+ "type": "uint256",
743
+ "indexed": false,
744
+ "internalType": "uint256"
745
+ }
746
+ ],
747
+ "anonymous": false
748
+ },
749
+ {
750
+ "type": "event",
751
+ "name": "log_named_decimal_uint",
752
+ "inputs": [
753
+ {
754
+ "name": "key",
755
+ "type": "string",
756
+ "indexed": false,
757
+ "internalType": "string"
758
+ },
759
+ {
760
+ "name": "val",
761
+ "type": "uint256",
762
+ "indexed": false,
763
+ "internalType": "uint256"
764
+ },
765
+ {
766
+ "name": "decimals",
767
+ "type": "uint256",
768
+ "indexed": false,
769
+ "internalType": "uint256"
770
+ }
771
+ ],
772
+ "anonymous": false
773
+ },
774
+ {
775
+ "type": "event",
776
+ "name": "log_named_int",
777
+ "inputs": [
778
+ {
779
+ "name": "key",
780
+ "type": "string",
781
+ "indexed": false,
782
+ "internalType": "string"
783
+ },
784
+ {
785
+ "name": "val",
786
+ "type": "int256",
787
+ "indexed": false,
788
+ "internalType": "int256"
789
+ }
790
+ ],
791
+ "anonymous": false
792
+ },
793
+ {
794
+ "type": "event",
795
+ "name": "log_named_string",
796
+ "inputs": [
797
+ {
798
+ "name": "key",
799
+ "type": "string",
800
+ "indexed": false,
801
+ "internalType": "string"
802
+ },
803
+ {
804
+ "name": "val",
805
+ "type": "string",
806
+ "indexed": false,
807
+ "internalType": "string"
808
+ }
809
+ ],
810
+ "anonymous": false
811
+ },
812
+ {
813
+ "type": "event",
814
+ "name": "log_named_uint",
815
+ "inputs": [
816
+ {
817
+ "name": "key",
818
+ "type": "string",
819
+ "indexed": false,
820
+ "internalType": "string"
821
+ },
822
+ {
823
+ "name": "val",
824
+ "type": "uint256",
825
+ "indexed": false,
826
+ "internalType": "uint256"
827
+ }
828
+ ],
829
+ "anonymous": false
830
+ },
831
+ {
832
+ "type": "event",
833
+ "name": "log_string",
834
+ "inputs": [
835
+ {
836
+ "name": "",
837
+ "type": "string",
838
+ "indexed": false,
839
+ "internalType": "string"
840
+ }
841
+ ],
842
+ "anonymous": false
843
+ },
844
+ {
845
+ "type": "event",
846
+ "name": "log_uint",
847
+ "inputs": [
848
+ {
849
+ "name": "",
850
+ "type": "uint256",
851
+ "indexed": false,
852
+ "internalType": "uint256"
853
+ }
854
+ ],
855
+ "anonymous": false
856
+ },
857
+ {
858
+ "type": "event",
859
+ "name": "logs",
860
+ "inputs": [
861
+ {
862
+ "name": "",
863
+ "type": "bytes",
864
+ "indexed": false,
865
+ "internalType": "bytes"
866
+ }
867
+ ],
868
+ "anonymous": false
869
+ },
870
+ {
871
+ "type": "error",
872
+ "name": "CannotMintZeroLiquidity",
873
+ "inputs": []
874
+ },
875
+ {
876
+ "type": "error",
877
+ "name": "InvalidTickRangeMisordered",
878
+ "inputs": [
879
+ {
880
+ "name": "tickLower",
881
+ "type": "int24",
882
+ "internalType": "int24"
883
+ },
884
+ {
885
+ "name": "tickUpper",
886
+ "type": "int24",
887
+ "internalType": "int24"
888
+ }
889
+ ]
890
+ }
891
+ ]