@panoptic-eng/sdk 1.0.69 → 1.0.70

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.
@@ -1,4 +1,4 @@
1
- import { MulticallNoDataError, MulticallResultFailedError, MulticallResultMissingError, PanopticValidationError, collateralTrackerV2Abi, decodeLeftRightUnsigned, getBlockMeta, getPool, getPositions, panopticPoolV2Abi, riskEngineAbi } from "./rates-B-eRYOTS.js";
1
+ import { MulticallNoDataError, MulticallResultFailedError, MulticallResultMissingError, PanopticValidationError, collateralTrackerV2Abi, decodeLeftRightUnsigned, getBlockMeta, getPool, getPositions, panopticPoolV2Abi, riskEngineAbi } from "./rates-DDK4ZimJ.js";
2
2
  import { NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, tickToSqrtPriceX96 } from "./greeks-DNPP24KL.js";
3
3
  import { decodeFunctionResult, encodeFunctionData } from "viem";
4
4
  import { call } from "viem/actions";
@@ -371,6 +371,930 @@ const Multicall3Abi = [
371
371
  }
372
372
  ];
373
373
 
374
+ //#endregion
375
+ //#region src/abis/UniswapV3Pool.ts
376
+ const UniswapV3PoolAbi = [
377
+ {
378
+ inputs: [],
379
+ stateMutability: "payable",
380
+ type: "constructor"
381
+ },
382
+ {
383
+ anonymous: false,
384
+ inputs: [
385
+ {
386
+ indexed: true,
387
+ internalType: "address",
388
+ name: "owner",
389
+ type: "address"
390
+ },
391
+ {
392
+ indexed: true,
393
+ internalType: "int24",
394
+ name: "tickLower",
395
+ type: "int24"
396
+ },
397
+ {
398
+ indexed: true,
399
+ internalType: "int24",
400
+ name: "tickUpper",
401
+ type: "int24"
402
+ },
403
+ {
404
+ indexed: false,
405
+ internalType: "uint128",
406
+ name: "amount",
407
+ type: "uint128"
408
+ },
409
+ {
410
+ indexed: false,
411
+ internalType: "uint256",
412
+ name: "amount0",
413
+ type: "uint256"
414
+ },
415
+ {
416
+ indexed: false,
417
+ internalType: "uint256",
418
+ name: "amount1",
419
+ type: "uint256"
420
+ }
421
+ ],
422
+ name: "Burn",
423
+ type: "event"
424
+ },
425
+ {
426
+ anonymous: false,
427
+ inputs: [
428
+ {
429
+ indexed: true,
430
+ internalType: "address",
431
+ name: "owner",
432
+ type: "address"
433
+ },
434
+ {
435
+ indexed: false,
436
+ internalType: "address",
437
+ name: "recipient",
438
+ type: "address"
439
+ },
440
+ {
441
+ indexed: true,
442
+ internalType: "int24",
443
+ name: "tickLower",
444
+ type: "int24"
445
+ },
446
+ {
447
+ indexed: true,
448
+ internalType: "int24",
449
+ name: "tickUpper",
450
+ type: "int24"
451
+ },
452
+ {
453
+ indexed: false,
454
+ internalType: "uint128",
455
+ name: "amount0",
456
+ type: "uint128"
457
+ },
458
+ {
459
+ indexed: false,
460
+ internalType: "uint128",
461
+ name: "amount1",
462
+ type: "uint128"
463
+ }
464
+ ],
465
+ name: "Collect",
466
+ type: "event"
467
+ },
468
+ {
469
+ anonymous: false,
470
+ inputs: [
471
+ {
472
+ indexed: true,
473
+ internalType: "address",
474
+ name: "sender",
475
+ type: "address"
476
+ },
477
+ {
478
+ indexed: true,
479
+ internalType: "address",
480
+ name: "recipient",
481
+ type: "address"
482
+ },
483
+ {
484
+ indexed: false,
485
+ internalType: "uint128",
486
+ name: "amount0",
487
+ type: "uint128"
488
+ },
489
+ {
490
+ indexed: false,
491
+ internalType: "uint128",
492
+ name: "amount1",
493
+ type: "uint128"
494
+ }
495
+ ],
496
+ name: "CollectProtocol",
497
+ type: "event"
498
+ },
499
+ {
500
+ anonymous: false,
501
+ inputs: [
502
+ {
503
+ indexed: true,
504
+ internalType: "address",
505
+ name: "sender",
506
+ type: "address"
507
+ },
508
+ {
509
+ indexed: true,
510
+ internalType: "address",
511
+ name: "recipient",
512
+ type: "address"
513
+ },
514
+ {
515
+ indexed: false,
516
+ internalType: "uint256",
517
+ name: "amount0",
518
+ type: "uint256"
519
+ },
520
+ {
521
+ indexed: false,
522
+ internalType: "uint256",
523
+ name: "amount1",
524
+ type: "uint256"
525
+ },
526
+ {
527
+ indexed: false,
528
+ internalType: "uint256",
529
+ name: "paid0",
530
+ type: "uint256"
531
+ },
532
+ {
533
+ indexed: false,
534
+ internalType: "uint256",
535
+ name: "paid1",
536
+ type: "uint256"
537
+ }
538
+ ],
539
+ name: "Flash",
540
+ type: "event"
541
+ },
542
+ {
543
+ anonymous: false,
544
+ inputs: [{
545
+ indexed: false,
546
+ internalType: "uint16",
547
+ name: "observationCardinalityNextOld",
548
+ type: "uint16"
549
+ }, {
550
+ indexed: false,
551
+ internalType: "uint16",
552
+ name: "observationCardinalityNextNew",
553
+ type: "uint16"
554
+ }],
555
+ name: "IncreaseObservationCardinalityNext",
556
+ type: "event"
557
+ },
558
+ {
559
+ anonymous: false,
560
+ inputs: [{
561
+ indexed: false,
562
+ internalType: "uint160",
563
+ name: "sqrtPriceX96",
564
+ type: "uint160"
565
+ }, {
566
+ indexed: false,
567
+ internalType: "int24",
568
+ name: "tick",
569
+ type: "int24"
570
+ }],
571
+ name: "Initialize",
572
+ type: "event"
573
+ },
574
+ {
575
+ anonymous: false,
576
+ inputs: [
577
+ {
578
+ indexed: false,
579
+ internalType: "address",
580
+ name: "sender",
581
+ type: "address"
582
+ },
583
+ {
584
+ indexed: true,
585
+ internalType: "address",
586
+ name: "owner",
587
+ type: "address"
588
+ },
589
+ {
590
+ indexed: true,
591
+ internalType: "int24",
592
+ name: "tickLower",
593
+ type: "int24"
594
+ },
595
+ {
596
+ indexed: true,
597
+ internalType: "int24",
598
+ name: "tickUpper",
599
+ type: "int24"
600
+ },
601
+ {
602
+ indexed: false,
603
+ internalType: "uint128",
604
+ name: "amount",
605
+ type: "uint128"
606
+ },
607
+ {
608
+ indexed: false,
609
+ internalType: "uint256",
610
+ name: "amount0",
611
+ type: "uint256"
612
+ },
613
+ {
614
+ indexed: false,
615
+ internalType: "uint256",
616
+ name: "amount1",
617
+ type: "uint256"
618
+ }
619
+ ],
620
+ name: "Mint",
621
+ type: "event"
622
+ },
623
+ {
624
+ anonymous: false,
625
+ inputs: [
626
+ {
627
+ indexed: false,
628
+ internalType: "uint8",
629
+ name: "feeProtocol0Old",
630
+ type: "uint8"
631
+ },
632
+ {
633
+ indexed: false,
634
+ internalType: "uint8",
635
+ name: "feeProtocol1Old",
636
+ type: "uint8"
637
+ },
638
+ {
639
+ indexed: false,
640
+ internalType: "uint8",
641
+ name: "feeProtocol0New",
642
+ type: "uint8"
643
+ },
644
+ {
645
+ indexed: false,
646
+ internalType: "uint8",
647
+ name: "feeProtocol1New",
648
+ type: "uint8"
649
+ }
650
+ ],
651
+ name: "SetFeeProtocol",
652
+ type: "event"
653
+ },
654
+ {
655
+ anonymous: false,
656
+ inputs: [
657
+ {
658
+ indexed: true,
659
+ internalType: "address",
660
+ name: "sender",
661
+ type: "address"
662
+ },
663
+ {
664
+ indexed: true,
665
+ internalType: "address",
666
+ name: "recipient",
667
+ type: "address"
668
+ },
669
+ {
670
+ indexed: false,
671
+ internalType: "int256",
672
+ name: "amount0",
673
+ type: "int256"
674
+ },
675
+ {
676
+ indexed: false,
677
+ internalType: "int256",
678
+ name: "amount1",
679
+ type: "int256"
680
+ },
681
+ {
682
+ indexed: false,
683
+ internalType: "uint160",
684
+ name: "sqrtPriceX96",
685
+ type: "uint160"
686
+ },
687
+ {
688
+ indexed: false,
689
+ internalType: "uint128",
690
+ name: "liquidity",
691
+ type: "uint128"
692
+ },
693
+ {
694
+ indexed: false,
695
+ internalType: "int24",
696
+ name: "tick",
697
+ type: "int24"
698
+ }
699
+ ],
700
+ name: "Swap",
701
+ type: "event"
702
+ },
703
+ {
704
+ inputs: [
705
+ {
706
+ internalType: "int24",
707
+ name: "tickLower",
708
+ type: "int24"
709
+ },
710
+ {
711
+ internalType: "int24",
712
+ name: "tickUpper",
713
+ type: "int24"
714
+ },
715
+ {
716
+ internalType: "uint128",
717
+ name: "amount",
718
+ type: "uint128"
719
+ }
720
+ ],
721
+ name: "burn",
722
+ outputs: [{
723
+ internalType: "uint256",
724
+ name: "amount0",
725
+ type: "uint256"
726
+ }, {
727
+ internalType: "uint256",
728
+ name: "amount1",
729
+ type: "uint256"
730
+ }],
731
+ stateMutability: "payable",
732
+ type: "function"
733
+ },
734
+ {
735
+ inputs: [
736
+ {
737
+ internalType: "address",
738
+ name: "recipient",
739
+ type: "address"
740
+ },
741
+ {
742
+ internalType: "int24",
743
+ name: "tickLower",
744
+ type: "int24"
745
+ },
746
+ {
747
+ internalType: "int24",
748
+ name: "tickUpper",
749
+ type: "int24"
750
+ },
751
+ {
752
+ internalType: "uint128",
753
+ name: "amount0Requested",
754
+ type: "uint128"
755
+ },
756
+ {
757
+ internalType: "uint128",
758
+ name: "amount1Requested",
759
+ type: "uint128"
760
+ }
761
+ ],
762
+ name: "collect",
763
+ outputs: [{
764
+ internalType: "uint128",
765
+ name: "amount0",
766
+ type: "uint128"
767
+ }, {
768
+ internalType: "uint128",
769
+ name: "amount1",
770
+ type: "uint128"
771
+ }],
772
+ stateMutability: "payable",
773
+ type: "function"
774
+ },
775
+ {
776
+ inputs: [
777
+ {
778
+ internalType: "address",
779
+ name: "recipient",
780
+ type: "address"
781
+ },
782
+ {
783
+ internalType: "uint128",
784
+ name: "amount0Requested",
785
+ type: "uint128"
786
+ },
787
+ {
788
+ internalType: "uint128",
789
+ name: "amount1Requested",
790
+ type: "uint128"
791
+ }
792
+ ],
793
+ name: "collectProtocol",
794
+ outputs: [{
795
+ internalType: "uint128",
796
+ name: "amount0",
797
+ type: "uint128"
798
+ }, {
799
+ internalType: "uint128",
800
+ name: "amount1",
801
+ type: "uint128"
802
+ }],
803
+ stateMutability: "payable",
804
+ type: "function"
805
+ },
806
+ {
807
+ inputs: [],
808
+ name: "factory",
809
+ outputs: [{
810
+ internalType: "address",
811
+ name: "",
812
+ type: "address"
813
+ }],
814
+ stateMutability: "view",
815
+ type: "function"
816
+ },
817
+ {
818
+ inputs: [],
819
+ name: "fee",
820
+ outputs: [{
821
+ internalType: "uint24",
822
+ name: "",
823
+ type: "uint24"
824
+ }],
825
+ stateMutability: "view",
826
+ type: "function"
827
+ },
828
+ {
829
+ inputs: [],
830
+ name: "feeGrowthGlobal0X128",
831
+ outputs: [{
832
+ internalType: "uint256",
833
+ name: "",
834
+ type: "uint256"
835
+ }],
836
+ stateMutability: "view",
837
+ type: "function"
838
+ },
839
+ {
840
+ inputs: [],
841
+ name: "feeGrowthGlobal1X128",
842
+ outputs: [{
843
+ internalType: "uint256",
844
+ name: "",
845
+ type: "uint256"
846
+ }],
847
+ stateMutability: "view",
848
+ type: "function"
849
+ },
850
+ {
851
+ inputs: [
852
+ {
853
+ internalType: "address",
854
+ name: "recipient",
855
+ type: "address"
856
+ },
857
+ {
858
+ internalType: "uint256",
859
+ name: "amount0",
860
+ type: "uint256"
861
+ },
862
+ {
863
+ internalType: "uint256",
864
+ name: "amount1",
865
+ type: "uint256"
866
+ },
867
+ {
868
+ internalType: "bytes",
869
+ name: "data",
870
+ type: "bytes"
871
+ }
872
+ ],
873
+ name: "flash",
874
+ outputs: [],
875
+ stateMutability: "payable",
876
+ type: "function"
877
+ },
878
+ {
879
+ inputs: [{
880
+ internalType: "uint16",
881
+ name: "observationCardinalityNext",
882
+ type: "uint16"
883
+ }],
884
+ name: "increaseObservationCardinalityNext",
885
+ outputs: [],
886
+ stateMutability: "payable",
887
+ type: "function"
888
+ },
889
+ {
890
+ inputs: [{
891
+ internalType: "uint160",
892
+ name: "sqrtPriceX96",
893
+ type: "uint160"
894
+ }],
895
+ name: "initialize",
896
+ outputs: [],
897
+ stateMutability: "payable",
898
+ type: "function"
899
+ },
900
+ {
901
+ inputs: [],
902
+ name: "liquidity",
903
+ outputs: [{
904
+ internalType: "uint128",
905
+ name: "",
906
+ type: "uint128"
907
+ }],
908
+ stateMutability: "view",
909
+ type: "function"
910
+ },
911
+ {
912
+ inputs: [],
913
+ name: "maxLiquidityPerTick",
914
+ outputs: [{
915
+ internalType: "uint128",
916
+ name: "",
917
+ type: "uint128"
918
+ }],
919
+ stateMutability: "view",
920
+ type: "function"
921
+ },
922
+ {
923
+ inputs: [
924
+ {
925
+ internalType: "address",
926
+ name: "recipient",
927
+ type: "address"
928
+ },
929
+ {
930
+ internalType: "int24",
931
+ name: "tickLower",
932
+ type: "int24"
933
+ },
934
+ {
935
+ internalType: "int24",
936
+ name: "tickUpper",
937
+ type: "int24"
938
+ },
939
+ {
940
+ internalType: "uint128",
941
+ name: "amount",
942
+ type: "uint128"
943
+ },
944
+ {
945
+ internalType: "bytes",
946
+ name: "data",
947
+ type: "bytes"
948
+ }
949
+ ],
950
+ name: "mint",
951
+ outputs: [{
952
+ internalType: "uint256",
953
+ name: "amount0",
954
+ type: "uint256"
955
+ }, {
956
+ internalType: "uint256",
957
+ name: "amount1",
958
+ type: "uint256"
959
+ }],
960
+ stateMutability: "payable",
961
+ type: "function"
962
+ },
963
+ {
964
+ inputs: [{
965
+ internalType: "uint256",
966
+ name: "",
967
+ type: "uint256"
968
+ }],
969
+ name: "observations",
970
+ outputs: [
971
+ {
972
+ internalType: "uint32",
973
+ name: "blockTimestamp",
974
+ type: "uint32"
975
+ },
976
+ {
977
+ internalType: "int56",
978
+ name: "tickCumulative",
979
+ type: "int56"
980
+ },
981
+ {
982
+ internalType: "uint160",
983
+ name: "secondsPerLiquidityCumulativeX128",
984
+ type: "uint160"
985
+ },
986
+ {
987
+ internalType: "bool",
988
+ name: "initialized",
989
+ type: "bool"
990
+ }
991
+ ],
992
+ stateMutability: "view",
993
+ type: "function"
994
+ },
995
+ {
996
+ inputs: [{
997
+ internalType: "uint32[]",
998
+ name: "secondsAgos",
999
+ type: "uint32[]"
1000
+ }],
1001
+ name: "observe",
1002
+ outputs: [{
1003
+ internalType: "int56[]",
1004
+ name: "tickCumulatives",
1005
+ type: "int56[]"
1006
+ }, {
1007
+ internalType: "uint160[]",
1008
+ name: "secondsPerLiquidityCumulativeX128s",
1009
+ type: "uint160[]"
1010
+ }],
1011
+ stateMutability: "view",
1012
+ type: "function"
1013
+ },
1014
+ {
1015
+ inputs: [{
1016
+ internalType: "bytes32",
1017
+ name: "",
1018
+ type: "bytes32"
1019
+ }],
1020
+ name: "positions",
1021
+ outputs: [
1022
+ {
1023
+ internalType: "uint128",
1024
+ name: "liquidity",
1025
+ type: "uint128"
1026
+ },
1027
+ {
1028
+ internalType: "uint256",
1029
+ name: "feeGrowthInside0LastX128",
1030
+ type: "uint256"
1031
+ },
1032
+ {
1033
+ internalType: "uint256",
1034
+ name: "feeGrowthInside1LastX128",
1035
+ type: "uint256"
1036
+ },
1037
+ {
1038
+ internalType: "uint128",
1039
+ name: "tokensOwed0",
1040
+ type: "uint128"
1041
+ },
1042
+ {
1043
+ internalType: "uint128",
1044
+ name: "tokensOwed1",
1045
+ type: "uint128"
1046
+ }
1047
+ ],
1048
+ stateMutability: "view",
1049
+ type: "function"
1050
+ },
1051
+ {
1052
+ inputs: [],
1053
+ name: "protocolFees",
1054
+ outputs: [{
1055
+ internalType: "uint128",
1056
+ name: "token0",
1057
+ type: "uint128"
1058
+ }, {
1059
+ internalType: "uint128",
1060
+ name: "token1",
1061
+ type: "uint128"
1062
+ }],
1063
+ stateMutability: "view",
1064
+ type: "function"
1065
+ },
1066
+ {
1067
+ inputs: [{
1068
+ internalType: "uint8",
1069
+ name: "feeProtocol0",
1070
+ type: "uint8"
1071
+ }, {
1072
+ internalType: "uint8",
1073
+ name: "feeProtocol1",
1074
+ type: "uint8"
1075
+ }],
1076
+ name: "setFeeProtocol",
1077
+ outputs: [],
1078
+ stateMutability: "payable",
1079
+ type: "function"
1080
+ },
1081
+ {
1082
+ inputs: [],
1083
+ name: "slot0",
1084
+ outputs: [
1085
+ {
1086
+ internalType: "uint160",
1087
+ name: "sqrtPriceX96",
1088
+ type: "uint160"
1089
+ },
1090
+ {
1091
+ internalType: "int24",
1092
+ name: "tick",
1093
+ type: "int24"
1094
+ },
1095
+ {
1096
+ internalType: "uint16",
1097
+ name: "observationIndex",
1098
+ type: "uint16"
1099
+ },
1100
+ {
1101
+ internalType: "uint16",
1102
+ name: "observationCardinality",
1103
+ type: "uint16"
1104
+ },
1105
+ {
1106
+ internalType: "uint16",
1107
+ name: "observationCardinalityNext",
1108
+ type: "uint16"
1109
+ },
1110
+ {
1111
+ internalType: "uint8",
1112
+ name: "feeProtocol",
1113
+ type: "uint8"
1114
+ },
1115
+ {
1116
+ internalType: "bool",
1117
+ name: "unlocked",
1118
+ type: "bool"
1119
+ }
1120
+ ],
1121
+ stateMutability: "view",
1122
+ type: "function"
1123
+ },
1124
+ {
1125
+ inputs: [{
1126
+ internalType: "int24",
1127
+ name: "tickLower",
1128
+ type: "int24"
1129
+ }, {
1130
+ internalType: "int24",
1131
+ name: "tickUpper",
1132
+ type: "int24"
1133
+ }],
1134
+ name: "snapshotCumulativesInside",
1135
+ outputs: [
1136
+ {
1137
+ internalType: "int56",
1138
+ name: "tickCumulativeInside",
1139
+ type: "int56"
1140
+ },
1141
+ {
1142
+ internalType: "uint160",
1143
+ name: "secondsPerLiquidityInsideX128",
1144
+ type: "uint160"
1145
+ },
1146
+ {
1147
+ internalType: "uint32",
1148
+ name: "secondsInside",
1149
+ type: "uint32"
1150
+ }
1151
+ ],
1152
+ stateMutability: "view",
1153
+ type: "function"
1154
+ },
1155
+ {
1156
+ inputs: [
1157
+ {
1158
+ internalType: "address",
1159
+ name: "recipient",
1160
+ type: "address"
1161
+ },
1162
+ {
1163
+ internalType: "bool",
1164
+ name: "zeroForOne",
1165
+ type: "bool"
1166
+ },
1167
+ {
1168
+ internalType: "int256",
1169
+ name: "amountSpecified",
1170
+ type: "int256"
1171
+ },
1172
+ {
1173
+ internalType: "uint160",
1174
+ name: "sqrtPriceLimitX96",
1175
+ type: "uint160"
1176
+ },
1177
+ {
1178
+ internalType: "bytes",
1179
+ name: "data",
1180
+ type: "bytes"
1181
+ }
1182
+ ],
1183
+ name: "swap",
1184
+ outputs: [{
1185
+ internalType: "int256",
1186
+ name: "amount0",
1187
+ type: "int256"
1188
+ }, {
1189
+ internalType: "int256",
1190
+ name: "amount1",
1191
+ type: "int256"
1192
+ }],
1193
+ stateMutability: "payable",
1194
+ type: "function"
1195
+ },
1196
+ {
1197
+ inputs: [{
1198
+ internalType: "int16",
1199
+ name: "",
1200
+ type: "int16"
1201
+ }],
1202
+ name: "tickBitmap",
1203
+ outputs: [{
1204
+ internalType: "uint256",
1205
+ name: "",
1206
+ type: "uint256"
1207
+ }],
1208
+ stateMutability: "view",
1209
+ type: "function"
1210
+ },
1211
+ {
1212
+ inputs: [],
1213
+ name: "tickSpacing",
1214
+ outputs: [{
1215
+ internalType: "int24",
1216
+ name: "",
1217
+ type: "int24"
1218
+ }],
1219
+ stateMutability: "view",
1220
+ type: "function"
1221
+ },
1222
+ {
1223
+ inputs: [{
1224
+ internalType: "int24",
1225
+ name: "",
1226
+ type: "int24"
1227
+ }],
1228
+ name: "ticks",
1229
+ outputs: [
1230
+ {
1231
+ internalType: "uint128",
1232
+ name: "liquidityGross",
1233
+ type: "uint128"
1234
+ },
1235
+ {
1236
+ internalType: "int128",
1237
+ name: "liquidityNet",
1238
+ type: "int128"
1239
+ },
1240
+ {
1241
+ internalType: "uint256",
1242
+ name: "feeGrowthOutside0X128",
1243
+ type: "uint256"
1244
+ },
1245
+ {
1246
+ internalType: "uint256",
1247
+ name: "feeGrowthOutside1X128",
1248
+ type: "uint256"
1249
+ },
1250
+ {
1251
+ internalType: "int56",
1252
+ name: "tickCumulativeOutside",
1253
+ type: "int56"
1254
+ },
1255
+ {
1256
+ internalType: "uint160",
1257
+ name: "secondsPerLiquidityOutsideX128",
1258
+ type: "uint160"
1259
+ },
1260
+ {
1261
+ internalType: "uint32",
1262
+ name: "secondsOutside",
1263
+ type: "uint32"
1264
+ },
1265
+ {
1266
+ internalType: "bool",
1267
+ name: "initialized",
1268
+ type: "bool"
1269
+ }
1270
+ ],
1271
+ stateMutability: "view",
1272
+ type: "function"
1273
+ },
1274
+ {
1275
+ inputs: [],
1276
+ name: "token0",
1277
+ outputs: [{
1278
+ internalType: "address",
1279
+ name: "",
1280
+ type: "address"
1281
+ }],
1282
+ stateMutability: "view",
1283
+ type: "function"
1284
+ },
1285
+ {
1286
+ inputs: [],
1287
+ name: "token1",
1288
+ outputs: [{
1289
+ internalType: "address",
1290
+ name: "",
1291
+ type: "address"
1292
+ }],
1293
+ stateMutability: "view",
1294
+ type: "function"
1295
+ }
1296
+ ];
1297
+
374
1298
  //#endregion
