timelock-sdk 0.0.47 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +2 -2
- package/dist/client.cjs +15 -7
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +65 -61
- package/dist/client.d.ts +10 -6
- package/dist/client.js +16 -8
- package/dist/client.js.map +1 -1
- package/dist/{index-B20z73_3.d.ts → index-Bg4UAy7Y.d.cts} +3 -3
- package/dist/{index-CA5kB-yT.d.cts → index-DiDvh-kv.d.ts} +94 -94
- package/dist/{numberUtils-DKGWDsOu.cjs → numberUtils-BKQtAolx.cjs} +2 -2
- package/dist/{numberUtils-DKGWDsOu.cjs.map → numberUtils-BKQtAolx.cjs.map} +1 -1
- package/dist/{numberUtils-Dk_yqgfN.js → numberUtils-Dk0TuHnT.js} +3 -3
- package/dist/{numberUtils-Dk_yqgfN.js.map → numberUtils-Dk0TuHnT.js.map} +1 -1
- package/dist/{optionsMarket-DyBxHplR.js → optionsMarket-CvArD6d_.js} +432 -116
- package/dist/{optionsMarket-DyBxHplR.js.map → optionsMarket-CvArD6d_.js.map} +1 -1
- package/dist/{optionsMarket-Br-bjuSA.cjs → optionsMarket-PBduSBXF.cjs} +431 -115
- package/dist/{optionsMarket-Br-bjuSA.cjs.map → optionsMarket-PBduSBXF.cjs.map} +1 -1
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{singleOwnerVault-DMu9pqN1.js → singleOwnerVault-BeJChjfJ.js} +2 -2
- package/dist/{singleOwnerVault-DMu9pqN1.js.map → singleOwnerVault-BeJChjfJ.js.map} +1 -1
- package/dist/{uniswapMathLens-MrB_VfJB.d.ts → uniswapMathLens-BiaRFVeY.d.cts} +354 -97
- package/dist/{uniswapMathLens-B1MIL2yT.d.cts → uniswapMathLens-uDGUc-kg.d.ts} +354 -97
- package/package.json +6 -6
|
@@ -718,33 +718,23 @@ declare const optionsMarketAbi: readonly [{
|
|
|
718
718
|
readonly type: "address";
|
|
719
719
|
readonly internalType: "contract IOptionPricing";
|
|
720
720
|
}, {
|
|
721
|
-
readonly name: "
|
|
722
|
-
readonly type: "bool";
|
|
723
|
-
readonly internalType: "bool";
|
|
724
|
-
}, {
|
|
725
|
-
readonly name: "_swapRouter";
|
|
721
|
+
readonly name: "_feeStrategy";
|
|
726
722
|
readonly type: "address";
|
|
727
|
-
readonly internalType: "contract
|
|
723
|
+
readonly internalType: "contract IFeeStrategy";
|
|
728
724
|
}, {
|
|
729
|
-
readonly name: "
|
|
725
|
+
readonly name: "_feeRecipient";
|
|
730
726
|
readonly type: "address";
|
|
731
|
-
readonly internalType: "
|
|
727
|
+
readonly internalType: "address";
|
|
732
728
|
}, {
|
|
733
|
-
readonly name: "
|
|
729
|
+
readonly name: "_guardian";
|
|
734
730
|
readonly type: "address";
|
|
735
|
-
readonly internalType: "
|
|
731
|
+
readonly internalType: "contract TimelockGuardian";
|
|
732
|
+
}, {
|
|
733
|
+
readonly name: "_optionAssetIsToken0";
|
|
734
|
+
readonly type: "bool";
|
|
735
|
+
readonly internalType: "bool";
|
|
736
736
|
}];
|
|
737
737
|
readonly stateMutability: "nonpayable";
|
|
738
|
-
}, {
|
|
739
|
-
readonly type: "function";
|
|
740
|
-
readonly name: "BASIS_POINTS";
|
|
741
|
-
readonly inputs: readonly [];
|
|
742
|
-
readonly outputs: readonly [{
|
|
743
|
-
readonly name: "";
|
|
744
|
-
readonly type: "uint256";
|
|
745
|
-
readonly internalType: "uint256";
|
|
746
|
-
}];
|
|
747
|
-
readonly stateMutability: "view";
|
|
748
738
|
}, {
|
|
749
739
|
readonly type: "function";
|
|
750
740
|
readonly name: "DUST_THRESHOLD";
|
|
@@ -765,16 +755,6 @@ declare const optionsMarketAbi: readonly [{
|
|
|
765
755
|
readonly internalType: "uint256";
|
|
766
756
|
}];
|
|
767
757
|
readonly stateMutability: "view";
|
|
768
|
-
}, {
|
|
769
|
-
readonly type: "function";
|
|
770
|
-
readonly name: "OPTION_FEE_PERCENT";
|
|
771
|
-
readonly inputs: readonly [];
|
|
772
|
-
readonly outputs: readonly [{
|
|
773
|
-
readonly name: "";
|
|
774
|
-
readonly type: "uint256";
|
|
775
|
-
readonly internalType: "uint256";
|
|
776
|
-
}];
|
|
777
|
-
readonly stateMutability: "view";
|
|
778
758
|
}, {
|
|
779
759
|
readonly type: "function";
|
|
780
760
|
readonly name: "calculatePremium";
|
|
@@ -792,15 +772,29 @@ declare const optionsMarketAbi: readonly [{
|
|
|
792
772
|
readonly internalType: "int24";
|
|
793
773
|
}, {
|
|
794
774
|
readonly name: "duration";
|
|
795
|
-
readonly type: "
|
|
796
|
-
readonly internalType: "
|
|
775
|
+
readonly type: "uint32";
|
|
776
|
+
readonly internalType: "uint32";
|
|
797
777
|
}];
|
|
798
778
|
readonly outputs: readonly [{
|
|
799
|
-
readonly name: "";
|
|
779
|
+
readonly name: "premium";
|
|
780
|
+
readonly type: "uint256";
|
|
781
|
+
readonly internalType: "uint256";
|
|
782
|
+
}, {
|
|
783
|
+
readonly name: "protocolFee";
|
|
800
784
|
readonly type: "uint256";
|
|
801
785
|
readonly internalType: "uint256";
|
|
802
786
|
}];
|
|
803
787
|
readonly stateMutability: "view";
|
|
788
|
+
}, {
|
|
789
|
+
readonly type: "function";
|
|
790
|
+
readonly name: "emergencyWithdraw";
|
|
791
|
+
readonly inputs: readonly [{
|
|
792
|
+
readonly name: "tokens";
|
|
793
|
+
readonly type: "address[]";
|
|
794
|
+
readonly internalType: "contract IERC20[]";
|
|
795
|
+
}];
|
|
796
|
+
readonly outputs: readonly [];
|
|
797
|
+
readonly stateMutability: "nonpayable";
|
|
804
798
|
}, {
|
|
805
799
|
readonly type: "function";
|
|
806
800
|
readonly name: "exerciseOption";
|
|
@@ -816,6 +810,14 @@ declare const optionsMarketAbi: readonly [{
|
|
|
816
810
|
readonly name: "minPayout";
|
|
817
811
|
readonly type: "uint256";
|
|
818
812
|
readonly internalType: "uint256";
|
|
813
|
+
}, {
|
|
814
|
+
readonly name: "swapper";
|
|
815
|
+
readonly type: "address";
|
|
816
|
+
readonly internalType: "contract ISwapper";
|
|
817
|
+
}, {
|
|
818
|
+
readonly name: "swapperData";
|
|
819
|
+
readonly type: "bytes";
|
|
820
|
+
readonly internalType: "bytes";
|
|
819
821
|
}, {
|
|
820
822
|
readonly name: "refTick";
|
|
821
823
|
readonly type: "int24";
|
|
@@ -827,6 +829,48 @@ declare const optionsMarketAbi: readonly [{
|
|
|
827
829
|
readonly internalType: "uint256";
|
|
828
830
|
}];
|
|
829
831
|
readonly stateMutability: "nonpayable";
|
|
832
|
+
}, {
|
|
833
|
+
readonly type: "function";
|
|
834
|
+
readonly name: "extendOption";
|
|
835
|
+
readonly inputs: readonly [{
|
|
836
|
+
readonly name: "optionId";
|
|
837
|
+
readonly type: "uint256";
|
|
838
|
+
readonly internalType: "uint256";
|
|
839
|
+
}, {
|
|
840
|
+
readonly name: "duration";
|
|
841
|
+
readonly type: "uint32";
|
|
842
|
+
readonly internalType: "uint32";
|
|
843
|
+
}, {
|
|
844
|
+
readonly name: "maxPremium";
|
|
845
|
+
readonly type: "uint256";
|
|
846
|
+
readonly internalType: "uint256";
|
|
847
|
+
}];
|
|
848
|
+
readonly outputs: readonly [{
|
|
849
|
+
readonly name: "totalPremium";
|
|
850
|
+
readonly type: "uint256";
|
|
851
|
+
readonly internalType: "uint256";
|
|
852
|
+
}];
|
|
853
|
+
readonly stateMutability: "nonpayable";
|
|
854
|
+
}, {
|
|
855
|
+
readonly type: "function";
|
|
856
|
+
readonly name: "feeRecipient";
|
|
857
|
+
readonly inputs: readonly [];
|
|
858
|
+
readonly outputs: readonly [{
|
|
859
|
+
readonly name: "";
|
|
860
|
+
readonly type: "address";
|
|
861
|
+
readonly internalType: "address";
|
|
862
|
+
}];
|
|
863
|
+
readonly stateMutability: "view";
|
|
864
|
+
}, {
|
|
865
|
+
readonly type: "function";
|
|
866
|
+
readonly name: "feeStrategy";
|
|
867
|
+
readonly inputs: readonly [];
|
|
868
|
+
readonly outputs: readonly [{
|
|
869
|
+
readonly name: "";
|
|
870
|
+
readonly type: "address";
|
|
871
|
+
readonly internalType: "contract IFeeStrategy";
|
|
872
|
+
}];
|
|
873
|
+
readonly stateMutability: "view";
|
|
830
874
|
}, {
|
|
831
875
|
readonly type: "function";
|
|
832
876
|
readonly name: "getOption";
|
|
@@ -843,6 +887,10 @@ declare const optionsMarketAbi: readonly [{
|
|
|
843
887
|
readonly name: "owner";
|
|
844
888
|
readonly type: "address";
|
|
845
889
|
readonly internalType: "address";
|
|
890
|
+
}, {
|
|
891
|
+
readonly name: "extendable";
|
|
892
|
+
readonly type: "bool";
|
|
893
|
+
readonly internalType: "bool";
|
|
846
894
|
}, {
|
|
847
895
|
readonly name: "optionType";
|
|
848
896
|
readonly type: "uint8";
|
|
@@ -857,16 +905,8 @@ declare const optionsMarketAbi: readonly [{
|
|
|
857
905
|
readonly internalType: "int24";
|
|
858
906
|
}, {
|
|
859
907
|
readonly name: "expiresAt";
|
|
860
|
-
readonly type: "
|
|
861
|
-
readonly internalType: "
|
|
862
|
-
}, {
|
|
863
|
-
readonly name: "createdAt";
|
|
864
|
-
readonly type: "uint64";
|
|
865
|
-
readonly internalType: "uint64";
|
|
866
|
-
}, {
|
|
867
|
-
readonly name: "premiumPaid";
|
|
868
|
-
readonly type: "uint128";
|
|
869
|
-
readonly internalType: "uint128";
|
|
908
|
+
readonly type: "uint32";
|
|
909
|
+
readonly internalType: "uint32";
|
|
870
910
|
}, {
|
|
871
911
|
readonly name: "liquidities";
|
|
872
912
|
readonly type: "uint128[]";
|
|
@@ -874,11 +914,21 @@ declare const optionsMarketAbi: readonly [{
|
|
|
874
914
|
}];
|
|
875
915
|
}];
|
|
876
916
|
readonly stateMutability: "view";
|
|
917
|
+
}, {
|
|
918
|
+
readonly type: "function";
|
|
919
|
+
readonly name: "guardian";
|
|
920
|
+
readonly inputs: readonly [];
|
|
921
|
+
readonly outputs: readonly [{
|
|
922
|
+
readonly name: "";
|
|
923
|
+
readonly type: "address";
|
|
924
|
+
readonly internalType: "contract TimelockGuardian";
|
|
925
|
+
}];
|
|
926
|
+
readonly stateMutability: "view";
|
|
877
927
|
}, {
|
|
878
928
|
readonly type: "function";
|
|
879
929
|
readonly name: "liquiditiesToAmounts";
|
|
880
930
|
readonly inputs: readonly [{
|
|
881
|
-
readonly name: "
|
|
931
|
+
readonly name: "startTick";
|
|
882
932
|
readonly type: "int24";
|
|
883
933
|
readonly internalType: "int24";
|
|
884
934
|
}, {
|
|
@@ -906,6 +956,10 @@ declare const optionsMarketAbi: readonly [{
|
|
|
906
956
|
readonly name: "payoutAssetBorrowed";
|
|
907
957
|
readonly type: "uint256";
|
|
908
958
|
readonly internalType: "uint256";
|
|
959
|
+
}, {
|
|
960
|
+
readonly name: "currentTick";
|
|
961
|
+
readonly type: "int24";
|
|
962
|
+
readonly internalType: "int24";
|
|
909
963
|
}];
|
|
910
964
|
readonly stateMutability: "view";
|
|
911
965
|
}, {
|
|
@@ -914,8 +968,8 @@ declare const optionsMarketAbi: readonly [{
|
|
|
914
968
|
readonly inputs: readonly [];
|
|
915
969
|
readonly outputs: readonly [{
|
|
916
970
|
readonly name: "";
|
|
917
|
-
readonly type: "
|
|
918
|
-
readonly internalType: "
|
|
971
|
+
readonly type: "uint32";
|
|
972
|
+
readonly internalType: "uint32";
|
|
919
973
|
}];
|
|
920
974
|
readonly stateMutability: "view";
|
|
921
975
|
}, {
|
|
@@ -934,8 +988,8 @@ declare const optionsMarketAbi: readonly [{
|
|
|
934
988
|
readonly inputs: readonly [];
|
|
935
989
|
readonly outputs: readonly [{
|
|
936
990
|
readonly name: "";
|
|
937
|
-
readonly type: "
|
|
938
|
-
readonly internalType: "
|
|
991
|
+
readonly type: "uint32";
|
|
992
|
+
readonly internalType: "uint32";
|
|
939
993
|
}];
|
|
940
994
|
readonly stateMutability: "view";
|
|
941
995
|
}, {
|
|
@@ -965,12 +1019,16 @@ declare const optionsMarketAbi: readonly [{
|
|
|
965
1019
|
readonly internalType: "int24";
|
|
966
1020
|
}, {
|
|
967
1021
|
readonly name: "duration";
|
|
968
|
-
readonly type: "
|
|
969
|
-
readonly internalType: "
|
|
1022
|
+
readonly type: "uint32";
|
|
1023
|
+
readonly internalType: "uint32";
|
|
970
1024
|
}, {
|
|
971
1025
|
readonly name: "maxPremium";
|
|
972
1026
|
readonly type: "uint256";
|
|
973
1027
|
readonly internalType: "uint256";
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly name: "extendable";
|
|
1030
|
+
readonly type: "bool";
|
|
1031
|
+
readonly internalType: "bool";
|
|
974
1032
|
}, {
|
|
975
1033
|
readonly name: "refTick";
|
|
976
1034
|
readonly type: "int24";
|
|
@@ -1060,42 +1118,12 @@ declare const optionsMarketAbi: readonly [{
|
|
|
1060
1118
|
readonly internalType: "contract IUniswapV3Pool";
|
|
1061
1119
|
}];
|
|
1062
1120
|
readonly stateMutability: "view";
|
|
1063
|
-
}, {
|
|
1064
|
-
readonly type: "function";
|
|
1065
|
-
readonly name: "protocolFees";
|
|
1066
|
-
readonly inputs: readonly [];
|
|
1067
|
-
readonly outputs: readonly [{
|
|
1068
|
-
readonly name: "";
|
|
1069
|
-
readonly type: "uint256";
|
|
1070
|
-
readonly internalType: "uint256";
|
|
1071
|
-
}];
|
|
1072
|
-
readonly stateMutability: "view";
|
|
1073
|
-
}, {
|
|
1074
|
-
readonly type: "function";
|
|
1075
|
-
readonly name: "quoter";
|
|
1076
|
-
readonly inputs: readonly [];
|
|
1077
|
-
readonly outputs: readonly [{
|
|
1078
|
-
readonly name: "";
|
|
1079
|
-
readonly type: "address";
|
|
1080
|
-
readonly internalType: "contract IQuoter";
|
|
1081
|
-
}];
|
|
1082
|
-
readonly stateMutability: "view";
|
|
1083
1121
|
}, {
|
|
1084
1122
|
readonly type: "function";
|
|
1085
1123
|
readonly name: "renounceOwnership";
|
|
1086
1124
|
readonly inputs: readonly [];
|
|
1087
1125
|
readonly outputs: readonly [];
|
|
1088
1126
|
readonly stateMutability: "nonpayable";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly type: "function";
|
|
1091
|
-
readonly name: "swapRouter";
|
|
1092
|
-
readonly inputs: readonly [];
|
|
1093
|
-
readonly outputs: readonly [{
|
|
1094
|
-
readonly name: "";
|
|
1095
|
-
readonly type: "address";
|
|
1096
|
-
readonly internalType: "contract ISwapRouter";
|
|
1097
|
-
}];
|
|
1098
|
-
readonly stateMutability: "view";
|
|
1099
1127
|
}, {
|
|
1100
1128
|
readonly type: "function";
|
|
1101
1129
|
readonly name: "tickSpacing";
|
|
@@ -1138,21 +1166,25 @@ declare const optionsMarketAbi: readonly [{
|
|
|
1138
1166
|
readonly stateMutability: "nonpayable";
|
|
1139
1167
|
}, {
|
|
1140
1168
|
readonly type: "function";
|
|
1141
|
-
readonly name: "
|
|
1169
|
+
readonly name: "updateAddresses";
|
|
1142
1170
|
readonly inputs: readonly [{
|
|
1143
|
-
readonly name: "
|
|
1144
|
-
readonly type: "
|
|
1145
|
-
readonly internalType: "
|
|
1171
|
+
readonly name: "_optionPricing";
|
|
1172
|
+
readonly type: "address";
|
|
1173
|
+
readonly internalType: "contract IOptionPricing";
|
|
1146
1174
|
}, {
|
|
1147
|
-
readonly name: "
|
|
1148
|
-
readonly type: "
|
|
1149
|
-
readonly internalType: "
|
|
1175
|
+
readonly name: "_feeStrategy";
|
|
1176
|
+
readonly type: "address";
|
|
1177
|
+
readonly internalType: "contract IFeeStrategy";
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly name: "_feeRecipient";
|
|
1180
|
+
readonly type: "address";
|
|
1181
|
+
readonly internalType: "address";
|
|
1150
1182
|
}];
|
|
1151
1183
|
readonly outputs: readonly [];
|
|
1152
1184
|
readonly stateMutability: "nonpayable";
|
|
1153
1185
|
}, {
|
|
1154
1186
|
readonly type: "function";
|
|
1155
|
-
readonly name: "
|
|
1187
|
+
readonly name: "updateBounds";
|
|
1156
1188
|
readonly inputs: readonly [{
|
|
1157
1189
|
readonly name: "_minOptionAmount";
|
|
1158
1190
|
readonly type: "uint256";
|
|
@@ -1161,6 +1193,14 @@ declare const optionsMarketAbi: readonly [{
|
|
|
1161
1193
|
readonly name: "_maxOptionAmount";
|
|
1162
1194
|
readonly type: "uint256";
|
|
1163
1195
|
readonly internalType: "uint256";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly name: "_minDuration";
|
|
1198
|
+
readonly type: "uint32";
|
|
1199
|
+
readonly internalType: "uint32";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly name: "_maxDuration";
|
|
1202
|
+
readonly type: "uint32";
|
|
1203
|
+
readonly internalType: "uint32";
|
|
1164
1204
|
}];
|
|
1165
1205
|
readonly outputs: readonly [];
|
|
1166
1206
|
readonly stateMutability: "nonpayable";
|
|
@@ -1175,15 +1215,232 @@ declare const optionsMarketAbi: readonly [{
|
|
|
1175
1215
|
}];
|
|
1176
1216
|
readonly stateMutability: "view";
|
|
1177
1217
|
}, {
|
|
1178
|
-
readonly type: "
|
|
1179
|
-
readonly name: "
|
|
1218
|
+
readonly type: "event";
|
|
1219
|
+
readonly name: "ExerciseOption";
|
|
1180
1220
|
readonly inputs: readonly [{
|
|
1181
|
-
readonly name: "
|
|
1182
|
-
readonly type: "
|
|
1183
|
-
readonly
|
|
1221
|
+
readonly name: "optionId";
|
|
1222
|
+
readonly type: "uint256";
|
|
1223
|
+
readonly indexed: true;
|
|
1224
|
+
readonly internalType: "uint256";
|
|
1225
|
+
}, {
|
|
1226
|
+
readonly name: "owner";
|
|
1227
|
+
readonly type: "address";
|
|
1228
|
+
readonly indexed: true;
|
|
1229
|
+
readonly internalType: "address";
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly name: "liquidities";
|
|
1232
|
+
readonly type: "uint128[]";
|
|
1233
|
+
readonly indexed: false;
|
|
1234
|
+
readonly internalType: "uint128[]";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly name: "currentTick";
|
|
1237
|
+
readonly type: "int24";
|
|
1238
|
+
readonly indexed: false;
|
|
1239
|
+
readonly internalType: "int24";
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly name: "payout";
|
|
1242
|
+
readonly type: "uint256";
|
|
1243
|
+
readonly indexed: false;
|
|
1244
|
+
readonly internalType: "uint256";
|
|
1184
1245
|
}];
|
|
1185
|
-
readonly
|
|
1186
|
-
|
|
1246
|
+
readonly anonymous: false;
|
|
1247
|
+
}, {
|
|
1248
|
+
readonly type: "event";
|
|
1249
|
+
readonly name: "ExtendOption";
|
|
1250
|
+
readonly inputs: readonly [{
|
|
1251
|
+
readonly name: "optionId";
|
|
1252
|
+
readonly type: "uint256";
|
|
1253
|
+
readonly indexed: true;
|
|
1254
|
+
readonly internalType: "uint256";
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly name: "owner";
|
|
1257
|
+
readonly type: "address";
|
|
1258
|
+
readonly indexed: true;
|
|
1259
|
+
readonly internalType: "address";
|
|
1260
|
+
}, {
|
|
1261
|
+
readonly name: "premium";
|
|
1262
|
+
readonly type: "uint256";
|
|
1263
|
+
readonly indexed: false;
|
|
1264
|
+
readonly internalType: "uint256";
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly name: "newExpiresAt";
|
|
1267
|
+
readonly type: "uint32";
|
|
1268
|
+
readonly indexed: false;
|
|
1269
|
+
readonly internalType: "uint32";
|
|
1270
|
+
}];
|
|
1271
|
+
readonly anonymous: false;
|
|
1272
|
+
}, {
|
|
1273
|
+
readonly type: "event";
|
|
1274
|
+
readonly name: "FeesWithdrawn";
|
|
1275
|
+
readonly inputs: readonly [{
|
|
1276
|
+
readonly name: "fees0";
|
|
1277
|
+
readonly type: "uint256";
|
|
1278
|
+
readonly indexed: false;
|
|
1279
|
+
readonly internalType: "uint256";
|
|
1280
|
+
}, {
|
|
1281
|
+
readonly name: "fees1";
|
|
1282
|
+
readonly type: "uint256";
|
|
1283
|
+
readonly indexed: false;
|
|
1284
|
+
readonly internalType: "uint256";
|
|
1285
|
+
}];
|
|
1286
|
+
readonly anonymous: false;
|
|
1287
|
+
}, {
|
|
1288
|
+
readonly type: "event";
|
|
1289
|
+
readonly name: "MintOption";
|
|
1290
|
+
readonly inputs: readonly [{
|
|
1291
|
+
readonly name: "optionId";
|
|
1292
|
+
readonly type: "uint256";
|
|
1293
|
+
readonly indexed: true;
|
|
1294
|
+
readonly internalType: "uint256";
|
|
1295
|
+
}, {
|
|
1296
|
+
readonly name: "buyer";
|
|
1297
|
+
readonly type: "address";
|
|
1298
|
+
readonly indexed: true;
|
|
1299
|
+
readonly internalType: "address";
|
|
1300
|
+
}, {
|
|
1301
|
+
readonly name: "optionType";
|
|
1302
|
+
readonly type: "uint8";
|
|
1303
|
+
readonly indexed: false;
|
|
1304
|
+
readonly internalType: "uint8";
|
|
1305
|
+
}, {
|
|
1306
|
+
readonly name: "strikeTick";
|
|
1307
|
+
readonly type: "int24";
|
|
1308
|
+
readonly indexed: false;
|
|
1309
|
+
readonly internalType: "int24";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly name: "currentTick";
|
|
1312
|
+
readonly type: "int24";
|
|
1313
|
+
readonly indexed: false;
|
|
1314
|
+
readonly internalType: "int24";
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly name: "expiresAt";
|
|
1317
|
+
readonly type: "uint32";
|
|
1318
|
+
readonly indexed: false;
|
|
1319
|
+
readonly internalType: "uint32";
|
|
1320
|
+
}, {
|
|
1321
|
+
readonly name: "premium";
|
|
1322
|
+
readonly type: "uint128";
|
|
1323
|
+
readonly indexed: false;
|
|
1324
|
+
readonly internalType: "uint128";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly name: "protocolFee";
|
|
1327
|
+
readonly type: "uint128";
|
|
1328
|
+
readonly indexed: false;
|
|
1329
|
+
readonly internalType: "uint128";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly name: "liquidities";
|
|
1332
|
+
readonly type: "uint128[]";
|
|
1333
|
+
readonly indexed: false;
|
|
1334
|
+
readonly internalType: "uint128[]";
|
|
1335
|
+
}];
|
|
1336
|
+
readonly anonymous: false;
|
|
1337
|
+
}, {
|
|
1338
|
+
readonly type: "event";
|
|
1339
|
+
readonly name: "OwnershipTransferred";
|
|
1340
|
+
readonly inputs: readonly [{
|
|
1341
|
+
readonly name: "previousOwner";
|
|
1342
|
+
readonly type: "address";
|
|
1343
|
+
readonly indexed: true;
|
|
1344
|
+
readonly internalType: "address";
|
|
1345
|
+
}, {
|
|
1346
|
+
readonly name: "newOwner";
|
|
1347
|
+
readonly type: "address";
|
|
1348
|
+
readonly indexed: true;
|
|
1349
|
+
readonly internalType: "address";
|
|
1350
|
+
}];
|
|
1351
|
+
readonly anonymous: false;
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly type: "error";
|
|
1354
|
+
readonly name: "AmountOutOfBounds";
|
|
1355
|
+
readonly inputs: readonly [];
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly type: "error";
|
|
1358
|
+
readonly name: "DurationOutOfBounds";
|
|
1359
|
+
readonly inputs: readonly [];
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly type: "error";
|
|
1362
|
+
readonly name: "InsufficientLiquidity";
|
|
1363
|
+
readonly inputs: readonly [];
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly type: "error";
|
|
1366
|
+
readonly name: "InvalidArrayLength";
|
|
1367
|
+
readonly inputs: readonly [];
|
|
1368
|
+
}, {
|
|
1369
|
+
readonly type: "error";
|
|
1370
|
+
readonly name: "InvalidOptionType";
|
|
1371
|
+
readonly inputs: readonly [];
|
|
1372
|
+
}, {
|
|
1373
|
+
readonly type: "error";
|
|
1374
|
+
readonly name: "InvalidTickRange";
|
|
1375
|
+
readonly inputs: readonly [{
|
|
1376
|
+
readonly name: "tickLower";
|
|
1377
|
+
readonly type: "int24";
|
|
1378
|
+
readonly internalType: "int24";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly name: "tickUpper";
|
|
1381
|
+
readonly type: "int24";
|
|
1382
|
+
readonly internalType: "int24";
|
|
1383
|
+
}];
|
|
1384
|
+
}, {
|
|
1385
|
+
readonly type: "error";
|
|
1386
|
+
readonly name: "NotEnoughPayout";
|
|
1387
|
+
readonly inputs: readonly [];
|
|
1388
|
+
}, {
|
|
1389
|
+
readonly type: "error";
|
|
1390
|
+
readonly name: "NotOptionOwner";
|
|
1391
|
+
readonly inputs: readonly [];
|
|
1392
|
+
}, {
|
|
1393
|
+
readonly type: "error";
|
|
1394
|
+
readonly name: "OptionNotFound";
|
|
1395
|
+
readonly inputs: readonly [];
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly type: "error";
|
|
1398
|
+
readonly name: "OwnableInvalidOwner";
|
|
1399
|
+
readonly inputs: readonly [{
|
|
1400
|
+
readonly name: "owner";
|
|
1401
|
+
readonly type: "address";
|
|
1402
|
+
readonly internalType: "address";
|
|
1403
|
+
}];
|
|
1404
|
+
}, {
|
|
1405
|
+
readonly type: "error";
|
|
1406
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
1407
|
+
readonly inputs: readonly [{
|
|
1408
|
+
readonly name: "account";
|
|
1409
|
+
readonly type: "address";
|
|
1410
|
+
readonly internalType: "address";
|
|
1411
|
+
}];
|
|
1412
|
+
}, {
|
|
1413
|
+
readonly type: "error";
|
|
1414
|
+
readonly name: "PremiumTooHigh";
|
|
1415
|
+
readonly inputs: readonly [];
|
|
1416
|
+
}, {
|
|
1417
|
+
readonly type: "error";
|
|
1418
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
1419
|
+
readonly inputs: readonly [];
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly type: "error";
|
|
1422
|
+
readonly name: "SafeERC20FailedOperation";
|
|
1423
|
+
readonly inputs: readonly [{
|
|
1424
|
+
readonly name: "token";
|
|
1425
|
+
readonly type: "address";
|
|
1426
|
+
readonly internalType: "address";
|
|
1427
|
+
}];
|
|
1428
|
+
}, {
|
|
1429
|
+
readonly type: "error";
|
|
1430
|
+
readonly name: "SwapFailed";
|
|
1431
|
+
readonly inputs: readonly [];
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly type: "error";
|
|
1434
|
+
readonly name: "TradingPaused";
|
|
1435
|
+
readonly inputs: readonly [];
|
|
1436
|
+
}, {
|
|
1437
|
+
readonly type: "error";
|
|
1438
|
+
readonly name: "WithdrawNotAllowed";
|
|
1439
|
+
readonly inputs: readonly [];
|
|
1440
|
+
}, {
|
|
1441
|
+
readonly type: "error";
|
|
1442
|
+
readonly name: "ZeroAddress";
|
|
1443
|
+
readonly inputs: readonly [];
|
|
1187
1444
|
}];
|
|
1188
1445
|
//#endregion
|
|
1189
1446
|
//#region src/abis/uniswapMathLens.d.ts
|
|
@@ -1809,5 +2066,5 @@ declare const uniswapMathLensAbi: readonly [{
|
|
|
1809
2066
|
readonly stateMutability: "pure";
|
|
1810
2067
|
}];
|
|
1811
2068
|
//#endregion
|
|
1812
|
-
export {
|
|
1813
|
-
//# sourceMappingURL=uniswapMathLens-
|
|
2069
|
+
export { optionsMarketAbi as n, lensAbi as r, uniswapMathLensAbi as t };
|
|
2070
|
+
//# sourceMappingURL=uniswapMathLens-BiaRFVeY.d.cts.map
|