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