375
1299
  //#region src/panoptic/v2/abis/panopticQuery.ts
376
1300
  /**
@@ -2124,4 +3048,4 @@ async function getIrmCurve(params) {
2124
3048
  }
2125
3049
 
2126
3050
  //#endregion
2127
- export { BORROW_INDEX_BITS, BPS_SCALE, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MULTICALL3_ADDRESS, Multicall3Abi, RATE_AT_TARGET_BITS, SECONDS_PER_YEAR, UNREALIZED_INTEREST_BITS, WAD as WAD$1, deriveSupplyRatePerSecWad, getAccountCollateral, getAccountSummaryBasic, getAccountSummaryRisk, getCollateralAddresses, getCollateralData, getCurrentRates, getInterestState, getIrmCurrent, getIrmCurve, getLiquidationPrices, getNetLiquidationValue, getNetLiquidationValues, isLiquidatable, packMarketState, panopticQueryAbi as panopticQueryAbi$1, ratePerSecWadToAprPct, readBlockAndAggregate, requireReturnData, utilizationBpsToWad, utilizationPctToWad };
3051
+ export { BORROW_INDEX_BITS, BPS_SCALE, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MULTICALL3_ADDRESS, Multicall3Abi, RATE_AT_TARGET_BITS, SECONDS_PER_YEAR, UNREALIZED_INTEREST_BITS, UniswapV3PoolAbi, WAD as WAD$1, deriveSupplyRatePerSecWad, getAccountCollateral, getAccountSummaryBasic, getAccountSummaryRisk, getCollateralAddresses, getCollateralData, getCurrentRates, getInterestState, getIrmCurrent, getIrmCurve, getLiquidationPrices, getNetLiquidationValue, getNetLiquidationValues, isLiquidatable, packMarketState, panopticQueryAbi, ratePerSecWadToAprPct, readBlockAndAggregate, requireReturnData, utilizationBpsToWad, utilizationPctToWad };