timelock-sdk 0.0.3 → 0.0.4
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/package.cjs +5 -5
- package/dist/package.cjs.map +1 -1
- package/dist/package.d.cts +97 -98
- package/dist/package.d.ts +243 -244
- package/dist/package.js +7 -7
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
package/dist/package.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ReactNode } from "react";
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
3
2
|
import { GraphQLClient } from "graphql-request";
|
|
4
|
-
import * as
|
|
3
|
+
import * as viem117 from "viem";
|
|
5
4
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
6
5
|
import Big from "big.js";
|
|
7
6
|
import "graphql";
|
|
8
7
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
9
|
-
import * as
|
|
8
|
+
import * as _tanstack_query_core1 from "@tanstack/query-core";
|
|
10
9
|
|
|
11
10
|
//#region src/generated/graphql.d.ts
|
|
12
11
|
type Exact<T extends {
|
|
@@ -61,7 +60,7 @@ type GetActiveUserOptionsQuery = {
|
|
|
61
60
|
UserOption: Array<{
|
|
62
61
|
__typename: 'UserOption';
|
|
63
62
|
id: string;
|
|
64
|
-
|
|
63
|
+
ownerAddr: string;
|
|
65
64
|
optionType: any;
|
|
66
65
|
strikeTick: number;
|
|
67
66
|
entryTick: number;
|
|
@@ -91,7 +90,7 @@ type GetClosedUserOptionsQuery = {
|
|
|
91
90
|
UserOption: Array<{
|
|
92
91
|
__typename: 'UserOption';
|
|
93
92
|
id: string;
|
|
94
|
-
|
|
93
|
+
ownerAddr: string;
|
|
95
94
|
optionType: any;
|
|
96
95
|
strikeTick: number;
|
|
97
96
|
entryTick: number;
|
|
@@ -3617,7 +3616,7 @@ type TimelockLens = GetContractReturnType<typeof lensAbi, Client, Address>;
|
|
|
3617
3616
|
type UniswapMathLens = GetContractReturnType<typeof uniswapMathLensAbi, Client, Address>;
|
|
3618
3617
|
declare const getErc20: (address: Address, client: Client) => {
|
|
3619
3618
|
read: {
|
|
3620
|
-
symbol: (options?:
|
|
3619
|
+
symbol: (options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
3621
3620
|
readonly type: "constructor";
|
|
3622
3621
|
readonly inputs: readonly [{
|
|
3623
3622
|
readonly name: "name_";
|
|
@@ -3836,7 +3835,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3836
3835
|
}];
|
|
3837
3836
|
readonly anonymous: false;
|
|
3838
3837
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
3839
|
-
name: (options?:
|
|
3838
|
+
name: (options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
3840
3839
|
readonly type: "constructor";
|
|
3841
3840
|
readonly inputs: readonly [{
|
|
3842
3841
|
readonly name: "name_";
|
|
@@ -4055,7 +4054,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4055
4054
|
}];
|
|
4056
4055
|
readonly anonymous: false;
|
|
4057
4056
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
4058
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
4057
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
4059
4058
|
readonly type: "constructor";
|
|
4060
4059
|
readonly inputs: readonly [{
|
|
4061
4060
|
readonly name: "name_";
|
|
@@ -4274,7 +4273,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4274
4273
|
}];
|
|
4275
4274
|
readonly anonymous: false;
|
|
4276
4275
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4277
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
4276
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
4278
4277
|
readonly type: "constructor";
|
|
4279
4278
|
readonly inputs: readonly [{
|
|
4280
4279
|
readonly name: "name_";
|
|
@@ -4493,7 +4492,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4493
4492
|
}];
|
|
4494
4493
|
readonly anonymous: false;
|
|
4495
4494
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4496
|
-
decimals: (options?:
|
|
4495
|
+
decimals: (options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
4497
4496
|
readonly type: "constructor";
|
|
4498
4497
|
readonly inputs: readonly [{
|
|
4499
4498
|
readonly name: "name_";
|
|
@@ -4712,7 +4711,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4712
4711
|
}];
|
|
4713
4712
|
readonly anonymous: false;
|
|
4714
4713
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
4715
|
-
totalSupply: (options?:
|
|
4714
|
+
totalSupply: (options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
4716
4715
|
readonly type: "constructor";
|
|
4717
4716
|
readonly inputs: readonly [{
|
|
4718
4717
|
readonly name: "name_";
|
|
@@ -4933,7 +4932,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4933
4932
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4934
4933
|
};
|
|
4935
4934
|
estimateGas: {
|
|
4936
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
4935
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
4937
4936
|
readonly type: "constructor";
|
|
4938
4937
|
readonly inputs: readonly [{
|
|
4939
4938
|
readonly name: "name_";
|
|
@@ -5151,8 +5150,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5151
5150
|
readonly internalType: "uint256";
|
|
5152
5151
|
}];
|
|
5153
5152
|
readonly anonymous: false;
|
|
5154
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5155
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
5153
|
+
}], "approve", readonly [`0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
5154
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
5156
5155
|
readonly type: "constructor";
|
|
5157
5156
|
readonly inputs: readonly [{
|
|
5158
5157
|
readonly name: "name_";
|
|
@@ -5370,8 +5369,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5370
5369
|
readonly internalType: "uint256";
|
|
5371
5370
|
}];
|
|
5372
5371
|
readonly anonymous: false;
|
|
5373
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5374
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
5372
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
5373
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
5375
5374
|
readonly type: "constructor";
|
|
5376
5375
|
readonly inputs: readonly [{
|
|
5377
5376
|
readonly name: "name_";
|
|
@@ -5589,8 +5588,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5589
5588
|
readonly internalType: "uint256";
|
|
5590
5589
|
}];
|
|
5591
5590
|
readonly anonymous: false;
|
|
5592
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5593
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
5591
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
5592
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
5594
5593
|
readonly type: "constructor";
|
|
5595
5594
|
readonly inputs: readonly [{
|
|
5596
5595
|
readonly name: "name_";
|
|
@@ -5808,8 +5807,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5808
5807
|
readonly internalType: "uint256";
|
|
5809
5808
|
}];
|
|
5810
5809
|
readonly anonymous: false;
|
|
5811
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5812
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
5810
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
5811
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
5813
5812
|
readonly type: "constructor";
|
|
5814
5813
|
readonly inputs: readonly [{
|
|
5815
5814
|
readonly name: "name_";
|
|
@@ -6027,9 +6026,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6027
6026
|
readonly internalType: "uint256";
|
|
6028
6027
|
}];
|
|
6029
6028
|
readonly anonymous: false;
|
|
6030
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
6029
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
6031
6030
|
} & {
|
|
6032
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
6031
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
6033
6032
|
readonly type: "constructor";
|
|
6034
6033
|
readonly inputs: readonly [{
|
|
6035
6034
|
readonly name: "name_";
|
|
@@ -6247,8 +6246,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6247
6246
|
readonly internalType: "uint256";
|
|
6248
6247
|
}];
|
|
6249
6248
|
readonly anonymous: false;
|
|
6250
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
6251
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
6249
|
+
}], "approve", readonly [`0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
6250
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
6252
6251
|
readonly type: "constructor";
|
|
6253
6252
|
readonly inputs: readonly [{
|
|
6254
6253
|
readonly name: "name_";
|
|
@@ -6466,8 +6465,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6466
6465
|
readonly internalType: "uint256";
|
|
6467
6466
|
}];
|
|
6468
6467
|
readonly anonymous: false;
|
|
6469
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
6470
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
6468
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
6469
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
6471
6470
|
readonly type: "constructor";
|
|
6472
6471
|
readonly inputs: readonly [{
|
|
6473
6472
|
readonly name: "name_";
|
|
@@ -6685,8 +6684,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6685
6684
|
readonly internalType: "uint256";
|
|
6686
6685
|
}];
|
|
6687
6686
|
readonly anonymous: false;
|
|
6688
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
6689
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
6687
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
6688
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
6690
6689
|
readonly type: "constructor";
|
|
6691
6690
|
readonly inputs: readonly [{
|
|
6692
6691
|
readonly name: "name_";
|
|
@@ -6904,8 +6903,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6904
6903
|
readonly internalType: "uint256";
|
|
6905
6904
|
}];
|
|
6906
6905
|
readonly anonymous: false;
|
|
6907
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
6908
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
6906
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
6907
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem117.Prettify<viem117.UnionOmit<viem117.EstimateContractGasParameters<readonly [{
|
|
6909
6908
|
readonly type: "constructor";
|
|
6910
6909
|
readonly inputs: readonly [{
|
|
6911
6910
|
readonly name: "name_";
|
|
@@ -7123,10 +7122,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7123
7122
|
readonly internalType: "uint256";
|
|
7124
7123
|
}];
|
|
7125
7124
|
readonly anonymous: false;
|
|
7126
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
7125
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem117.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem117.EstimateContractGasReturnType>;
|
|
7127
7126
|
};
|
|
7128
7127
|
simulate: {
|
|
7129
|
-
approve: <chainOverride extends
|
|
7128
|
+
approve: <chainOverride extends viem117.Chain | undefined = undefined, accountOverride extends viem117.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem117.SimulateContractParameters<readonly [{
|
|
7130
7129
|
readonly type: "constructor";
|
|
7131
7130
|
readonly inputs: readonly [{
|
|
7132
7131
|
readonly name: "name_";
|
|
@@ -7344,7 +7343,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7344
7343
|
readonly internalType: "uint256";
|
|
7345
7344
|
}];
|
|
7346
7345
|
readonly anonymous: false;
|
|
7347
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
7346
|
+
}], "approve", readonly [`0x${string}`, bigint], viem117.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem117.SimulateContractReturnType<readonly [{
|
|
7348
7347
|
readonly type: "constructor";
|
|
7349
7348
|
readonly inputs: readonly [{
|
|
7350
7349
|
readonly name: "name_";
|
|
@@ -7562,8 +7561,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7562
7561
|
readonly internalType: "uint256";
|
|
7563
7562
|
}];
|
|
7564
7563
|
readonly anonymous: false;
|
|
7565
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
7566
|
-
decreaseAllowance: <chainOverride extends
|
|
7564
|
+
}], "approve", readonly [`0x${string}`, bigint], viem117.Chain | undefined, viem117.Account | undefined, chainOverride, accountOverride>>;
|
|
7565
|
+
decreaseAllowance: <chainOverride extends viem117.Chain | undefined = undefined, accountOverride extends viem117.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem117.SimulateContractParameters<readonly [{
|
|
7567
7566
|
readonly type: "constructor";
|
|
7568
7567
|
readonly inputs: readonly [{
|
|
7569
7568
|
readonly name: "name_";
|
|
@@ -7781,7 +7780,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7781
7780
|
readonly internalType: "uint256";
|
|
7782
7781
|
}];
|
|
7783
7782
|
readonly anonymous: false;
|
|
7784
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
7783
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem117.SimulateContractReturnType<readonly [{
|
|
7785
7784
|
readonly type: "constructor";
|
|
7786
7785
|
readonly inputs: readonly [{
|
|
7787
7786
|
readonly name: "name_";
|
|
@@ -7999,8 +7998,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7999
7998
|
readonly internalType: "uint256";
|
|
8000
7999
|
}];
|
|
8001
8000
|
readonly anonymous: false;
|
|
8002
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
8003
|
-
increaseAllowance: <chainOverride extends
|
|
8001
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined, viem117.Account | undefined, chainOverride, accountOverride>>;
|
|
8002
|
+
increaseAllowance: <chainOverride extends viem117.Chain | undefined = undefined, accountOverride extends viem117.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem117.SimulateContractParameters<readonly [{
|
|
8004
8003
|
readonly type: "constructor";
|
|
8005
8004
|
readonly inputs: readonly [{
|
|
8006
8005
|
readonly name: "name_";
|
|
@@ -8218,7 +8217,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8218
8217
|
readonly internalType: "uint256";
|
|
8219
8218
|
}];
|
|
8220
8219
|
readonly anonymous: false;
|
|
8221
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
8220
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem117.SimulateContractReturnType<readonly [{
|
|
8222
8221
|
readonly type: "constructor";
|
|
8223
8222
|
readonly inputs: readonly [{
|
|
8224
8223
|
readonly name: "name_";
|
|
@@ -8436,8 +8435,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8436
8435
|
readonly internalType: "uint256";
|
|
8437
8436
|
}];
|
|
8438
8437
|
readonly anonymous: false;
|
|
8439
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
8440
|
-
transfer: <chainOverride extends
|
|
8438
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined, viem117.Account | undefined, chainOverride, accountOverride>>;
|
|
8439
|
+
transfer: <chainOverride extends viem117.Chain | undefined = undefined, accountOverride extends viem117.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem117.SimulateContractParameters<readonly [{
|
|
8441
8440
|
readonly type: "constructor";
|
|
8442
8441
|
readonly inputs: readonly [{
|
|
8443
8442
|
readonly name: "name_";
|
|
@@ -8655,7 +8654,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8655
8654
|
readonly internalType: "uint256";
|
|
8656
8655
|
}];
|
|
8657
8656
|
readonly anonymous: false;
|
|
8658
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
8657
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem117.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem117.SimulateContractReturnType<readonly [{
|
|
8659
8658
|
readonly type: "constructor";
|
|
8660
8659
|
readonly inputs: readonly [{
|
|
8661
8660
|
readonly name: "name_";
|
|
@@ -8873,8 +8872,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8873
8872
|
readonly internalType: "uint256";
|
|
8874
8873
|
}];
|
|
8875
8874
|
readonly anonymous: false;
|
|
8876
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
8877
|
-
transferFrom: <chainOverride extends
|
|
8875
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem117.Chain | undefined, viem117.Account | undefined, chainOverride, accountOverride>>;
|
|
8876
|
+
transferFrom: <chainOverride extends viem117.Chain | undefined = undefined, accountOverride extends viem117.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem117.SimulateContractParameters<readonly [{
|
|
8878
8877
|
readonly type: "constructor";
|
|
8879
8878
|
readonly inputs: readonly [{
|
|
8880
8879
|
readonly name: "name_";
|
|
@@ -9092,7 +9091,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9092
9091
|
readonly internalType: "uint256";
|
|
9093
9092
|
}];
|
|
9094
9093
|
readonly anonymous: false;
|
|
9095
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
9094
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem117.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem117.SimulateContractReturnType<readonly [{
|
|
9096
9095
|
readonly type: "constructor";
|
|
9097
9096
|
readonly inputs: readonly [{
|
|
9098
9097
|
readonly name: "name_";
|
|
@@ -9310,7 +9309,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9310
9309
|
readonly internalType: "uint256";
|
|
9311
9310
|
}];
|
|
9312
9311
|
readonly anonymous: false;
|
|
9313
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
9312
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem117.Chain | undefined, viem117.Account | undefined, chainOverride, accountOverride>>;
|
|
9314
9313
|
};
|
|
9315
9314
|
createEventFilter: {
|
|
9316
9315
|
Approval: <const args extends {
|
|
@@ -9326,11 +9325,11 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9326
9325
|
owner?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9327
9326
|
spender?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9328
9327
|
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
9329
|
-
fromBlock?: bigint |
|
|
9330
|
-
toBlock?: bigint |
|
|
9328
|
+
fromBlock?: bigint | viem117.BlockTag | undefined;
|
|
9329
|
+
toBlock?: bigint | viem117.BlockTag | undefined;
|
|
9331
9330
|
} & {
|
|
9332
9331
|
strict?: strict | undefined;
|
|
9333
|
-
}) | undefined) => Promise<
|
|
9332
|
+
}) | undefined) => Promise<viem117.CreateContractEventFilterReturnType<readonly [{
|
|
9334
9333
|
readonly type: "constructor";
|
|
9335
9334
|
readonly inputs: readonly [{
|
|
9336
9335
|
readonly name: "name_";
|
|
@@ -9562,11 +9561,11 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9562
9561
|
from?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9563
9562
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9564
9563
|
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
9565
|
-
fromBlock?: bigint |
|
|
9566
|
-
toBlock?: bigint |
|
|
9564
|
+
fromBlock?: bigint | viem117.BlockTag | undefined;
|
|
9565
|
+
toBlock?: bigint | viem117.BlockTag | undefined;
|
|
9567
9566
|
} & {
|
|
9568
9567
|
strict?: strict | undefined;
|
|
9569
|
-
}) | undefined) => Promise<
|
|
9568
|
+
}) | undefined) => Promise<viem117.CreateContractEventFilterReturnType<readonly [{
|
|
9570
9569
|
readonly type: "constructor";
|
|
9571
9570
|
readonly inputs: readonly [{
|
|
9572
9571
|
readonly name: "name_";
|
|
@@ -9792,10 +9791,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9792
9791
|
spender?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9793
9792
|
} | undefined, options?: {
|
|
9794
9793
|
strict?: boolean | undefined;
|
|
9795
|
-
fromBlock?: bigint |
|
|
9796
|
-
toBlock?: bigint |
|
|
9794
|
+
fromBlock?: bigint | viem117.BlockTag | undefined;
|
|
9795
|
+
toBlock?: bigint | viem117.BlockTag | undefined;
|
|
9797
9796
|
blockHash?: `0x${string}` | undefined;
|
|
9798
|
-
} | undefined) => Promise<
|
|
9797
|
+
} | undefined) => Promise<viem117.GetContractEventsReturnType<readonly [{
|
|
9799
9798
|
readonly type: "constructor";
|
|
9800
9799
|
readonly inputs: readonly [{
|
|
9801
9800
|
readonly name: "name_";
|
|
@@ -10019,10 +10018,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10019
10018
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10020
10019
|
} | undefined, options?: {
|
|
10021
10020
|
strict?: boolean | undefined;
|
|
10022
|
-
fromBlock?: bigint |
|
|
10023
|
-
toBlock?: bigint |
|
|
10021
|
+
fromBlock?: bigint | viem117.BlockTag | undefined;
|
|
10022
|
+
toBlock?: bigint | viem117.BlockTag | undefined;
|
|
10024
10023
|
blockHash?: `0x${string}` | undefined;
|
|
10025
|
-
} | undefined) => Promise<
|
|
10024
|
+
} | undefined) => Promise<viem117.GetContractEventsReturnType<readonly [{
|
|
10026
10025
|
readonly type: "constructor";
|
|
10027
10026
|
readonly inputs: readonly [{
|
|
10028
10027
|
readonly name: "name_";
|
|
@@ -10252,7 +10251,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10252
10251
|
strict?: boolean | undefined;
|
|
10253
10252
|
fromBlock?: bigint | undefined;
|
|
10254
10253
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
10255
|
-
onLogs:
|
|
10254
|
+
onLogs: viem117.WatchContractEventOnLogsFn<readonly [{
|
|
10256
10255
|
readonly type: "constructor";
|
|
10257
10256
|
readonly inputs: readonly [{
|
|
10258
10257
|
readonly name: "name_";
|
|
@@ -10472,7 +10471,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10472
10471
|
readonly anonymous: false;
|
|
10473
10472
|
}], "Approval", undefined>;
|
|
10474
10473
|
poll?: true | undefined | undefined;
|
|
10475
|
-
}) =>
|
|
10474
|
+
}) => viem117.WatchContractEventReturnType;
|
|
10476
10475
|
Transfer: (args: {
|
|
10477
10476
|
from?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10478
10477
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
@@ -10482,7 +10481,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10482
10481
|
strict?: boolean | undefined;
|
|
10483
10482
|
fromBlock?: bigint | undefined;
|
|
10484
10483
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
10485
|
-
onLogs:
|
|
10484
|
+
onLogs: viem117.WatchContractEventOnLogsFn<readonly [{
|
|
10486
10485
|
readonly type: "constructor";
|
|
10487
10486
|
readonly inputs: readonly [{
|
|
10488
10487
|
readonly name: "name_";
|
|
@@ -10702,10 +10701,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10702
10701
|
readonly anonymous: false;
|
|
10703
10702
|
}], "Transfer", undefined>;
|
|
10704
10703
|
poll?: true | undefined | undefined;
|
|
10705
|
-
}) =>
|
|
10704
|
+
}) => viem117.WatchContractEventReturnType;
|
|
10706
10705
|
};
|
|
10707
10706
|
write: {
|
|
10708
|
-
approve: <chainOverride extends
|
|
10707
|
+
approve: <chainOverride extends viem117.Chain | undefined, options extends (viem117.UnionOmit<viem117.WriteContractParameters<readonly [{
|
|
10709
10708
|
readonly type: "constructor";
|
|
10710
10709
|
readonly inputs: readonly [{
|
|
10711
10710
|
readonly name: "name_";
|
|
@@ -10923,8 +10922,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10923
10922
|
readonly internalType: "uint256";
|
|
10924
10923
|
}];
|
|
10925
10924
|
readonly anonymous: false;
|
|
10926
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
10927
|
-
decreaseAllowance: <chainOverride extends
|
|
10925
|
+
}], "approve", readonly [`0x${string}`, bigint], viem117.Chain | undefined, viem117.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<viem117.WriteContractReturnType>;
|
|
10926
|
+
decreaseAllowance: <chainOverride extends viem117.Chain | undefined, options extends (viem117.UnionOmit<viem117.WriteContractParameters<readonly [{
|
|
10928
10927
|
readonly type: "constructor";
|
|
10929
10928
|
readonly inputs: readonly [{
|
|
10930
10929
|
readonly name: "name_";
|
|
@@ -11142,8 +11141,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11142
11141
|
readonly internalType: "uint256";
|
|
11143
11142
|
}];
|
|
11144
11143
|
readonly anonymous: false;
|
|
11145
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
11146
|
-
increaseAllowance: <chainOverride extends
|
|
11144
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined, viem117.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<viem117.WriteContractReturnType>;
|
|
11145
|
+
increaseAllowance: <chainOverride extends viem117.Chain | undefined, options extends (viem117.UnionOmit<viem117.WriteContractParameters<readonly [{
|
|
11147
11146
|
readonly type: "constructor";
|
|
11148
11147
|
readonly inputs: readonly [{
|
|
11149
11148
|
readonly name: "name_";
|
|
@@ -11361,8 +11360,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11361
11360
|
readonly internalType: "uint256";
|
|
11362
11361
|
}];
|
|
11363
11362
|
readonly anonymous: false;
|
|
11364
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
11365
|
-
transfer: <chainOverride extends
|
|
11363
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem117.Chain | undefined, viem117.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<viem117.WriteContractReturnType>;
|
|
11364
|
+
transfer: <chainOverride extends viem117.Chain | undefined, options extends (viem117.UnionOmit<viem117.WriteContractParameters<readonly [{
|
|
11366
11365
|
readonly type: "constructor";
|
|
11367
11366
|
readonly inputs: readonly [{
|
|
11368
11367
|
readonly name: "name_";
|
|
@@ -11580,8 +11579,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11580
11579
|
readonly internalType: "uint256";
|
|
11581
11580
|
}];
|
|
11582
11581
|
readonly anonymous: false;
|
|
11583
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
11584
|
-
transferFrom: <chainOverride extends
|
|
11582
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem117.Chain | undefined, viem117.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<viem117.WriteContractReturnType>;
|
|
11583
|
+
transferFrom: <chainOverride extends viem117.Chain | undefined, options extends (viem117.UnionOmit<viem117.WriteContractParameters<readonly [{
|
|
11585
11584
|
readonly type: "constructor";
|
|
11586
11585
|
readonly inputs: readonly [{
|
|
11587
11586
|
readonly name: "name_";
|
|
@@ -11799,7 +11798,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11799
11798
|
readonly internalType: "uint256";
|
|
11800
11799
|
}];
|
|
11801
11800
|
readonly anonymous: false;
|
|
11802
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
11801
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem117.Chain | undefined, viem117.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<viem117.WriteContractReturnType>;
|
|
11803
11802
|
};
|
|
11804
11803
|
address: `0x${string}`;
|
|
11805
11804
|
abi: readonly [{
|
|
@@ -12027,7 +12026,7 @@ declare const getTimelockMarket: (address: Address, client: Client) => TimelockM
|
|
|
12027
12026
|
declare const getUniswapPool: (address: Address, client: Client) => UniswapPool;
|
|
12028
12027
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
12029
12028
|
read: {
|
|
12030
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12029
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
12031
12030
|
readonly type: "function";
|
|
12032
12031
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12033
12032
|
readonly inputs: readonly [{
|
|
@@ -12648,7 +12647,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12648
12647
|
}];
|
|
12649
12648
|
readonly stateMutability: "pure";
|
|
12650
12649
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12651
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
12650
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
12652
12651
|
readonly type: "function";
|
|
12653
12652
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12654
12653
|
readonly inputs: readonly [{
|
|
@@ -13269,7 +13268,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13269
13268
|
}];
|
|
13270
13269
|
readonly stateMutability: "pure";
|
|
13271
13270
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13272
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13271
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
13273
13272
|
readonly type: "function";
|
|
13274
13273
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13275
13274
|
readonly inputs: readonly [{
|
|
@@ -13890,7 +13889,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13890
13889
|
}];
|
|
13891
13890
|
readonly stateMutability: "pure";
|
|
13892
13891
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13893
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13892
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
13894
13893
|
readonly type: "function";
|
|
13895
13894
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13896
13895
|
readonly inputs: readonly [{
|
|
@@ -14511,7 +14510,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14511
14510
|
}];
|
|
14512
14511
|
readonly stateMutability: "pure";
|
|
14513
14512
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14514
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14513
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
14515
14514
|
readonly type: "function";
|
|
14516
14515
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14517
14516
|
readonly inputs: readonly [{
|
|
@@ -15132,7 +15131,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15132
15131
|
}];
|
|
15133
15132
|
readonly stateMutability: "pure";
|
|
15134
15133
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15135
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15134
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
15136
15135
|
readonly type: "function";
|
|
15137
15136
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15138
15137
|
readonly inputs: readonly [{
|
|
@@ -15753,7 +15752,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15753
15752
|
}];
|
|
15754
15753
|
readonly stateMutability: "pure";
|
|
15755
15754
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15756
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15755
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
15757
15756
|
readonly type: "function";
|
|
15758
15757
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15759
15758
|
readonly inputs: readonly [{
|
|
@@ -16374,7 +16373,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16374
16373
|
}];
|
|
16375
16374
|
readonly stateMutability: "pure";
|
|
16376
16375
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16377
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16376
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
16378
16377
|
readonly type: "function";
|
|
16379
16378
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16380
16379
|
readonly inputs: readonly [{
|
|
@@ -16995,7 +16994,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16995
16994
|
}];
|
|
16996
16995
|
readonly stateMutability: "pure";
|
|
16997
16996
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16998
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16997
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
16999
16998
|
readonly type: "function";
|
|
17000
16999
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17001
17000
|
readonly inputs: readonly [{
|
|
@@ -17616,7 +17615,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17616
17615
|
}];
|
|
17617
17616
|
readonly stateMutability: "pure";
|
|
17618
17617
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17619
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17618
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
17620
17619
|
readonly type: "function";
|
|
17621
17620
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17622
17621
|
readonly inputs: readonly [{
|
|
@@ -18237,7 +18236,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18237
18236
|
}];
|
|
18238
18237
|
readonly stateMutability: "pure";
|
|
18239
18238
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18240
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18239
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
18241
18240
|
readonly type: "function";
|
|
18242
18241
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18243
18242
|
readonly inputs: readonly [{
|
|
@@ -18858,7 +18857,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18858
18857
|
}];
|
|
18859
18858
|
readonly stateMutability: "pure";
|
|
18860
18859
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18861
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
18860
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
18862
18861
|
readonly type: "function";
|
|
18863
18862
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18864
18863
|
readonly inputs: readonly [{
|
|
@@ -19479,7 +19478,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19479
19478
|
}];
|
|
19480
19479
|
readonly stateMutability: "pure";
|
|
19481
19480
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19482
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
19481
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
19483
19482
|
readonly type: "function";
|
|
19484
19483
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19485
19484
|
readonly inputs: readonly [{
|
|
@@ -20100,7 +20099,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20100
20099
|
}];
|
|
20101
20100
|
readonly stateMutability: "pure";
|
|
20102
20101
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20103
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20102
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
20104
20103
|
readonly type: "function";
|
|
20105
20104
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20106
20105
|
readonly inputs: readonly [{
|
|
@@ -20721,7 +20720,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20721
20720
|
}];
|
|
20722
20721
|
readonly stateMutability: "pure";
|
|
20723
20722
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20724
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
20723
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
20725
20724
|
readonly type: "function";
|
|
20726
20725
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20727
20726
|
readonly inputs: readonly [{
|
|
@@ -21342,7 +21341,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21342
21341
|
}];
|
|
21343
21342
|
readonly stateMutability: "pure";
|
|
21344
21343
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21345
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21344
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
21346
21345
|
readonly type: "function";
|
|
21347
21346
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21348
21347
|
readonly inputs: readonly [{
|
|
@@ -21963,7 +21962,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21963
21962
|
}];
|
|
21964
21963
|
readonly stateMutability: "pure";
|
|
21965
21964
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21966
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21965
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
21967
21966
|
readonly type: "function";
|
|
21968
21967
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21969
21968
|
readonly inputs: readonly [{
|
|
@@ -22584,7 +22583,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22584
22583
|
}];
|
|
22585
22584
|
readonly stateMutability: "pure";
|
|
22586
22585
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22587
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
22586
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
22588
22587
|
readonly type: "function";
|
|
22589
22588
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22590
22589
|
readonly inputs: readonly [{
|
|
@@ -23205,7 +23204,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
23205
23204
|
}];
|
|
23206
23205
|
readonly stateMutability: "pure";
|
|
23207
23206
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23208
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23207
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
23209
23208
|
readonly type: "function";
|
|
23210
23209
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23211
23210
|
readonly inputs: readonly [{
|
|
@@ -23826,7 +23825,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
23826
23825
|
}];
|
|
23827
23826
|
readonly stateMutability: "pure";
|
|
23828
23827
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23829
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
23828
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
23830
23829
|
readonly type: "function";
|
|
23831
23830
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23832
23831
|
readonly inputs: readonly [{
|
|
@@ -24447,7 +24446,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
24447
24446
|
}];
|
|
24448
24447
|
readonly stateMutability: "pure";
|
|
24449
24448
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
24450
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
24449
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
24451
24450
|
readonly type: "function";
|
|
24452
24451
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24453
24452
|
readonly inputs: readonly [{
|
|
@@ -25068,7 +25067,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
25068
25067
|
}];
|
|
25069
25068
|
readonly stateMutability: "pure";
|
|
25070
25069
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25071
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25070
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
25072
25071
|
readonly type: "function";
|
|
25073
25072
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25074
25073
|
readonly inputs: readonly [{
|
|
@@ -25689,7 +25688,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
25689
25688
|
}];
|
|
25690
25689
|
readonly stateMutability: "pure";
|
|
25691
25690
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25692
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
25691
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
25693
25692
|
readonly type: "function";
|
|
25694
25693
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25695
25694
|
readonly inputs: readonly [{
|
|
@@ -26310,7 +26309,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
26310
26309
|
}];
|
|
26311
26310
|
readonly stateMutability: "pure";
|
|
26312
26311
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26313
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
26312
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
26314
26313
|
readonly type: "function";
|
|
26315
26314
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26316
26315
|
readonly inputs: readonly [{
|
|
@@ -26931,7 +26930,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
26931
26930
|
}];
|
|
26932
26931
|
readonly stateMutability: "pure";
|
|
26933
26932
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26934
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
26933
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
26935
26934
|
readonly type: "function";
|
|
26936
26935
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26937
26936
|
readonly inputs: readonly [{
|
|
@@ -27552,7 +27551,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
27552
27551
|
}];
|
|
27553
27552
|
readonly stateMutability: "pure";
|
|
27554
27553
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27555
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
27554
|
+
getPriceAtTick: (args: readonly [number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
27556
27555
|
readonly type: "function";
|
|
27557
27556
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27558
27557
|
readonly inputs: readonly [{
|
|
@@ -28799,7 +28798,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
28799
28798
|
};
|
|
28800
28799
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
28801
28800
|
read: {
|
|
28802
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
28801
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
28803
28802
|
readonly type: "function";
|
|
28804
28803
|
readonly name: "batchGetRefTick";
|
|
28805
28804
|
readonly inputs: readonly [{
|
|
@@ -29501,7 +29500,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29501
29500
|
}];
|
|
29502
29501
|
readonly stateMutability: "view";
|
|
29503
29502
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
29504
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
29503
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
29505
29504
|
readonly type: "function";
|
|
29506
29505
|
readonly name: "batchGetRefTick";
|
|
29507
29506
|
readonly inputs: readonly [{
|
|
@@ -30213,7 +30212,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30213
30212
|
borrowedAmount0: bigint;
|
|
30214
30213
|
borrowedAmount1: bigint;
|
|
30215
30214
|
}[]>;
|
|
30216
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
30215
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
30217
30216
|
readonly type: "function";
|
|
30218
30217
|
readonly name: "batchGetRefTick";
|
|
30219
30218
|
readonly inputs: readonly [{
|
|
@@ -30934,7 +30933,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30934
30933
|
createdAt: bigint;
|
|
30935
30934
|
liquidities: readonly bigint[];
|
|
30936
30935
|
}[], bigint, boolean]>;
|
|
30937
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
30936
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
30938
30937
|
readonly type: "function";
|
|
30939
30938
|
readonly name: "batchGetRefTick";
|
|
30940
30939
|
readonly inputs: readonly [{
|
|
@@ -31636,7 +31635,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31636
31635
|
}];
|
|
31637
31636
|
readonly stateMutability: "view";
|
|
31638
31637
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
31639
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
31638
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
31640
31639
|
readonly type: "function";
|
|
31641
31640
|
readonly name: "batchGetRefTick";
|
|
31642
31641
|
readonly inputs: readonly [{
|
|
@@ -32351,7 +32350,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32351
32350
|
payoutAssetName: string;
|
|
32352
32351
|
optionsCount: bigint;
|
|
32353
32352
|
}>;
|
|
32354
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
32353
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
32355
32354
|
readonly type: "function";
|
|
32356
32355
|
readonly name: "batchGetRefTick";
|
|
32357
32356
|
readonly inputs: readonly [{
|
|
@@ -33053,7 +33052,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33053
33052
|
}];
|
|
33054
33053
|
readonly stateMutability: "view";
|
|
33055
33054
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
33056
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
33055
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
33057
33056
|
readonly type: "function";
|
|
33058
33057
|
readonly name: "batchGetRefTick";
|
|
33059
33058
|
readonly inputs: readonly [{
|
|
@@ -33755,7 +33754,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33755
33754
|
}];
|
|
33756
33755
|
readonly stateMutability: "view";
|
|
33757
33756
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
33758
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
33757
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
33759
33758
|
readonly type: "function";
|
|
33760
33759
|
readonly name: "batchGetRefTick";
|
|
33761
33760
|
readonly inputs: readonly [{
|
|
@@ -34476,7 +34475,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34476
34475
|
createdAt: bigint;
|
|
34477
34476
|
liquidities: readonly bigint[];
|
|
34478
34477
|
}>;
|
|
34479
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
34478
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
34480
34479
|
readonly type: "function";
|
|
34481
34480
|
readonly name: "batchGetRefTick";
|
|
34482
34481
|
readonly inputs: readonly [{
|
|
@@ -35197,7 +35196,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35197
35196
|
createdAt: bigint;
|
|
35198
35197
|
liquidities: readonly bigint[];
|
|
35199
35198
|
}[]>;
|
|
35200
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
35199
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
35201
35200
|
readonly type: "function";
|
|
35202
35201
|
readonly name: "batchGetRefTick";
|
|
35203
35202
|
readonly inputs: readonly [{
|
|
@@ -35910,7 +35909,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35910
35909
|
tickSpacing: number;
|
|
35911
35910
|
fee: number;
|
|
35912
35911
|
}>;
|
|
35913
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
35912
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
35914
35913
|
readonly type: "function";
|
|
35915
35914
|
readonly name: "batchGetRefTick";
|
|
35916
35915
|
readonly inputs: readonly [{
|
|
@@ -36612,7 +36611,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36612
36611
|
}];
|
|
36613
36612
|
readonly stateMutability: "view";
|
|
36614
36613
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
36615
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
36614
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
36616
36615
|
readonly type: "function";
|
|
36617
36616
|
readonly name: "batchGetRefTick";
|
|
36618
36617
|
readonly inputs: readonly [{
|
|
@@ -37333,7 +37332,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
37333
37332
|
createdAt: bigint;
|
|
37334
37333
|
liquidities: readonly bigint[];
|
|
37335
37334
|
}[], bigint, boolean]>;
|
|
37336
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
37335
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
37337
37336
|
readonly type: "function";
|
|
37338
37337
|
readonly name: "batchGetRefTick";
|
|
37339
37338
|
readonly inputs: readonly [{
|
|
@@ -38771,7 +38770,7 @@ declare const TimelockMarketProvider: ({
|
|
|
38771
38770
|
children: ReactNode;
|
|
38772
38771
|
marketData?: Partial<TimelockMarketData>;
|
|
38773
38772
|
envioGraphqlUrl?: string;
|
|
38774
|
-
}) =>
|
|
38773
|
+
}) => React.JSX.Element;
|
|
38775
38774
|
declare const useCurrentMarket: () => Partial<Required<Partial<{
|
|
38776
38775
|
optionAssetIsToken0: boolean;
|
|
38777
38776
|
vault: `0x${string}`;
|
|
@@ -38872,7 +38871,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
38872
38871
|
isRefetching: boolean;
|
|
38873
38872
|
isStale: boolean;
|
|
38874
38873
|
isEnabled: boolean;
|
|
38875
|
-
refetch: (options?:
|
|
38874
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
38876
38875
|
id: bigint;
|
|
38877
38876
|
marketAddr: Address;
|
|
38878
38877
|
optionType: "CALL" | "PUT";
|
|
@@ -38883,7 +38882,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
38883
38882
|
liquiditiesAtOpen: bigint[];
|
|
38884
38883
|
liquiditiesCurrent: bigint[];
|
|
38885
38884
|
__typename: "UserOption";
|
|
38886
|
-
|
|
38885
|
+
ownerAddr: string;
|
|
38887
38886
|
strikeTick: number;
|
|
38888
38887
|
entryTick: number;
|
|
38889
38888
|
fullyExercised: boolean;
|
|
@@ -38896,7 +38895,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
38896
38895
|
transactionHash: string;
|
|
38897
38896
|
} | null;
|
|
38898
38897
|
}[] | undefined, Error>>;
|
|
38899
|
-
fetchStatus:
|
|
38898
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
38900
38899
|
promise: Promise<{
|
|
38901
38900
|
id: bigint;
|
|
38902
38901
|
marketAddr: Address;
|
|
@@ -38908,7 +38907,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
38908
38907
|
liquiditiesAtOpen: bigint[];
|
|
38909
38908
|
liquiditiesCurrent: bigint[];
|
|
38910
38909
|
__typename: "UserOption";
|
|
38911
|
-
|
|
38910
|
+
ownerAddr: string;
|
|
38912
38911
|
strikeTick: number;
|
|
38913
38912
|
entryTick: number;
|
|
38914
38913
|
fullyExercised: boolean;
|
|
@@ -38932,7 +38931,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
38932
38931
|
liquiditiesAtOpen: bigint[];
|
|
38933
38932
|
liquiditiesCurrent: bigint[];
|
|
38934
38933
|
__typename: "UserOption";
|
|
38935
|
-
|
|
38934
|
+
ownerAddr: string;
|
|
38936
38935
|
strikeTick: number;
|
|
38937
38936
|
entryTick: number;
|
|
38938
38937
|
fullyExercised: boolean;
|
|
@@ -38968,7 +38967,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
38968
38967
|
isRefetching: boolean;
|
|
38969
38968
|
isStale: boolean;
|
|
38970
38969
|
isEnabled: boolean;
|
|
38971
|
-
refetch: (options?:
|
|
38970
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
38972
38971
|
id: bigint;
|
|
38973
38972
|
marketAddr: Address;
|
|
38974
38973
|
optionType: "CALL" | "PUT";
|
|
@@ -38979,7 +38978,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
38979
38978
|
liquiditiesAtOpen: bigint[];
|
|
38980
38979
|
liquiditiesCurrent: bigint[];
|
|
38981
38980
|
__typename: "UserOption";
|
|
38982
|
-
|
|
38981
|
+
ownerAddr: string;
|
|
38983
38982
|
strikeTick: number;
|
|
38984
38983
|
entryTick: number;
|
|
38985
38984
|
fullyExercised: boolean;
|
|
@@ -38992,7 +38991,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
38992
38991
|
transactionHash: string;
|
|
38993
38992
|
} | null;
|
|
38994
38993
|
}[] | undefined, Error>>;
|
|
38995
|
-
fetchStatus:
|
|
38994
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
38996
38995
|
promise: Promise<{
|
|
38997
38996
|
id: bigint;
|
|
38998
38997
|
marketAddr: Address;
|
|
@@ -39004,7 +39003,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39004
39003
|
liquiditiesAtOpen: bigint[];
|
|
39005
39004
|
liquiditiesCurrent: bigint[];
|
|
39006
39005
|
__typename: "UserOption";
|
|
39007
|
-
|
|
39006
|
+
ownerAddr: string;
|
|
39008
39007
|
strikeTick: number;
|
|
39009
39008
|
entryTick: number;
|
|
39010
39009
|
fullyExercised: boolean;
|
|
@@ -39028,7 +39027,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39028
39027
|
liquiditiesAtOpen: bigint[];
|
|
39029
39028
|
liquiditiesCurrent: bigint[];
|
|
39030
39029
|
__typename: "UserOption";
|
|
39031
|
-
|
|
39030
|
+
ownerAddr: string;
|
|
39032
39031
|
strikeTick: number;
|
|
39033
39032
|
entryTick: number;
|
|
39034
39033
|
fullyExercised: boolean;
|
|
@@ -39064,7 +39063,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39064
39063
|
isRefetching: boolean;
|
|
39065
39064
|
isStale: boolean;
|
|
39066
39065
|
isEnabled: boolean;
|
|
39067
|
-
refetch: (options?:
|
|
39066
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39068
39067
|
id: bigint;
|
|
39069
39068
|
marketAddr: Address;
|
|
39070
39069
|
optionType: "CALL" | "PUT";
|
|
@@ -39075,7 +39074,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39075
39074
|
liquiditiesAtOpen: bigint[];
|
|
39076
39075
|
liquiditiesCurrent: bigint[];
|
|
39077
39076
|
__typename: "UserOption";
|
|
39078
|
-
|
|
39077
|
+
ownerAddr: string;
|
|
39079
39078
|
strikeTick: number;
|
|
39080
39079
|
entryTick: number;
|
|
39081
39080
|
fullyExercised: boolean;
|
|
@@ -39088,7 +39087,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39088
39087
|
transactionHash: string;
|
|
39089
39088
|
} | null;
|
|
39090
39089
|
}[] | undefined, Error>>;
|
|
39091
|
-
fetchStatus:
|
|
39090
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39092
39091
|
promise: Promise<{
|
|
39093
39092
|
id: bigint;
|
|
39094
39093
|
marketAddr: Address;
|
|
@@ -39100,7 +39099,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39100
39099
|
liquiditiesAtOpen: bigint[];
|
|
39101
39100
|
liquiditiesCurrent: bigint[];
|
|
39102
39101
|
__typename: "UserOption";
|
|
39103
|
-
|
|
39102
|
+
ownerAddr: string;
|
|
39104
39103
|
strikeTick: number;
|
|
39105
39104
|
entryTick: number;
|
|
39106
39105
|
fullyExercised: boolean;
|
|
@@ -39124,7 +39123,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39124
39123
|
liquiditiesAtOpen: bigint[];
|
|
39125
39124
|
liquiditiesCurrent: bigint[];
|
|
39126
39125
|
__typename: "UserOption";
|
|
39127
|
-
|
|
39126
|
+
ownerAddr: string;
|
|
39128
39127
|
strikeTick: number;
|
|
39129
39128
|
entryTick: number;
|
|
39130
39129
|
fullyExercised: boolean;
|
|
@@ -39160,7 +39159,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39160
39159
|
isRefetching: boolean;
|
|
39161
39160
|
isStale: boolean;
|
|
39162
39161
|
isEnabled: boolean;
|
|
39163
|
-
refetch: (options?:
|
|
39162
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39164
39163
|
id: bigint;
|
|
39165
39164
|
marketAddr: Address;
|
|
39166
39165
|
optionType: "CALL" | "PUT";
|
|
@@ -39171,7 +39170,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39171
39170
|
liquiditiesAtOpen: bigint[];
|
|
39172
39171
|
liquiditiesCurrent: bigint[];
|
|
39173
39172
|
__typename: "UserOption";
|
|
39174
|
-
|
|
39173
|
+
ownerAddr: string;
|
|
39175
39174
|
strikeTick: number;
|
|
39176
39175
|
entryTick: number;
|
|
39177
39176
|
fullyExercised: boolean;
|
|
@@ -39184,7 +39183,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39184
39183
|
transactionHash: string;
|
|
39185
39184
|
} | null;
|
|
39186
39185
|
}[] | undefined, Error>>;
|
|
39187
|
-
fetchStatus:
|
|
39186
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39188
39187
|
promise: Promise<{
|
|
39189
39188
|
id: bigint;
|
|
39190
39189
|
marketAddr: Address;
|
|
@@ -39196,7 +39195,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39196
39195
|
liquiditiesAtOpen: bigint[];
|
|
39197
39196
|
liquiditiesCurrent: bigint[];
|
|
39198
39197
|
__typename: "UserOption";
|
|
39199
|
-
|
|
39198
|
+
ownerAddr: string;
|
|
39200
39199
|
strikeTick: number;
|
|
39201
39200
|
entryTick: number;
|
|
39202
39201
|
fullyExercised: boolean;
|
|
@@ -39220,7 +39219,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39220
39219
|
liquiditiesAtOpen: bigint[];
|
|
39221
39220
|
liquiditiesCurrent: bigint[];
|
|
39222
39221
|
__typename: "UserOption";
|
|
39223
|
-
|
|
39222
|
+
ownerAddr: string;
|
|
39224
39223
|
strikeTick: number;
|
|
39225
39224
|
entryTick: number;
|
|
39226
39225
|
fullyExercised: boolean;
|
|
@@ -39256,7 +39255,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39256
39255
|
isRefetching: boolean;
|
|
39257
39256
|
isStale: boolean;
|
|
39258
39257
|
isEnabled: boolean;
|
|
39259
|
-
refetch: (options?:
|
|
39258
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39260
39259
|
id: bigint;
|
|
39261
39260
|
marketAddr: Address;
|
|
39262
39261
|
optionType: "CALL" | "PUT";
|
|
@@ -39267,7 +39266,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39267
39266
|
liquiditiesAtOpen: bigint[];
|
|
39268
39267
|
liquiditiesCurrent: bigint[];
|
|
39269
39268
|
__typename: "UserOption";
|
|
39270
|
-
|
|
39269
|
+
ownerAddr: string;
|
|
39271
39270
|
strikeTick: number;
|
|
39272
39271
|
entryTick: number;
|
|
39273
39272
|
fullyExercised: boolean;
|
|
@@ -39280,7 +39279,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39280
39279
|
transactionHash: string;
|
|
39281
39280
|
} | null;
|
|
39282
39281
|
}[] | undefined, Error>>;
|
|
39283
|
-
fetchStatus:
|
|
39282
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39284
39283
|
promise: Promise<{
|
|
39285
39284
|
id: bigint;
|
|
39286
39285
|
marketAddr: Address;
|
|
@@ -39292,7 +39291,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39292
39291
|
liquiditiesAtOpen: bigint[];
|
|
39293
39292
|
liquiditiesCurrent: bigint[];
|
|
39294
39293
|
__typename: "UserOption";
|
|
39295
|
-
|
|
39294
|
+
ownerAddr: string;
|
|
39296
39295
|
strikeTick: number;
|
|
39297
39296
|
entryTick: number;
|
|
39298
39297
|
fullyExercised: boolean;
|
|
@@ -39316,7 +39315,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39316
39315
|
liquiditiesAtOpen: bigint[];
|
|
39317
39316
|
liquiditiesCurrent: bigint[];
|
|
39318
39317
|
__typename: "UserOption";
|
|
39319
|
-
|
|
39318
|
+
ownerAddr: string;
|
|
39320
39319
|
strikeTick: number;
|
|
39321
39320
|
entryTick: number;
|
|
39322
39321
|
fullyExercised: boolean;
|
|
@@ -39352,7 +39351,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39352
39351
|
isRefetching: boolean;
|
|
39353
39352
|
isStale: boolean;
|
|
39354
39353
|
isEnabled: boolean;
|
|
39355
|
-
refetch: (options?:
|
|
39354
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39356
39355
|
id: bigint;
|
|
39357
39356
|
marketAddr: Address;
|
|
39358
39357
|
optionType: "CALL" | "PUT";
|
|
@@ -39363,7 +39362,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39363
39362
|
liquiditiesAtOpen: bigint[];
|
|
39364
39363
|
liquiditiesCurrent: bigint[];
|
|
39365
39364
|
__typename: "UserOption";
|
|
39366
|
-
|
|
39365
|
+
ownerAddr: string;
|
|
39367
39366
|
strikeTick: number;
|
|
39368
39367
|
entryTick: number;
|
|
39369
39368
|
fullyExercised: boolean;
|
|
@@ -39376,7 +39375,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39376
39375
|
transactionHash: string;
|
|
39377
39376
|
} | null;
|
|
39378
39377
|
}[] | undefined, Error>>;
|
|
39379
|
-
fetchStatus:
|
|
39378
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39380
39379
|
promise: Promise<{
|
|
39381
39380
|
id: bigint;
|
|
39382
39381
|
marketAddr: Address;
|
|
@@ -39388,7 +39387,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39388
39387
|
liquiditiesAtOpen: bigint[];
|
|
39389
39388
|
liquiditiesCurrent: bigint[];
|
|
39390
39389
|
__typename: "UserOption";
|
|
39391
|
-
|
|
39390
|
+
ownerAddr: string;
|
|
39392
39391
|
strikeTick: number;
|
|
39393
39392
|
entryTick: number;
|
|
39394
39393
|
fullyExercised: boolean;
|
|
@@ -39412,7 +39411,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
39412
39411
|
liquiditiesAtOpen: bigint[];
|
|
39413
39412
|
liquiditiesCurrent: bigint[];
|
|
39414
39413
|
__typename: "UserOption";
|
|
39415
|
-
|
|
39414
|
+
ownerAddr: string;
|
|
39416
39415
|
strikeTick: number;
|
|
39417
39416
|
entryTick: number;
|
|
39418
39417
|
fullyExercised: boolean;
|
|
@@ -39449,7 +39448,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39449
39448
|
isRefetching: boolean;
|
|
39450
39449
|
isStale: boolean;
|
|
39451
39450
|
isEnabled: boolean;
|
|
39452
|
-
refetch: (options?:
|
|
39451
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39453
39452
|
id: bigint;
|
|
39454
39453
|
marketAddr: Address;
|
|
39455
39454
|
optionType: "CALL" | "PUT";
|
|
@@ -39460,7 +39459,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39460
39459
|
liquiditiesAtOpen: bigint[];
|
|
39461
39460
|
liquiditiesCurrent: bigint[];
|
|
39462
39461
|
__typename: "UserOption";
|
|
39463
|
-
|
|
39462
|
+
ownerAddr: string;
|
|
39464
39463
|
strikeTick: number;
|
|
39465
39464
|
entryTick: number;
|
|
39466
39465
|
fullyExercised: boolean;
|
|
@@ -39473,7 +39472,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39473
39472
|
transactionHash: string;
|
|
39474
39473
|
} | null;
|
|
39475
39474
|
}[] | undefined, Error>>;
|
|
39476
|
-
fetchStatus:
|
|
39475
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39477
39476
|
promise: Promise<{
|
|
39478
39477
|
id: bigint;
|
|
39479
39478
|
marketAddr: Address;
|
|
@@ -39485,7 +39484,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39485
39484
|
liquiditiesAtOpen: bigint[];
|
|
39486
39485
|
liquiditiesCurrent: bigint[];
|
|
39487
39486
|
__typename: "UserOption";
|
|
39488
|
-
|
|
39487
|
+
ownerAddr: string;
|
|
39489
39488
|
strikeTick: number;
|
|
39490
39489
|
entryTick: number;
|
|
39491
39490
|
fullyExercised: boolean;
|
|
@@ -39509,7 +39508,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39509
39508
|
liquiditiesAtOpen: bigint[];
|
|
39510
39509
|
liquiditiesCurrent: bigint[];
|
|
39511
39510
|
__typename: "UserOption";
|
|
39512
|
-
|
|
39511
|
+
ownerAddr: string;
|
|
39513
39512
|
strikeTick: number;
|
|
39514
39513
|
entryTick: number;
|
|
39515
39514
|
fullyExercised: boolean;
|
|
@@ -39545,7 +39544,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39545
39544
|
isRefetching: boolean;
|
|
39546
39545
|
isStale: boolean;
|
|
39547
39546
|
isEnabled: boolean;
|
|
39548
|
-
refetch: (options?:
|
|
39547
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39549
39548
|
id: bigint;
|
|
39550
39549
|
marketAddr: Address;
|
|
39551
39550
|
optionType: "CALL" | "PUT";
|
|
@@ -39556,7 +39555,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39556
39555
|
liquiditiesAtOpen: bigint[];
|
|
39557
39556
|
liquiditiesCurrent: bigint[];
|
|
39558
39557
|
__typename: "UserOption";
|
|
39559
|
-
|
|
39558
|
+
ownerAddr: string;
|
|
39560
39559
|
strikeTick: number;
|
|
39561
39560
|
entryTick: number;
|
|
39562
39561
|
fullyExercised: boolean;
|
|
@@ -39569,7 +39568,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39569
39568
|
transactionHash: string;
|
|
39570
39569
|
} | null;
|
|
39571
39570
|
}[] | undefined, Error>>;
|
|
39572
|
-
fetchStatus:
|
|
39571
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39573
39572
|
promise: Promise<{
|
|
39574
39573
|
id: bigint;
|
|
39575
39574
|
marketAddr: Address;
|
|
@@ -39581,7 +39580,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39581
39580
|
liquiditiesAtOpen: bigint[];
|
|
39582
39581
|
liquiditiesCurrent: bigint[];
|
|
39583
39582
|
__typename: "UserOption";
|
|
39584
|
-
|
|
39583
|
+
ownerAddr: string;
|
|
39585
39584
|
strikeTick: number;
|
|
39586
39585
|
entryTick: number;
|
|
39587
39586
|
fullyExercised: boolean;
|
|
@@ -39605,7 +39604,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39605
39604
|
liquiditiesAtOpen: bigint[];
|
|
39606
39605
|
liquiditiesCurrent: bigint[];
|
|
39607
39606
|
__typename: "UserOption";
|
|
39608
|
-
|
|
39607
|
+
ownerAddr: string;
|
|
39609
39608
|
strikeTick: number;
|
|
39610
39609
|
entryTick: number;
|
|
39611
39610
|
fullyExercised: boolean;
|
|
@@ -39641,7 +39640,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39641
39640
|
isRefetching: boolean;
|
|
39642
39641
|
isStale: boolean;
|
|
39643
39642
|
isEnabled: boolean;
|
|
39644
|
-
refetch: (options?:
|
|
39643
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39645
39644
|
id: bigint;
|
|
39646
39645
|
marketAddr: Address;
|
|
39647
39646
|
optionType: "CALL" | "PUT";
|
|
@@ -39652,7 +39651,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39652
39651
|
liquiditiesAtOpen: bigint[];
|
|
39653
39652
|
liquiditiesCurrent: bigint[];
|
|
39654
39653
|
__typename: "UserOption";
|
|
39655
|
-
|
|
39654
|
+
ownerAddr: string;
|
|
39656
39655
|
strikeTick: number;
|
|
39657
39656
|
entryTick: number;
|
|
39658
39657
|
fullyExercised: boolean;
|
|
@@ -39665,7 +39664,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39665
39664
|
transactionHash: string;
|
|
39666
39665
|
} | null;
|
|
39667
39666
|
}[] | undefined, Error>>;
|
|
39668
|
-
fetchStatus:
|
|
39667
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39669
39668
|
promise: Promise<{
|
|
39670
39669
|
id: bigint;
|
|
39671
39670
|
marketAddr: Address;
|
|
@@ -39677,7 +39676,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39677
39676
|
liquiditiesAtOpen: bigint[];
|
|
39678
39677
|
liquiditiesCurrent: bigint[];
|
|
39679
39678
|
__typename: "UserOption";
|
|
39680
|
-
|
|
39679
|
+
ownerAddr: string;
|
|
39681
39680
|
strikeTick: number;
|
|
39682
39681
|
entryTick: number;
|
|
39683
39682
|
fullyExercised: boolean;
|
|
@@ -39701,7 +39700,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39701
39700
|
liquiditiesAtOpen: bigint[];
|
|
39702
39701
|
liquiditiesCurrent: bigint[];
|
|
39703
39702
|
__typename: "UserOption";
|
|
39704
|
-
|
|
39703
|
+
ownerAddr: string;
|
|
39705
39704
|
strikeTick: number;
|
|
39706
39705
|
entryTick: number;
|
|
39707
39706
|
fullyExercised: boolean;
|
|
@@ -39737,7 +39736,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39737
39736
|
isRefetching: boolean;
|
|
39738
39737
|
isStale: boolean;
|
|
39739
39738
|
isEnabled: boolean;
|
|
39740
|
-
refetch: (options?:
|
|
39739
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39741
39740
|
id: bigint;
|
|
39742
39741
|
marketAddr: Address;
|
|
39743
39742
|
optionType: "CALL" | "PUT";
|
|
@@ -39748,7 +39747,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39748
39747
|
liquiditiesAtOpen: bigint[];
|
|
39749
39748
|
liquiditiesCurrent: bigint[];
|
|
39750
39749
|
__typename: "UserOption";
|
|
39751
|
-
|
|
39750
|
+
ownerAddr: string;
|
|
39752
39751
|
strikeTick: number;
|
|
39753
39752
|
entryTick: number;
|
|
39754
39753
|
fullyExercised: boolean;
|
|
@@ -39761,7 +39760,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39761
39760
|
transactionHash: string;
|
|
39762
39761
|
} | null;
|
|
39763
39762
|
}[] | undefined, Error>>;
|
|
39764
|
-
fetchStatus:
|
|
39763
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39765
39764
|
promise: Promise<{
|
|
39766
39765
|
id: bigint;
|
|
39767
39766
|
marketAddr: Address;
|
|
@@ -39773,7 +39772,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39773
39772
|
liquiditiesAtOpen: bigint[];
|
|
39774
39773
|
liquiditiesCurrent: bigint[];
|
|
39775
39774
|
__typename: "UserOption";
|
|
39776
|
-
|
|
39775
|
+
ownerAddr: string;
|
|
39777
39776
|
strikeTick: number;
|
|
39778
39777
|
entryTick: number;
|
|
39779
39778
|
fullyExercised: boolean;
|
|
@@ -39797,7 +39796,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39797
39796
|
liquiditiesAtOpen: bigint[];
|
|
39798
39797
|
liquiditiesCurrent: bigint[];
|
|
39799
39798
|
__typename: "UserOption";
|
|
39800
|
-
|
|
39799
|
+
ownerAddr: string;
|
|
39801
39800
|
strikeTick: number;
|
|
39802
39801
|
entryTick: number;
|
|
39803
39802
|
fullyExercised: boolean;
|
|
@@ -39833,7 +39832,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39833
39832
|
isRefetching: boolean;
|
|
39834
39833
|
isStale: boolean;
|
|
39835
39834
|
isEnabled: boolean;
|
|
39836
|
-
refetch: (options?:
|
|
39835
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39837
39836
|
id: bigint;
|
|
39838
39837
|
marketAddr: Address;
|
|
39839
39838
|
optionType: "CALL" | "PUT";
|
|
@@ -39844,7 +39843,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39844
39843
|
liquiditiesAtOpen: bigint[];
|
|
39845
39844
|
liquiditiesCurrent: bigint[];
|
|
39846
39845
|
__typename: "UserOption";
|
|
39847
|
-
|
|
39846
|
+
ownerAddr: string;
|
|
39848
39847
|
strikeTick: number;
|
|
39849
39848
|
entryTick: number;
|
|
39850
39849
|
fullyExercised: boolean;
|
|
@@ -39857,7 +39856,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39857
39856
|
transactionHash: string;
|
|
39858
39857
|
} | null;
|
|
39859
39858
|
}[] | undefined, Error>>;
|
|
39860
|
-
fetchStatus:
|
|
39859
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39861
39860
|
promise: Promise<{
|
|
39862
39861
|
id: bigint;
|
|
39863
39862
|
marketAddr: Address;
|
|
@@ -39869,7 +39868,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39869
39868
|
liquiditiesAtOpen: bigint[];
|
|
39870
39869
|
liquiditiesCurrent: bigint[];
|
|
39871
39870
|
__typename: "UserOption";
|
|
39872
|
-
|
|
39871
|
+
ownerAddr: string;
|
|
39873
39872
|
strikeTick: number;
|
|
39874
39873
|
entryTick: number;
|
|
39875
39874
|
fullyExercised: boolean;
|
|
@@ -39893,7 +39892,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39893
39892
|
liquiditiesAtOpen: bigint[];
|
|
39894
39893
|
liquiditiesCurrent: bigint[];
|
|
39895
39894
|
__typename: "UserOption";
|
|
39896
|
-
|
|
39895
|
+
ownerAddr: string;
|
|
39897
39896
|
strikeTick: number;
|
|
39898
39897
|
entryTick: number;
|
|
39899
39898
|
fullyExercised: boolean;
|
|
@@ -39929,7 +39928,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39929
39928
|
isRefetching: boolean;
|
|
39930
39929
|
isStale: boolean;
|
|
39931
39930
|
isEnabled: boolean;
|
|
39932
|
-
refetch: (options?:
|
|
39931
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
39933
39932
|
id: bigint;
|
|
39934
39933
|
marketAddr: Address;
|
|
39935
39934
|
optionType: "CALL" | "PUT";
|
|
@@ -39940,7 +39939,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39940
39939
|
liquiditiesAtOpen: bigint[];
|
|
39941
39940
|
liquiditiesCurrent: bigint[];
|
|
39942
39941
|
__typename: "UserOption";
|
|
39943
|
-
|
|
39942
|
+
ownerAddr: string;
|
|
39944
39943
|
strikeTick: number;
|
|
39945
39944
|
entryTick: number;
|
|
39946
39945
|
fullyExercised: boolean;
|
|
@@ -39953,7 +39952,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39953
39952
|
transactionHash: string;
|
|
39954
39953
|
} | null;
|
|
39955
39954
|
}[] | undefined, Error>>;
|
|
39956
|
-
fetchStatus:
|
|
39955
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
39957
39956
|
promise: Promise<{
|
|
39958
39957
|
id: bigint;
|
|
39959
39958
|
marketAddr: Address;
|
|
@@ -39965,7 +39964,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39965
39964
|
liquiditiesAtOpen: bigint[];
|
|
39966
39965
|
liquiditiesCurrent: bigint[];
|
|
39967
39966
|
__typename: "UserOption";
|
|
39968
|
-
|
|
39967
|
+
ownerAddr: string;
|
|
39969
39968
|
strikeTick: number;
|
|
39970
39969
|
entryTick: number;
|
|
39971
39970
|
fullyExercised: boolean;
|
|
@@ -39989,7 +39988,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
39989
39988
|
liquiditiesAtOpen: bigint[];
|
|
39990
39989
|
liquiditiesCurrent: bigint[];
|
|
39991
39990
|
__typename: "UserOption";
|
|
39992
|
-
|
|
39991
|
+
ownerAddr: string;
|
|
39993
39992
|
strikeTick: number;
|
|
39994
39993
|
entryTick: number;
|
|
39995
39994
|
fullyExercised: boolean;
|
|
@@ -40026,7 +40025,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40026
40025
|
isRefetching: boolean;
|
|
40027
40026
|
isStale: boolean;
|
|
40028
40027
|
isEnabled: boolean;
|
|
40029
|
-
refetch: (options?:
|
|
40028
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
40030
40029
|
id: bigint;
|
|
40031
40030
|
marketAddr: Address;
|
|
40032
40031
|
optionType: "CALL" | "PUT";
|
|
@@ -40037,7 +40036,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40037
40036
|
liquiditiesAtOpen: bigint[];
|
|
40038
40037
|
liquiditiesCurrent: bigint[];
|
|
40039
40038
|
__typename: "UserOption";
|
|
40040
|
-
|
|
40039
|
+
ownerAddr: string;
|
|
40041
40040
|
strikeTick: number;
|
|
40042
40041
|
entryTick: number;
|
|
40043
40042
|
fullyExercised: boolean;
|
|
@@ -40050,7 +40049,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40050
40049
|
transactionHash: string;
|
|
40051
40050
|
} | null;
|
|
40052
40051
|
}[] | undefined, Error>>;
|
|
40053
|
-
fetchStatus:
|
|
40052
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
40054
40053
|
promise: Promise<{
|
|
40055
40054
|
id: bigint;
|
|
40056
40055
|
marketAddr: Address;
|
|
@@ -40062,7 +40061,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40062
40061
|
liquiditiesAtOpen: bigint[];
|
|
40063
40062
|
liquiditiesCurrent: bigint[];
|
|
40064
40063
|
__typename: "UserOption";
|
|
40065
|
-
|
|
40064
|
+
ownerAddr: string;
|
|
40066
40065
|
strikeTick: number;
|
|
40067
40066
|
entryTick: number;
|
|
40068
40067
|
fullyExercised: boolean;
|
|
@@ -40086,7 +40085,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40086
40085
|
liquiditiesAtOpen: bigint[];
|
|
40087
40086
|
liquiditiesCurrent: bigint[];
|
|
40088
40087
|
__typename: "UserOption";
|
|
40089
|
-
|
|
40088
|
+
ownerAddr: string;
|
|
40090
40089
|
strikeTick: number;
|
|
40091
40090
|
entryTick: number;
|
|
40092
40091
|
fullyExercised: boolean;
|
|
@@ -40122,7 +40121,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40122
40121
|
isRefetching: boolean;
|
|
40123
40122
|
isStale: boolean;
|
|
40124
40123
|
isEnabled: boolean;
|
|
40125
|
-
refetch: (options?:
|
|
40124
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
40126
40125
|
id: bigint;
|
|
40127
40126
|
marketAddr: Address;
|
|
40128
40127
|
optionType: "CALL" | "PUT";
|
|
@@ -40133,7 +40132,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40133
40132
|
liquiditiesAtOpen: bigint[];
|
|
40134
40133
|
liquiditiesCurrent: bigint[];
|
|
40135
40134
|
__typename: "UserOption";
|
|
40136
|
-
|
|
40135
|
+
ownerAddr: string;
|
|
40137
40136
|
strikeTick: number;
|
|
40138
40137
|
entryTick: number;
|
|
40139
40138
|
fullyExercised: boolean;
|
|
@@ -40146,7 +40145,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40146
40145
|
transactionHash: string;
|
|
40147
40146
|
} | null;
|
|
40148
40147
|
}[] | undefined, Error>>;
|
|
40149
|
-
fetchStatus:
|
|
40148
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
40150
40149
|
promise: Promise<{
|
|
40151
40150
|
id: bigint;
|
|
40152
40151
|
marketAddr: Address;
|
|
@@ -40158,7 +40157,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40158
40157
|
liquiditiesAtOpen: bigint[];
|
|
40159
40158
|
liquiditiesCurrent: bigint[];
|
|
40160
40159
|
__typename: "UserOption";
|
|
40161
|
-
|
|
40160
|
+
ownerAddr: string;
|
|
40162
40161
|
strikeTick: number;
|
|
40163
40162
|
entryTick: number;
|
|
40164
40163
|
fullyExercised: boolean;
|
|
@@ -40182,7 +40181,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40182
40181
|
liquiditiesAtOpen: bigint[];
|
|
40183
40182
|
liquiditiesCurrent: bigint[];
|
|
40184
40183
|
__typename: "UserOption";
|
|
40185
|
-
|
|
40184
|
+
ownerAddr: string;
|
|
40186
40185
|
strikeTick: number;
|
|
40187
40186
|
entryTick: number;
|
|
40188
40187
|
fullyExercised: boolean;
|
|
@@ -40218,7 +40217,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40218
40217
|
isRefetching: boolean;
|
|
40219
40218
|
isStale: boolean;
|
|
40220
40219
|
isEnabled: boolean;
|
|
40221
|
-
refetch: (options?:
|
|
40220
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
40222
40221
|
id: bigint;
|
|
40223
40222
|
marketAddr: Address;
|
|
40224
40223
|
optionType: "CALL" | "PUT";
|
|
@@ -40229,7 +40228,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40229
40228
|
liquiditiesAtOpen: bigint[];
|
|
40230
40229
|
liquiditiesCurrent: bigint[];
|
|
40231
40230
|
__typename: "UserOption";
|
|
40232
|
-
|
|
40231
|
+
ownerAddr: string;
|
|
40233
40232
|
strikeTick: number;
|
|
40234
40233
|
entryTick: number;
|
|
40235
40234
|
fullyExercised: boolean;
|
|
@@ -40242,7 +40241,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40242
40241
|
transactionHash: string;
|
|
40243
40242
|
} | null;
|
|
40244
40243
|
}[] | undefined, Error>>;
|
|
40245
|
-
fetchStatus:
|
|
40244
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
40246
40245
|
promise: Promise<{
|
|
40247
40246
|
id: bigint;
|
|
40248
40247
|
marketAddr: Address;
|
|
@@ -40254,7 +40253,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40254
40253
|
liquiditiesAtOpen: bigint[];
|
|
40255
40254
|
liquiditiesCurrent: bigint[];
|
|
40256
40255
|
__typename: "UserOption";
|
|
40257
|
-
|
|
40256
|
+
ownerAddr: string;
|
|
40258
40257
|
strikeTick: number;
|
|
40259
40258
|
entryTick: number;
|
|
40260
40259
|
fullyExercised: boolean;
|
|
@@ -40278,7 +40277,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40278
40277
|
liquiditiesAtOpen: bigint[];
|
|
40279
40278
|
liquiditiesCurrent: bigint[];
|
|
40280
40279
|
__typename: "UserOption";
|
|
40281
|
-
|
|
40280
|
+
ownerAddr: string;
|
|
40282
40281
|
strikeTick: number;
|
|
40283
40282
|
entryTick: number;
|
|
40284
40283
|
fullyExercised: boolean;
|
|
@@ -40314,7 +40313,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40314
40313
|
isRefetching: boolean;
|
|
40315
40314
|
isStale: boolean;
|
|
40316
40315
|
isEnabled: boolean;
|
|
40317
|
-
refetch: (options?:
|
|
40316
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
40318
40317
|
id: bigint;
|
|
40319
40318
|
marketAddr: Address;
|
|
40320
40319
|
optionType: "CALL" | "PUT";
|
|
@@ -40325,7 +40324,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40325
40324
|
liquiditiesAtOpen: bigint[];
|
|
40326
40325
|
liquiditiesCurrent: bigint[];
|
|
40327
40326
|
__typename: "UserOption";
|
|
40328
|
-
|
|
40327
|
+
ownerAddr: string;
|
|
40329
40328
|
strikeTick: number;
|
|
40330
40329
|
entryTick: number;
|
|
40331
40330
|
fullyExercised: boolean;
|
|
@@ -40338,7 +40337,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40338
40337
|
transactionHash: string;
|
|
40339
40338
|
} | null;
|
|
40340
40339
|
}[] | undefined, Error>>;
|
|
40341
|
-
fetchStatus:
|
|
40340
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
40342
40341
|
promise: Promise<{
|
|
40343
40342
|
id: bigint;
|
|
40344
40343
|
marketAddr: Address;
|
|
@@ -40350,7 +40349,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40350
40349
|
liquiditiesAtOpen: bigint[];
|
|
40351
40350
|
liquiditiesCurrent: bigint[];
|
|
40352
40351
|
__typename: "UserOption";
|
|
40353
|
-
|
|
40352
|
+
ownerAddr: string;
|
|
40354
40353
|
strikeTick: number;
|
|
40355
40354
|
entryTick: number;
|
|
40356
40355
|
fullyExercised: boolean;
|
|
@@ -40374,7 +40373,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40374
40373
|
liquiditiesAtOpen: bigint[];
|
|
40375
40374
|
liquiditiesCurrent: bigint[];
|
|
40376
40375
|
__typename: "UserOption";
|
|
40377
|
-
|
|
40376
|
+
ownerAddr: string;
|
|
40378
40377
|
strikeTick: number;
|
|
40379
40378
|
entryTick: number;
|
|
40380
40379
|
fullyExercised: boolean;
|
|
@@ -40410,7 +40409,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40410
40409
|
isRefetching: boolean;
|
|
40411
40410
|
isStale: boolean;
|
|
40412
40411
|
isEnabled: boolean;
|
|
40413
|
-
refetch: (options?:
|
|
40412
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
40414
40413
|
id: bigint;
|
|
40415
40414
|
marketAddr: Address;
|
|
40416
40415
|
optionType: "CALL" | "PUT";
|
|
@@ -40421,7 +40420,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40421
40420
|
liquiditiesAtOpen: bigint[];
|
|
40422
40421
|
liquiditiesCurrent: bigint[];
|
|
40423
40422
|
__typename: "UserOption";
|
|
40424
|
-
|
|
40423
|
+
ownerAddr: string;
|
|
40425
40424
|
strikeTick: number;
|
|
40426
40425
|
entryTick: number;
|
|
40427
40426
|
fullyExercised: boolean;
|
|
@@ -40434,7 +40433,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40434
40433
|
transactionHash: string;
|
|
40435
40434
|
} | null;
|
|
40436
40435
|
}[] | undefined, Error>>;
|
|
40437
|
-
fetchStatus:
|
|
40436
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
40438
40437
|
promise: Promise<{
|
|
40439
40438
|
id: bigint;
|
|
40440
40439
|
marketAddr: Address;
|
|
@@ -40446,7 +40445,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40446
40445
|
liquiditiesAtOpen: bigint[];
|
|
40447
40446
|
liquiditiesCurrent: bigint[];
|
|
40448
40447
|
__typename: "UserOption";
|
|
40449
|
-
|
|
40448
|
+
ownerAddr: string;
|
|
40450
40449
|
strikeTick: number;
|
|
40451
40450
|
entryTick: number;
|
|
40452
40451
|
fullyExercised: boolean;
|
|
@@ -40470,7 +40469,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40470
40469
|
liquiditiesAtOpen: bigint[];
|
|
40471
40470
|
liquiditiesCurrent: bigint[];
|
|
40472
40471
|
__typename: "UserOption";
|
|
40473
|
-
|
|
40472
|
+
ownerAddr: string;
|
|
40474
40473
|
strikeTick: number;
|
|
40475
40474
|
entryTick: number;
|
|
40476
40475
|
fullyExercised: boolean;
|
|
@@ -40506,7 +40505,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40506
40505
|
isRefetching: boolean;
|
|
40507
40506
|
isStale: boolean;
|
|
40508
40507
|
isEnabled: boolean;
|
|
40509
|
-
refetch: (options?:
|
|
40508
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
|
|
40510
40509
|
id: bigint;
|
|
40511
40510
|
marketAddr: Address;
|
|
40512
40511
|
optionType: "CALL" | "PUT";
|
|
@@ -40517,7 +40516,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40517
40516
|
liquiditiesAtOpen: bigint[];
|
|
40518
40517
|
liquiditiesCurrent: bigint[];
|
|
40519
40518
|
__typename: "UserOption";
|
|
40520
|
-
|
|
40519
|
+
ownerAddr: string;
|
|
40521
40520
|
strikeTick: number;
|
|
40522
40521
|
entryTick: number;
|
|
40523
40522
|
fullyExercised: boolean;
|
|
@@ -40530,7 +40529,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40530
40529
|
transactionHash: string;
|
|
40531
40530
|
} | null;
|
|
40532
40531
|
}[] | undefined, Error>>;
|
|
40533
|
-
fetchStatus:
|
|
40532
|
+
fetchStatus: _tanstack_query_core1.FetchStatus;
|
|
40534
40533
|
promise: Promise<{
|
|
40535
40534
|
id: bigint;
|
|
40536
40535
|
marketAddr: Address;
|
|
@@ -40542,7 +40541,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40542
40541
|
liquiditiesAtOpen: bigint[];
|
|
40543
40542
|
liquiditiesCurrent: bigint[];
|
|
40544
40543
|
__typename: "UserOption";
|
|
40545
|
-
|
|
40544
|
+
ownerAddr: string;
|
|
40546
40545
|
strikeTick: number;
|
|
40547
40546
|
entryTick: number;
|
|
40548
40547
|
fullyExercised: boolean;
|
|
@@ -40566,7 +40565,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
40566
40565
|
liquiditiesAtOpen: bigint[];
|
|
40567
40566
|
liquiditiesCurrent: bigint[];
|
|
40568
40567
|
__typename: "UserOption";
|
|
40569
|
-
|
|
40568
|
+
ownerAddr: string;
|
|
40570
40569
|
strikeTick: number;
|
|
40571
40570
|
entryTick: number;
|
|
40572
40571
|
fullyExercised: boolean;
|
|
@@ -40655,7 +40654,7 @@ declare const useLiquidityBlocks: (vault?: Address | TimelockVault) => {
|
|
|
40655
40654
|
totalAmount1: Amount | undefined;
|
|
40656
40655
|
borrowedAmount0: Amount | undefined;
|
|
40657
40656
|
borrowedAmount1: Amount | undefined;
|
|
40658
|
-
refetch: (options?:
|
|
40657
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<readonly {
|
|
40659
40658
|
tickLower: number;
|
|
40660
40659
|
tickUpper: number;
|
|
40661
40660
|
prevTickLower: number;
|
|
@@ -40704,14 +40703,14 @@ declare const useVaultTVL: (vault?: Address | TimelockVault) => {
|
|
|
40704
40703
|
totalAmount1: Amount | undefined;
|
|
40705
40704
|
borrowedAmount0: Amount | undefined;
|
|
40706
40705
|
borrowedAmount1: Amount | undefined;
|
|
40707
|
-
refetch: (options?:
|
|
40706
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint], viem117.ReadContractErrorType>>;
|
|
40708
40707
|
};
|
|
40709
40708
|
//#endregion
|
|
40710
40709
|
//#region src/hooks/useLens.d.ts
|
|
40711
40710
|
declare const useLens: () => {
|
|
40712
40711
|
uniswapLens: {
|
|
40713
40712
|
read: {
|
|
40714
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
40713
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
40715
40714
|
readonly type: "function";
|
|
40716
40715
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
40717
40716
|
readonly inputs: readonly [{
|
|
@@ -41332,7 +41331,7 @@ declare const useLens: () => {
|
|
|
41332
41331
|
}];
|
|
41333
41332
|
readonly stateMutability: "pure";
|
|
41334
41333
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
41335
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
41334
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
41336
41335
|
readonly type: "function";
|
|
41337
41336
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
41338
41337
|
readonly inputs: readonly [{
|
|
@@ -41953,7 +41952,7 @@ declare const useLens: () => {
|
|
|
41953
41952
|
}];
|
|
41954
41953
|
readonly stateMutability: "pure";
|
|
41955
41954
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
41956
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
41955
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
41957
41956
|
readonly type: "function";
|
|
41958
41957
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
41959
41958
|
readonly inputs: readonly [{
|
|
@@ -42574,7 +42573,7 @@ declare const useLens: () => {
|
|
|
42574
42573
|
}];
|
|
42575
42574
|
readonly stateMutability: "pure";
|
|
42576
42575
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
42577
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
42576
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
42578
42577
|
readonly type: "function";
|
|
42579
42578
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
42580
42579
|
readonly inputs: readonly [{
|
|
@@ -43195,7 +43194,7 @@ declare const useLens: () => {
|
|
|
43195
43194
|
}];
|
|
43196
43195
|
readonly stateMutability: "pure";
|
|
43197
43196
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
43198
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
43197
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
43199
43198
|
readonly type: "function";
|
|
43200
43199
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
43201
43200
|
readonly inputs: readonly [{
|
|
@@ -43816,7 +43815,7 @@ declare const useLens: () => {
|
|
|
43816
43815
|
}];
|
|
43817
43816
|
readonly stateMutability: "pure";
|
|
43818
43817
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
43819
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
43818
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
43820
43819
|
readonly type: "function";
|
|
43821
43820
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
43822
43821
|
readonly inputs: readonly [{
|
|
@@ -44437,7 +44436,7 @@ declare const useLens: () => {
|
|
|
44437
44436
|
}];
|
|
44438
44437
|
readonly stateMutability: "pure";
|
|
44439
44438
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
44440
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
44439
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
44441
44440
|
readonly type: "function";
|
|
44442
44441
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
44443
44442
|
readonly inputs: readonly [{
|
|
@@ -45058,7 +45057,7 @@ declare const useLens: () => {
|
|
|
45058
45057
|
}];
|
|
45059
45058
|
readonly stateMutability: "pure";
|
|
45060
45059
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45061
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
45060
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
45062
45061
|
readonly type: "function";
|
|
45063
45062
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45064
45063
|
readonly inputs: readonly [{
|
|
@@ -45679,7 +45678,7 @@ declare const useLens: () => {
|
|
|
45679
45678
|
}];
|
|
45680
45679
|
readonly stateMutability: "pure";
|
|
45681
45680
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45682
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45681
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
45683
45682
|
readonly type: "function";
|
|
45684
45683
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45685
45684
|
readonly inputs: readonly [{
|
|
@@ -46300,7 +46299,7 @@ declare const useLens: () => {
|
|
|
46300
46299
|
}];
|
|
46301
46300
|
readonly stateMutability: "pure";
|
|
46302
46301
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46303
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46302
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
46304
46303
|
readonly type: "function";
|
|
46305
46304
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46306
46305
|
readonly inputs: readonly [{
|
|
@@ -46921,7 +46920,7 @@ declare const useLens: () => {
|
|
|
46921
46920
|
}];
|
|
46922
46921
|
readonly stateMutability: "pure";
|
|
46923
46922
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46924
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46923
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
46925
46924
|
readonly type: "function";
|
|
46926
46925
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46927
46926
|
readonly inputs: readonly [{
|
|
@@ -47542,7 +47541,7 @@ declare const useLens: () => {
|
|
|
47542
47541
|
}];
|
|
47543
47542
|
readonly stateMutability: "pure";
|
|
47544
47543
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47545
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
47544
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
47546
47545
|
readonly type: "function";
|
|
47547
47546
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47548
47547
|
readonly inputs: readonly [{
|
|
@@ -48163,7 +48162,7 @@ declare const useLens: () => {
|
|
|
48163
48162
|
}];
|
|
48164
48163
|
readonly stateMutability: "pure";
|
|
48165
48164
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48166
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
48165
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
48167
48166
|
readonly type: "function";
|
|
48168
48167
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48169
48168
|
readonly inputs: readonly [{
|
|
@@ -48784,7 +48783,7 @@ declare const useLens: () => {
|
|
|
48784
48783
|
}];
|
|
48785
48784
|
readonly stateMutability: "pure";
|
|
48786
48785
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48787
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
48786
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
48788
48787
|
readonly type: "function";
|
|
48789
48788
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48790
48789
|
readonly inputs: readonly [{
|
|
@@ -49405,7 +49404,7 @@ declare const useLens: () => {
|
|
|
49405
49404
|
}];
|
|
49406
49405
|
readonly stateMutability: "pure";
|
|
49407
49406
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
49408
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
49407
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
49409
49408
|
readonly type: "function";
|
|
49410
49409
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49411
49410
|
readonly inputs: readonly [{
|
|
@@ -50026,7 +50025,7 @@ declare const useLens: () => {
|
|
|
50026
50025
|
}];
|
|
50027
50026
|
readonly stateMutability: "pure";
|
|
50028
50027
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
50029
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
50028
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
50030
50029
|
readonly type: "function";
|
|
50031
50030
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50032
50031
|
readonly inputs: readonly [{
|
|
@@ -50647,7 +50646,7 @@ declare const useLens: () => {
|
|
|
50647
50646
|
}];
|
|
50648
50647
|
readonly stateMutability: "pure";
|
|
50649
50648
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
50650
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
50649
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
50651
50650
|
readonly type: "function";
|
|
50652
50651
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50653
50652
|
readonly inputs: readonly [{
|
|
@@ -51268,7 +51267,7 @@ declare const useLens: () => {
|
|
|
51268
51267
|
}];
|
|
51269
51268
|
readonly stateMutability: "pure";
|
|
51270
51269
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
51271
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
51270
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
51272
51271
|
readonly type: "function";
|
|
51273
51272
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51274
51273
|
readonly inputs: readonly [{
|
|
@@ -51889,7 +51888,7 @@ declare const useLens: () => {
|
|
|
51889
51888
|
}];
|
|
51890
51889
|
readonly stateMutability: "pure";
|
|
51891
51890
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
51892
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
51891
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
51893
51892
|
readonly type: "function";
|
|
51894
51893
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51895
51894
|
readonly inputs: readonly [{
|
|
@@ -52510,7 +52509,7 @@ declare const useLens: () => {
|
|
|
52510
52509
|
}];
|
|
52511
52510
|
readonly stateMutability: "pure";
|
|
52512
52511
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
52513
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
52512
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
52514
52513
|
readonly type: "function";
|
|
52515
52514
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52516
52515
|
readonly inputs: readonly [{
|
|
@@ -53131,7 +53130,7 @@ declare const useLens: () => {
|
|
|
53131
53130
|
}];
|
|
53132
53131
|
readonly stateMutability: "pure";
|
|
53133
53132
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53134
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
53133
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
53135
53134
|
readonly type: "function";
|
|
53136
53135
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53137
53136
|
readonly inputs: readonly [{
|
|
@@ -53752,7 +53751,7 @@ declare const useLens: () => {
|
|
|
53752
53751
|
}];
|
|
53753
53752
|
readonly stateMutability: "pure";
|
|
53754
53753
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53755
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
53754
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
53756
53755
|
readonly type: "function";
|
|
53757
53756
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53758
53757
|
readonly inputs: readonly [{
|
|
@@ -54373,7 +54372,7 @@ declare const useLens: () => {
|
|
|
54373
54372
|
}];
|
|
54374
54373
|
readonly stateMutability: "pure";
|
|
54375
54374
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54376
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
54375
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
54377
54376
|
readonly type: "function";
|
|
54378
54377
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54379
54378
|
readonly inputs: readonly [{
|
|
@@ -54994,7 +54993,7 @@ declare const useLens: () => {
|
|
|
54994
54993
|
}];
|
|
54995
54994
|
readonly stateMutability: "pure";
|
|
54996
54995
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54997
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
54996
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
54998
54997
|
readonly type: "function";
|
|
54999
54998
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55000
54999
|
readonly inputs: readonly [{
|
|
@@ -55615,7 +55614,7 @@ declare const useLens: () => {
|
|
|
55615
55614
|
}];
|
|
55616
55615
|
readonly stateMutability: "pure";
|
|
55617
55616
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55618
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
55617
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
55619
55618
|
readonly type: "function";
|
|
55620
55619
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55621
55620
|
readonly inputs: readonly [{
|
|
@@ -56236,7 +56235,7 @@ declare const useLens: () => {
|
|
|
56236
56235
|
}];
|
|
56237
56236
|
readonly stateMutability: "pure";
|
|
56238
56237
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56239
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
56238
|
+
getPriceAtTick: (args: readonly [number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
56240
56239
|
readonly type: "function";
|
|
56241
56240
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56242
56241
|
readonly inputs: readonly [{
|
|
@@ -57483,7 +57482,7 @@ declare const useLens: () => {
|
|
|
57483
57482
|
} | undefined;
|
|
57484
57483
|
timelockLens: {
|
|
57485
57484
|
read: {
|
|
57486
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
57485
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
57487
57486
|
readonly type: "function";
|
|
57488
57487
|
readonly name: "batchGetRefTick";
|
|
57489
57488
|
readonly inputs: readonly [{
|
|
@@ -58185,7 +58184,7 @@ declare const useLens: () => {
|
|
|
58185
58184
|
}];
|
|
58186
58185
|
readonly stateMutability: "view";
|
|
58187
58186
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
58188
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
58187
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
58189
58188
|
readonly type: "function";
|
|
58190
58189
|
readonly name: "batchGetRefTick";
|
|
58191
58190
|
readonly inputs: readonly [{
|
|
@@ -58897,7 +58896,7 @@ declare const useLens: () => {
|
|
|
58897
58896
|
borrowedAmount0: bigint;
|
|
58898
58897
|
borrowedAmount1: bigint;
|
|
58899
58898
|
}[]>;
|
|
58900
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
58899
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
58901
58900
|
readonly type: "function";
|
|
58902
58901
|
readonly name: "batchGetRefTick";
|
|
58903
58902
|
readonly inputs: readonly [{
|
|
@@ -59618,7 +59617,7 @@ declare const useLens: () => {
|
|
|
59618
59617
|
createdAt: bigint;
|
|
59619
59618
|
liquidities: readonly bigint[];
|
|
59620
59619
|
}[], bigint, boolean]>;
|
|
59621
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
59620
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
59622
59621
|
readonly type: "function";
|
|
59623
59622
|
readonly name: "batchGetRefTick";
|
|
59624
59623
|
readonly inputs: readonly [{
|
|
@@ -60320,7 +60319,7 @@ declare const useLens: () => {
|
|
|
60320
60319
|
}];
|
|
60321
60320
|
readonly stateMutability: "view";
|
|
60322
60321
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
60323
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
60322
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
60324
60323
|
readonly type: "function";
|
|
60325
60324
|
readonly name: "batchGetRefTick";
|
|
60326
60325
|
readonly inputs: readonly [{
|
|
@@ -61035,7 +61034,7 @@ declare const useLens: () => {
|
|
|
61035
61034
|
payoutAssetName: string;
|
|
61036
61035
|
optionsCount: bigint;
|
|
61037
61036
|
}>;
|
|
61038
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
61037
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
61039
61038
|
readonly type: "function";
|
|
61040
61039
|
readonly name: "batchGetRefTick";
|
|
61041
61040
|
readonly inputs: readonly [{
|
|
@@ -61737,7 +61736,7 @@ declare const useLens: () => {
|
|
|
61737
61736
|
}];
|
|
61738
61737
|
readonly stateMutability: "view";
|
|
61739
61738
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
61740
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
61739
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
61741
61740
|
readonly type: "function";
|
|
61742
61741
|
readonly name: "batchGetRefTick";
|
|
61743
61742
|
readonly inputs: readonly [{
|
|
@@ -62439,7 +62438,7 @@ declare const useLens: () => {
|
|
|
62439
62438
|
}];
|
|
62440
62439
|
readonly stateMutability: "view";
|
|
62441
62440
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
62442
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
62441
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
62443
62442
|
readonly type: "function";
|
|
62444
62443
|
readonly name: "batchGetRefTick";
|
|
62445
62444
|
readonly inputs: readonly [{
|
|
@@ -63160,7 +63159,7 @@ declare const useLens: () => {
|
|
|
63160
63159
|
createdAt: bigint;
|
|
63161
63160
|
liquidities: readonly bigint[];
|
|
63162
63161
|
}>;
|
|
63163
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
63162
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
63164
63163
|
readonly type: "function";
|
|
63165
63164
|
readonly name: "batchGetRefTick";
|
|
63166
63165
|
readonly inputs: readonly [{
|
|
@@ -63881,7 +63880,7 @@ declare const useLens: () => {
|
|
|
63881
63880
|
createdAt: bigint;
|
|
63882
63881
|
liquidities: readonly bigint[];
|
|
63883
63882
|
}[]>;
|
|
63884
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
63883
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
63885
63884
|
readonly type: "function";
|
|
63886
63885
|
readonly name: "batchGetRefTick";
|
|
63887
63886
|
readonly inputs: readonly [{
|
|
@@ -64594,7 +64593,7 @@ declare const useLens: () => {
|
|
|
64594
64593
|
tickSpacing: number;
|
|
64595
64594
|
fee: number;
|
|
64596
64595
|
}>;
|
|
64597
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
64596
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
64598
64597
|
readonly type: "function";
|
|
64599
64598
|
readonly name: "batchGetRefTick";
|
|
64600
64599
|
readonly inputs: readonly [{
|
|
@@ -65296,7 +65295,7 @@ declare const useLens: () => {
|
|
|
65296
65295
|
}];
|
|
65297
65296
|
readonly stateMutability: "view";
|
|
65298
65297
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
65299
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
65298
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
65300
65299
|
readonly type: "function";
|
|
65301
65300
|
readonly name: "batchGetRefTick";
|
|
65302
65301
|
readonly inputs: readonly [{
|
|
@@ -66017,7 +66016,7 @@ declare const useLens: () => {
|
|
|
66017
66016
|
createdAt: bigint;
|
|
66018
66017
|
liquidities: readonly bigint[];
|
|
66019
66018
|
}[], bigint, boolean]>;
|
|
66020
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
66019
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem117.Prettify<viem117.UnionOmit<viem117.ReadContractParameters<readonly [{
|
|
66021
66020
|
readonly type: "function";
|
|
66022
66021
|
readonly name: "batchGetRefTick";
|
|
66023
66022
|
readonly inputs: readonly [{
|