timelock-sdk 0.0.192 → 0.0.193
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 +2 -2
- package/dist/abis.d.cts +364 -79
- package/dist/abis.d.ts +364 -79
- package/dist/abis.js +2 -2
- package/dist/{client-DiPQ92xm.d.ts → client-BOnQ_PaH.d.ts} +419 -195
- package/dist/{client-i-S2ZmAZ.d.cts → client-djFGt-F6.d.cts} +419 -195
- package/dist/client.cjs +20 -11
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +21 -12
- package/dist/client.js.map +1 -1
- package/dist/{factory-DitVXzjQ.cjs → factory-BieDxxUI.cjs} +435 -103
- package/dist/factory-BieDxxUI.cjs.map +1 -0
- package/dist/{factory-y-iVl_er.js → factory-DvHmRBSB.js} +435 -103
- package/dist/factory-DvHmRBSB.js.map +1 -0
- package/dist/{optionUtils-96oUNrzV.js → optionUtils-Bx5iAwn6.js} +9 -28
- package/dist/optionUtils-Bx5iAwn6.js.map +1 -0
- package/dist/{optionUtils-DsqMIDm1.cjs → optionUtils-Cj8yps5O.cjs} +8 -27
- package/dist/optionUtils-Cj8yps5O.cjs.map +1 -0
- package/dist/{optionsMarket-B_dYiAnm.d.ts → optionsMarket-BVrCBIJQ.d.cts} +135 -2
- package/dist/{optionsMarket-B0Om62Sk.d.cts → optionsMarket-MkvkHTLL.d.ts} +135 -2
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +1 -1
- package/dist/{statelessStateView-Cp4eOQME.js → statelessStateView-DW9FOpWt.js} +159 -2
- package/dist/statelessStateView-DW9FOpWt.js.map +1 -0
- package/dist/{statelessStateView-Dl3QIl1g.cjs → statelessStateView-WNW62g3Q.cjs} +159 -2
- package/dist/statelessStateView-WNW62g3Q.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/factory-DitVXzjQ.cjs.map +0 -1
- package/dist/factory-y-iVl_er.js.map +0 -1
- package/dist/optionUtils-96oUNrzV.js.map +0 -1
- package/dist/optionUtils-DsqMIDm1.cjs.map +0 -1
- package/dist/statelessStateView-Cp4eOQME.js.map +0 -1
- package/dist/statelessStateView-Dl3QIl1g.cjs.map +0 -1
package/dist/abis.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-
|
|
1
|
+
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-MkvkHTLL.js";
|
|
2
2
|
|
|
3
3
|
//#region src/abis/erc20.d.ts
|
|
4
4
|
declare const erc20Abi: readonly [{
|
|
@@ -1922,36 +1922,45 @@ declare const poolManagerAbi: readonly [{
|
|
|
1922
1922
|
declare const singleOwnerVaultAbi: readonly [{
|
|
1923
1923
|
readonly type: "constructor";
|
|
1924
1924
|
readonly inputs: readonly [{
|
|
1925
|
-
readonly name: "
|
|
1925
|
+
readonly name: "poolManager_";
|
|
1926
1926
|
readonly type: "address";
|
|
1927
1927
|
readonly internalType: "contract IPoolManager";
|
|
1928
1928
|
}, {
|
|
1929
|
-
readonly name: "
|
|
1930
|
-
readonly type: "
|
|
1931
|
-
readonly internalType: "
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
}];
|
|
1929
|
+
readonly name: "token0_";
|
|
1930
|
+
readonly type: "address";
|
|
1931
|
+
readonly internalType: "contract IERC20";
|
|
1932
|
+
}, {
|
|
1933
|
+
readonly name: "token1_";
|
|
1934
|
+
readonly type: "address";
|
|
1935
|
+
readonly internalType: "contract IERC20";
|
|
1936
|
+
}, {
|
|
1937
|
+
readonly name: "poolFee_";
|
|
1938
|
+
readonly type: "uint24";
|
|
1939
|
+
readonly internalType: "uint24";
|
|
1940
|
+
}, {
|
|
1941
|
+
readonly name: "tickSpacing_";
|
|
1942
|
+
readonly type: "int24";
|
|
1943
|
+
readonly internalType: "int24";
|
|
1944
|
+
}, {
|
|
1945
|
+
readonly name: "hooks_";
|
|
1946
|
+
readonly type: "address";
|
|
1947
|
+
readonly internalType: "contract IHooks";
|
|
1948
|
+
}, {
|
|
1949
|
+
readonly name: "owner_";
|
|
1950
|
+
readonly type: "address";
|
|
1951
|
+
readonly internalType: "address";
|
|
1953
1952
|
}];
|
|
1954
1953
|
readonly stateMutability: "nonpayable";
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly type: "function";
|
|
1956
|
+
readonly name: "ADMIN_ROLE";
|
|
1957
|
+
readonly inputs: readonly [];
|
|
1958
|
+
readonly outputs: readonly [{
|
|
1959
|
+
readonly name: "";
|
|
1960
|
+
readonly type: "bytes32";
|
|
1961
|
+
readonly internalType: "bytes32";
|
|
1962
|
+
}];
|
|
1963
|
+
readonly stateMutability: "view";
|
|
1955
1964
|
}, {
|
|
1956
1965
|
readonly type: "function";
|
|
1957
1966
|
readonly name: "BORROW";
|
|
@@ -1962,6 +1971,16 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
1962
1971
|
readonly internalType: "uint8";
|
|
1963
1972
|
}];
|
|
1964
1973
|
readonly stateMutability: "view";
|
|
1974
|
+
}, {
|
|
1975
|
+
readonly type: "function";
|
|
1976
|
+
readonly name: "BORROWER_ROLE";
|
|
1977
|
+
readonly inputs: readonly [];
|
|
1978
|
+
readonly outputs: readonly [{
|
|
1979
|
+
readonly name: "";
|
|
1980
|
+
readonly type: "bytes32";
|
|
1981
|
+
readonly internalType: "bytes32";
|
|
1982
|
+
}];
|
|
1983
|
+
readonly stateMutability: "view";
|
|
1965
1984
|
}, {
|
|
1966
1985
|
readonly type: "function";
|
|
1967
1986
|
readonly name: "BURN";
|
|
@@ -1972,6 +1991,16 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
1972
1991
|
readonly internalType: "uint8";
|
|
1973
1992
|
}];
|
|
1974
1993
|
readonly stateMutability: "view";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly type: "function";
|
|
1996
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1997
|
+
readonly inputs: readonly [];
|
|
1998
|
+
readonly outputs: readonly [{
|
|
1999
|
+
readonly name: "";
|
|
2000
|
+
readonly type: "bytes32";
|
|
2001
|
+
readonly internalType: "bytes32";
|
|
2002
|
+
}];
|
|
2003
|
+
readonly stateMutability: "view";
|
|
1975
2004
|
}, {
|
|
1976
2005
|
readonly type: "function";
|
|
1977
2006
|
readonly name: "MINT";
|
|
@@ -1992,6 +2021,16 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
1992
2021
|
readonly internalType: "uint8";
|
|
1993
2022
|
}];
|
|
1994
2023
|
readonly stateMutability: "view";
|
|
2024
|
+
}, {
|
|
2025
|
+
readonly type: "function";
|
|
2026
|
+
readonly name: "RESERVE";
|
|
2027
|
+
readonly inputs: readonly [];
|
|
2028
|
+
readonly outputs: readonly [{
|
|
2029
|
+
readonly name: "";
|
|
2030
|
+
readonly type: "uint8";
|
|
2031
|
+
readonly internalType: "uint8";
|
|
2032
|
+
}];
|
|
2033
|
+
readonly stateMutability: "view";
|
|
1995
2034
|
}, {
|
|
1996
2035
|
readonly type: "function";
|
|
1997
2036
|
readonly name: "blocks";
|
|
@@ -2020,6 +2059,10 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2020
2059
|
readonly name: "borrowedLiquidity";
|
|
2021
2060
|
readonly type: "uint128";
|
|
2022
2061
|
readonly internalType: "uint128";
|
|
2062
|
+
}, {
|
|
2063
|
+
readonly name: "reservedLiquidity";
|
|
2064
|
+
readonly type: "uint128";
|
|
2065
|
+
readonly internalType: "uint128";
|
|
2023
2066
|
}];
|
|
2024
2067
|
readonly stateMutability: "view";
|
|
2025
2068
|
}, {
|
|
@@ -2062,20 +2105,6 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2062
2105
|
readonly internalType: "int256";
|
|
2063
2106
|
}];
|
|
2064
2107
|
readonly stateMutability: "nonpayable";
|
|
2065
|
-
}, {
|
|
2066
|
-
readonly type: "function";
|
|
2067
|
-
readonly name: "borrowerWhitelist";
|
|
2068
|
-
readonly inputs: readonly [{
|
|
2069
|
-
readonly name: "";
|
|
2070
|
-
readonly type: "address";
|
|
2071
|
-
readonly internalType: "address";
|
|
2072
|
-
}];
|
|
2073
|
-
readonly outputs: readonly [{
|
|
2074
|
-
readonly name: "";
|
|
2075
|
-
readonly type: "bool";
|
|
2076
|
-
readonly internalType: "bool";
|
|
2077
|
-
}];
|
|
2078
|
-
readonly stateMutability: "view";
|
|
2079
2108
|
}, {
|
|
2080
2109
|
readonly type: "function";
|
|
2081
2110
|
readonly name: "burn";
|
|
@@ -2095,6 +2124,18 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2095
2124
|
readonly name: "refTick";
|
|
2096
2125
|
readonly type: "int24";
|
|
2097
2126
|
readonly internalType: "int24";
|
|
2127
|
+
}, {
|
|
2128
|
+
readonly name: "amount0Min";
|
|
2129
|
+
readonly type: "int256";
|
|
2130
|
+
readonly internalType: "int256";
|
|
2131
|
+
}, {
|
|
2132
|
+
readonly name: "amount1Min";
|
|
2133
|
+
readonly type: "int256";
|
|
2134
|
+
readonly internalType: "int256";
|
|
2135
|
+
}, {
|
|
2136
|
+
readonly name: "deadline";
|
|
2137
|
+
readonly type: "uint256";
|
|
2138
|
+
readonly internalType: "uint256";
|
|
2098
2139
|
}];
|
|
2099
2140
|
readonly outputs: readonly [{
|
|
2100
2141
|
readonly name: "amount0";
|
|
@@ -2150,9 +2191,59 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2150
2191
|
readonly name: "borrowedLiquidity";
|
|
2151
2192
|
readonly type: "uint128";
|
|
2152
2193
|
readonly internalType: "uint128";
|
|
2194
|
+
}, {
|
|
2195
|
+
readonly name: "reservedLiquidity";
|
|
2196
|
+
readonly type: "uint128";
|
|
2197
|
+
readonly internalType: "uint128";
|
|
2153
2198
|
}];
|
|
2154
2199
|
}];
|
|
2155
2200
|
readonly stateMutability: "view";
|
|
2201
|
+
}, {
|
|
2202
|
+
readonly type: "function";
|
|
2203
|
+
readonly name: "getRoleAdmin";
|
|
2204
|
+
readonly inputs: readonly [{
|
|
2205
|
+
readonly name: "role";
|
|
2206
|
+
readonly type: "bytes32";
|
|
2207
|
+
readonly internalType: "bytes32";
|
|
2208
|
+
}];
|
|
2209
|
+
readonly outputs: readonly [{
|
|
2210
|
+
readonly name: "";
|
|
2211
|
+
readonly type: "bytes32";
|
|
2212
|
+
readonly internalType: "bytes32";
|
|
2213
|
+
}];
|
|
2214
|
+
readonly stateMutability: "view";
|
|
2215
|
+
}, {
|
|
2216
|
+
readonly type: "function";
|
|
2217
|
+
readonly name: "grantRole";
|
|
2218
|
+
readonly inputs: readonly [{
|
|
2219
|
+
readonly name: "role";
|
|
2220
|
+
readonly type: "bytes32";
|
|
2221
|
+
readonly internalType: "bytes32";
|
|
2222
|
+
}, {
|
|
2223
|
+
readonly name: "account";
|
|
2224
|
+
readonly type: "address";
|
|
2225
|
+
readonly internalType: "address";
|
|
2226
|
+
}];
|
|
2227
|
+
readonly outputs: readonly [];
|
|
2228
|
+
readonly stateMutability: "nonpayable";
|
|
2229
|
+
}, {
|
|
2230
|
+
readonly type: "function";
|
|
2231
|
+
readonly name: "hasRole";
|
|
2232
|
+
readonly inputs: readonly [{
|
|
2233
|
+
readonly name: "role";
|
|
2234
|
+
readonly type: "bytes32";
|
|
2235
|
+
readonly internalType: "bytes32";
|
|
2236
|
+
}, {
|
|
2237
|
+
readonly name: "account";
|
|
2238
|
+
readonly type: "address";
|
|
2239
|
+
readonly internalType: "address";
|
|
2240
|
+
}];
|
|
2241
|
+
readonly outputs: readonly [{
|
|
2242
|
+
readonly name: "";
|
|
2243
|
+
readonly type: "bool";
|
|
2244
|
+
readonly internalType: "bool";
|
|
2245
|
+
}];
|
|
2246
|
+
readonly stateMutability: "view";
|
|
2156
2247
|
}, {
|
|
2157
2248
|
readonly type: "function";
|
|
2158
2249
|
readonly name: "highestTick";
|
|
@@ -2163,6 +2254,16 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2163
2254
|
readonly internalType: "int24";
|
|
2164
2255
|
}];
|
|
2165
2256
|
readonly stateMutability: "view";
|
|
2257
|
+
}, {
|
|
2258
|
+
readonly type: "function";
|
|
2259
|
+
readonly name: "hooks";
|
|
2260
|
+
readonly inputs: readonly [];
|
|
2261
|
+
readonly outputs: readonly [{
|
|
2262
|
+
readonly name: "";
|
|
2263
|
+
readonly type: "address";
|
|
2264
|
+
readonly internalType: "contract IHooks";
|
|
2265
|
+
}];
|
|
2266
|
+
readonly stateMutability: "view";
|
|
2166
2267
|
}, {
|
|
2167
2268
|
readonly type: "function";
|
|
2168
2269
|
readonly name: "lowestTick";
|
|
@@ -2192,6 +2293,18 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2192
2293
|
readonly name: "refTick";
|
|
2193
2294
|
readonly type: "int24";
|
|
2194
2295
|
readonly internalType: "int24";
|
|
2296
|
+
}, {
|
|
2297
|
+
readonly name: "amount0Max";
|
|
2298
|
+
readonly type: "int256";
|
|
2299
|
+
readonly internalType: "int256";
|
|
2300
|
+
}, {
|
|
2301
|
+
readonly name: "amount1Max";
|
|
2302
|
+
readonly type: "int256";
|
|
2303
|
+
readonly internalType: "int256";
|
|
2304
|
+
}, {
|
|
2305
|
+
readonly name: "deadline";
|
|
2306
|
+
readonly type: "uint256";
|
|
2307
|
+
readonly internalType: "uint256";
|
|
2195
2308
|
}];
|
|
2196
2309
|
readonly outputs: readonly [{
|
|
2197
2310
|
readonly name: "amount0";
|
|
@@ -2227,12 +2340,12 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2227
2340
|
readonly stateMutability: "nonpayable";
|
|
2228
2341
|
}, {
|
|
2229
2342
|
readonly type: "function";
|
|
2230
|
-
readonly name: "
|
|
2343
|
+
readonly name: "poolFee";
|
|
2231
2344
|
readonly inputs: readonly [];
|
|
2232
2345
|
readonly outputs: readonly [{
|
|
2233
2346
|
readonly name: "";
|
|
2234
|
-
readonly type: "
|
|
2235
|
-
readonly internalType: "
|
|
2347
|
+
readonly type: "uint24";
|
|
2348
|
+
readonly internalType: "uint24";
|
|
2236
2349
|
}];
|
|
2237
2350
|
readonly stateMutability: "view";
|
|
2238
2351
|
}, {
|
|
@@ -2278,8 +2391,16 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2278
2391
|
readonly stateMutability: "view";
|
|
2279
2392
|
}, {
|
|
2280
2393
|
readonly type: "function";
|
|
2281
|
-
readonly name: "
|
|
2282
|
-
readonly inputs: readonly [
|
|
2394
|
+
readonly name: "renounceRole";
|
|
2395
|
+
readonly inputs: readonly [{
|
|
2396
|
+
readonly name: "role";
|
|
2397
|
+
readonly type: "bytes32";
|
|
2398
|
+
readonly internalType: "bytes32";
|
|
2399
|
+
}, {
|
|
2400
|
+
readonly name: "callerConfirmation";
|
|
2401
|
+
readonly type: "address";
|
|
2402
|
+
readonly internalType: "address";
|
|
2403
|
+
}];
|
|
2283
2404
|
readonly outputs: readonly [];
|
|
2284
2405
|
readonly stateMutability: "nonpayable";
|
|
2285
2406
|
}, {
|
|
@@ -2312,6 +2433,42 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2312
2433
|
readonly internalType: "int256";
|
|
2313
2434
|
}];
|
|
2314
2435
|
readonly stateMutability: "nonpayable";
|
|
2436
|
+
}, {
|
|
2437
|
+
readonly type: "function";
|
|
2438
|
+
readonly name: "reserve";
|
|
2439
|
+
readonly inputs: readonly [{
|
|
2440
|
+
readonly name: "tickLower";
|
|
2441
|
+
readonly type: "int24";
|
|
2442
|
+
readonly internalType: "int24";
|
|
2443
|
+
}, {
|
|
2444
|
+
readonly name: "tickUpper";
|
|
2445
|
+
readonly type: "int24";
|
|
2446
|
+
readonly internalType: "int24";
|
|
2447
|
+
}, {
|
|
2448
|
+
readonly name: "reservedLiquidity";
|
|
2449
|
+
readonly type: "uint128";
|
|
2450
|
+
readonly internalType: "uint128";
|
|
2451
|
+
}, {
|
|
2452
|
+
readonly name: "refTick";
|
|
2453
|
+
readonly type: "int24";
|
|
2454
|
+
readonly internalType: "int24";
|
|
2455
|
+
}];
|
|
2456
|
+
readonly outputs: readonly [];
|
|
2457
|
+
readonly stateMutability: "nonpayable";
|
|
2458
|
+
}, {
|
|
2459
|
+
readonly type: "function";
|
|
2460
|
+
readonly name: "revokeRole";
|
|
2461
|
+
readonly inputs: readonly [{
|
|
2462
|
+
readonly name: "role";
|
|
2463
|
+
readonly type: "bytes32";
|
|
2464
|
+
readonly internalType: "bytes32";
|
|
2465
|
+
}, {
|
|
2466
|
+
readonly name: "account";
|
|
2467
|
+
readonly type: "address";
|
|
2468
|
+
readonly internalType: "address";
|
|
2469
|
+
}];
|
|
2470
|
+
readonly outputs: readonly [];
|
|
2471
|
+
readonly stateMutability: "nonpayable";
|
|
2315
2472
|
}, {
|
|
2316
2473
|
readonly type: "function";
|
|
2317
2474
|
readonly name: "settleAndTake";
|
|
@@ -2328,14 +2485,48 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2328
2485
|
readonly stateMutability: "nonpayable";
|
|
2329
2486
|
}, {
|
|
2330
2487
|
readonly type: "function";
|
|
2331
|
-
readonly name: "
|
|
2488
|
+
readonly name: "supportsInterface";
|
|
2332
2489
|
readonly inputs: readonly [{
|
|
2333
|
-
readonly name: "
|
|
2490
|
+
readonly name: "interfaceId";
|
|
2491
|
+
readonly type: "bytes4";
|
|
2492
|
+
readonly internalType: "bytes4";
|
|
2493
|
+
}];
|
|
2494
|
+
readonly outputs: readonly [{
|
|
2495
|
+
readonly name: "";
|
|
2496
|
+
readonly type: "bool";
|
|
2497
|
+
readonly internalType: "bool";
|
|
2498
|
+
}];
|
|
2499
|
+
readonly stateMutability: "view";
|
|
2500
|
+
}, {
|
|
2501
|
+
readonly type: "function";
|
|
2502
|
+
readonly name: "tickSpacing";
|
|
2503
|
+
readonly inputs: readonly [];
|
|
2504
|
+
readonly outputs: readonly [{
|
|
2505
|
+
readonly name: "";
|
|
2506
|
+
readonly type: "int24";
|
|
2507
|
+
readonly internalType: "int24";
|
|
2508
|
+
}];
|
|
2509
|
+
readonly stateMutability: "view";
|
|
2510
|
+
}, {
|
|
2511
|
+
readonly type: "function";
|
|
2512
|
+
readonly name: "token0";
|
|
2513
|
+
readonly inputs: readonly [];
|
|
2514
|
+
readonly outputs: readonly [{
|
|
2515
|
+
readonly name: "";
|
|
2334
2516
|
readonly type: "address";
|
|
2335
|
-
readonly internalType: "
|
|
2517
|
+
readonly internalType: "contract IERC20";
|
|
2336
2518
|
}];
|
|
2337
|
-
readonly
|
|
2338
|
-
|
|
2519
|
+
readonly stateMutability: "view";
|
|
2520
|
+
}, {
|
|
2521
|
+
readonly type: "function";
|
|
2522
|
+
readonly name: "token1";
|
|
2523
|
+
readonly inputs: readonly [];
|
|
2524
|
+
readonly outputs: readonly [{
|
|
2525
|
+
readonly name: "";
|
|
2526
|
+
readonly type: "address";
|
|
2527
|
+
readonly internalType: "contract IERC20";
|
|
2528
|
+
}];
|
|
2529
|
+
readonly stateMutability: "view";
|
|
2339
2530
|
}, {
|
|
2340
2531
|
readonly type: "function";
|
|
2341
2532
|
readonly name: "unlockCallback";
|
|
@@ -2466,22 +2657,32 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2466
2657
|
readonly anonymous: false;
|
|
2467
2658
|
}, {
|
|
2468
2659
|
readonly type: "event";
|
|
2469
|
-
readonly name: "
|
|
2660
|
+
readonly name: "Repay";
|
|
2470
2661
|
readonly inputs: readonly [{
|
|
2471
|
-
readonly name: "
|
|
2662
|
+
readonly name: "user";
|
|
2472
2663
|
readonly type: "address";
|
|
2473
|
-
readonly indexed:
|
|
2664
|
+
readonly indexed: false;
|
|
2474
2665
|
readonly internalType: "address";
|
|
2475
2666
|
}, {
|
|
2476
|
-
readonly name: "
|
|
2477
|
-
readonly type: "
|
|
2478
|
-
readonly indexed:
|
|
2479
|
-
readonly internalType: "
|
|
2667
|
+
readonly name: "tickLower";
|
|
2668
|
+
readonly type: "int24";
|
|
2669
|
+
readonly indexed: false;
|
|
2670
|
+
readonly internalType: "int24";
|
|
2671
|
+
}, {
|
|
2672
|
+
readonly name: "tickUpper";
|
|
2673
|
+
readonly type: "int24";
|
|
2674
|
+
readonly indexed: false;
|
|
2675
|
+
readonly internalType: "int24";
|
|
2676
|
+
}, {
|
|
2677
|
+
readonly name: "liquidity";
|
|
2678
|
+
readonly type: "uint128";
|
|
2679
|
+
readonly indexed: false;
|
|
2680
|
+
readonly internalType: "uint128";
|
|
2480
2681
|
}];
|
|
2481
2682
|
readonly anonymous: false;
|
|
2482
2683
|
}, {
|
|
2483
2684
|
readonly type: "event";
|
|
2484
|
-
readonly name: "
|
|
2685
|
+
readonly name: "Reserve";
|
|
2485
2686
|
readonly inputs: readonly [{
|
|
2486
2687
|
readonly name: "user";
|
|
2487
2688
|
readonly type: "address";
|
|
@@ -2504,6 +2705,66 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2504
2705
|
readonly internalType: "uint128";
|
|
2505
2706
|
}];
|
|
2506
2707
|
readonly anonymous: false;
|
|
2708
|
+
}, {
|
|
2709
|
+
readonly type: "event";
|
|
2710
|
+
readonly name: "RoleAdminChanged";
|
|
2711
|
+
readonly inputs: readonly [{
|
|
2712
|
+
readonly name: "role";
|
|
2713
|
+
readonly type: "bytes32";
|
|
2714
|
+
readonly indexed: true;
|
|
2715
|
+
readonly internalType: "bytes32";
|
|
2716
|
+
}, {
|
|
2717
|
+
readonly name: "previousAdminRole";
|
|
2718
|
+
readonly type: "bytes32";
|
|
2719
|
+
readonly indexed: true;
|
|
2720
|
+
readonly internalType: "bytes32";
|
|
2721
|
+
}, {
|
|
2722
|
+
readonly name: "newAdminRole";
|
|
2723
|
+
readonly type: "bytes32";
|
|
2724
|
+
readonly indexed: true;
|
|
2725
|
+
readonly internalType: "bytes32";
|
|
2726
|
+
}];
|
|
2727
|
+
readonly anonymous: false;
|
|
2728
|
+
}, {
|
|
2729
|
+
readonly type: "event";
|
|
2730
|
+
readonly name: "RoleGranted";
|
|
2731
|
+
readonly inputs: readonly [{
|
|
2732
|
+
readonly name: "role";
|
|
2733
|
+
readonly type: "bytes32";
|
|
2734
|
+
readonly indexed: true;
|
|
2735
|
+
readonly internalType: "bytes32";
|
|
2736
|
+
}, {
|
|
2737
|
+
readonly name: "account";
|
|
2738
|
+
readonly type: "address";
|
|
2739
|
+
readonly indexed: true;
|
|
2740
|
+
readonly internalType: "address";
|
|
2741
|
+
}, {
|
|
2742
|
+
readonly name: "sender";
|
|
2743
|
+
readonly type: "address";
|
|
2744
|
+
readonly indexed: true;
|
|
2745
|
+
readonly internalType: "address";
|
|
2746
|
+
}];
|
|
2747
|
+
readonly anonymous: false;
|
|
2748
|
+
}, {
|
|
2749
|
+
readonly type: "event";
|
|
2750
|
+
readonly name: "RoleRevoked";
|
|
2751
|
+
readonly inputs: readonly [{
|
|
2752
|
+
readonly name: "role";
|
|
2753
|
+
readonly type: "bytes32";
|
|
2754
|
+
readonly indexed: true;
|
|
2755
|
+
readonly internalType: "bytes32";
|
|
2756
|
+
}, {
|
|
2757
|
+
readonly name: "account";
|
|
2758
|
+
readonly type: "address";
|
|
2759
|
+
readonly indexed: true;
|
|
2760
|
+
readonly internalType: "address";
|
|
2761
|
+
}, {
|
|
2762
|
+
readonly name: "sender";
|
|
2763
|
+
readonly type: "address";
|
|
2764
|
+
readonly indexed: true;
|
|
2765
|
+
readonly internalType: "address";
|
|
2766
|
+
}];
|
|
2767
|
+
readonly anonymous: false;
|
|
2507
2768
|
}, {
|
|
2508
2769
|
readonly type: "event";
|
|
2509
2770
|
readonly name: "TokenWithdrawn";
|
|
@@ -2524,6 +2785,22 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2524
2785
|
readonly internalType: "uint256";
|
|
2525
2786
|
}];
|
|
2526
2787
|
readonly anonymous: false;
|
|
2788
|
+
}, {
|
|
2789
|
+
readonly type: "error";
|
|
2790
|
+
readonly name: "AccessControlBadConfirmation";
|
|
2791
|
+
readonly inputs: readonly [];
|
|
2792
|
+
}, {
|
|
2793
|
+
readonly type: "error";
|
|
2794
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
2795
|
+
readonly inputs: readonly [{
|
|
2796
|
+
readonly name: "account";
|
|
2797
|
+
readonly type: "address";
|
|
2798
|
+
readonly internalType: "address";
|
|
2799
|
+
}, {
|
|
2800
|
+
readonly name: "neededRole";
|
|
2801
|
+
readonly type: "bytes32";
|
|
2802
|
+
readonly internalType: "bytes32";
|
|
2803
|
+
}];
|
|
2527
2804
|
}, {
|
|
2528
2805
|
readonly type: "error";
|
|
2529
2806
|
readonly name: "AddressEmptyCode";
|
|
@@ -2540,6 +2817,14 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2540
2817
|
readonly type: "address";
|
|
2541
2818
|
readonly internalType: "address";
|
|
2542
2819
|
}];
|
|
2820
|
+
}, {
|
|
2821
|
+
readonly type: "error";
|
|
2822
|
+
readonly name: "DeadlinePassed";
|
|
2823
|
+
readonly inputs: readonly [{
|
|
2824
|
+
readonly name: "deadline";
|
|
2825
|
+
readonly type: "uint256";
|
|
2826
|
+
readonly internalType: "uint256";
|
|
2827
|
+
}];
|
|
2543
2828
|
}, {
|
|
2544
2829
|
readonly type: "error";
|
|
2545
2830
|
readonly name: "FailedCall";
|
|
@@ -2586,19 +2871,19 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2586
2871
|
}];
|
|
2587
2872
|
}, {
|
|
2588
2873
|
readonly type: "error";
|
|
2589
|
-
readonly name: "
|
|
2590
|
-
readonly inputs: readonly [
|
|
2591
|
-
readonly name: "owner";
|
|
2592
|
-
readonly type: "address";
|
|
2593
|
-
readonly internalType: "address";
|
|
2594
|
-
}];
|
|
2874
|
+
readonly name: "InvalidTickSpacing";
|
|
2875
|
+
readonly inputs: readonly [];
|
|
2595
2876
|
}, {
|
|
2596
2877
|
readonly type: "error";
|
|
2597
|
-
readonly name: "
|
|
2878
|
+
readonly name: "MintTooLarge";
|
|
2598
2879
|
readonly inputs: readonly [{
|
|
2599
|
-
readonly name: "
|
|
2600
|
-
readonly type: "
|
|
2601
|
-
readonly internalType: "
|
|
2880
|
+
readonly name: "existingLiquidity";
|
|
2881
|
+
readonly type: "uint128";
|
|
2882
|
+
readonly internalType: "uint128";
|
|
2883
|
+
}, {
|
|
2884
|
+
readonly name: "addedLiquidity";
|
|
2885
|
+
readonly type: "uint128";
|
|
2886
|
+
readonly internalType: "uint128";
|
|
2602
2887
|
}];
|
|
2603
2888
|
}, {
|
|
2604
2889
|
readonly type: "error";
|
|
@@ -2614,24 +2899,24 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
2614
2899
|
}];
|
|
2615
2900
|
}, {
|
|
2616
2901
|
readonly type: "error";
|
|
2617
|
-
readonly name: "
|
|
2902
|
+
readonly name: "SlippageExceeded";
|
|
2618
2903
|
readonly inputs: readonly [{
|
|
2619
|
-
readonly name: "
|
|
2620
|
-
readonly type: "
|
|
2621
|
-
readonly internalType: "
|
|
2622
|
-
}, {
|
|
2623
|
-
readonly name: "attempted";
|
|
2624
|
-
readonly type: "uint128";
|
|
2625
|
-
readonly internalType: "uint128";
|
|
2904
|
+
readonly name: "actual";
|
|
2905
|
+
readonly type: "int256";
|
|
2906
|
+
readonly internalType: "int256";
|
|
2626
2907
|
}, {
|
|
2627
|
-
readonly name: "
|
|
2628
|
-
readonly type: "
|
|
2629
|
-
readonly internalType: "
|
|
2908
|
+
readonly name: "limit";
|
|
2909
|
+
readonly type: "int256";
|
|
2910
|
+
readonly internalType: "int256";
|
|
2630
2911
|
}];
|
|
2631
2912
|
}, {
|
|
2632
2913
|
readonly type: "error";
|
|
2633
2914
|
readonly name: "UnauthorizedCaller";
|
|
2634
2915
|
readonly inputs: readonly [];
|
|
2916
|
+
}, {
|
|
2917
|
+
readonly type: "error";
|
|
2918
|
+
readonly name: "ZeroAddress";
|
|
2919
|
+
readonly inputs: readonly [];
|
|
2635
2920
|
}];
|
|
2636
2921
|
//#endregion
|
|
2637
2922
|
//#region src/abis/statelessStateView.d.ts
|
package/dist/abis.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as erc20Abi, n as optionsMarketAbi, r as lensAbi, t as statelessStateViewAbi } from "./statelessStateView-
|
|
2
|
-
import { n as guardianAbi, r as singleOwnerVaultAbi, t as factoryAbi } from "./factory-
|
|
1
|
+
import { i as erc20Abi, n as optionsMarketAbi, r as lensAbi, t as statelessStateViewAbi } from "./statelessStateView-DW9FOpWt.js";
|
|
2
|
+
import { n as guardianAbi, r as singleOwnerVaultAbi, t as factoryAbi } from "./factory-DvHmRBSB.js";
|
|
3
3
|
|
|
4
4
|
//#region src/abis/poolManager.ts
|
|
5
5
|
const poolManagerAbi = [
|