timelock-sdk 0.0.79 → 0.0.80
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/{client-D9QtRxOF.d.ts → client-D_t-2-g5.d.cts} +248 -240
- package/dist/{client-h7lO3ik2.d.cts → client-euowNGgz.d.ts} +104 -96
- package/dist/client.cjs +2 -77
- 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 +1 -76
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-CI-AZi8X.js → optionUtils-CoIk8zAr.js} +97 -2
- package/dist/optionUtils-CoIk8zAr.js.map +1 -0
- package/dist/{optionUtils-CDD_7qmy.cjs → optionUtils-DAjhbiQ5.cjs} +108 -1
- package/dist/optionUtils-DAjhbiQ5.cjs.map +1 -0
- package/dist/package.cjs +3 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/package.json +1 -1
- package/dist/optionUtils-CDD_7qmy.cjs.map +0 -1
- package/dist/optionUtils-CI-AZi8X.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-CK8C7WOt.cjs";
|
|
2
|
+
import * as viem131 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
|
-
import Big from "big.js";
|
|
5
4
|
import React, { ReactNode } from "react";
|
|
5
|
+
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import "
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
9
|
+
import * as _tanstack_query_core17 from "@tanstack/query-core";
|
|
10
|
+
import Big from "big.js";
|
|
11
|
+
import * as _wagmi_core1 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/lib/contracts.d.ts
|
|
14
14
|
type TimelockMarket = GetContractReturnType<typeof optionsMarketAbi, Client, Address>;
|
|
@@ -19,7 +19,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
19
19
|
};
|
|
20
20
|
declare const getErc20: (address: Address, client: Client) => {
|
|
21
21
|
read: {
|
|
22
|
-
symbol: (options?:
|
|
22
|
+
symbol: (options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
23
23
|
readonly type: "constructor";
|
|
24
24
|
readonly inputs: readonly [{
|
|
25
25
|
readonly name: "name_";
|
|
@@ -198,7 +198,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
198
198
|
}];
|
|
199
199
|
readonly stateMutability: "nonpayable";
|
|
200
200
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
201
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
201
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
202
202
|
readonly type: "constructor";
|
|
203
203
|
readonly inputs: readonly [{
|
|
204
204
|
readonly name: "name_";
|
|
@@ -377,7 +377,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
377
377
|
}];
|
|
378
378
|
readonly stateMutability: "nonpayable";
|
|
379
379
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
380
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
380
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
381
381
|
readonly type: "constructor";
|
|
382
382
|
readonly inputs: readonly [{
|
|
383
383
|
readonly name: "name_";
|
|
@@ -556,7 +556,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
556
556
|
}];
|
|
557
557
|
readonly stateMutability: "nonpayable";
|
|
558
558
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
559
|
-
decimals: (options?:
|
|
559
|
+
decimals: (options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
560
560
|
readonly type: "constructor";
|
|
561
561
|
readonly inputs: readonly [{
|
|
562
562
|
readonly name: "name_";
|
|
@@ -735,7 +735,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
735
735
|
}];
|
|
736
736
|
readonly stateMutability: "nonpayable";
|
|
737
737
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
738
|
-
name: (options?:
|
|
738
|
+
name: (options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
739
739
|
readonly type: "constructor";
|
|
740
740
|
readonly inputs: readonly [{
|
|
741
741
|
readonly name: "name_";
|
|
@@ -914,7 +914,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
914
914
|
}];
|
|
915
915
|
readonly stateMutability: "nonpayable";
|
|
916
916
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
917
|
-
totalSupply: (options?:
|
|
917
|
+
totalSupply: (options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
918
918
|
readonly type: "constructor";
|
|
919
919
|
readonly inputs: readonly [{
|
|
920
920
|
readonly name: "name_";
|
|
@@ -1095,7 +1095,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1095
1095
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1096
1096
|
};
|
|
1097
1097
|
estimateGas: {
|
|
1098
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1098
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1099
1099
|
readonly type: "constructor";
|
|
1100
1100
|
readonly inputs: readonly [{
|
|
1101
1101
|
readonly name: "name_";
|
|
@@ -1273,8 +1273,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1273
1273
|
readonly internalType: "bool";
|
|
1274
1274
|
}];
|
|
1275
1275
|
readonly stateMutability: "nonpayable";
|
|
1276
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1277
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1276
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1277
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1278
1278
|
readonly type: "constructor";
|
|
1279
1279
|
readonly inputs: readonly [{
|
|
1280
1280
|
readonly name: "name_";
|
|
@@ -1452,8 +1452,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1452
1452
|
readonly internalType: "bool";
|
|
1453
1453
|
}];
|
|
1454
1454
|
readonly stateMutability: "nonpayable";
|
|
1455
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1456
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1455
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1456
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1457
1457
|
readonly type: "constructor";
|
|
1458
1458
|
readonly inputs: readonly [{
|
|
1459
1459
|
readonly name: "name_";
|
|
@@ -1631,8 +1631,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1631
1631
|
readonly internalType: "bool";
|
|
1632
1632
|
}];
|
|
1633
1633
|
readonly stateMutability: "nonpayable";
|
|
1634
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1635
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1634
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1635
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1636
1636
|
readonly type: "constructor";
|
|
1637
1637
|
readonly inputs: readonly [{
|
|
1638
1638
|
readonly name: "name_";
|
|
@@ -1810,8 +1810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1810
1810
|
readonly internalType: "bool";
|
|
1811
1811
|
}];
|
|
1812
1812
|
readonly stateMutability: "nonpayable";
|
|
1813
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
1814
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
1813
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1814
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1815
1815
|
readonly type: "constructor";
|
|
1816
1816
|
readonly inputs: readonly [{
|
|
1817
1817
|
readonly name: "name_";
|
|
@@ -1989,9 +1989,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1989
1989
|
readonly internalType: "bool";
|
|
1990
1990
|
}];
|
|
1991
1991
|
readonly stateMutability: "nonpayable";
|
|
1992
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
1992
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1993
1993
|
} & {
|
|
1994
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1994
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1995
1995
|
readonly type: "constructor";
|
|
1996
1996
|
readonly inputs: readonly [{
|
|
1997
1997
|
readonly name: "name_";
|
|
@@ -2169,8 +2169,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2169
2169
|
readonly internalType: "bool";
|
|
2170
2170
|
}];
|
|
2171
2171
|
readonly stateMutability: "nonpayable";
|
|
2172
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2173
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2172
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2173
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2174
2174
|
readonly type: "constructor";
|
|
2175
2175
|
readonly inputs: readonly [{
|
|
2176
2176
|
readonly name: "name_";
|
|
@@ -2348,8 +2348,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2348
2348
|
readonly internalType: "bool";
|
|
2349
2349
|
}];
|
|
2350
2350
|
readonly stateMutability: "nonpayable";
|
|
2351
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2352
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2351
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2352
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2353
2353
|
readonly type: "constructor";
|
|
2354
2354
|
readonly inputs: readonly [{
|
|
2355
2355
|
readonly name: "name_";
|
|
@@ -2527,8 +2527,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2527
2527
|
readonly internalType: "bool";
|
|
2528
2528
|
}];
|
|
2529
2529
|
readonly stateMutability: "nonpayable";
|
|
2530
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2531
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2530
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2531
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2532
2532
|
readonly type: "constructor";
|
|
2533
2533
|
readonly inputs: readonly [{
|
|
2534
2534
|
readonly name: "name_";
|
|
@@ -2706,8 +2706,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2706
2706
|
readonly internalType: "bool";
|
|
2707
2707
|
}];
|
|
2708
2708
|
readonly stateMutability: "nonpayable";
|
|
2709
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2710
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2709
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2710
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2711
2711
|
readonly type: "constructor";
|
|
2712
2712
|
readonly inputs: readonly [{
|
|
2713
2713
|
readonly name: "name_";
|
|
@@ -2885,10 +2885,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2885
2885
|
readonly internalType: "bool";
|
|
2886
2886
|
}];
|
|
2887
2887
|
readonly stateMutability: "nonpayable";
|
|
2888
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2888
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2889
2889
|
};
|
|
2890
2890
|
simulate: {
|
|
2891
|
-
approve: <chainOverride extends
|
|
2891
|
+
approve: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
2892
2892
|
readonly type: "constructor";
|
|
2893
2893
|
readonly inputs: readonly [{
|
|
2894
2894
|
readonly name: "name_";
|
|
@@ -3066,7 +3066,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3066
3066
|
readonly internalType: "bool";
|
|
3067
3067
|
}];
|
|
3068
3068
|
readonly stateMutability: "nonpayable";
|
|
3069
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3069
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
3070
3070
|
readonly type: "constructor";
|
|
3071
3071
|
readonly inputs: readonly [{
|
|
3072
3072
|
readonly name: "name_";
|
|
@@ -3244,8 +3244,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3244
3244
|
readonly internalType: "bool";
|
|
3245
3245
|
}];
|
|
3246
3246
|
readonly stateMutability: "nonpayable";
|
|
3247
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3248
|
-
decreaseAllowance: <chainOverride extends
|
|
3247
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
3248
|
+
decreaseAllowance: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
3249
3249
|
readonly type: "constructor";
|
|
3250
3250
|
readonly inputs: readonly [{
|
|
3251
3251
|
readonly name: "name_";
|
|
@@ -3423,7 +3423,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3423
3423
|
readonly internalType: "bool";
|
|
3424
3424
|
}];
|
|
3425
3425
|
readonly stateMutability: "nonpayable";
|
|
3426
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3426
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
3427
3427
|
readonly type: "constructor";
|
|
3428
3428
|
readonly inputs: readonly [{
|
|
3429
3429
|
readonly name: "name_";
|
|
@@ -3601,8 +3601,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3601
3601
|
readonly internalType: "bool";
|
|
3602
3602
|
}];
|
|
3603
3603
|
readonly stateMutability: "nonpayable";
|
|
3604
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3605
|
-
increaseAllowance: <chainOverride extends
|
|
3604
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
3605
|
+
increaseAllowance: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
3606
3606
|
readonly type: "constructor";
|
|
3607
3607
|
readonly inputs: readonly [{
|
|
3608
3608
|
readonly name: "name_";
|
|
@@ -3780,7 +3780,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3780
3780
|
readonly internalType: "bool";
|
|
3781
3781
|
}];
|
|
3782
3782
|
readonly stateMutability: "nonpayable";
|
|
3783
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3783
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
3784
3784
|
readonly type: "constructor";
|
|
3785
3785
|
readonly inputs: readonly [{
|
|
3786
3786
|
readonly name: "name_";
|
|
@@ -3958,8 +3958,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3958
3958
|
readonly internalType: "bool";
|
|
3959
3959
|
}];
|
|
3960
3960
|
readonly stateMutability: "nonpayable";
|
|
3961
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3962
|
-
transfer: <chainOverride extends
|
|
3961
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
3962
|
+
transfer: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
3963
3963
|
readonly type: "constructor";
|
|
3964
3964
|
readonly inputs: readonly [{
|
|
3965
3965
|
readonly name: "name_";
|
|
@@ -4137,7 +4137,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4137
4137
|
readonly internalType: "bool";
|
|
4138
4138
|
}];
|
|
4139
4139
|
readonly stateMutability: "nonpayable";
|
|
4140
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4140
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
4141
4141
|
readonly type: "constructor";
|
|
4142
4142
|
readonly inputs: readonly [{
|
|
4143
4143
|
readonly name: "name_";
|
|
@@ -4315,8 +4315,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4315
4315
|
readonly internalType: "bool";
|
|
4316
4316
|
}];
|
|
4317
4317
|
readonly stateMutability: "nonpayable";
|
|
4318
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4319
|
-
transferFrom: <chainOverride extends
|
|
4318
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
4319
|
+
transferFrom: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
4320
4320
|
readonly type: "constructor";
|
|
4321
4321
|
readonly inputs: readonly [{
|
|
4322
4322
|
readonly name: "name_";
|
|
@@ -4494,7 +4494,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4494
4494
|
readonly internalType: "bool";
|
|
4495
4495
|
}];
|
|
4496
4496
|
readonly stateMutability: "nonpayable";
|
|
4497
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4497
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
4498
4498
|
readonly type: "constructor";
|
|
4499
4499
|
readonly inputs: readonly [{
|
|
4500
4500
|
readonly name: "name_";
|
|
@@ -4672,10 +4672,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4672
4672
|
readonly internalType: "bool";
|
|
4673
4673
|
}];
|
|
4674
4674
|
readonly stateMutability: "nonpayable";
|
|
4675
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4675
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
4676
4676
|
};
|
|
4677
4677
|
write: {
|
|
4678
|
-
approve: <chainOverride extends
|
|
4678
|
+
approve: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
4679
4679
|
readonly type: "constructor";
|
|
4680
4680
|
readonly inputs: readonly [{
|
|
4681
4681
|
readonly name: "name_";
|
|
@@ -4853,8 +4853,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4853
4853
|
readonly internalType: "bool";
|
|
4854
4854
|
}];
|
|
4855
4855
|
readonly stateMutability: "nonpayable";
|
|
4856
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
4857
|
-
decreaseAllowance: <chainOverride extends
|
|
4856
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
4857
|
+
decreaseAllowance: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
4858
4858
|
readonly type: "constructor";
|
|
4859
4859
|
readonly inputs: readonly [{
|
|
4860
4860
|
readonly name: "name_";
|
|
@@ -5032,8 +5032,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5032
5032
|
readonly internalType: "bool";
|
|
5033
5033
|
}];
|
|
5034
5034
|
readonly stateMutability: "nonpayable";
|
|
5035
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5036
|
-
increaseAllowance: <chainOverride extends
|
|
5035
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5036
|
+
increaseAllowance: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
5037
5037
|
readonly type: "constructor";
|
|
5038
5038
|
readonly inputs: readonly [{
|
|
5039
5039
|
readonly name: "name_";
|
|
@@ -5211,8 +5211,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5211
5211
|
readonly internalType: "bool";
|
|
5212
5212
|
}];
|
|
5213
5213
|
readonly stateMutability: "nonpayable";
|
|
5214
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5215
|
-
transfer: <chainOverride extends
|
|
5214
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5215
|
+
transfer: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
5216
5216
|
readonly type: "constructor";
|
|
5217
5217
|
readonly inputs: readonly [{
|
|
5218
5218
|
readonly name: "name_";
|
|
@@ -5390,8 +5390,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5390
5390
|
readonly internalType: "bool";
|
|
5391
5391
|
}];
|
|
5392
5392
|
readonly stateMutability: "nonpayable";
|
|
5393
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5394
|
-
transferFrom: <chainOverride extends
|
|
5393
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5394
|
+
transferFrom: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
5395
5395
|
readonly type: "constructor";
|
|
5396
5396
|
readonly inputs: readonly [{
|
|
5397
5397
|
readonly name: "name_";
|
|
@@ -5569,7 +5569,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5569
5569
|
readonly internalType: "bool";
|
|
5570
5570
|
}];
|
|
5571
5571
|
readonly stateMutability: "nonpayable";
|
|
5572
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5572
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5573
5573
|
};
|
|
5574
5574
|
address: `0x${string}`;
|
|
5575
5575
|
abi: readonly [{
|
|
@@ -5755,7 +5755,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5755
5755
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5756
5756
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5757
5757
|
read: {
|
|
5758
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5758
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
5759
5759
|
readonly type: "function";
|
|
5760
5760
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5761
5761
|
readonly inputs: readonly [{
|
|
@@ -6376,7 +6376,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6376
6376
|
}];
|
|
6377
6377
|
readonly stateMutability: "pure";
|
|
6378
6378
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6379
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6379
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
6380
6380
|
readonly type: "function";
|
|
6381
6381
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6382
6382
|
readonly inputs: readonly [{
|
|
@@ -6997,7 +6997,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6997
6997
|
}];
|
|
6998
6998
|
readonly stateMutability: "pure";
|
|
6999
6999
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7000
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7000
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
7001
7001
|
readonly type: "function";
|
|
7002
7002
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7003
7003
|
readonly inputs: readonly [{
|
|
@@ -7618,7 +7618,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7618
7618
|
}];
|
|
7619
7619
|
readonly stateMutability: "pure";
|
|
7620
7620
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7621
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7621
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
7622
7622
|
readonly type: "function";
|
|
7623
7623
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7624
7624
|
readonly inputs: readonly [{
|
|
@@ -8239,7 +8239,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8239
8239
|
}];
|
|
8240
8240
|
readonly stateMutability: "pure";
|
|
8241
8241
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8242
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8242
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
8243
8243
|
readonly type: "function";
|
|
8244
8244
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8245
8245
|
readonly inputs: readonly [{
|
|
@@ -8860,7 +8860,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8860
8860
|
}];
|
|
8861
8861
|
readonly stateMutability: "pure";
|
|
8862
8862
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
8863
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
8863
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
8864
8864
|
readonly type: "function";
|
|
8865
8865
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8866
8866
|
readonly inputs: readonly [{
|
|
@@ -9481,7 +9481,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9481
9481
|
}];
|
|
9482
9482
|
readonly stateMutability: "pure";
|
|
9483
9483
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9484
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9484
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
9485
9485
|
readonly type: "function";
|
|
9486
9486
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9487
9487
|
readonly inputs: readonly [{
|
|
@@ -10102,7 +10102,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10102
10102
|
}];
|
|
10103
10103
|
readonly stateMutability: "pure";
|
|
10104
10104
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10105
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10105
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
10106
10106
|
readonly type: "function";
|
|
10107
10107
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10108
10108
|
readonly inputs: readonly [{
|
|
@@ -10723,7 +10723,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10723
10723
|
}];
|
|
10724
10724
|
readonly stateMutability: "pure";
|
|
10725
10725
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10726
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10726
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
10727
10727
|
readonly type: "function";
|
|
10728
10728
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10729
10729
|
readonly inputs: readonly [{
|
|
@@ -11344,7 +11344,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11344
11344
|
}];
|
|
11345
11345
|
readonly stateMutability: "pure";
|
|
11346
11346
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11347
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11347
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
11348
11348
|
readonly type: "function";
|
|
11349
11349
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11350
11350
|
readonly inputs: readonly [{
|
|
@@ -11965,7 +11965,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11965
11965
|
}];
|
|
11966
11966
|
readonly stateMutability: "pure";
|
|
11967
11967
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11968
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
11968
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
11969
11969
|
readonly type: "function";
|
|
11970
11970
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11971
11971
|
readonly inputs: readonly [{
|
|
@@ -12586,7 +12586,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12586
12586
|
}];
|
|
12587
12587
|
readonly stateMutability: "pure";
|
|
12588
12588
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12589
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12589
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
12590
12590
|
readonly type: "function";
|
|
12591
12591
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12592
12592
|
readonly inputs: readonly [{
|
|
@@ -13207,7 +13207,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13207
13207
|
}];
|
|
13208
13208
|
readonly stateMutability: "pure";
|
|
13209
13209
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13210
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13210
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
13211
13211
|
readonly type: "function";
|
|
13212
13212
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13213
13213
|
readonly inputs: readonly [{
|
|
@@ -13828,7 +13828,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13828
13828
|
}];
|
|
13829
13829
|
readonly stateMutability: "pure";
|
|
13830
13830
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13831
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
13831
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
13832
13832
|
readonly type: "function";
|
|
13833
13833
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13834
13834
|
readonly inputs: readonly [{
|
|
@@ -14449,7 +14449,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14449
14449
|
}];
|
|
14450
14450
|
readonly stateMutability: "pure";
|
|
14451
14451
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14452
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14452
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
14453
14453
|
readonly type: "function";
|
|
14454
14454
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14455
14455
|
readonly inputs: readonly [{
|
|
@@ -15070,7 +15070,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15070
15070
|
}];
|
|
15071
15071
|
readonly stateMutability: "pure";
|
|
15072
15072
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15073
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15073
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
15074
15074
|
readonly type: "function";
|
|
15075
15075
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15076
15076
|
readonly inputs: readonly [{
|
|
@@ -15691,7 +15691,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15691
15691
|
}];
|
|
15692
15692
|
readonly stateMutability: "pure";
|
|
15693
15693
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15694
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15694
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
15695
15695
|
readonly type: "function";
|
|
15696
15696
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15697
15697
|
readonly inputs: readonly [{
|
|
@@ -16312,7 +16312,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16312
16312
|
}];
|
|
16313
16313
|
readonly stateMutability: "pure";
|
|
16314
16314
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16315
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16315
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
16316
16316
|
readonly type: "function";
|
|
16317
16317
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16318
16318
|
readonly inputs: readonly [{
|
|
@@ -16933,7 +16933,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16933
16933
|
}];
|
|
16934
16934
|
readonly stateMutability: "pure";
|
|
16935
16935
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
16936
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
16936
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
16937
16937
|
readonly type: "function";
|
|
16938
16938
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16939
16939
|
readonly inputs: readonly [{
|
|
@@ -17554,7 +17554,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17554
17554
|
}];
|
|
17555
17555
|
readonly stateMutability: "pure";
|
|
17556
17556
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17557
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17557
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
17558
17558
|
readonly type: "function";
|
|
17559
17559
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17560
17560
|
readonly inputs: readonly [{
|
|
@@ -18175,7 +18175,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18175
18175
|
}];
|
|
18176
18176
|
readonly stateMutability: "pure";
|
|
18177
18177
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18178
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18178
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
18179
18179
|
readonly type: "function";
|
|
18180
18180
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18181
18181
|
readonly inputs: readonly [{
|
|
@@ -18796,7 +18796,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18796
18796
|
}];
|
|
18797
18797
|
readonly stateMutability: "pure";
|
|
18798
18798
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18799
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
18799
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
18800
18800
|
readonly type: "function";
|
|
18801
18801
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18802
18802
|
readonly inputs: readonly [{
|
|
@@ -19417,7 +19417,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19417
19417
|
}];
|
|
19418
19418
|
readonly stateMutability: "pure";
|
|
19419
19419
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19420
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19420
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
19421
19421
|
readonly type: "function";
|
|
19422
19422
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19423
19423
|
readonly inputs: readonly [{
|
|
@@ -20038,7 +20038,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20038
20038
|
}];
|
|
20039
20039
|
readonly stateMutability: "pure";
|
|
20040
20040
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20041
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20041
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
20042
20042
|
readonly type: "function";
|
|
20043
20043
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20044
20044
|
readonly inputs: readonly [{
|
|
@@ -20659,7 +20659,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20659
20659
|
}];
|
|
20660
20660
|
readonly stateMutability: "pure";
|
|
20661
20661
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20662
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20662
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
20663
20663
|
readonly type: "function";
|
|
20664
20664
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20665
20665
|
readonly inputs: readonly [{
|
|
@@ -21280,7 +21280,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21280
21280
|
}];
|
|
21281
21281
|
readonly stateMutability: "pure";
|
|
21282
21282
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21283
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21283
|
+
getPriceAtTick: (args: readonly [number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
21284
21284
|
readonly type: "function";
|
|
21285
21285
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21286
21286
|
readonly inputs: readonly [{
|
|
@@ -22527,7 +22527,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22527
22527
|
};
|
|
22528
22528
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22529
22529
|
read: {
|
|
22530
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22530
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
22531
22531
|
readonly type: "function";
|
|
22532
22532
|
readonly name: "batchGetRefTick";
|
|
22533
22533
|
readonly inputs: readonly [{
|
|
@@ -23201,7 +23201,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23201
23201
|
}];
|
|
23202
23202
|
readonly stateMutability: "view";
|
|
23203
23203
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23204
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23204
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
23205
23205
|
readonly type: "function";
|
|
23206
23206
|
readonly name: "batchGetRefTick";
|
|
23207
23207
|
readonly inputs: readonly [{
|
|
@@ -23885,7 +23885,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23885
23885
|
borrowedAmount0: bigint;
|
|
23886
23886
|
borrowedAmount1: bigint;
|
|
23887
23887
|
}[]>;
|
|
23888
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
23888
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
23889
23889
|
readonly type: "function";
|
|
23890
23890
|
readonly name: "batchGetRefTick";
|
|
23891
23891
|
readonly inputs: readonly [{
|
|
@@ -24576,7 +24576,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24576
24576
|
expiresAt: number;
|
|
24577
24577
|
liquidities: readonly bigint[];
|
|
24578
24578
|
}[], bigint, boolean]>;
|
|
24579
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24579
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
24580
24580
|
readonly type: "function";
|
|
24581
24581
|
readonly name: "batchGetRefTick";
|
|
24582
24582
|
readonly inputs: readonly [{
|
|
@@ -25250,7 +25250,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25250
25250
|
}];
|
|
25251
25251
|
readonly stateMutability: "view";
|
|
25252
25252
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25253
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25253
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
25254
25254
|
readonly type: "function";
|
|
25255
25255
|
readonly name: "batchGetRefTick";
|
|
25256
25256
|
readonly inputs: readonly [{
|
|
@@ -25937,7 +25937,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25937
25937
|
payoutAssetName: string;
|
|
25938
25938
|
optionsCount: bigint;
|
|
25939
25939
|
}>;
|
|
25940
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25940
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
25941
25941
|
readonly type: "function";
|
|
25942
25942
|
readonly name: "batchGetRefTick";
|
|
25943
25943
|
readonly inputs: readonly [{
|
|
@@ -26611,7 +26611,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26611
26611
|
}];
|
|
26612
26612
|
readonly stateMutability: "view";
|
|
26613
26613
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26614
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26614
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
26615
26615
|
readonly type: "function";
|
|
26616
26616
|
readonly name: "batchGetRefTick";
|
|
26617
26617
|
readonly inputs: readonly [{
|
|
@@ -27285,7 +27285,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27285
27285
|
}];
|
|
27286
27286
|
readonly stateMutability: "view";
|
|
27287
27287
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27288
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27288
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
27289
27289
|
readonly type: "function";
|
|
27290
27290
|
readonly name: "batchGetRefTick";
|
|
27291
27291
|
readonly inputs: readonly [{
|
|
@@ -27976,7 +27976,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27976
27976
|
expiresAt: number;
|
|
27977
27977
|
liquidities: readonly bigint[];
|
|
27978
27978
|
}>;
|
|
27979
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27979
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
27980
27980
|
readonly type: "function";
|
|
27981
27981
|
readonly name: "batchGetRefTick";
|
|
27982
27982
|
readonly inputs: readonly [{
|
|
@@ -28667,7 +28667,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28667
28667
|
expiresAt: number;
|
|
28668
28668
|
liquidities: readonly bigint[];
|
|
28669
28669
|
}[]>;
|
|
28670
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28670
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
28671
28671
|
readonly type: "function";
|
|
28672
28672
|
readonly name: "batchGetRefTick";
|
|
28673
28673
|
readonly inputs: readonly [{
|
|
@@ -29352,7 +29352,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29352
29352
|
tickSpacing: number;
|
|
29353
29353
|
fee: number;
|
|
29354
29354
|
}>;
|
|
29355
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29355
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
29356
29356
|
readonly type: "function";
|
|
29357
29357
|
readonly name: "batchGetRefTick";
|
|
29358
29358
|
readonly inputs: readonly [{
|
|
@@ -30026,7 +30026,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30026
30026
|
}];
|
|
30027
30027
|
readonly stateMutability: "view";
|
|
30028
30028
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
30029
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
30029
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
30030
30030
|
readonly type: "function";
|
|
30031
30031
|
readonly name: "batchGetRefTick";
|
|
30032
30032
|
readonly inputs: readonly [{
|
|
@@ -30717,7 +30717,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30717
30717
|
expiresAt: number;
|
|
30718
30718
|
liquidities: readonly bigint[];
|
|
30719
30719
|
}[], bigint, boolean]>;
|
|
30720
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30720
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
30721
30721
|
readonly type: "function";
|
|
30722
30722
|
readonly name: "batchGetRefTick";
|
|
30723
30723
|
readonly inputs: readonly [{
|
|
@@ -32325,7 +32325,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32325
32325
|
isRefetching: boolean;
|
|
32326
32326
|
isStale: boolean;
|
|
32327
32327
|
isEnabled: boolean;
|
|
32328
|
-
refetch: (options?:
|
|
32328
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32329
32329
|
optionId: bigint;
|
|
32330
32330
|
marketAddr: Address;
|
|
32331
32331
|
ownerAddr: Address;
|
|
@@ -32356,7 +32356,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32356
32356
|
address: string;
|
|
32357
32357
|
} | null;
|
|
32358
32358
|
}[], Error>>;
|
|
32359
|
-
fetchStatus:
|
|
32359
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32360
32360
|
promise: Promise<{
|
|
32361
32361
|
optionId: bigint;
|
|
32362
32362
|
marketAddr: Address;
|
|
@@ -32442,7 +32442,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32442
32442
|
isRefetching: boolean;
|
|
32443
32443
|
isStale: boolean;
|
|
32444
32444
|
isEnabled: boolean;
|
|
32445
|
-
refetch: (options?:
|
|
32445
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32446
32446
|
optionId: bigint;
|
|
32447
32447
|
marketAddr: Address;
|
|
32448
32448
|
ownerAddr: Address;
|
|
@@ -32473,7 +32473,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32473
32473
|
address: string;
|
|
32474
32474
|
} | null;
|
|
32475
32475
|
}[], Error>>;
|
|
32476
|
-
fetchStatus:
|
|
32476
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32477
32477
|
promise: Promise<{
|
|
32478
32478
|
optionId: bigint;
|
|
32479
32479
|
marketAddr: Address;
|
|
@@ -32559,7 +32559,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32559
32559
|
isRefetching: boolean;
|
|
32560
32560
|
isStale: boolean;
|
|
32561
32561
|
isEnabled: boolean;
|
|
32562
|
-
refetch: (options?:
|
|
32562
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32563
32563
|
optionId: bigint;
|
|
32564
32564
|
marketAddr: Address;
|
|
32565
32565
|
ownerAddr: Address;
|
|
@@ -32590,7 +32590,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32590
32590
|
address: string;
|
|
32591
32591
|
} | null;
|
|
32592
32592
|
}[], Error>>;
|
|
32593
|
-
fetchStatus:
|
|
32593
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32594
32594
|
promise: Promise<{
|
|
32595
32595
|
optionId: bigint;
|
|
32596
32596
|
marketAddr: Address;
|
|
@@ -32676,7 +32676,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32676
32676
|
isRefetching: boolean;
|
|
32677
32677
|
isStale: boolean;
|
|
32678
32678
|
isEnabled: boolean;
|
|
32679
|
-
refetch: (options?:
|
|
32679
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32680
32680
|
optionId: bigint;
|
|
32681
32681
|
marketAddr: Address;
|
|
32682
32682
|
ownerAddr: Address;
|
|
@@ -32707,7 +32707,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32707
32707
|
address: string;
|
|
32708
32708
|
} | null;
|
|
32709
32709
|
}[], Error>>;
|
|
32710
|
-
fetchStatus:
|
|
32710
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32711
32711
|
promise: Promise<{
|
|
32712
32712
|
optionId: bigint;
|
|
32713
32713
|
marketAddr: Address;
|
|
@@ -32793,7 +32793,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32793
32793
|
isRefetching: boolean;
|
|
32794
32794
|
isStale: boolean;
|
|
32795
32795
|
isEnabled: boolean;
|
|
32796
|
-
refetch: (options?:
|
|
32796
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32797
32797
|
optionId: bigint;
|
|
32798
32798
|
marketAddr: Address;
|
|
32799
32799
|
ownerAddr: Address;
|
|
@@ -32824,7 +32824,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32824
32824
|
address: string;
|
|
32825
32825
|
} | null;
|
|
32826
32826
|
}[], Error>>;
|
|
32827
|
-
fetchStatus:
|
|
32827
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32828
32828
|
promise: Promise<{
|
|
32829
32829
|
optionId: bigint;
|
|
32830
32830
|
marketAddr: Address;
|
|
@@ -32910,7 +32910,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32910
32910
|
isRefetching: boolean;
|
|
32911
32911
|
isStale: boolean;
|
|
32912
32912
|
isEnabled: boolean;
|
|
32913
|
-
refetch: (options?:
|
|
32913
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32914
32914
|
optionId: bigint;
|
|
32915
32915
|
marketAddr: Address;
|
|
32916
32916
|
ownerAddr: Address;
|
|
@@ -32941,7 +32941,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32941
32941
|
address: string;
|
|
32942
32942
|
} | null;
|
|
32943
32943
|
}[], Error>>;
|
|
32944
|
-
fetchStatus:
|
|
32944
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32945
32945
|
promise: Promise<{
|
|
32946
32946
|
optionId: bigint;
|
|
32947
32947
|
marketAddr: Address;
|
|
@@ -33028,7 +33028,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33028
33028
|
isRefetching: boolean;
|
|
33029
33029
|
isStale: boolean;
|
|
33030
33030
|
isEnabled: boolean;
|
|
33031
|
-
refetch: (options?:
|
|
33031
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33032
33032
|
optionId: bigint;
|
|
33033
33033
|
marketAddr: Address;
|
|
33034
33034
|
ownerAddr: Address;
|
|
@@ -33059,7 +33059,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33059
33059
|
address: string;
|
|
33060
33060
|
} | null;
|
|
33061
33061
|
}[], Error>>;
|
|
33062
|
-
fetchStatus:
|
|
33062
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33063
33063
|
promise: Promise<{
|
|
33064
33064
|
optionId: bigint;
|
|
33065
33065
|
marketAddr: Address;
|
|
@@ -33145,7 +33145,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33145
33145
|
isRefetching: boolean;
|
|
33146
33146
|
isStale: boolean;
|
|
33147
33147
|
isEnabled: boolean;
|
|
33148
|
-
refetch: (options?:
|
|
33148
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33149
33149
|
optionId: bigint;
|
|
33150
33150
|
marketAddr: Address;
|
|
33151
33151
|
ownerAddr: Address;
|
|
@@ -33176,7 +33176,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33176
33176
|
address: string;
|
|
33177
33177
|
} | null;
|
|
33178
33178
|
}[], Error>>;
|
|
33179
|
-
fetchStatus:
|
|
33179
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33180
33180
|
promise: Promise<{
|
|
33181
33181
|
optionId: bigint;
|
|
33182
33182
|
marketAddr: Address;
|
|
@@ -33262,7 +33262,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33262
33262
|
isRefetching: boolean;
|
|
33263
33263
|
isStale: boolean;
|
|
33264
33264
|
isEnabled: boolean;
|
|
33265
|
-
refetch: (options?:
|
|
33265
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33266
33266
|
optionId: bigint;
|
|
33267
33267
|
marketAddr: Address;
|
|
33268
33268
|
ownerAddr: Address;
|
|
@@ -33293,7 +33293,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33293
33293
|
address: string;
|
|
33294
33294
|
} | null;
|
|
33295
33295
|
}[], Error>>;
|
|
33296
|
-
fetchStatus:
|
|
33296
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33297
33297
|
promise: Promise<{
|
|
33298
33298
|
optionId: bigint;
|
|
33299
33299
|
marketAddr: Address;
|
|
@@ -33379,7 +33379,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33379
33379
|
isRefetching: boolean;
|
|
33380
33380
|
isStale: boolean;
|
|
33381
33381
|
isEnabled: boolean;
|
|
33382
|
-
refetch: (options?:
|
|
33382
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33383
33383
|
optionId: bigint;
|
|
33384
33384
|
marketAddr: Address;
|
|
33385
33385
|
ownerAddr: Address;
|
|
@@ -33410,7 +33410,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33410
33410
|
address: string;
|
|
33411
33411
|
} | null;
|
|
33412
33412
|
}[], Error>>;
|
|
33413
|
-
fetchStatus:
|
|
33413
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33414
33414
|
promise: Promise<{
|
|
33415
33415
|
optionId: bigint;
|
|
33416
33416
|
marketAddr: Address;
|
|
@@ -33496,7 +33496,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33496
33496
|
isRefetching: boolean;
|
|
33497
33497
|
isStale: boolean;
|
|
33498
33498
|
isEnabled: boolean;
|
|
33499
|
-
refetch: (options?:
|
|
33499
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33500
33500
|
optionId: bigint;
|
|
33501
33501
|
marketAddr: Address;
|
|
33502
33502
|
ownerAddr: Address;
|
|
@@ -33527,7 +33527,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33527
33527
|
address: string;
|
|
33528
33528
|
} | null;
|
|
33529
33529
|
}[], Error>>;
|
|
33530
|
-
fetchStatus:
|
|
33530
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33531
33531
|
promise: Promise<{
|
|
33532
33532
|
optionId: bigint;
|
|
33533
33533
|
marketAddr: Address;
|
|
@@ -33613,7 +33613,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33613
33613
|
isRefetching: boolean;
|
|
33614
33614
|
isStale: boolean;
|
|
33615
33615
|
isEnabled: boolean;
|
|
33616
|
-
refetch: (options?:
|
|
33616
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33617
33617
|
optionId: bigint;
|
|
33618
33618
|
marketAddr: Address;
|
|
33619
33619
|
ownerAddr: Address;
|
|
@@ -33644,7 +33644,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33644
33644
|
address: string;
|
|
33645
33645
|
} | null;
|
|
33646
33646
|
}[], Error>>;
|
|
33647
|
-
fetchStatus:
|
|
33647
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33648
33648
|
promise: Promise<{
|
|
33649
33649
|
optionId: bigint;
|
|
33650
33650
|
marketAddr: Address;
|
|
@@ -33731,7 +33731,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33731
33731
|
isRefetching: boolean;
|
|
33732
33732
|
isStale: boolean;
|
|
33733
33733
|
isEnabled: boolean;
|
|
33734
|
-
refetch: (options?:
|
|
33734
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33735
33735
|
optionId: bigint;
|
|
33736
33736
|
marketAddr: Address;
|
|
33737
33737
|
ownerAddr: Address;
|
|
@@ -33762,7 +33762,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33762
33762
|
address: string;
|
|
33763
33763
|
} | null;
|
|
33764
33764
|
}[], Error>>;
|
|
33765
|
-
fetchStatus:
|
|
33765
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33766
33766
|
promise: Promise<{
|
|
33767
33767
|
optionId: bigint;
|
|
33768
33768
|
marketAddr: Address;
|
|
@@ -33848,7 +33848,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33848
33848
|
isRefetching: boolean;
|
|
33849
33849
|
isStale: boolean;
|
|
33850
33850
|
isEnabled: boolean;
|
|
33851
|
-
refetch: (options?:
|
|
33851
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33852
33852
|
optionId: bigint;
|
|
33853
33853
|
marketAddr: Address;
|
|
33854
33854
|
ownerAddr: Address;
|
|
@@ -33879,7 +33879,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33879
33879
|
address: string;
|
|
33880
33880
|
} | null;
|
|
33881
33881
|
}[], Error>>;
|
|
33882
|
-
fetchStatus:
|
|
33882
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33883
33883
|
promise: Promise<{
|
|
33884
33884
|
optionId: bigint;
|
|
33885
33885
|
marketAddr: Address;
|
|
@@ -33965,7 +33965,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33965
33965
|
isRefetching: boolean;
|
|
33966
33966
|
isStale: boolean;
|
|
33967
33967
|
isEnabled: boolean;
|
|
33968
|
-
refetch: (options?:
|
|
33968
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33969
33969
|
optionId: bigint;
|
|
33970
33970
|
marketAddr: Address;
|
|
33971
33971
|
ownerAddr: Address;
|
|
@@ -33996,7 +33996,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33996
33996
|
address: string;
|
|
33997
33997
|
} | null;
|
|
33998
33998
|
}[], Error>>;
|
|
33999
|
-
fetchStatus:
|
|
33999
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34000
34000
|
promise: Promise<{
|
|
34001
34001
|
optionId: bigint;
|
|
34002
34002
|
marketAddr: Address;
|
|
@@ -34082,7 +34082,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34082
34082
|
isRefetching: boolean;
|
|
34083
34083
|
isStale: boolean;
|
|
34084
34084
|
isEnabled: boolean;
|
|
34085
|
-
refetch: (options?:
|
|
34085
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34086
34086
|
optionId: bigint;
|
|
34087
34087
|
marketAddr: Address;
|
|
34088
34088
|
ownerAddr: Address;
|
|
@@ -34113,7 +34113,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34113
34113
|
address: string;
|
|
34114
34114
|
} | null;
|
|
34115
34115
|
}[], Error>>;
|
|
34116
|
-
fetchStatus:
|
|
34116
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34117
34117
|
promise: Promise<{
|
|
34118
34118
|
optionId: bigint;
|
|
34119
34119
|
marketAddr: Address;
|
|
@@ -34199,7 +34199,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34199
34199
|
isRefetching: boolean;
|
|
34200
34200
|
isStale: boolean;
|
|
34201
34201
|
isEnabled: boolean;
|
|
34202
|
-
refetch: (options?:
|
|
34202
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34203
34203
|
optionId: bigint;
|
|
34204
34204
|
marketAddr: Address;
|
|
34205
34205
|
ownerAddr: Address;
|
|
@@ -34230,7 +34230,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34230
34230
|
address: string;
|
|
34231
34231
|
} | null;
|
|
34232
34232
|
}[], Error>>;
|
|
34233
|
-
fetchStatus:
|
|
34233
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34234
34234
|
promise: Promise<{
|
|
34235
34235
|
optionId: bigint;
|
|
34236
34236
|
marketAddr: Address;
|
|
@@ -34316,7 +34316,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34316
34316
|
isRefetching: boolean;
|
|
34317
34317
|
isStale: boolean;
|
|
34318
34318
|
isEnabled: boolean;
|
|
34319
|
-
refetch: (options?:
|
|
34319
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34320
34320
|
optionId: bigint;
|
|
34321
34321
|
marketAddr: Address;
|
|
34322
34322
|
ownerAddr: Address;
|
|
@@ -34347,7 +34347,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34347
34347
|
address: string;
|
|
34348
34348
|
} | null;
|
|
34349
34349
|
}[], Error>>;
|
|
34350
|
-
fetchStatus:
|
|
34350
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34351
34351
|
promise: Promise<{
|
|
34352
34352
|
optionId: bigint;
|
|
34353
34353
|
marketAddr: Address;
|
|
@@ -34537,7 +34537,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34537
34537
|
isRefetching: boolean;
|
|
34538
34538
|
isStale: boolean;
|
|
34539
34539
|
isEnabled: boolean;
|
|
34540
|
-
refetch: (options?:
|
|
34540
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34541
34541
|
spendingApproval: bigint;
|
|
34542
34542
|
operatorAddr: string;
|
|
34543
34543
|
__typename: "UserMarketOperator";
|
|
@@ -34551,7 +34551,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34551
34551
|
address: string;
|
|
34552
34552
|
} | null;
|
|
34553
34553
|
}[] | undefined, Error>>;
|
|
34554
|
-
fetchStatus:
|
|
34554
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34555
34555
|
promise: Promise<{
|
|
34556
34556
|
spendingApproval: bigint;
|
|
34557
34557
|
operatorAddr: string;
|
|
@@ -34603,7 +34603,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34603
34603
|
isRefetching: boolean;
|
|
34604
34604
|
isStale: boolean;
|
|
34605
34605
|
isEnabled: boolean;
|
|
34606
|
-
refetch: (options?:
|
|
34606
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34607
34607
|
spendingApproval: bigint;
|
|
34608
34608
|
operatorAddr: string;
|
|
34609
34609
|
__typename: "UserMarketOperator";
|
|
@@ -34617,7 +34617,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34617
34617
|
address: string;
|
|
34618
34618
|
} | null;
|
|
34619
34619
|
}[] | undefined, Error>>;
|
|
34620
|
-
fetchStatus:
|
|
34620
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34621
34621
|
promise: Promise<{
|
|
34622
34622
|
spendingApproval: bigint;
|
|
34623
34623
|
operatorAddr: string;
|
|
@@ -34669,7 +34669,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34669
34669
|
isRefetching: boolean;
|
|
34670
34670
|
isStale: boolean;
|
|
34671
34671
|
isEnabled: boolean;
|
|
34672
|
-
refetch: (options?:
|
|
34672
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34673
34673
|
spendingApproval: bigint;
|
|
34674
34674
|
operatorAddr: string;
|
|
34675
34675
|
__typename: "UserMarketOperator";
|
|
@@ -34683,7 +34683,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34683
34683
|
address: string;
|
|
34684
34684
|
} | null;
|
|
34685
34685
|
}[] | undefined, Error>>;
|
|
34686
|
-
fetchStatus:
|
|
34686
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34687
34687
|
promise: Promise<{
|
|
34688
34688
|
spendingApproval: bigint;
|
|
34689
34689
|
operatorAddr: string;
|
|
@@ -34735,7 +34735,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34735
34735
|
isRefetching: boolean;
|
|
34736
34736
|
isStale: boolean;
|
|
34737
34737
|
isEnabled: boolean;
|
|
34738
|
-
refetch: (options?:
|
|
34738
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34739
34739
|
spendingApproval: bigint;
|
|
34740
34740
|
operatorAddr: string;
|
|
34741
34741
|
__typename: "UserMarketOperator";
|
|
@@ -34749,7 +34749,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34749
34749
|
address: string;
|
|
34750
34750
|
} | null;
|
|
34751
34751
|
}[] | undefined, Error>>;
|
|
34752
|
-
fetchStatus:
|
|
34752
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34753
34753
|
promise: Promise<{
|
|
34754
34754
|
spendingApproval: bigint;
|
|
34755
34755
|
operatorAddr: string;
|
|
@@ -34801,7 +34801,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34801
34801
|
isRefetching: boolean;
|
|
34802
34802
|
isStale: boolean;
|
|
34803
34803
|
isEnabled: boolean;
|
|
34804
|
-
refetch: (options?:
|
|
34804
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34805
34805
|
spendingApproval: bigint;
|
|
34806
34806
|
operatorAddr: string;
|
|
34807
34807
|
__typename: "UserMarketOperator";
|
|
@@ -34815,7 +34815,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34815
34815
|
address: string;
|
|
34816
34816
|
} | null;
|
|
34817
34817
|
}[] | undefined, Error>>;
|
|
34818
|
-
fetchStatus:
|
|
34818
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34819
34819
|
promise: Promise<{
|
|
34820
34820
|
spendingApproval: bigint;
|
|
34821
34821
|
operatorAddr: string;
|
|
@@ -34867,7 +34867,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34867
34867
|
isRefetching: boolean;
|
|
34868
34868
|
isStale: boolean;
|
|
34869
34869
|
isEnabled: boolean;
|
|
34870
|
-
refetch: (options?:
|
|
34870
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34871
34871
|
spendingApproval: bigint;
|
|
34872
34872
|
operatorAddr: string;
|
|
34873
34873
|
__typename: "UserMarketOperator";
|
|
@@ -34881,7 +34881,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34881
34881
|
address: string;
|
|
34882
34882
|
} | null;
|
|
34883
34883
|
}[] | undefined, Error>>;
|
|
34884
|
-
fetchStatus:
|
|
34884
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34885
34885
|
promise: Promise<{
|
|
34886
34886
|
spendingApproval: bigint;
|
|
34887
34887
|
operatorAddr: string;
|
|
@@ -34933,7 +34933,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34933
34933
|
isRefetching: boolean;
|
|
34934
34934
|
isStale: boolean;
|
|
34935
34935
|
isEnabled: boolean;
|
|
34936
|
-
refetch: (options?:
|
|
34936
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34937
34937
|
type: "mint";
|
|
34938
34938
|
data: {
|
|
34939
34939
|
id: string;
|
|
@@ -34972,7 +34972,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34972
34972
|
transactionHash: string;
|
|
34973
34973
|
};
|
|
34974
34974
|
})[], Error>>;
|
|
34975
|
-
fetchStatus:
|
|
34975
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34976
34976
|
promise: Promise<({
|
|
34977
34977
|
type: "mint";
|
|
34978
34978
|
data: {
|
|
@@ -35074,7 +35074,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35074
35074
|
isRefetching: boolean;
|
|
35075
35075
|
isStale: boolean;
|
|
35076
35076
|
isEnabled: boolean;
|
|
35077
|
-
refetch: (options?:
|
|
35077
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
35078
35078
|
type: "mint";
|
|
35079
35079
|
data: {
|
|
35080
35080
|
id: string;
|
|
@@ -35113,7 +35113,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35113
35113
|
transactionHash: string;
|
|
35114
35114
|
};
|
|
35115
35115
|
})[], Error>>;
|
|
35116
|
-
fetchStatus:
|
|
35116
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35117
35117
|
promise: Promise<({
|
|
35118
35118
|
type: "mint";
|
|
35119
35119
|
data: {
|
|
@@ -35215,7 +35215,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35215
35215
|
isRefetching: boolean;
|
|
35216
35216
|
isStale: boolean;
|
|
35217
35217
|
isEnabled: boolean;
|
|
35218
|
-
refetch: (options?:
|
|
35218
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
35219
35219
|
type: "mint";
|
|
35220
35220
|
data: {
|
|
35221
35221
|
id: string;
|
|
@@ -35254,7 +35254,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35254
35254
|
transactionHash: string;
|
|
35255
35255
|
};
|
|
35256
35256
|
})[], Error>>;
|
|
35257
|
-
fetchStatus:
|
|
35257
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35258
35258
|
promise: Promise<({
|
|
35259
35259
|
type: "mint";
|
|
35260
35260
|
data: {
|
|
@@ -35356,7 +35356,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35356
35356
|
isRefetching: boolean;
|
|
35357
35357
|
isStale: boolean;
|
|
35358
35358
|
isEnabled: boolean;
|
|
35359
|
-
refetch: (options?:
|
|
35359
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
35360
35360
|
type: "mint";
|
|
35361
35361
|
data: {
|
|
35362
35362
|
id: string;
|
|
@@ -35395,7 +35395,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35395
35395
|
transactionHash: string;
|
|
35396
35396
|
};
|
|
35397
35397
|
})[], Error>>;
|
|
35398
|
-
fetchStatus:
|
|
35398
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35399
35399
|
promise: Promise<({
|
|
35400
35400
|
type: "mint";
|
|
35401
35401
|
data: {
|
|
@@ -35497,7 +35497,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35497
35497
|
isRefetching: boolean;
|
|
35498
35498
|
isStale: boolean;
|
|
35499
35499
|
isEnabled: boolean;
|
|
35500
|
-
refetch: (options?:
|
|
35500
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
35501
35501
|
type: "mint";
|
|
35502
35502
|
data: {
|
|
35503
35503
|
id: string;
|
|
@@ -35536,7 +35536,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35536
35536
|
transactionHash: string;
|
|
35537
35537
|
};
|
|
35538
35538
|
})[], Error>>;
|
|
35539
|
-
fetchStatus:
|
|
35539
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35540
35540
|
promise: Promise<({
|
|
35541
35541
|
type: "mint";
|
|
35542
35542
|
data: {
|
|
@@ -35638,7 +35638,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35638
35638
|
isRefetching: boolean;
|
|
35639
35639
|
isStale: boolean;
|
|
35640
35640
|
isEnabled: boolean;
|
|
35641
|
-
refetch: (options?:
|
|
35641
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
35642
35642
|
type: "mint";
|
|
35643
35643
|
data: {
|
|
35644
35644
|
id: string;
|
|
@@ -35677,7 +35677,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35677
35677
|
transactionHash: string;
|
|
35678
35678
|
};
|
|
35679
35679
|
})[], Error>>;
|
|
35680
|
-
fetchStatus:
|
|
35680
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35681
35681
|
promise: Promise<({
|
|
35682
35682
|
type: "mint";
|
|
35683
35683
|
data: {
|
|
@@ -35758,6 +35758,21 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35758
35758
|
})[];
|
|
35759
35759
|
};
|
|
35760
35760
|
//#endregion
|
|
35761
|
+
//#region src/lib/price.d.ts
|
|
35762
|
+
interface PriceData {
|
|
35763
|
+
currentPrice: number;
|
|
35764
|
+
percentChange: number;
|
|
35765
|
+
poolAddress: string;
|
|
35766
|
+
timestamp: number;
|
|
35767
|
+
}
|
|
35768
|
+
interface PriceDataPoint {
|
|
35769
|
+
timestamp: Date;
|
|
35770
|
+
price: number;
|
|
35771
|
+
}
|
|
35772
|
+
type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
|
|
35773
|
+
declare const getPriceHistory: (poolAddress: string, resolution: PriceResolution, start: Date, end: Date) => Promise<PriceDataPoint[]>;
|
|
35774
|
+
declare const getCurrentPrice: (poolAddress: string) => Promise<PriceData>;
|
|
35775
|
+
//#endregion
|
|
35761
35776
|
//#region src/lib/liquidityUtils.d.ts
|
|
35762
35777
|
declare const PRICE_PRECISION: bigint;
|
|
35763
35778
|
declare const getPriceAtTick: (tick: number) => bigint;
|
|
@@ -35809,13 +35824,6 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
35809
35824
|
//#region src/hooks/pool/usePriceAtTick.d.ts
|
|
35810
35825
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
35811
35826
|
//#endregion
|
|
35812
|
-
//#region src/lib/price.d.ts
|
|
35813
|
-
interface PriceDataPoint {
|
|
35814
|
-
timestamp: Date;
|
|
35815
|
-
price: number;
|
|
35816
|
-
}
|
|
35817
|
-
type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
|
|
35818
|
-
//#endregion
|
|
35819
35827
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
35820
35828
|
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
35821
35829
|
//#endregion
|
|
@@ -35832,14 +35840,14 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35832
35840
|
isPending: boolean;
|
|
35833
35841
|
isConfirming: boolean;
|
|
35834
35842
|
isSuccess: boolean;
|
|
35835
|
-
error:
|
|
35843
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
35836
35844
|
isLoading: boolean;
|
|
35837
35845
|
};
|
|
35838
35846
|
//#endregion
|
|
35839
35847
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
35840
35848
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
35841
35849
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
35842
|
-
error:
|
|
35850
|
+
error: viem131.ReadContractErrorType;
|
|
35843
35851
|
isError: true;
|
|
35844
35852
|
isPending: false;
|
|
35845
35853
|
isLoading: false;
|
|
@@ -35851,7 +35859,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35851
35859
|
dataUpdatedAt: number;
|
|
35852
35860
|
errorUpdatedAt: number;
|
|
35853
35861
|
failureCount: number;
|
|
35854
|
-
failureReason:
|
|
35862
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35855
35863
|
errorUpdateCount: number;
|
|
35856
35864
|
isFetched: boolean;
|
|
35857
35865
|
isFetchedAfterMount: boolean;
|
|
@@ -35861,7 +35869,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35861
35869
|
isRefetching: boolean;
|
|
35862
35870
|
isStale: boolean;
|
|
35863
35871
|
isEnabled: boolean;
|
|
35864
|
-
refetch: (options?:
|
|
35872
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
35865
35873
|
tickLower: number;
|
|
35866
35874
|
tickUpper: number;
|
|
35867
35875
|
prevTickLower: number;
|
|
@@ -35871,8 +35879,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35871
35879
|
totalAmount1: bigint;
|
|
35872
35880
|
borrowedAmount0: bigint;
|
|
35873
35881
|
borrowedAmount1: bigint;
|
|
35874
|
-
}[],
|
|
35875
|
-
fetchStatus:
|
|
35882
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35883
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35876
35884
|
promise: Promise<readonly {
|
|
35877
35885
|
tickLower: number;
|
|
35878
35886
|
tickUpper: number;
|
|
@@ -35884,7 +35892,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35884
35892
|
borrowedAmount0: bigint;
|
|
35885
35893
|
borrowedAmount1: bigint;
|
|
35886
35894
|
}[]>;
|
|
35887
|
-
queryKey:
|
|
35895
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35888
35896
|
data: readonly {
|
|
35889
35897
|
tickLower: number;
|
|
35890
35898
|
tickUpper: number;
|
|
@@ -35909,7 +35917,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35909
35917
|
dataUpdatedAt: number;
|
|
35910
35918
|
errorUpdatedAt: number;
|
|
35911
35919
|
failureCount: number;
|
|
35912
|
-
failureReason:
|
|
35920
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35913
35921
|
errorUpdateCount: number;
|
|
35914
35922
|
isFetched: boolean;
|
|
35915
35923
|
isFetchedAfterMount: boolean;
|
|
@@ -35919,7 +35927,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35919
35927
|
isRefetching: boolean;
|
|
35920
35928
|
isStale: boolean;
|
|
35921
35929
|
isEnabled: boolean;
|
|
35922
|
-
refetch: (options?:
|
|
35930
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
35923
35931
|
tickLower: number;
|
|
35924
35932
|
tickUpper: number;
|
|
35925
35933
|
prevTickLower: number;
|
|
@@ -35929,8 +35937,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35929
35937
|
totalAmount1: bigint;
|
|
35930
35938
|
borrowedAmount0: bigint;
|
|
35931
35939
|
borrowedAmount1: bigint;
|
|
35932
|
-
}[],
|
|
35933
|
-
fetchStatus:
|
|
35940
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35941
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35934
35942
|
promise: Promise<readonly {
|
|
35935
35943
|
tickLower: number;
|
|
35936
35944
|
tickUpper: number;
|
|
@@ -35942,7 +35950,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35942
35950
|
borrowedAmount0: bigint;
|
|
35943
35951
|
borrowedAmount1: bigint;
|
|
35944
35952
|
}[]>;
|
|
35945
|
-
queryKey:
|
|
35953
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35946
35954
|
data: readonly {
|
|
35947
35955
|
tickLower: number;
|
|
35948
35956
|
tickUpper: number;
|
|
@@ -35955,7 +35963,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35955
35963
|
borrowedAmount1: bigint;
|
|
35956
35964
|
}[];
|
|
35957
35965
|
} | {
|
|
35958
|
-
error:
|
|
35966
|
+
error: viem131.ReadContractErrorType;
|
|
35959
35967
|
isError: true;
|
|
35960
35968
|
isPending: false;
|
|
35961
35969
|
isLoading: false;
|
|
@@ -35967,7 +35975,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35967
35975
|
dataUpdatedAt: number;
|
|
35968
35976
|
errorUpdatedAt: number;
|
|
35969
35977
|
failureCount: number;
|
|
35970
|
-
failureReason:
|
|
35978
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35971
35979
|
errorUpdateCount: number;
|
|
35972
35980
|
isFetched: boolean;
|
|
35973
35981
|
isFetchedAfterMount: boolean;
|
|
@@ -35977,7 +35985,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35977
35985
|
isRefetching: boolean;
|
|
35978
35986
|
isStale: boolean;
|
|
35979
35987
|
isEnabled: boolean;
|
|
35980
|
-
refetch: (options?:
|
|
35988
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
35981
35989
|
tickLower: number;
|
|
35982
35990
|
tickUpper: number;
|
|
35983
35991
|
prevTickLower: number;
|
|
@@ -35987,8 +35995,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35987
35995
|
totalAmount1: bigint;
|
|
35988
35996
|
borrowedAmount0: bigint;
|
|
35989
35997
|
borrowedAmount1: bigint;
|
|
35990
|
-
}[],
|
|
35991
|
-
fetchStatus:
|
|
35998
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35999
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35992
36000
|
promise: Promise<readonly {
|
|
35993
36001
|
tickLower: number;
|
|
35994
36002
|
tickUpper: number;
|
|
@@ -36000,7 +36008,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36000
36008
|
borrowedAmount0: bigint;
|
|
36001
36009
|
borrowedAmount1: bigint;
|
|
36002
36010
|
}[]>;
|
|
36003
|
-
queryKey:
|
|
36011
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36004
36012
|
data: readonly {
|
|
36005
36013
|
tickLower: number;
|
|
36006
36014
|
tickUpper: number;
|
|
@@ -36025,7 +36033,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36025
36033
|
dataUpdatedAt: number;
|
|
36026
36034
|
errorUpdatedAt: number;
|
|
36027
36035
|
failureCount: number;
|
|
36028
|
-
failureReason:
|
|
36036
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
36029
36037
|
errorUpdateCount: number;
|
|
36030
36038
|
isFetched: boolean;
|
|
36031
36039
|
isFetchedAfterMount: boolean;
|
|
@@ -36035,7 +36043,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36035
36043
|
isRefetching: boolean;
|
|
36036
36044
|
isStale: boolean;
|
|
36037
36045
|
isEnabled: boolean;
|
|
36038
|
-
refetch: (options?:
|
|
36046
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36039
36047
|
tickLower: number;
|
|
36040
36048
|
tickUpper: number;
|
|
36041
36049
|
prevTickLower: number;
|
|
@@ -36045,8 +36053,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36045
36053
|
totalAmount1: bigint;
|
|
36046
36054
|
borrowedAmount0: bigint;
|
|
36047
36055
|
borrowedAmount1: bigint;
|
|
36048
|
-
}[],
|
|
36049
|
-
fetchStatus:
|
|
36056
|
+
}[], viem131.ReadContractErrorType>>;
|
|
36057
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36050
36058
|
promise: Promise<readonly {
|
|
36051
36059
|
tickLower: number;
|
|
36052
36060
|
tickUpper: number;
|
|
@@ -36058,7 +36066,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36058
36066
|
borrowedAmount0: bigint;
|
|
36059
36067
|
borrowedAmount1: bigint;
|
|
36060
36068
|
}[]>;
|
|
36061
|
-
queryKey:
|
|
36069
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36062
36070
|
data: readonly {
|
|
36063
36071
|
tickLower: number;
|
|
36064
36072
|
tickUpper: number;
|
|
@@ -36082,7 +36090,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36082
36090
|
dataUpdatedAt: number;
|
|
36083
36091
|
errorUpdatedAt: number;
|
|
36084
36092
|
failureCount: number;
|
|
36085
|
-
failureReason:
|
|
36093
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
36086
36094
|
errorUpdateCount: number;
|
|
36087
36095
|
isFetched: boolean;
|
|
36088
36096
|
isFetchedAfterMount: boolean;
|
|
@@ -36093,7 +36101,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36093
36101
|
isRefetching: boolean;
|
|
36094
36102
|
isStale: boolean;
|
|
36095
36103
|
isEnabled: boolean;
|
|
36096
|
-
refetch: (options?:
|
|
36104
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36097
36105
|
tickLower: number;
|
|
36098
36106
|
tickUpper: number;
|
|
36099
36107
|
prevTickLower: number;
|
|
@@ -36103,8 +36111,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36103
36111
|
totalAmount1: bigint;
|
|
36104
36112
|
borrowedAmount0: bigint;
|
|
36105
36113
|
borrowedAmount1: bigint;
|
|
36106
|
-
}[],
|
|
36107
|
-
fetchStatus:
|
|
36114
|
+
}[], viem131.ReadContractErrorType>>;
|
|
36115
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36108
36116
|
promise: Promise<readonly {
|
|
36109
36117
|
tickLower: number;
|
|
36110
36118
|
tickUpper: number;
|
|
@@ -36116,7 +36124,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36116
36124
|
borrowedAmount0: bigint;
|
|
36117
36125
|
borrowedAmount1: bigint;
|
|
36118
36126
|
}[]>;
|
|
36119
|
-
queryKey:
|
|
36127
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36120
36128
|
data: readonly {
|
|
36121
36129
|
tickLower: number;
|
|
36122
36130
|
tickUpper: number;
|
|
@@ -36141,7 +36149,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36141
36149
|
dataUpdatedAt: number;
|
|
36142
36150
|
errorUpdatedAt: number;
|
|
36143
36151
|
failureCount: number;
|
|
36144
|
-
failureReason:
|
|
36152
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
36145
36153
|
errorUpdateCount: number;
|
|
36146
36154
|
isFetched: boolean;
|
|
36147
36155
|
isFetchedAfterMount: boolean;
|
|
@@ -36151,7 +36159,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36151
36159
|
isRefetching: boolean;
|
|
36152
36160
|
isStale: boolean;
|
|
36153
36161
|
isEnabled: boolean;
|
|
36154
|
-
refetch: (options?:
|
|
36162
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36155
36163
|
tickLower: number;
|
|
36156
36164
|
tickUpper: number;
|
|
36157
36165
|
prevTickLower: number;
|
|
@@ -36161,8 +36169,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36161
36169
|
totalAmount1: bigint;
|
|
36162
36170
|
borrowedAmount0: bigint;
|
|
36163
36171
|
borrowedAmount1: bigint;
|
|
36164
|
-
}[],
|
|
36165
|
-
fetchStatus:
|
|
36172
|
+
}[], viem131.ReadContractErrorType>>;
|
|
36173
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36166
36174
|
promise: Promise<readonly {
|
|
36167
36175
|
tickLower: number;
|
|
36168
36176
|
tickUpper: number;
|
|
@@ -36174,7 +36182,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36174
36182
|
borrowedAmount0: bigint;
|
|
36175
36183
|
borrowedAmount1: bigint;
|
|
36176
36184
|
}[]>;
|
|
36177
|
-
queryKey:
|
|
36185
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36178
36186
|
data: readonly {
|
|
36179
36187
|
tickLower: number;
|
|
36180
36188
|
tickUpper: number;
|
|
@@ -36207,7 +36215,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
36207
36215
|
isPending: boolean;
|
|
36208
36216
|
isConfirming: boolean;
|
|
36209
36217
|
isSuccess: boolean;
|
|
36210
|
-
error:
|
|
36218
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
36211
36219
|
isLoading: boolean;
|
|
36212
36220
|
};
|
|
36213
36221
|
//#endregion
|
|
@@ -36234,14 +36242,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36234
36242
|
borrowedAmount0: Amount;
|
|
36235
36243
|
borrowedAmount1: Amount;
|
|
36236
36244
|
blocksCount: bigint;
|
|
36237
|
-
refetch: (options?:
|
|
36245
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem131.ReadContractErrorType>>;
|
|
36238
36246
|
};
|
|
36239
36247
|
//#endregion
|
|
36240
36248
|
//#region src/hooks/useLens.d.ts
|
|
36241
36249
|
declare const useLens: () => {
|
|
36242
36250
|
timelockLens: {
|
|
36243
36251
|
read: {
|
|
36244
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36252
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
36245
36253
|
readonly type: "function";
|
|
36246
36254
|
readonly name: "batchGetRefTick";
|
|
36247
36255
|
readonly inputs: readonly [{
|
|
@@ -36915,7 +36923,7 @@ declare const useLens: () => {
|
|
|
36915
36923
|
}];
|
|
36916
36924
|
readonly stateMutability: "view";
|
|
36917
36925
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
36918
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
36926
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
36919
36927
|
readonly type: "function";
|
|
36920
36928
|
readonly name: "batchGetRefTick";
|
|
36921
36929
|
readonly inputs: readonly [{
|
|
@@ -37599,7 +37607,7 @@ declare const useLens: () => {
|
|
|
37599
37607
|
borrowedAmount0: bigint;
|
|
37600
37608
|
borrowedAmount1: bigint;
|
|
37601
37609
|
}[]>;
|
|
37602
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
37610
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
37603
37611
|
readonly type: "function";
|
|
37604
37612
|
readonly name: "batchGetRefTick";
|
|
37605
37613
|
readonly inputs: readonly [{
|
|
@@ -38290,7 +38298,7 @@ declare const useLens: () => {
|
|
|
38290
38298
|
expiresAt: number;
|
|
38291
38299
|
liquidities: readonly bigint[];
|
|
38292
38300
|
}[], bigint, boolean]>;
|
|
38293
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38301
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
38294
38302
|
readonly type: "function";
|
|
38295
38303
|
readonly name: "batchGetRefTick";
|
|
38296
38304
|
readonly inputs: readonly [{
|
|
@@ -38964,7 +38972,7 @@ declare const useLens: () => {
|
|
|
38964
38972
|
}];
|
|
38965
38973
|
readonly stateMutability: "view";
|
|
38966
38974
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
38967
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
38975
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
38968
38976
|
readonly type: "function";
|
|
38969
38977
|
readonly name: "batchGetRefTick";
|
|
38970
38978
|
readonly inputs: readonly [{
|
|
@@ -39651,7 +39659,7 @@ declare const useLens: () => {
|
|
|
39651
39659
|
payoutAssetName: string;
|
|
39652
39660
|
optionsCount: bigint;
|
|
39653
39661
|
}>;
|
|
39654
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39662
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
39655
39663
|
readonly type: "function";
|
|
39656
39664
|
readonly name: "batchGetRefTick";
|
|
39657
39665
|
readonly inputs: readonly [{
|
|
@@ -40325,7 +40333,7 @@ declare const useLens: () => {
|
|
|
40325
40333
|
}];
|
|
40326
40334
|
readonly stateMutability: "view";
|
|
40327
40335
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40328
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40336
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
40329
40337
|
readonly type: "function";
|
|
40330
40338
|
readonly name: "batchGetRefTick";
|
|
40331
40339
|
readonly inputs: readonly [{
|
|
@@ -40999,7 +41007,7 @@ declare const useLens: () => {
|
|
|
40999
41007
|
}];
|
|
41000
41008
|
readonly stateMutability: "view";
|
|
41001
41009
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41002
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41010
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
41003
41011
|
readonly type: "function";
|
|
41004
41012
|
readonly name: "batchGetRefTick";
|
|
41005
41013
|
readonly inputs: readonly [{
|
|
@@ -41690,7 +41698,7 @@ declare const useLens: () => {
|
|
|
41690
41698
|
expiresAt: number;
|
|
41691
41699
|
liquidities: readonly bigint[];
|
|
41692
41700
|
}>;
|
|
41693
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41701
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
41694
41702
|
readonly type: "function";
|
|
41695
41703
|
readonly name: "batchGetRefTick";
|
|
41696
41704
|
readonly inputs: readonly [{
|
|
@@ -42381,7 +42389,7 @@ declare const useLens: () => {
|
|
|
42381
42389
|
expiresAt: number;
|
|
42382
42390
|
liquidities: readonly bigint[];
|
|
42383
42391
|
}[]>;
|
|
42384
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42392
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
42385
42393
|
readonly type: "function";
|
|
42386
42394
|
readonly name: "batchGetRefTick";
|
|
42387
42395
|
readonly inputs: readonly [{
|
|
@@ -43066,7 +43074,7 @@ declare const useLens: () => {
|
|
|
43066
43074
|
tickSpacing: number;
|
|
43067
43075
|
fee: number;
|
|
43068
43076
|
}>;
|
|
43069
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43077
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
43070
43078
|
readonly type: "function";
|
|
43071
43079
|
readonly name: "batchGetRefTick";
|
|
43072
43080
|
readonly inputs: readonly [{
|
|
@@ -43740,7 +43748,7 @@ declare const useLens: () => {
|
|
|
43740
43748
|
}];
|
|
43741
43749
|
readonly stateMutability: "view";
|
|
43742
43750
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43743
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
43751
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
43744
43752
|
readonly type: "function";
|
|
43745
43753
|
readonly name: "batchGetRefTick";
|
|
43746
43754
|
readonly inputs: readonly [{
|
|
@@ -44431,7 +44439,7 @@ declare const useLens: () => {
|
|
|
44431
44439
|
expiresAt: number;
|
|
44432
44440
|
liquidities: readonly bigint[];
|
|
44433
44441
|
}[], bigint, boolean]>;
|
|
44434
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44442
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
44435
44443
|
readonly type: "function";
|
|
44436
44444
|
readonly name: "batchGetRefTick";
|
|
44437
44445
|
readonly inputs: readonly [{
|
|
@@ -45784,7 +45792,7 @@ declare const useLens: () => {
|
|
|
45784
45792
|
} | undefined;
|
|
45785
45793
|
uniswapLens: {
|
|
45786
45794
|
read: {
|
|
45787
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45795
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
45788
45796
|
readonly type: "function";
|
|
45789
45797
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45790
45798
|
readonly inputs: readonly [{
|
|
@@ -46405,7 +46413,7 @@ declare const useLens: () => {
|
|
|
46405
46413
|
}];
|
|
46406
46414
|
readonly stateMutability: "pure";
|
|
46407
46415
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46408
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46416
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
46409
46417
|
readonly type: "function";
|
|
46410
46418
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46411
46419
|
readonly inputs: readonly [{
|
|
@@ -47026,7 +47034,7 @@ declare const useLens: () => {
|
|
|
47026
47034
|
}];
|
|
47027
47035
|
readonly stateMutability: "pure";
|
|
47028
47036
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47029
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47037
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
47030
47038
|
readonly type: "function";
|
|
47031
47039
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47032
47040
|
readonly inputs: readonly [{
|
|
@@ -47647,7 +47655,7 @@ declare const useLens: () => {
|
|
|
47647
47655
|
}];
|
|
47648
47656
|
readonly stateMutability: "pure";
|
|
47649
47657
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47650
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47658
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
47651
47659
|
readonly type: "function";
|
|
47652
47660
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47653
47661
|
readonly inputs: readonly [{
|
|
@@ -48268,7 +48276,7 @@ declare const useLens: () => {
|
|
|
48268
48276
|
}];
|
|
48269
48277
|
readonly stateMutability: "pure";
|
|
48270
48278
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48271
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48279
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
48272
48280
|
readonly type: "function";
|
|
48273
48281
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48274
48282
|
readonly inputs: readonly [{
|
|
@@ -48889,7 +48897,7 @@ declare const useLens: () => {
|
|
|
48889
48897
|
}];
|
|
48890
48898
|
readonly stateMutability: "pure";
|
|
48891
48899
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48892
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48900
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
48893
48901
|
readonly type: "function";
|
|
48894
48902
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48895
48903
|
readonly inputs: readonly [{
|
|
@@ -49510,7 +49518,7 @@ declare const useLens: () => {
|
|
|
49510
49518
|
}];
|
|
49511
49519
|
readonly stateMutability: "pure";
|
|
49512
49520
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49513
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49521
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
49514
49522
|
readonly type: "function";
|
|
49515
49523
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49516
49524
|
readonly inputs: readonly [{
|
|
@@ -50131,7 +50139,7 @@ declare const useLens: () => {
|
|
|
50131
50139
|
}];
|
|
50132
50140
|
readonly stateMutability: "pure";
|
|
50133
50141
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50134
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50142
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
50135
50143
|
readonly type: "function";
|
|
50136
50144
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50137
50145
|
readonly inputs: readonly [{
|
|
@@ -50752,7 +50760,7 @@ declare const useLens: () => {
|
|
|
50752
50760
|
}];
|
|
50753
50761
|
readonly stateMutability: "pure";
|
|
50754
50762
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50755
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50763
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
50756
50764
|
readonly type: "function";
|
|
50757
50765
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50758
50766
|
readonly inputs: readonly [{
|
|
@@ -51373,7 +51381,7 @@ declare const useLens: () => {
|
|
|
51373
51381
|
}];
|
|
51374
51382
|
readonly stateMutability: "pure";
|
|
51375
51383
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51376
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51384
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
51377
51385
|
readonly type: "function";
|
|
51378
51386
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51379
51387
|
readonly inputs: readonly [{
|
|
@@ -51994,7 +52002,7 @@ declare const useLens: () => {
|
|
|
51994
52002
|
}];
|
|
51995
52003
|
readonly stateMutability: "pure";
|
|
51996
52004
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51997
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52005
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
51998
52006
|
readonly type: "function";
|
|
51999
52007
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52000
52008
|
readonly inputs: readonly [{
|
|
@@ -52615,7 +52623,7 @@ declare const useLens: () => {
|
|
|
52615
52623
|
}];
|
|
52616
52624
|
readonly stateMutability: "pure";
|
|
52617
52625
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52618
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52626
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
52619
52627
|
readonly type: "function";
|
|
52620
52628
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52621
52629
|
readonly inputs: readonly [{
|
|
@@ -53236,7 +53244,7 @@ declare const useLens: () => {
|
|
|
53236
53244
|
}];
|
|
53237
53245
|
readonly stateMutability: "pure";
|
|
53238
53246
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53239
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53247
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
53240
53248
|
readonly type: "function";
|
|
53241
53249
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53242
53250
|
readonly inputs: readonly [{
|
|
@@ -53857,7 +53865,7 @@ declare const useLens: () => {
|
|
|
53857
53865
|
}];
|
|
53858
53866
|
readonly stateMutability: "pure";
|
|
53859
53867
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53860
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
53868
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
53861
53869
|
readonly type: "function";
|
|
53862
53870
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53863
53871
|
readonly inputs: readonly [{
|
|
@@ -54478,7 +54486,7 @@ declare const useLens: () => {
|
|
|
54478
54486
|
}];
|
|
54479
54487
|
readonly stateMutability: "pure";
|
|
54480
54488
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54481
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54489
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
54482
54490
|
readonly type: "function";
|
|
54483
54491
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54484
54492
|
readonly inputs: readonly [{
|
|
@@ -55099,7 +55107,7 @@ declare const useLens: () => {
|
|
|
55099
55107
|
}];
|
|
55100
55108
|
readonly stateMutability: "pure";
|
|
55101
55109
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55102
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55110
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
55103
55111
|
readonly type: "function";
|
|
55104
55112
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55105
55113
|
readonly inputs: readonly [{
|
|
@@ -55720,7 +55728,7 @@ declare const useLens: () => {
|
|
|
55720
55728
|
}];
|
|
55721
55729
|
readonly stateMutability: "pure";
|
|
55722
55730
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55723
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55731
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
55724
55732
|
readonly type: "function";
|
|
55725
55733
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55726
55734
|
readonly inputs: readonly [{
|
|
@@ -56341,7 +56349,7 @@ declare const useLens: () => {
|
|
|
56341
56349
|
}];
|
|
56342
56350
|
readonly stateMutability: "pure";
|
|
56343
56351
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56344
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56352
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
56345
56353
|
readonly type: "function";
|
|
56346
56354
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56347
56355
|
readonly inputs: readonly [{
|
|
@@ -56962,7 +56970,7 @@ declare const useLens: () => {
|
|
|
56962
56970
|
}];
|
|
56963
56971
|
readonly stateMutability: "pure";
|
|
56964
56972
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56965
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
56973
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
56966
56974
|
readonly type: "function";
|
|
56967
56975
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56968
56976
|
readonly inputs: readonly [{
|
|
@@ -57583,7 +57591,7 @@ declare const useLens: () => {
|
|
|
57583
57591
|
}];
|
|
57584
57592
|
readonly stateMutability: "pure";
|
|
57585
57593
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57586
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57594
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
57587
57595
|
readonly type: "function";
|
|
57588
57596
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57589
57597
|
readonly inputs: readonly [{
|
|
@@ -58204,7 +58212,7 @@ declare const useLens: () => {
|
|
|
58204
58212
|
}];
|
|
58205
58213
|
readonly stateMutability: "pure";
|
|
58206
58214
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58207
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58215
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
58208
58216
|
readonly type: "function";
|
|
58209
58217
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58210
58218
|
readonly inputs: readonly [{
|
|
@@ -58825,7 +58833,7 @@ declare const useLens: () => {
|
|
|
58825
58833
|
}];
|
|
58826
58834
|
readonly stateMutability: "pure";
|
|
58827
58835
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58828
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58836
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
58829
58837
|
readonly type: "function";
|
|
58830
58838
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58831
58839
|
readonly inputs: readonly [{
|
|
@@ -59446,7 +59454,7 @@ declare const useLens: () => {
|
|
|
59446
59454
|
}];
|
|
59447
59455
|
readonly stateMutability: "pure";
|
|
59448
59456
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59449
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59457
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
59450
59458
|
readonly type: "function";
|
|
59451
59459
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59452
59460
|
readonly inputs: readonly [{
|
|
@@ -60067,7 +60075,7 @@ declare const useLens: () => {
|
|
|
60067
60075
|
}];
|
|
60068
60076
|
readonly stateMutability: "pure";
|
|
60069
60077
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60070
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60078
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
60071
60079
|
readonly type: "function";
|
|
60072
60080
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60073
60081
|
readonly inputs: readonly [{
|
|
@@ -60688,7 +60696,7 @@ declare const useLens: () => {
|
|
|
60688
60696
|
}];
|
|
60689
60697
|
readonly stateMutability: "pure";
|
|
60690
60698
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60691
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60699
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
60692
60700
|
readonly type: "function";
|
|
60693
60701
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60694
60702
|
readonly inputs: readonly [{
|
|
@@ -61309,7 +61317,7 @@ declare const useLens: () => {
|
|
|
61309
61317
|
}];
|
|
61310
61318
|
readonly stateMutability: "pure";
|
|
61311
61319
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61312
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61320
|
+
getPriceAtTick: (args: readonly [number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
61313
61321
|
readonly type: "function";
|
|
61314
61322
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61315
61323
|
readonly inputs: readonly [{
|
|
@@ -62561,9 +62569,9 @@ declare const useApproval: () => {
|
|
|
62561
62569
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
62562
62570
|
hash: `0x${string}` | undefined;
|
|
62563
62571
|
isPending: boolean;
|
|
62564
|
-
error:
|
|
62572
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
62565
62573
|
reset: () => void;
|
|
62566
62574
|
};
|
|
62567
62575
|
//#endregion
|
|
62568
|
-
export {
|
|
62569
|
-
//# sourceMappingURL=client-
|
|
62576
|
+
export { wrapAmount as $, PriceDataPoint as A, useOptionPnl as B, liquiditiesToAmount1 as C, token0ToToken1 as D, roundTickUp as E, useOptionTimeline as F, formatAmount as G, useMaxPositionSize as H, useSetOperatorPerms as I, formatVagueAmount as J, formatCondensed as K, useUserOperators as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, OptionTimelineData as P, unscalePrice as Q, useExtendOption as R, liquiditiesToAmount0 as S, roundTickDown as T, Amount as U, useMintOption as V, EMPTY_ARRAY as W, scalePrice as X, scaleAmount as Y, unscaleAmount as Z, PRICE_PRECISION as _, getTimelockLens as _t, batchGetAmountsFromLiquidity as a, useExerciseOption as at, getPriceAtTick as b, timelockLenses as bt, useLiquidityBlocks as c, useClosedUserOptions as ct, usePriceAtTick as d, useTimelockConfig as dt, wrapAmountUnscaled as et, UniswapPoolData as f, TimelockLens as ft, getPayoutAtTick as g, getErc20 as gt, useCurrentPrice as h, UniswapMathLens as ht, useVaultData as i, useMarketData as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, TimelockMarketProvider as lt, useCurrentTick as m, TimelockMarketData as mt, useLens as n, wrapPriceUnscaled as nt, useMintLiquidity as o, OptionData as ot, usePoolData as p, TimelockMarket as pt, formatUSD as q, useVaultTVL as r, zero as rt, LiquidityBlockData as s, useActiveUserOptions as st, useApproval as t, wrapPrice as tt, usePriceHistory as u, useCurrentMarket as ut, getAmountsFromLiquidity as v, getTimelockMarket as vt, liquiditiesToAmounts as w, getTickAtPrice as x, uniswapMathLenses as xt, getNearestValidStrikeTick as y, getUniswapMathLens as yt, useOptionPremium as z };
|
|
62577
|
+
//# sourceMappingURL=client-D_t-2-g5.d.cts.map
|