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
|
@@ -1835,39 +1835,28 @@ const optionsMarketAbi = [
|
|
|
1835
1835
|
internalType: "contract IOptionPricing"
|
|
1836
1836
|
},
|
|
1837
1837
|
{
|
|
1838
|
-
name: "
|
|
1839
|
-
type: "
|
|
1840
|
-
internalType: "
|
|
1838
|
+
name: "_feeStrategy",
|
|
1839
|
+
type: "address",
|
|
1840
|
+
internalType: "contract IFeeStrategy"
|
|
1841
1841
|
},
|
|
1842
1842
|
{
|
|
1843
|
-
name: "
|
|
1843
|
+
name: "_feeRecipient",
|
|
1844
1844
|
type: "address",
|
|
1845
|
-
internalType: "
|
|
1845
|
+
internalType: "address"
|
|
1846
1846
|
},
|
|
1847
1847
|
{
|
|
1848
|
-
name: "
|
|
1848
|
+
name: "_guardian",
|
|
1849
1849
|
type: "address",
|
|
1850
|
-
internalType: "contract
|
|
1850
|
+
internalType: "contract TimelockGuardian"
|
|
1851
1851
|
},
|
|
1852
1852
|
{
|
|
1853
|
-
name: "
|
|
1854
|
-
type: "
|
|
1855
|
-
internalType: "
|
|
1853
|
+
name: "_optionAssetIsToken0",
|
|
1854
|
+
type: "bool",
|
|
1855
|
+
internalType: "bool"
|
|
1856
1856
|
}
|
|
1857
1857
|
],
|
|
1858
1858
|
stateMutability: "nonpayable"
|
|
1859
1859
|
},
|
|
1860
|
-
{
|
|
1861
|
-
type: "function",
|
|
1862
|
-
name: "BASIS_POINTS",
|
|
1863
|
-
inputs: [],
|
|
1864
|
-
outputs: [{
|
|
1865
|
-
name: "",
|
|
1866
|
-
type: "uint256",
|
|
1867
|
-
internalType: "uint256"
|
|
1868
|
-
}],
|
|
1869
|
-
stateMutability: "view"
|
|
1870
|
-
},
|
|
1871
1860
|
{
|
|
1872
1861
|
type: "function",
|
|
1873
1862
|
name: "DUST_THRESHOLD",
|
|
@@ -1890,17 +1879,6 @@ const optionsMarketAbi = [
|
|
|
1890
1879
|
}],
|
|
1891
1880
|
stateMutability: "view"
|
|
1892
1881
|
},
|
|
1893
|
-
{
|
|
1894
|
-
type: "function",
|
|
1895
|
-
name: "OPTION_FEE_PERCENT",
|
|
1896
|
-
inputs: [],
|
|
1897
|
-
outputs: [{
|
|
1898
|
-
name: "",
|
|
1899
|
-
type: "uint256",
|
|
1900
|
-
internalType: "uint256"
|
|
1901
|
-
}],
|
|
1902
|
-
stateMutability: "view"
|
|
1903
|
-
},
|
|
1904
1882
|
{
|
|
1905
1883
|
type: "function",
|
|
1906
1884
|
name: "calculatePremium",
|
|
@@ -1922,17 +1900,32 @@ const optionsMarketAbi = [
|
|
|
1922
1900
|
},
|
|
1923
1901
|
{
|
|
1924
1902
|
name: "duration",
|
|
1925
|
-
type: "
|
|
1926
|
-
internalType: "
|
|
1903
|
+
type: "uint32",
|
|
1904
|
+
internalType: "uint32"
|
|
1927
1905
|
}
|
|
1928
1906
|
],
|
|
1929
1907
|
outputs: [{
|
|
1930
|
-
name: "",
|
|
1908
|
+
name: "premium",
|
|
1909
|
+
type: "uint256",
|
|
1910
|
+
internalType: "uint256"
|
|
1911
|
+
}, {
|
|
1912
|
+
name: "protocolFee",
|
|
1931
1913
|
type: "uint256",
|
|
1932
1914
|
internalType: "uint256"
|
|
1933
1915
|
}],
|
|
1934
1916
|
stateMutability: "view"
|
|
1935
1917
|
},
|
|
1918
|
+
{
|
|
1919
|
+
type: "function",
|
|
1920
|
+
name: "emergencyWithdraw",
|
|
1921
|
+
inputs: [{
|
|
1922
|
+
name: "tokens",
|
|
1923
|
+
type: "address[]",
|
|
1924
|
+
internalType: "contract IERC20[]"
|
|
1925
|
+
}],
|
|
1926
|
+
outputs: [],
|
|
1927
|
+
stateMutability: "nonpayable"
|
|
1928
|
+
},
|
|
1936
1929
|
{
|
|
1937
1930
|
type: "function",
|
|
1938
1931
|
name: "exerciseOption",
|
|
@@ -1952,6 +1945,16 @@ const optionsMarketAbi = [
|
|
|
1952
1945
|
type: "uint256",
|
|
1953
1946
|
internalType: "uint256"
|
|
1954
1947
|
},
|
|
1948
|
+
{
|
|
1949
|
+
name: "swapper",
|
|
1950
|
+
type: "address",
|
|
1951
|
+
internalType: "contract ISwapper"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
name: "swapperData",
|
|
1955
|
+
type: "bytes",
|
|
1956
|
+
internalType: "bytes"
|
|
1957
|
+
},
|
|
1955
1958
|
{
|
|
1956
1959
|
name: "refTick",
|
|
1957
1960
|
type: "int24",
|
|
@@ -1965,6 +1968,55 @@ const optionsMarketAbi = [
|
|
|
1965
1968
|
}],
|
|
1966
1969
|
stateMutability: "nonpayable"
|
|
1967
1970
|
},
|
|
1971
|
+
{
|
|
1972
|
+
type: "function",
|
|
1973
|
+
name: "extendOption",
|
|
1974
|
+
inputs: [
|
|
1975
|
+
{
|
|
1976
|
+
name: "optionId",
|
|
1977
|
+
type: "uint256",
|
|
1978
|
+
internalType: "uint256"
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
name: "duration",
|
|
1982
|
+
type: "uint32",
|
|
1983
|
+
internalType: "uint32"
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
name: "maxPremium",
|
|
1987
|
+
type: "uint256",
|
|
1988
|
+
internalType: "uint256"
|
|
1989
|
+
}
|
|
1990
|
+
],
|
|
1991
|
+
outputs: [{
|
|
1992
|
+
name: "totalPremium",
|
|
1993
|
+
type: "uint256",
|
|
1994
|
+
internalType: "uint256"
|
|
1995
|
+
}],
|
|
1996
|
+
stateMutability: "nonpayable"
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
type: "function",
|
|
2000
|
+
name: "feeRecipient",
|
|
2001
|
+
inputs: [],
|
|
2002
|
+
outputs: [{
|
|
2003
|
+
name: "",
|
|
2004
|
+
type: "address",
|
|
2005
|
+
internalType: "address"
|
|
2006
|
+
}],
|
|
2007
|
+
stateMutability: "view"
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
type: "function",
|
|
2011
|
+
name: "feeStrategy",
|
|
2012
|
+
inputs: [],
|
|
2013
|
+
outputs: [{
|
|
2014
|
+
name: "",
|
|
2015
|
+
type: "address",
|
|
2016
|
+
internalType: "contract IFeeStrategy"
|
|
2017
|
+
}],
|
|
2018
|
+
stateMutability: "view"
|
|
2019
|
+
},
|
|
1968
2020
|
{
|
|
1969
2021
|
type: "function",
|
|
1970
2022
|
name: "getOption",
|
|
@@ -1983,6 +2035,11 @@ const optionsMarketAbi = [
|
|
|
1983
2035
|
type: "address",
|
|
1984
2036
|
internalType: "address"
|
|
1985
2037
|
},
|
|
2038
|
+
{
|
|
2039
|
+
name: "extendable",
|
|
2040
|
+
type: "bool",
|
|
2041
|
+
internalType: "bool"
|
|
2042
|
+
},
|
|
1986
2043
|
{
|
|
1987
2044
|
name: "optionType",
|
|
1988
2045
|
type: "uint8",
|
|
@@ -2000,18 +2057,8 @@ const optionsMarketAbi = [
|
|
|
2000
2057
|
},
|
|
2001
2058
|
{
|
|
2002
2059
|
name: "expiresAt",
|
|
2003
|
-
type: "
|
|
2004
|
-
internalType: "
|
|
2005
|
-
},
|
|
2006
|
-
{
|
|
2007
|
-
name: "createdAt",
|
|
2008
|
-
type: "uint64",
|
|
2009
|
-
internalType: "uint64"
|
|
2010
|
-
},
|
|
2011
|
-
{
|
|
2012
|
-
name: "premiumPaid",
|
|
2013
|
-
type: "uint128",
|
|
2014
|
-
internalType: "uint128"
|
|
2060
|
+
type: "uint32",
|
|
2061
|
+
internalType: "uint32"
|
|
2015
2062
|
},
|
|
2016
2063
|
{
|
|
2017
2064
|
name: "liquidities",
|
|
@@ -2022,12 +2069,23 @@ const optionsMarketAbi = [
|
|
|
2022
2069
|
}],
|
|
2023
2070
|
stateMutability: "view"
|
|
2024
2071
|
},
|
|
2072
|
+
{
|
|
2073
|
+
type: "function",
|
|
2074
|
+
name: "guardian",
|
|
2075
|
+
inputs: [],
|
|
2076
|
+
outputs: [{
|
|
2077
|
+
name: "",
|
|
2078
|
+
type: "address",
|
|
2079
|
+
internalType: "contract TimelockGuardian"
|
|
2080
|
+
}],
|
|
2081
|
+
stateMutability: "view"
|
|
2082
|
+
},
|
|
2025
2083
|
{
|
|
2026
2084
|
type: "function",
|
|
2027
2085
|
name: "liquiditiesToAmounts",
|
|
2028
2086
|
inputs: [
|
|
2029
2087
|
{
|
|
2030
|
-
name: "
|
|
2088
|
+
name: "startTick",
|
|
2031
2089
|
type: "int24",
|
|
2032
2090
|
internalType: "int24"
|
|
2033
2091
|
},
|
|
@@ -2062,6 +2120,11 @@ const optionsMarketAbi = [
|
|
|
2062
2120
|
name: "payoutAssetBorrowed",
|
|
2063
2121
|
type: "uint256",
|
|
2064
2122
|
internalType: "uint256"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
name: "currentTick",
|
|
2126
|
+
type: "int24",
|
|
2127
|
+
internalType: "int24"
|
|
2065
2128
|
}
|
|
2066
2129
|
],
|
|
2067
2130
|
stateMutability: "view"
|
|
@@ -2072,8 +2135,8 @@ const optionsMarketAbi = [
|
|
|
2072
2135
|
inputs: [],
|
|
2073
2136
|
outputs: [{
|
|
2074
2137
|
name: "",
|
|
2075
|
-
type: "
|
|
2076
|
-
internalType: "
|
|
2138
|
+
type: "uint32",
|
|
2139
|
+
internalType: "uint32"
|
|
2077
2140
|
}],
|
|
2078
2141
|
stateMutability: "view"
|
|
2079
2142
|
},
|
|
@@ -2094,8 +2157,8 @@ const optionsMarketAbi = [
|
|
|
2094
2157
|
inputs: [],
|
|
2095
2158
|
outputs: [{
|
|
2096
2159
|
name: "",
|
|
2097
|
-
type: "
|
|
2098
|
-
internalType: "
|
|
2160
|
+
type: "uint32",
|
|
2161
|
+
internalType: "uint32"
|
|
2099
2162
|
}],
|
|
2100
2163
|
stateMutability: "view"
|
|
2101
2164
|
},
|
|
@@ -2131,14 +2194,19 @@ const optionsMarketAbi = [
|
|
|
2131
2194
|
},
|
|
2132
2195
|
{
|
|
2133
2196
|
name: "duration",
|
|
2134
|
-
type: "
|
|
2135
|
-
internalType: "
|
|
2197
|
+
type: "uint32",
|
|
2198
|
+
internalType: "uint32"
|
|
2136
2199
|
},
|
|
2137
2200
|
{
|
|
2138
2201
|
name: "maxPremium",
|
|
2139
2202
|
type: "uint256",
|
|
2140
2203
|
internalType: "uint256"
|
|
2141
2204
|
},
|
|
2205
|
+
{
|
|
2206
|
+
name: "extendable",
|
|
2207
|
+
type: "bool",
|
|
2208
|
+
internalType: "bool"
|
|
2209
|
+
},
|
|
2142
2210
|
{
|
|
2143
2211
|
name: "refTick",
|
|
2144
2212
|
type: "int24",
|
|
@@ -2241,28 +2309,6 @@ const optionsMarketAbi = [
|
|
|
2241
2309
|
}],
|
|
2242
2310
|
stateMutability: "view"
|
|
2243
2311
|
},
|
|
2244
|
-
{
|
|
2245
|
-
type: "function",
|
|
2246
|
-
name: "protocolFees",
|
|
2247
|
-
inputs: [],
|
|
2248
|
-
outputs: [{
|
|
2249
|
-
name: "",
|
|
2250
|
-
type: "uint256",
|
|
2251
|
-
internalType: "uint256"
|
|
2252
|
-
}],
|
|
2253
|
-
stateMutability: "view"
|
|
2254
|
-
},
|
|
2255
|
-
{
|
|
2256
|
-
type: "function",
|
|
2257
|
-
name: "quoter",
|
|
2258
|
-
inputs: [],
|
|
2259
|
-
outputs: [{
|
|
2260
|
-
name: "",
|
|
2261
|
-
type: "address",
|
|
2262
|
-
internalType: "contract IQuoter"
|
|
2263
|
-
}],
|
|
2264
|
-
stateMutability: "view"
|
|
2265
|
-
},
|
|
2266
2312
|
{
|
|
2267
2313
|
type: "function",
|
|
2268
2314
|
name: "renounceOwnership",
|
|
@@ -2270,17 +2316,6 @@ const optionsMarketAbi = [
|
|
|
2270
2316
|
outputs: [],
|
|
2271
2317
|
stateMutability: "nonpayable"
|
|
2272
2318
|
},
|
|
2273
|
-
{
|
|
2274
|
-
type: "function",
|
|
2275
|
-
name: "swapRouter",
|
|
2276
|
-
inputs: [],
|
|
2277
|
-
outputs: [{
|
|
2278
|
-
name: "",
|
|
2279
|
-
type: "address",
|
|
2280
|
-
internalType: "contract ISwapRouter"
|
|
2281
|
-
}],
|
|
2282
|
-
stateMutability: "view"
|
|
2283
|
-
},
|
|
2284
2319
|
{
|
|
2285
2320
|
type: "function",
|
|
2286
2321
|
name: "tickSpacing",
|
|
@@ -2327,31 +2362,52 @@ const optionsMarketAbi = [
|
|
|
2327
2362
|
},
|
|
2328
2363
|
{
|
|
2329
2364
|
type: "function",
|
|
2330
|
-
name: "
|
|
2331
|
-
inputs: [
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2365
|
+
name: "updateAddresses",
|
|
2366
|
+
inputs: [
|
|
2367
|
+
{
|
|
2368
|
+
name: "_optionPricing",
|
|
2369
|
+
type: "address",
|
|
2370
|
+
internalType: "contract IOptionPricing"
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
name: "_feeStrategy",
|
|
2374
|
+
type: "address",
|
|
2375
|
+
internalType: "contract IFeeStrategy"
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
name: "_feeRecipient",
|
|
2379
|
+
type: "address",
|
|
2380
|
+
internalType: "address"
|
|
2381
|
+
}
|
|
2382
|
+
],
|
|
2340
2383
|
outputs: [],
|
|
2341
2384
|
stateMutability: "nonpayable"
|
|
2342
2385
|
},
|
|
2343
2386
|
{
|
|
2344
2387
|
type: "function",
|
|
2345
|
-
name: "
|
|
2346
|
-
inputs: [
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2388
|
+
name: "updateBounds",
|
|
2389
|
+
inputs: [
|
|
2390
|
+
{
|
|
2391
|
+
name: "_minOptionAmount",
|
|
2392
|
+
type: "uint256",
|
|
2393
|
+
internalType: "uint256"
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
name: "_maxOptionAmount",
|
|
2397
|
+
type: "uint256",
|
|
2398
|
+
internalType: "uint256"
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
name: "_minDuration",
|
|
2402
|
+
type: "uint32",
|
|
2403
|
+
internalType: "uint32"
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
name: "_maxDuration",
|
|
2407
|
+
type: "uint32",
|
|
2408
|
+
internalType: "uint32"
|
|
2409
|
+
}
|
|
2410
|
+
],
|
|
2355
2411
|
outputs: [],
|
|
2356
2412
|
stateMutability: "nonpayable"
|
|
2357
2413
|
},
|
|
@@ -2367,15 +2423,275 @@ const optionsMarketAbi = [
|
|
|
2367
2423
|
stateMutability: "view"
|
|
2368
2424
|
},
|
|
2369
2425
|
{
|
|
2370
|
-
type: "
|
|
2371
|
-
name: "
|
|
2426
|
+
type: "event",
|
|
2427
|
+
name: "ExerciseOption",
|
|
2428
|
+
inputs: [
|
|
2429
|
+
{
|
|
2430
|
+
name: "optionId",
|
|
2431
|
+
type: "uint256",
|
|
2432
|
+
indexed: true,
|
|
2433
|
+
internalType: "uint256"
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
name: "owner",
|
|
2437
|
+
type: "address",
|
|
2438
|
+
indexed: true,
|
|
2439
|
+
internalType: "address"
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
name: "liquidities",
|
|
2443
|
+
type: "uint128[]",
|
|
2444
|
+
indexed: false,
|
|
2445
|
+
internalType: "uint128[]"
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
name: "currentTick",
|
|
2449
|
+
type: "int24",
|
|
2450
|
+
indexed: false,
|
|
2451
|
+
internalType: "int24"
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
name: "payout",
|
|
2455
|
+
type: "uint256",
|
|
2456
|
+
indexed: false,
|
|
2457
|
+
internalType: "uint256"
|
|
2458
|
+
}
|
|
2459
|
+
],
|
|
2460
|
+
anonymous: false
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
type: "event",
|
|
2464
|
+
name: "ExtendOption",
|
|
2465
|
+
inputs: [
|
|
2466
|
+
{
|
|
2467
|
+
name: "optionId",
|
|
2468
|
+
type: "uint256",
|
|
2469
|
+
indexed: true,
|
|
2470
|
+
internalType: "uint256"
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
name: "owner",
|
|
2474
|
+
type: "address",
|
|
2475
|
+
indexed: true,
|
|
2476
|
+
internalType: "address"
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
name: "premium",
|
|
2480
|
+
type: "uint256",
|
|
2481
|
+
indexed: false,
|
|
2482
|
+
internalType: "uint256"
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
name: "newExpiresAt",
|
|
2486
|
+
type: "uint32",
|
|
2487
|
+
indexed: false,
|
|
2488
|
+
internalType: "uint32"
|
|
2489
|
+
}
|
|
2490
|
+
],
|
|
2491
|
+
anonymous: false
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
type: "event",
|
|
2495
|
+
name: "FeesWithdrawn",
|
|
2372
2496
|
inputs: [{
|
|
2373
|
-
name: "
|
|
2374
|
-
type: "
|
|
2375
|
-
|
|
2497
|
+
name: "fees0",
|
|
2498
|
+
type: "uint256",
|
|
2499
|
+
indexed: false,
|
|
2500
|
+
internalType: "uint256"
|
|
2501
|
+
}, {
|
|
2502
|
+
name: "fees1",
|
|
2503
|
+
type: "uint256",
|
|
2504
|
+
indexed: false,
|
|
2505
|
+
internalType: "uint256"
|
|
2376
2506
|
}],
|
|
2377
|
-
|
|
2378
|
-
|
|
2507
|
+
anonymous: false
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
type: "event",
|
|
2511
|
+
name: "MintOption",
|
|
2512
|
+
inputs: [
|
|
2513
|
+
{
|
|
2514
|
+
name: "optionId",
|
|
2515
|
+
type: "uint256",
|
|
2516
|
+
indexed: true,
|
|
2517
|
+
internalType: "uint256"
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
name: "buyer",
|
|
2521
|
+
type: "address",
|
|
2522
|
+
indexed: true,
|
|
2523
|
+
internalType: "address"
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
name: "optionType",
|
|
2527
|
+
type: "uint8",
|
|
2528
|
+
indexed: false,
|
|
2529
|
+
internalType: "uint8"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
name: "strikeTick",
|
|
2533
|
+
type: "int24",
|
|
2534
|
+
indexed: false,
|
|
2535
|
+
internalType: "int24"
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
name: "currentTick",
|
|
2539
|
+
type: "int24",
|
|
2540
|
+
indexed: false,
|
|
2541
|
+
internalType: "int24"
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
name: "expiresAt",
|
|
2545
|
+
type: "uint32",
|
|
2546
|
+
indexed: false,
|
|
2547
|
+
internalType: "uint32"
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
name: "premium",
|
|
2551
|
+
type: "uint128",
|
|
2552
|
+
indexed: false,
|
|
2553
|
+
internalType: "uint128"
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
name: "protocolFee",
|
|
2557
|
+
type: "uint128",
|
|
2558
|
+
indexed: false,
|
|
2559
|
+
internalType: "uint128"
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
name: "liquidities",
|
|
2563
|
+
type: "uint128[]",
|
|
2564
|
+
indexed: false,
|
|
2565
|
+
internalType: "uint128[]"
|
|
2566
|
+
}
|
|
2567
|
+
],
|
|
2568
|
+
anonymous: false
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
type: "event",
|
|
2572
|
+
name: "OwnershipTransferred",
|
|
2573
|
+
inputs: [{
|
|
2574
|
+
name: "previousOwner",
|
|
2575
|
+
type: "address",
|
|
2576
|
+
indexed: true,
|
|
2577
|
+
internalType: "address"
|
|
2578
|
+
}, {
|
|
2579
|
+
name: "newOwner",
|
|
2580
|
+
type: "address",
|
|
2581
|
+
indexed: true,
|
|
2582
|
+
internalType: "address"
|
|
2583
|
+
}],
|
|
2584
|
+
anonymous: false
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
type: "error",
|
|
2588
|
+
name: "AmountOutOfBounds",
|
|
2589
|
+
inputs: []
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
type: "error",
|
|
2593
|
+
name: "DurationOutOfBounds",
|
|
2594
|
+
inputs: []
|
|
2595
|
+
},
|
|
2596
|
+
{
|
|
2597
|
+
type: "error",
|
|
2598
|
+
name: "InsufficientLiquidity",
|
|
2599
|
+
inputs: []
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
type: "error",
|
|
2603
|
+
name: "InvalidArrayLength",
|
|
2604
|
+
inputs: []
|
|
2605
|
+
},
|
|
2606
|
+
{
|
|
2607
|
+
type: "error",
|
|
2608
|
+
name: "InvalidOptionType",
|
|
2609
|
+
inputs: []
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
type: "error",
|
|
2613
|
+
name: "InvalidTickRange",
|
|
2614
|
+
inputs: [{
|
|
2615
|
+
name: "tickLower",
|
|
2616
|
+
type: "int24",
|
|
2617
|
+
internalType: "int24"
|
|
2618
|
+
}, {
|
|
2619
|
+
name: "tickUpper",
|
|
2620
|
+
type: "int24",
|
|
2621
|
+
internalType: "int24"
|
|
2622
|
+
}]
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
type: "error",
|
|
2626
|
+
name: "NotEnoughPayout",
|
|
2627
|
+
inputs: []
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
type: "error",
|
|
2631
|
+
name: "NotOptionOwner",
|
|
2632
|
+
inputs: []
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
type: "error",
|
|
2636
|
+
name: "OptionNotFound",
|
|
2637
|
+
inputs: []
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
type: "error",
|
|
2641
|
+
name: "OwnableInvalidOwner",
|
|
2642
|
+
inputs: [{
|
|
2643
|
+
name: "owner",
|
|
2644
|
+
type: "address",
|
|
2645
|
+
internalType: "address"
|
|
2646
|
+
}]
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
type: "error",
|
|
2650
|
+
name: "OwnableUnauthorizedAccount",
|
|
2651
|
+
inputs: [{
|
|
2652
|
+
name: "account",
|
|
2653
|
+
type: "address",
|
|
2654
|
+
internalType: "address"
|
|
2655
|
+
}]
|
|
2656
|
+
},
|
|
2657
|
+
{
|
|
2658
|
+
type: "error",
|
|
2659
|
+
name: "PremiumTooHigh",
|
|
2660
|
+
inputs: []
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
type: "error",
|
|
2664
|
+
name: "ReentrancyGuardReentrantCall",
|
|
2665
|
+
inputs: []
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
type: "error",
|
|
2669
|
+
name: "SafeERC20FailedOperation",
|
|
2670
|
+
inputs: [{
|
|
2671
|
+
name: "token",
|
|
2672
|
+
type: "address",
|
|
2673
|
+
internalType: "address"
|
|
2674
|
+
}]
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
type: "error",
|
|
2678
|
+
name: "SwapFailed",
|
|
2679
|
+
inputs: []
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
type: "error",
|
|
2683
|
+
name: "TradingPaused",
|
|
2684
|
+
inputs: []
|
|
2685
|
+
},
|
|
2686
|
+
{
|
|
2687
|
+
type: "error",
|
|
2688
|
+
name: "WithdrawNotAllowed",
|
|
2689
|
+
inputs: []
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
type: "error",
|
|
2693
|
+
name: "ZeroAddress",
|
|
2694
|
+
inputs: []
|
|
2379
2695
|
}
|
|
2380
2696
|
];
|
|
2381
2697
|
|
|
@@ -2404,4 +2720,4 @@ Object.defineProperty(exports, 'uniswapMathLensAbi', {
|
|
|
2404
2720
|
return uniswapMathLensAbi;
|
|
2405
2721
|
}
|
|
2406
2722
|
});
|
|
2407
|
-
//# sourceMappingURL=optionsMarket-
|
|
2723
|
+
//# sourceMappingURL=optionsMarket-PBduSBXF.cjs.map
|