timelock-sdk 0.0.1 → 0.0.2
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 +3 -3
- package/dist/package.cjs.map +1 -1
- package/dist/package.d.cts +855 -149
- package/dist/package.d.ts +881 -175
- package/dist/package.js +4 -4
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
package/dist/package.d.cts
CHANGED
|
@@ -1,11 +1,119 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import
|
|
3
|
+
import "graphql";
|
|
4
|
+
import "graphql-request";
|
|
5
|
+
import * as viem0 from "viem";
|
|
4
6
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
5
7
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
6
8
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
7
9
|
import Big from "big.js";
|
|
8
10
|
|
|
11
|
+
//#region src/generated/graphql.d.ts
|
|
12
|
+
type Exact<T extends {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}> = { [K in keyof T]: T[K] };
|
|
15
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
16
|
+
type Scalars = {
|
|
17
|
+
ID: {
|
|
18
|
+
input: string;
|
|
19
|
+
output: string;
|
|
20
|
+
};
|
|
21
|
+
String: {
|
|
22
|
+
input: string;
|
|
23
|
+
output: string;
|
|
24
|
+
};
|
|
25
|
+
Boolean: {
|
|
26
|
+
input: boolean;
|
|
27
|
+
output: boolean;
|
|
28
|
+
};
|
|
29
|
+
Int: {
|
|
30
|
+
input: number;
|
|
31
|
+
output: number;
|
|
32
|
+
};
|
|
33
|
+
Float: {
|
|
34
|
+
input: number;
|
|
35
|
+
output: number;
|
|
36
|
+
};
|
|
37
|
+
jsonb: {
|
|
38
|
+
input: any;
|
|
39
|
+
output: any;
|
|
40
|
+
};
|
|
41
|
+
numeric: {
|
|
42
|
+
input: any;
|
|
43
|
+
output: any;
|
|
44
|
+
};
|
|
45
|
+
optiontype: {
|
|
46
|
+
input: any;
|
|
47
|
+
output: any;
|
|
48
|
+
};
|
|
49
|
+
timestamptz: {
|
|
50
|
+
input: any;
|
|
51
|
+
output: any;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */
|
|
55
|
+
|
|
56
|
+
type GetActiveUserOptionsQueryVariables = Exact<{
|
|
57
|
+
user: Scalars['String']['input'];
|
|
58
|
+
}>;
|
|
59
|
+
type GetActiveUserOptionsQuery = {
|
|
60
|
+
__typename: 'query_root';
|
|
61
|
+
UserOption: Array<{
|
|
62
|
+
__typename: 'UserOption';
|
|
63
|
+
id: string;
|
|
64
|
+
owner: string;
|
|
65
|
+
optionType: any;
|
|
66
|
+
strikeTick: number;
|
|
67
|
+
entryTick: number;
|
|
68
|
+
expiresAt: number;
|
|
69
|
+
createdAt: number;
|
|
70
|
+
premiumPaid: any;
|
|
71
|
+
realizedPayout: any;
|
|
72
|
+
marketAddr: string;
|
|
73
|
+
liquiditiesAtOpen: Array<any>;
|
|
74
|
+
liquiditiesCurrent: Array<any>;
|
|
75
|
+
fullyExercised: boolean;
|
|
76
|
+
exerciseEvents: Array<{
|
|
77
|
+
__typename: 'ExerciseOptionEvent';
|
|
78
|
+
transactionHash: string;
|
|
79
|
+
}>;
|
|
80
|
+
mintEvent?: {
|
|
81
|
+
__typename: 'MintOptionEvent';
|
|
82
|
+
transactionHash: string;
|
|
83
|
+
} | null;
|
|
84
|
+
}>;
|
|
85
|
+
};
|
|
86
|
+
type GetClosedUserOptionsQueryVariables = Exact<{
|
|
87
|
+
user: Scalars['String']['input'];
|
|
88
|
+
}>;
|
|
89
|
+
type GetClosedUserOptionsQuery = {
|
|
90
|
+
__typename: 'query_root';
|
|
91
|
+
UserOption: Array<{
|
|
92
|
+
__typename: 'UserOption';
|
|
93
|
+
id: string;
|
|
94
|
+
owner: string;
|
|
95
|
+
optionType: any;
|
|
96
|
+
strikeTick: number;
|
|
97
|
+
entryTick: number;
|
|
98
|
+
expiresAt: number;
|
|
99
|
+
createdAt: number;
|
|
100
|
+
premiumPaid: any;
|
|
101
|
+
realizedPayout: any;
|
|
102
|
+
marketAddr: string;
|
|
103
|
+
liquiditiesAtOpen: Array<any>;
|
|
104
|
+
liquiditiesCurrent: Array<any>;
|
|
105
|
+
fullyExercised: boolean;
|
|
106
|
+
exerciseEvents: Array<{
|
|
107
|
+
__typename: 'ExerciseOptionEvent';
|
|
108
|
+
transactionHash: string;
|
|
109
|
+
}>;
|
|
110
|
+
mintEvent?: {
|
|
111
|
+
__typename: 'MintOptionEvent';
|
|
112
|
+
transactionHash: string;
|
|
113
|
+
} | null;
|
|
114
|
+
}>;
|
|
115
|
+
};
|
|
116
|
+
//#endregion
|
|
9
117
|
//#region src/abis/uniswapV3Pool.d.ts
|
|
10
118
|
declare const uniswapV3PoolAbi: readonly [{
|
|
11
119
|
readonly type: "function";
|
|
@@ -3509,7 +3617,7 @@ type TimelockLens = GetContractReturnType<typeof lensAbi, Client, Address>;
|
|
|
3509
3617
|
type UniswapMathLens = GetContractReturnType<typeof uniswapMathLensAbi, Client, Address>;
|
|
3510
3618
|
declare const getErc20: (address: Address, client: Client) => {
|
|
3511
3619
|
read: {
|
|
3512
|
-
symbol: (options?:
|
|
3620
|
+
symbol: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3513
3621
|
readonly type: "constructor";
|
|
3514
3622
|
readonly inputs: readonly [{
|
|
3515
3623
|
readonly name: "name_";
|
|
@@ -3728,7 +3836,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3728
3836
|
}];
|
|
3729
3837
|
readonly anonymous: false;
|
|
3730
3838
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
3731
|
-
name: (options?:
|
|
3839
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3732
3840
|
readonly type: "constructor";
|
|
3733
3841
|
readonly inputs: readonly [{
|
|
3734
3842
|
readonly name: "name_";
|
|
@@ -3947,7 +4055,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3947
4055
|
}];
|
|
3948
4056
|
readonly anonymous: false;
|
|
3949
4057
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
3950
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
4058
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3951
4059
|
readonly type: "constructor";
|
|
3952
4060
|
readonly inputs: readonly [{
|
|
3953
4061
|
readonly name: "name_";
|
|
@@ -4166,7 +4274,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4166
4274
|
}];
|
|
4167
4275
|
readonly anonymous: false;
|
|
4168
4276
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4169
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
4277
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4170
4278
|
readonly type: "constructor";
|
|
4171
4279
|
readonly inputs: readonly [{
|
|
4172
4280
|
readonly name: "name_";
|
|
@@ -4385,7 +4493,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4385
4493
|
}];
|
|
4386
4494
|
readonly anonymous: false;
|
|
4387
4495
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4388
|
-
decimals: (options?:
|
|
4496
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4389
4497
|
readonly type: "constructor";
|
|
4390
4498
|
readonly inputs: readonly [{
|
|
4391
4499
|
readonly name: "name_";
|
|
@@ -4604,7 +4712,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4604
4712
|
}];
|
|
4605
4713
|
readonly anonymous: false;
|
|
4606
4714
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
4607
|
-
totalSupply: (options?:
|
|
4715
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4608
4716
|
readonly type: "constructor";
|
|
4609
4717
|
readonly inputs: readonly [{
|
|
4610
4718
|
readonly name: "name_";
|
|
@@ -4825,7 +4933,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4825
4933
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4826
4934
|
};
|
|
4827
4935
|
estimateGas: {
|
|
4828
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
4936
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
4829
4937
|
readonly type: "constructor";
|
|
4830
4938
|
readonly inputs: readonly [{
|
|
4831
4939
|
readonly name: "name_";
|
|
@@ -5043,8 +5151,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5043
5151
|
readonly internalType: "uint256";
|
|
5044
5152
|
}];
|
|
5045
5153
|
readonly anonymous: false;
|
|
5046
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5047
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
5154
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5155
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5048
5156
|
readonly type: "constructor";
|
|
5049
5157
|
readonly inputs: readonly [{
|
|
5050
5158
|
readonly name: "name_";
|
|
@@ -5262,8 +5370,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5262
5370
|
readonly internalType: "uint256";
|
|
5263
5371
|
}];
|
|
5264
5372
|
readonly anonymous: false;
|
|
5265
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5266
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
5373
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5374
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5267
5375
|
readonly type: "constructor";
|
|
5268
5376
|
readonly inputs: readonly [{
|
|
5269
5377
|
readonly name: "name_";
|
|
@@ -5481,8 +5589,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5481
5589
|
readonly internalType: "uint256";
|
|
5482
5590
|
}];
|
|
5483
5591
|
readonly anonymous: false;
|
|
5484
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5485
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
5592
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5593
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5486
5594
|
readonly type: "constructor";
|
|
5487
5595
|
readonly inputs: readonly [{
|
|
5488
5596
|
readonly name: "name_";
|
|
@@ -5700,8 +5808,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5700
5808
|
readonly internalType: "uint256";
|
|
5701
5809
|
}];
|
|
5702
5810
|
readonly anonymous: false;
|
|
5703
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5704
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
5811
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5812
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5705
5813
|
readonly type: "constructor";
|
|
5706
5814
|
readonly inputs: readonly [{
|
|
5707
5815
|
readonly name: "name_";
|
|
@@ -5919,9 +6027,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5919
6027
|
readonly internalType: "uint256";
|
|
5920
6028
|
}];
|
|
5921
6029
|
readonly anonymous: false;
|
|
5922
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
6030
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5923
6031
|
} & {
|
|
5924
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
6032
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5925
6033
|
readonly type: "constructor";
|
|
5926
6034
|
readonly inputs: readonly [{
|
|
5927
6035
|
readonly name: "name_";
|
|
@@ -6139,8 +6247,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6139
6247
|
readonly internalType: "uint256";
|
|
6140
6248
|
}];
|
|
6141
6249
|
readonly anonymous: false;
|
|
6142
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
6143
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
6250
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6251
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6144
6252
|
readonly type: "constructor";
|
|
6145
6253
|
readonly inputs: readonly [{
|
|
6146
6254
|
readonly name: "name_";
|
|
@@ -6358,8 +6466,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6358
6466
|
readonly internalType: "uint256";
|
|
6359
6467
|
}];
|
|
6360
6468
|
readonly anonymous: false;
|
|
6361
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
6362
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
6469
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6470
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6363
6471
|
readonly type: "constructor";
|
|
6364
6472
|
readonly inputs: readonly [{
|
|
6365
6473
|
readonly name: "name_";
|
|
@@ -6577,8 +6685,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6577
6685
|
readonly internalType: "uint256";
|
|
6578
6686
|
}];
|
|
6579
6687
|
readonly anonymous: false;
|
|
6580
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
6581
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
6688
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6689
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6582
6690
|
readonly type: "constructor";
|
|
6583
6691
|
readonly inputs: readonly [{
|
|
6584
6692
|
readonly name: "name_";
|
|
@@ -6796,8 +6904,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6796
6904
|
readonly internalType: "uint256";
|
|
6797
6905
|
}];
|
|
6798
6906
|
readonly anonymous: false;
|
|
6799
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
6800
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
6907
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6908
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6801
6909
|
readonly type: "constructor";
|
|
6802
6910
|
readonly inputs: readonly [{
|
|
6803
6911
|
readonly name: "name_";
|
|
@@ -7015,10 +7123,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7015
7123
|
readonly internalType: "uint256";
|
|
7016
7124
|
}];
|
|
7017
7125
|
readonly anonymous: false;
|
|
7018
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
7126
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
7019
7127
|
};
|
|
7020
7128
|
simulate: {
|
|
7021
|
-
approve: <chainOverride extends
|
|
7129
|
+
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
7022
7130
|
readonly type: "constructor";
|
|
7023
7131
|
readonly inputs: readonly [{
|
|
7024
7132
|
readonly name: "name_";
|
|
@@ -7236,7 +7344,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7236
7344
|
readonly internalType: "uint256";
|
|
7237
7345
|
}];
|
|
7238
7346
|
readonly anonymous: false;
|
|
7239
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
7347
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
7240
7348
|
readonly type: "constructor";
|
|
7241
7349
|
readonly inputs: readonly [{
|
|
7242
7350
|
readonly name: "name_";
|
|
@@ -7454,8 +7562,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7454
7562
|
readonly internalType: "uint256";
|
|
7455
7563
|
}];
|
|
7456
7564
|
readonly anonymous: false;
|
|
7457
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
7458
|
-
decreaseAllowance: <chainOverride extends
|
|
7565
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
7566
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
7459
7567
|
readonly type: "constructor";
|
|
7460
7568
|
readonly inputs: readonly [{
|
|
7461
7569
|
readonly name: "name_";
|
|
@@ -7673,7 +7781,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7673
7781
|
readonly internalType: "uint256";
|
|
7674
7782
|
}];
|
|
7675
7783
|
readonly anonymous: false;
|
|
7676
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
7784
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
7677
7785
|
readonly type: "constructor";
|
|
7678
7786
|
readonly inputs: readonly [{
|
|
7679
7787
|
readonly name: "name_";
|
|
@@ -7891,8 +7999,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7891
7999
|
readonly internalType: "uint256";
|
|
7892
8000
|
}];
|
|
7893
8001
|
readonly anonymous: false;
|
|
7894
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
7895
|
-
increaseAllowance: <chainOverride extends
|
|
8002
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
8003
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
7896
8004
|
readonly type: "constructor";
|
|
7897
8005
|
readonly inputs: readonly [{
|
|
7898
8006
|
readonly name: "name_";
|
|
@@ -8110,7 +8218,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8110
8218
|
readonly internalType: "uint256";
|
|
8111
8219
|
}];
|
|
8112
8220
|
readonly anonymous: false;
|
|
8113
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
8221
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
8114
8222
|
readonly type: "constructor";
|
|
8115
8223
|
readonly inputs: readonly [{
|
|
8116
8224
|
readonly name: "name_";
|
|
@@ -8328,8 +8436,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8328
8436
|
readonly internalType: "uint256";
|
|
8329
8437
|
}];
|
|
8330
8438
|
readonly anonymous: false;
|
|
8331
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
8332
|
-
transfer: <chainOverride extends
|
|
8439
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
8440
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
8333
8441
|
readonly type: "constructor";
|
|
8334
8442
|
readonly inputs: readonly [{
|
|
8335
8443
|
readonly name: "name_";
|
|
@@ -8547,7 +8655,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8547
8655
|
readonly internalType: "uint256";
|
|
8548
8656
|
}];
|
|
8549
8657
|
readonly anonymous: false;
|
|
8550
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
8658
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
8551
8659
|
readonly type: "constructor";
|
|
8552
8660
|
readonly inputs: readonly [{
|
|
8553
8661
|
readonly name: "name_";
|
|
@@ -8765,8 +8873,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8765
8873
|
readonly internalType: "uint256";
|
|
8766
8874
|
}];
|
|
8767
8875
|
readonly anonymous: false;
|
|
8768
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
8769
|
-
transferFrom: <chainOverride extends
|
|
8876
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
8877
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
8770
8878
|
readonly type: "constructor";
|
|
8771
8879
|
readonly inputs: readonly [{
|
|
8772
8880
|
readonly name: "name_";
|
|
@@ -8984,7 +9092,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8984
9092
|
readonly internalType: "uint256";
|
|
8985
9093
|
}];
|
|
8986
9094
|
readonly anonymous: false;
|
|
8987
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
9095
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
8988
9096
|
readonly type: "constructor";
|
|
8989
9097
|
readonly inputs: readonly [{
|
|
8990
9098
|
readonly name: "name_";
|
|
@@ -9202,7 +9310,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9202
9310
|
readonly internalType: "uint256";
|
|
9203
9311
|
}];
|
|
9204
9312
|
readonly anonymous: false;
|
|
9205
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
9313
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
9206
9314
|
};
|
|
9207
9315
|
createEventFilter: {
|
|
9208
9316
|
Approval: <const args extends {
|
|
@@ -9218,11 +9326,11 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9218
9326
|
owner?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9219
9327
|
spender?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9220
9328
|
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
9221
|
-
fromBlock?: bigint |
|
|
9222
|
-
toBlock?: bigint |
|
|
9329
|
+
fromBlock?: bigint | viem0.BlockTag | undefined;
|
|
9330
|
+
toBlock?: bigint | viem0.BlockTag | undefined;
|
|
9223
9331
|
} & {
|
|
9224
9332
|
strict?: strict | undefined;
|
|
9225
|
-
}) | undefined) => Promise<
|
|
9333
|
+
}) | undefined) => Promise<viem0.CreateContractEventFilterReturnType<readonly [{
|
|
9226
9334
|
readonly type: "constructor";
|
|
9227
9335
|
readonly inputs: readonly [{
|
|
9228
9336
|
readonly name: "name_";
|
|
@@ -9454,11 +9562,11 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9454
9562
|
from?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9455
9563
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9456
9564
|
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
9457
|
-
fromBlock?: bigint |
|
|
9458
|
-
toBlock?: bigint |
|
|
9565
|
+
fromBlock?: bigint | viem0.BlockTag | undefined;
|
|
9566
|
+
toBlock?: bigint | viem0.BlockTag | undefined;
|
|
9459
9567
|
} & {
|
|
9460
9568
|
strict?: strict | undefined;
|
|
9461
|
-
}) | undefined) => Promise<
|
|
9569
|
+
}) | undefined) => Promise<viem0.CreateContractEventFilterReturnType<readonly [{
|
|
9462
9570
|
readonly type: "constructor";
|
|
9463
9571
|
readonly inputs: readonly [{
|
|
9464
9572
|
readonly name: "name_";
|
|
@@ -9684,10 +9792,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9684
9792
|
spender?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9685
9793
|
} | undefined, options?: {
|
|
9686
9794
|
strict?: boolean | undefined;
|
|
9687
|
-
fromBlock?: bigint |
|
|
9688
|
-
toBlock?: bigint |
|
|
9795
|
+
fromBlock?: bigint | viem0.BlockTag | undefined;
|
|
9796
|
+
toBlock?: bigint | viem0.BlockTag | undefined;
|
|
9689
9797
|
blockHash?: `0x${string}` | undefined;
|
|
9690
|
-
} | undefined) => Promise<
|
|
9798
|
+
} | undefined) => Promise<viem0.GetContractEventsReturnType<readonly [{
|
|
9691
9799
|
readonly type: "constructor";
|
|
9692
9800
|
readonly inputs: readonly [{
|
|
9693
9801
|
readonly name: "name_";
|
|
@@ -9911,10 +10019,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9911
10019
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9912
10020
|
} | undefined, options?: {
|
|
9913
10021
|
strict?: boolean | undefined;
|
|
9914
|
-
fromBlock?: bigint |
|
|
9915
|
-
toBlock?: bigint |
|
|
10022
|
+
fromBlock?: bigint | viem0.BlockTag | undefined;
|
|
10023
|
+
toBlock?: bigint | viem0.BlockTag | undefined;
|
|
9916
10024
|
blockHash?: `0x${string}` | undefined;
|
|
9917
|
-
} | undefined) => Promise<
|
|
10025
|
+
} | undefined) => Promise<viem0.GetContractEventsReturnType<readonly [{
|
|
9918
10026
|
readonly type: "constructor";
|
|
9919
10027
|
readonly inputs: readonly [{
|
|
9920
10028
|
readonly name: "name_";
|
|
@@ -10144,7 +10252,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10144
10252
|
strict?: boolean | undefined;
|
|
10145
10253
|
fromBlock?: bigint | undefined;
|
|
10146
10254
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
10147
|
-
onLogs:
|
|
10255
|
+
onLogs: viem0.WatchContractEventOnLogsFn<readonly [{
|
|
10148
10256
|
readonly type: "constructor";
|
|
10149
10257
|
readonly inputs: readonly [{
|
|
10150
10258
|
readonly name: "name_";
|
|
@@ -10364,7 +10472,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10364
10472
|
readonly anonymous: false;
|
|
10365
10473
|
}], "Approval", undefined>;
|
|
10366
10474
|
poll?: true | undefined | undefined;
|
|
10367
|
-
}) =>
|
|
10475
|
+
}) => viem0.WatchContractEventReturnType;
|
|
10368
10476
|
Transfer: (args: {
|
|
10369
10477
|
from?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10370
10478
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
@@ -10374,7 +10482,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10374
10482
|
strict?: boolean | undefined;
|
|
10375
10483
|
fromBlock?: bigint | undefined;
|
|
10376
10484
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
10377
|
-
onLogs:
|
|
10485
|
+
onLogs: viem0.WatchContractEventOnLogsFn<readonly [{
|
|
10378
10486
|
readonly type: "constructor";
|
|
10379
10487
|
readonly inputs: readonly [{
|
|
10380
10488
|
readonly name: "name_";
|
|
@@ -10594,10 +10702,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10594
10702
|
readonly anonymous: false;
|
|
10595
10703
|
}], "Transfer", undefined>;
|
|
10596
10704
|
poll?: true | undefined | undefined;
|
|
10597
|
-
}) =>
|
|
10705
|
+
}) => viem0.WatchContractEventReturnType;
|
|
10598
10706
|
};
|
|
10599
10707
|
write: {
|
|
10600
|
-
approve: <chainOverride extends
|
|
10708
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
10601
10709
|
readonly type: "constructor";
|
|
10602
10710
|
readonly inputs: readonly [{
|
|
10603
10711
|
readonly name: "name_";
|
|
@@ -10815,8 +10923,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10815
10923
|
readonly internalType: "uint256";
|
|
10816
10924
|
}];
|
|
10817
10925
|
readonly anonymous: false;
|
|
10818
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
10819
|
-
decreaseAllowance: <chainOverride extends
|
|
10926
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.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<viem0.WriteContractReturnType>;
|
|
10927
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
10820
10928
|
readonly type: "constructor";
|
|
10821
10929
|
readonly inputs: readonly [{
|
|
10822
10930
|
readonly name: "name_";
|
|
@@ -11034,8 +11142,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11034
11142
|
readonly internalType: "uint256";
|
|
11035
11143
|
}];
|
|
11036
11144
|
readonly anonymous: false;
|
|
11037
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
11038
|
-
increaseAllowance: <chainOverride extends
|
|
11145
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.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<viem0.WriteContractReturnType>;
|
|
11146
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
11039
11147
|
readonly type: "constructor";
|
|
11040
11148
|
readonly inputs: readonly [{
|
|
11041
11149
|
readonly name: "name_";
|
|
@@ -11253,8 +11361,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11253
11361
|
readonly internalType: "uint256";
|
|
11254
11362
|
}];
|
|
11255
11363
|
readonly anonymous: false;
|
|
11256
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
11257
|
-
transfer: <chainOverride extends
|
|
11364
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.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<viem0.WriteContractReturnType>;
|
|
11365
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
11258
11366
|
readonly type: "constructor";
|
|
11259
11367
|
readonly inputs: readonly [{
|
|
11260
11368
|
readonly name: "name_";
|
|
@@ -11472,8 +11580,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11472
11580
|
readonly internalType: "uint256";
|
|
11473
11581
|
}];
|
|
11474
11582
|
readonly anonymous: false;
|
|
11475
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
11476
|
-
transferFrom: <chainOverride extends
|
|
11583
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.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<viem0.WriteContractReturnType>;
|
|
11584
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
11477
11585
|
readonly type: "constructor";
|
|
11478
11586
|
readonly inputs: readonly [{
|
|
11479
11587
|
readonly name: "name_";
|
|
@@ -11691,7 +11799,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11691
11799
|
readonly internalType: "uint256";
|
|
11692
11800
|
}];
|
|
11693
11801
|
readonly anonymous: false;
|
|
11694
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
11802
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.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<viem0.WriteContractReturnType>;
|
|
11695
11803
|
};
|
|
11696
11804
|
address: `0x${string}`;
|
|
11697
11805
|
abi: readonly [{
|
|
@@ -11919,7 +12027,7 @@ declare const getTimelockMarket: (address: Address, client: Client) => TimelockM
|
|
|
11919
12027
|
declare const getUniswapPool: (address: Address, client: Client) => UniswapPool;
|
|
11920
12028
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
11921
12029
|
read: {
|
|
11922
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12030
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11923
12031
|
readonly type: "function";
|
|
11924
12032
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11925
12033
|
readonly inputs: readonly [{
|
|
@@ -12540,7 +12648,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12540
12648
|
}];
|
|
12541
12649
|
readonly stateMutability: "pure";
|
|
12542
12650
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12543
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
12651
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12544
12652
|
readonly type: "function";
|
|
12545
12653
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12546
12654
|
readonly inputs: readonly [{
|
|
@@ -13161,7 +13269,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13161
13269
|
}];
|
|
13162
13270
|
readonly stateMutability: "pure";
|
|
13163
13271
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13164
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13272
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13165
13273
|
readonly type: "function";
|
|
13166
13274
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13167
13275
|
readonly inputs: readonly [{
|
|
@@ -13782,7 +13890,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13782
13890
|
}];
|
|
13783
13891
|
readonly stateMutability: "pure";
|
|
13784
13892
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13785
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13893
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13786
13894
|
readonly type: "function";
|
|
13787
13895
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13788
13896
|
readonly inputs: readonly [{
|
|
@@ -14403,7 +14511,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14403
14511
|
}];
|
|
14404
14512
|
readonly stateMutability: "pure";
|
|
14405
14513
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14406
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14514
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14407
14515
|
readonly type: "function";
|
|
14408
14516
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14409
14517
|
readonly inputs: readonly [{
|
|
@@ -15024,7 +15132,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15024
15132
|
}];
|
|
15025
15133
|
readonly stateMutability: "pure";
|
|
15026
15134
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15027
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15135
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15028
15136
|
readonly type: "function";
|
|
15029
15137
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15030
15138
|
readonly inputs: readonly [{
|
|
@@ -15645,7 +15753,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15645
15753
|
}];
|
|
15646
15754
|
readonly stateMutability: "pure";
|
|
15647
15755
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15648
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15756
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15649
15757
|
readonly type: "function";
|
|
15650
15758
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15651
15759
|
readonly inputs: readonly [{
|
|
@@ -16266,7 +16374,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16266
16374
|
}];
|
|
16267
16375
|
readonly stateMutability: "pure";
|
|
16268
16376
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16269
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16377
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16270
16378
|
readonly type: "function";
|
|
16271
16379
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16272
16380
|
readonly inputs: readonly [{
|
|
@@ -16887,7 +16995,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16887
16995
|
}];
|
|
16888
16996
|
readonly stateMutability: "pure";
|
|
16889
16997
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16890
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16998
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16891
16999
|
readonly type: "function";
|
|
16892
17000
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16893
17001
|
readonly inputs: readonly [{
|
|
@@ -17508,7 +17616,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17508
17616
|
}];
|
|
17509
17617
|
readonly stateMutability: "pure";
|
|
17510
17618
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17511
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17619
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17512
17620
|
readonly type: "function";
|
|
17513
17621
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17514
17622
|
readonly inputs: readonly [{
|
|
@@ -18129,7 +18237,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18129
18237
|
}];
|
|
18130
18238
|
readonly stateMutability: "pure";
|
|
18131
18239
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18132
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18240
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18133
18241
|
readonly type: "function";
|
|
18134
18242
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18135
18243
|
readonly inputs: readonly [{
|
|
@@ -18750,7 +18858,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18750
18858
|
}];
|
|
18751
18859
|
readonly stateMutability: "pure";
|
|
18752
18860
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18753
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
18861
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18754
18862
|
readonly type: "function";
|
|
18755
18863
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18756
18864
|
readonly inputs: readonly [{
|
|
@@ -19371,7 +19479,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19371
19479
|
}];
|
|
19372
19480
|
readonly stateMutability: "pure";
|
|
19373
19481
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19374
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
19482
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19375
19483
|
readonly type: "function";
|
|
19376
19484
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19377
19485
|
readonly inputs: readonly [{
|
|
@@ -19992,7 +20100,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19992
20100
|
}];
|
|
19993
20101
|
readonly stateMutability: "pure";
|
|
19994
20102
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19995
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20103
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19996
20104
|
readonly type: "function";
|
|
19997
20105
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19998
20106
|
readonly inputs: readonly [{
|
|
@@ -20613,7 +20721,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20613
20721
|
}];
|
|
20614
20722
|
readonly stateMutability: "pure";
|
|
20615
20723
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20616
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
20724
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20617
20725
|
readonly type: "function";
|
|
20618
20726
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20619
20727
|
readonly inputs: readonly [{
|
|
@@ -21234,7 +21342,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21234
21342
|
}];
|
|
21235
21343
|
readonly stateMutability: "pure";
|
|
21236
21344
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21237
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21345
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21238
21346
|
readonly type: "function";
|
|
21239
21347
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21240
21348
|
readonly inputs: readonly [{
|
|
@@ -21855,7 +21963,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21855
21963
|
}];
|
|
21856
21964
|
readonly stateMutability: "pure";
|
|
21857
21965
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21858
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21966
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21859
21967
|
readonly type: "function";
|
|
21860
21968
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21861
21969
|
readonly inputs: readonly [{
|
|
@@ -22476,7 +22584,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22476
22584
|
}];
|
|
22477
22585
|
readonly stateMutability: "pure";
|
|
22478
22586
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22479
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
22587
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22480
22588
|
readonly type: "function";
|
|
22481
22589
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22482
22590
|
readonly inputs: readonly [{
|
|
@@ -23097,7 +23205,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
23097
23205
|
}];
|
|
23098
23206
|
readonly stateMutability: "pure";
|
|
23099
23207
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23100
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23208
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23101
23209
|
readonly type: "function";
|
|
23102
23210
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23103
23211
|
readonly inputs: readonly [{
|
|
@@ -23718,7 +23826,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
23718
23826
|
}];
|
|
23719
23827
|
readonly stateMutability: "pure";
|
|
23720
23828
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23721
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
23829
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23722
23830
|
readonly type: "function";
|
|
23723
23831
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23724
23832
|
readonly inputs: readonly [{
|
|
@@ -24339,7 +24447,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
24339
24447
|
}];
|
|
24340
24448
|
readonly stateMutability: "pure";
|
|
24341
24449
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
24342
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
24450
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24343
24451
|
readonly type: "function";
|
|
24344
24452
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24345
24453
|
readonly inputs: readonly [{
|
|
@@ -24960,7 +25068,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
24960
25068
|
}];
|
|
24961
25069
|
readonly stateMutability: "pure";
|
|
24962
25070
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
24963
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25071
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24964
25072
|
readonly type: "function";
|
|
24965
25073
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24966
25074
|
readonly inputs: readonly [{
|
|
@@ -25581,7 +25689,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
25581
25689
|
}];
|
|
25582
25690
|
readonly stateMutability: "pure";
|
|
25583
25691
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25584
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
25692
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25585
25693
|
readonly type: "function";
|
|
25586
25694
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25587
25695
|
readonly inputs: readonly [{
|
|
@@ -26202,7 +26310,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
26202
26310
|
}];
|
|
26203
26311
|
readonly stateMutability: "pure";
|
|
26204
26312
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26205
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
26313
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26206
26314
|
readonly type: "function";
|
|
26207
26315
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26208
26316
|
readonly inputs: readonly [{
|
|
@@ -26823,7 +26931,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
26823
26931
|
}];
|
|
26824
26932
|
readonly stateMutability: "pure";
|
|
26825
26933
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26826
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
26934
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26827
26935
|
readonly type: "function";
|
|
26828
26936
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26829
26937
|
readonly inputs: readonly [{
|
|
@@ -27444,7 +27552,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
27444
27552
|
}];
|
|
27445
27553
|
readonly stateMutability: "pure";
|
|
27446
27554
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27447
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
27555
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27448
27556
|
readonly type: "function";
|
|
27449
27557
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27450
27558
|
readonly inputs: readonly [{
|
|
@@ -28691,7 +28799,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
28691
28799
|
};
|
|
28692
28800
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
28693
28801
|
read: {
|
|
28694
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
28802
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28695
28803
|
readonly type: "function";
|
|
28696
28804
|
readonly name: "batchGetRefTick";
|
|
28697
28805
|
readonly inputs: readonly [{
|
|
@@ -29393,7 +29501,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29393
29501
|
}];
|
|
29394
29502
|
readonly stateMutability: "view";
|
|
29395
29503
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
29396
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
29504
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29397
29505
|
readonly type: "function";
|
|
29398
29506
|
readonly name: "batchGetRefTick";
|
|
29399
29507
|
readonly inputs: readonly [{
|
|
@@ -30105,7 +30213,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30105
30213
|
borrowedAmount0: bigint;
|
|
30106
30214
|
borrowedAmount1: bigint;
|
|
30107
30215
|
}[]>;
|
|
30108
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
30216
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30109
30217
|
readonly type: "function";
|
|
30110
30218
|
readonly name: "batchGetRefTick";
|
|
30111
30219
|
readonly inputs: readonly [{
|
|
@@ -30826,7 +30934,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30826
30934
|
createdAt: bigint;
|
|
30827
30935
|
liquidities: readonly bigint[];
|
|
30828
30936
|
}[], bigint, boolean]>;
|
|
30829
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
30937
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30830
30938
|
readonly type: "function";
|
|
30831
30939
|
readonly name: "batchGetRefTick";
|
|
30832
30940
|
readonly inputs: readonly [{
|
|
@@ -31528,7 +31636,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31528
31636
|
}];
|
|
31529
31637
|
readonly stateMutability: "view";
|
|
31530
31638
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
31531
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
31639
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
31532
31640
|
readonly type: "function";
|
|
31533
31641
|
readonly name: "batchGetRefTick";
|
|
31534
31642
|
readonly inputs: readonly [{
|
|
@@ -32243,7 +32351,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32243
32351
|
payoutAssetName: string;
|
|
32244
32352
|
optionsCount: bigint;
|
|
32245
32353
|
}>;
|
|
32246
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
32354
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
32247
32355
|
readonly type: "function";
|
|
32248
32356
|
readonly name: "batchGetRefTick";
|
|
32249
32357
|
readonly inputs: readonly [{
|
|
@@ -32945,7 +33053,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32945
33053
|
}];
|
|
32946
33054
|
readonly stateMutability: "view";
|
|
32947
33055
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
32948
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
33056
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
32949
33057
|
readonly type: "function";
|
|
32950
33058
|
readonly name: "batchGetRefTick";
|
|
32951
33059
|
readonly inputs: readonly [{
|
|
@@ -33647,7 +33755,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33647
33755
|
}];
|
|
33648
33756
|
readonly stateMutability: "view";
|
|
33649
33757
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
33650
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
33758
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
33651
33759
|
readonly type: "function";
|
|
33652
33760
|
readonly name: "batchGetRefTick";
|
|
33653
33761
|
readonly inputs: readonly [{
|
|
@@ -34368,7 +34476,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34368
34476
|
createdAt: bigint;
|
|
34369
34477
|
liquidities: readonly bigint[];
|
|
34370
34478
|
}>;
|
|
34371
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
34479
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
34372
34480
|
readonly type: "function";
|
|
34373
34481
|
readonly name: "batchGetRefTick";
|
|
34374
34482
|
readonly inputs: readonly [{
|
|
@@ -35089,7 +35197,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35089
35197
|
createdAt: bigint;
|
|
35090
35198
|
liquidities: readonly bigint[];
|
|
35091
35199
|
}[]>;
|
|
35092
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
35200
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
35093
35201
|
readonly type: "function";
|
|
35094
35202
|
readonly name: "batchGetRefTick";
|
|
35095
35203
|
readonly inputs: readonly [{
|
|
@@ -35802,7 +35910,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35802
35910
|
tickSpacing: number;
|
|
35803
35911
|
fee: number;
|
|
35804
35912
|
}>;
|
|
35805
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
35913
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
35806
35914
|
readonly type: "function";
|
|
35807
35915
|
readonly name: "batchGetRefTick";
|
|
35808
35916
|
readonly inputs: readonly [{
|
|
@@ -36504,7 +36612,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36504
36612
|
}];
|
|
36505
36613
|
readonly stateMutability: "view";
|
|
36506
36614
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
36507
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
36615
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36508
36616
|
readonly type: "function";
|
|
36509
36617
|
readonly name: "batchGetRefTick";
|
|
36510
36618
|
readonly inputs: readonly [{
|
|
@@ -37225,7 +37333,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
37225
37333
|
createdAt: bigint;
|
|
37226
37334
|
liquidities: readonly bigint[];
|
|
37227
37335
|
}[], bigint, boolean]>;
|
|
37228
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
37336
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37229
37337
|
readonly type: "function";
|
|
37230
37338
|
readonly name: "batchGetRefTick";
|
|
37231
37339
|
readonly inputs: readonly [{
|
|
@@ -38634,7 +38742,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
38634
38742
|
};
|
|
38635
38743
|
declare const timelockLenses: Record<number, Address>;
|
|
38636
38744
|
declare const uniswapMathLenses: Record<number, Address>;
|
|
38637
|
-
declare const swapRouters: Record<number, Address>;
|
|
38638
38745
|
//#endregion
|
|
38639
38746
|
//#region src/hooks/market/useMarketData.d.ts
|
|
38640
38747
|
type TimelockMarketData = Required<ReturnType<typeof useMarketData>>;
|
|
@@ -38681,6 +38788,15 @@ declare const useCurrentMarket: () => Partial<Required<Partial<{
|
|
|
38681
38788
|
} & {
|
|
38682
38789
|
address: Address;
|
|
38683
38790
|
}>>>;
|
|
38791
|
+
declare const useTimelockConfig: () => {
|
|
38792
|
+
lensAddr: `0x${string}` | undefined;
|
|
38793
|
+
uniswapMathLensAddr: `0x${string}` | undefined;
|
|
38794
|
+
envioGraphqlUrl: string | undefined;
|
|
38795
|
+
graphqlClient: {
|
|
38796
|
+
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
38797
|
+
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: any, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
38798
|
+
} | undefined;
|
|
38799
|
+
};
|
|
38684
38800
|
//#endregion
|
|
38685
38801
|
//#region src/hooks/market/useExerciseOption.d.ts
|
|
38686
38802
|
declare const useExerciseOption: (market?: Address | TimelockMarket) => {
|
|
@@ -38732,6 +38848,584 @@ declare const useOptionLiquidityData: (optionData: {
|
|
|
38732
38848
|
declare const useOptionPremium: (market: Address | TimelockMarket | undefined, optionType: "CALL" | "PUT", optionAmount: bigint, duration: number) => Amount | undefined;
|
|
38733
38849
|
//#endregion
|
|
38734
38850
|
//#region src/hooks/market/useUserOptions.d.ts
|
|
38851
|
+
type OptionData = ReturnType<typeof useUserOptions>['data'][0];
|
|
38852
|
+
declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
38853
|
+
error: Error;
|
|
38854
|
+
isError: true;
|
|
38855
|
+
isPending: false;
|
|
38856
|
+
isLoading: false;
|
|
38857
|
+
isLoadingError: false;
|
|
38858
|
+
isRefetchError: true;
|
|
38859
|
+
isSuccess: false;
|
|
38860
|
+
isPlaceholderData: false;
|
|
38861
|
+
status: "error";
|
|
38862
|
+
dataUpdatedAt: number;
|
|
38863
|
+
errorUpdatedAt: number;
|
|
38864
|
+
failureCount: number;
|
|
38865
|
+
failureReason: Error | null;
|
|
38866
|
+
errorUpdateCount: number;
|
|
38867
|
+
isFetched: boolean;
|
|
38868
|
+
isFetchedAfterMount: boolean;
|
|
38869
|
+
isFetching: boolean;
|
|
38870
|
+
isInitialLoading: boolean;
|
|
38871
|
+
isPaused: boolean;
|
|
38872
|
+
isRefetching: boolean;
|
|
38873
|
+
isStale: boolean;
|
|
38874
|
+
isEnabled: boolean;
|
|
38875
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
38876
|
+
id: bigint;
|
|
38877
|
+
marketAddr: Address;
|
|
38878
|
+
optionType: "CALL" | "PUT";
|
|
38879
|
+
createdAt: Date;
|
|
38880
|
+
expiresAt: Date;
|
|
38881
|
+
premiumPaid: bigint;
|
|
38882
|
+
realizedPayout: bigint;
|
|
38883
|
+
liquiditiesAtOpen: bigint[];
|
|
38884
|
+
liquiditiesCurrent: bigint[];
|
|
38885
|
+
__typename: "UserOption";
|
|
38886
|
+
owner: string;
|
|
38887
|
+
strikeTick: number;
|
|
38888
|
+
entryTick: number;
|
|
38889
|
+
fullyExercised: boolean;
|
|
38890
|
+
exerciseEvents: Array<{
|
|
38891
|
+
__typename: "ExerciseOptionEvent";
|
|
38892
|
+
transactionHash: string;
|
|
38893
|
+
}>;
|
|
38894
|
+
mintEvent?: {
|
|
38895
|
+
__typename: "MintOptionEvent";
|
|
38896
|
+
transactionHash: string;
|
|
38897
|
+
} | null;
|
|
38898
|
+
}[] | undefined, Error>>;
|
|
38899
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
38900
|
+
promise: Promise<{
|
|
38901
|
+
id: bigint;
|
|
38902
|
+
marketAddr: Address;
|
|
38903
|
+
optionType: "CALL" | "PUT";
|
|
38904
|
+
createdAt: Date;
|
|
38905
|
+
expiresAt: Date;
|
|
38906
|
+
premiumPaid: bigint;
|
|
38907
|
+
realizedPayout: bigint;
|
|
38908
|
+
liquiditiesAtOpen: bigint[];
|
|
38909
|
+
liquiditiesCurrent: bigint[];
|
|
38910
|
+
__typename: "UserOption";
|
|
38911
|
+
owner: string;
|
|
38912
|
+
strikeTick: number;
|
|
38913
|
+
entryTick: number;
|
|
38914
|
+
fullyExercised: boolean;
|
|
38915
|
+
exerciseEvents: Array<{
|
|
38916
|
+
__typename: "ExerciseOptionEvent";
|
|
38917
|
+
transactionHash: string;
|
|
38918
|
+
}>;
|
|
38919
|
+
mintEvent?: {
|
|
38920
|
+
__typename: "MintOptionEvent";
|
|
38921
|
+
transactionHash: string;
|
|
38922
|
+
} | null;
|
|
38923
|
+
}[] | undefined>;
|
|
38924
|
+
data: {
|
|
38925
|
+
id: bigint;
|
|
38926
|
+
marketAddr: Address;
|
|
38927
|
+
optionType: "CALL" | "PUT";
|
|
38928
|
+
createdAt: Date;
|
|
38929
|
+
expiresAt: Date;
|
|
38930
|
+
premiumPaid: bigint;
|
|
38931
|
+
realizedPayout: bigint;
|
|
38932
|
+
liquiditiesAtOpen: bigint[];
|
|
38933
|
+
liquiditiesCurrent: bigint[];
|
|
38934
|
+
__typename: "UserOption";
|
|
38935
|
+
owner: string;
|
|
38936
|
+
strikeTick: number;
|
|
38937
|
+
entryTick: number;
|
|
38938
|
+
fullyExercised: boolean;
|
|
38939
|
+
exerciseEvents: Array<{
|
|
38940
|
+
__typename: "ExerciseOptionEvent";
|
|
38941
|
+
transactionHash: string;
|
|
38942
|
+
}>;
|
|
38943
|
+
mintEvent?: {
|
|
38944
|
+
__typename: "MintOptionEvent";
|
|
38945
|
+
transactionHash: string;
|
|
38946
|
+
} | null;
|
|
38947
|
+
}[];
|
|
38948
|
+
} | {
|
|
38949
|
+
error: null;
|
|
38950
|
+
isError: false;
|
|
38951
|
+
isPending: false;
|
|
38952
|
+
isLoading: false;
|
|
38953
|
+
isLoadingError: false;
|
|
38954
|
+
isRefetchError: false;
|
|
38955
|
+
isSuccess: true;
|
|
38956
|
+
isPlaceholderData: false;
|
|
38957
|
+
status: "success";
|
|
38958
|
+
dataUpdatedAt: number;
|
|
38959
|
+
errorUpdatedAt: number;
|
|
38960
|
+
failureCount: number;
|
|
38961
|
+
failureReason: Error | null;
|
|
38962
|
+
errorUpdateCount: number;
|
|
38963
|
+
isFetched: boolean;
|
|
38964
|
+
isFetchedAfterMount: boolean;
|
|
38965
|
+
isFetching: boolean;
|
|
38966
|
+
isInitialLoading: boolean;
|
|
38967
|
+
isPaused: boolean;
|
|
38968
|
+
isRefetching: boolean;
|
|
38969
|
+
isStale: boolean;
|
|
38970
|
+
isEnabled: boolean;
|
|
38971
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
38972
|
+
id: bigint;
|
|
38973
|
+
marketAddr: Address;
|
|
38974
|
+
optionType: "CALL" | "PUT";
|
|
38975
|
+
createdAt: Date;
|
|
38976
|
+
expiresAt: Date;
|
|
38977
|
+
premiumPaid: bigint;
|
|
38978
|
+
realizedPayout: bigint;
|
|
38979
|
+
liquiditiesAtOpen: bigint[];
|
|
38980
|
+
liquiditiesCurrent: bigint[];
|
|
38981
|
+
__typename: "UserOption";
|
|
38982
|
+
owner: string;
|
|
38983
|
+
strikeTick: number;
|
|
38984
|
+
entryTick: number;
|
|
38985
|
+
fullyExercised: boolean;
|
|
38986
|
+
exerciseEvents: Array<{
|
|
38987
|
+
__typename: "ExerciseOptionEvent";
|
|
38988
|
+
transactionHash: string;
|
|
38989
|
+
}>;
|
|
38990
|
+
mintEvent?: {
|
|
38991
|
+
__typename: "MintOptionEvent";
|
|
38992
|
+
transactionHash: string;
|
|
38993
|
+
} | null;
|
|
38994
|
+
}[] | undefined, Error>>;
|
|
38995
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
38996
|
+
promise: Promise<{
|
|
38997
|
+
id: bigint;
|
|
38998
|
+
marketAddr: Address;
|
|
38999
|
+
optionType: "CALL" | "PUT";
|
|
39000
|
+
createdAt: Date;
|
|
39001
|
+
expiresAt: Date;
|
|
39002
|
+
premiumPaid: bigint;
|
|
39003
|
+
realizedPayout: bigint;
|
|
39004
|
+
liquiditiesAtOpen: bigint[];
|
|
39005
|
+
liquiditiesCurrent: bigint[];
|
|
39006
|
+
__typename: "UserOption";
|
|
39007
|
+
owner: string;
|
|
39008
|
+
strikeTick: number;
|
|
39009
|
+
entryTick: number;
|
|
39010
|
+
fullyExercised: boolean;
|
|
39011
|
+
exerciseEvents: Array<{
|
|
39012
|
+
__typename: "ExerciseOptionEvent";
|
|
39013
|
+
transactionHash: string;
|
|
39014
|
+
}>;
|
|
39015
|
+
mintEvent?: {
|
|
39016
|
+
__typename: "MintOptionEvent";
|
|
39017
|
+
transactionHash: string;
|
|
39018
|
+
} | null;
|
|
39019
|
+
}[] | undefined>;
|
|
39020
|
+
data: {
|
|
39021
|
+
id: bigint;
|
|
39022
|
+
marketAddr: Address;
|
|
39023
|
+
optionType: "CALL" | "PUT";
|
|
39024
|
+
createdAt: Date;
|
|
39025
|
+
expiresAt: Date;
|
|
39026
|
+
premiumPaid: bigint;
|
|
39027
|
+
realizedPayout: bigint;
|
|
39028
|
+
liquiditiesAtOpen: bigint[];
|
|
39029
|
+
liquiditiesCurrent: bigint[];
|
|
39030
|
+
__typename: "UserOption";
|
|
39031
|
+
owner: string;
|
|
39032
|
+
strikeTick: number;
|
|
39033
|
+
entryTick: number;
|
|
39034
|
+
fullyExercised: boolean;
|
|
39035
|
+
exerciseEvents: Array<{
|
|
39036
|
+
__typename: "ExerciseOptionEvent";
|
|
39037
|
+
transactionHash: string;
|
|
39038
|
+
}>;
|
|
39039
|
+
mintEvent?: {
|
|
39040
|
+
__typename: "MintOptionEvent";
|
|
39041
|
+
transactionHash: string;
|
|
39042
|
+
} | null;
|
|
39043
|
+
}[];
|
|
39044
|
+
} | {
|
|
39045
|
+
error: Error;
|
|
39046
|
+
isError: true;
|
|
39047
|
+
isPending: false;
|
|
39048
|
+
isLoading: false;
|
|
39049
|
+
isLoadingError: true;
|
|
39050
|
+
isRefetchError: false;
|
|
39051
|
+
isSuccess: false;
|
|
39052
|
+
isPlaceholderData: false;
|
|
39053
|
+
status: "error";
|
|
39054
|
+
dataUpdatedAt: number;
|
|
39055
|
+
errorUpdatedAt: number;
|
|
39056
|
+
failureCount: number;
|
|
39057
|
+
failureReason: Error | null;
|
|
39058
|
+
errorUpdateCount: number;
|
|
39059
|
+
isFetched: boolean;
|
|
39060
|
+
isFetchedAfterMount: boolean;
|
|
39061
|
+
isFetching: boolean;
|
|
39062
|
+
isInitialLoading: boolean;
|
|
39063
|
+
isPaused: boolean;
|
|
39064
|
+
isRefetching: boolean;
|
|
39065
|
+
isStale: boolean;
|
|
39066
|
+
isEnabled: boolean;
|
|
39067
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
39068
|
+
id: bigint;
|
|
39069
|
+
marketAddr: Address;
|
|
39070
|
+
optionType: "CALL" | "PUT";
|
|
39071
|
+
createdAt: Date;
|
|
39072
|
+
expiresAt: Date;
|
|
39073
|
+
premiumPaid: bigint;
|
|
39074
|
+
realizedPayout: bigint;
|
|
39075
|
+
liquiditiesAtOpen: bigint[];
|
|
39076
|
+
liquiditiesCurrent: bigint[];
|
|
39077
|
+
__typename: "UserOption";
|
|
39078
|
+
owner: string;
|
|
39079
|
+
strikeTick: number;
|
|
39080
|
+
entryTick: number;
|
|
39081
|
+
fullyExercised: boolean;
|
|
39082
|
+
exerciseEvents: Array<{
|
|
39083
|
+
__typename: "ExerciseOptionEvent";
|
|
39084
|
+
transactionHash: string;
|
|
39085
|
+
}>;
|
|
39086
|
+
mintEvent?: {
|
|
39087
|
+
__typename: "MintOptionEvent";
|
|
39088
|
+
transactionHash: string;
|
|
39089
|
+
} | null;
|
|
39090
|
+
}[] | undefined, Error>>;
|
|
39091
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
39092
|
+
promise: Promise<{
|
|
39093
|
+
id: bigint;
|
|
39094
|
+
marketAddr: Address;
|
|
39095
|
+
optionType: "CALL" | "PUT";
|
|
39096
|
+
createdAt: Date;
|
|
39097
|
+
expiresAt: Date;
|
|
39098
|
+
premiumPaid: bigint;
|
|
39099
|
+
realizedPayout: bigint;
|
|
39100
|
+
liquiditiesAtOpen: bigint[];
|
|
39101
|
+
liquiditiesCurrent: bigint[];
|
|
39102
|
+
__typename: "UserOption";
|
|
39103
|
+
owner: string;
|
|
39104
|
+
strikeTick: number;
|
|
39105
|
+
entryTick: number;
|
|
39106
|
+
fullyExercised: boolean;
|
|
39107
|
+
exerciseEvents: Array<{
|
|
39108
|
+
__typename: "ExerciseOptionEvent";
|
|
39109
|
+
transactionHash: string;
|
|
39110
|
+
}>;
|
|
39111
|
+
mintEvent?: {
|
|
39112
|
+
__typename: "MintOptionEvent";
|
|
39113
|
+
transactionHash: string;
|
|
39114
|
+
} | null;
|
|
39115
|
+
}[] | undefined>;
|
|
39116
|
+
data: {
|
|
39117
|
+
id: bigint;
|
|
39118
|
+
marketAddr: Address;
|
|
39119
|
+
optionType: "CALL" | "PUT";
|
|
39120
|
+
createdAt: Date;
|
|
39121
|
+
expiresAt: Date;
|
|
39122
|
+
premiumPaid: bigint;
|
|
39123
|
+
realizedPayout: bigint;
|
|
39124
|
+
liquiditiesAtOpen: bigint[];
|
|
39125
|
+
liquiditiesCurrent: bigint[];
|
|
39126
|
+
__typename: "UserOption";
|
|
39127
|
+
owner: string;
|
|
39128
|
+
strikeTick: number;
|
|
39129
|
+
entryTick: number;
|
|
39130
|
+
fullyExercised: boolean;
|
|
39131
|
+
exerciseEvents: Array<{
|
|
39132
|
+
__typename: "ExerciseOptionEvent";
|
|
39133
|
+
transactionHash: string;
|
|
39134
|
+
}>;
|
|
39135
|
+
mintEvent?: {
|
|
39136
|
+
__typename: "MintOptionEvent";
|
|
39137
|
+
transactionHash: string;
|
|
39138
|
+
} | null;
|
|
39139
|
+
}[];
|
|
39140
|
+
} | {
|
|
39141
|
+
error: null;
|
|
39142
|
+
isError: false;
|
|
39143
|
+
isPending: true;
|
|
39144
|
+
isLoading: true;
|
|
39145
|
+
isLoadingError: false;
|
|
39146
|
+
isRefetchError: false;
|
|
39147
|
+
isSuccess: false;
|
|
39148
|
+
isPlaceholderData: false;
|
|
39149
|
+
status: "pending";
|
|
39150
|
+
dataUpdatedAt: number;
|
|
39151
|
+
errorUpdatedAt: number;
|
|
39152
|
+
failureCount: number;
|
|
39153
|
+
failureReason: Error | null;
|
|
39154
|
+
errorUpdateCount: number;
|
|
39155
|
+
isFetched: boolean;
|
|
39156
|
+
isFetchedAfterMount: boolean;
|
|
39157
|
+
isFetching: boolean;
|
|
39158
|
+
isInitialLoading: boolean;
|
|
39159
|
+
isPaused: boolean;
|
|
39160
|
+
isRefetching: boolean;
|
|
39161
|
+
isStale: boolean;
|
|
39162
|
+
isEnabled: boolean;
|
|
39163
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
39164
|
+
id: bigint;
|
|
39165
|
+
marketAddr: Address;
|
|
39166
|
+
optionType: "CALL" | "PUT";
|
|
39167
|
+
createdAt: Date;
|
|
39168
|
+
expiresAt: Date;
|
|
39169
|
+
premiumPaid: bigint;
|
|
39170
|
+
realizedPayout: bigint;
|
|
39171
|
+
liquiditiesAtOpen: bigint[];
|
|
39172
|
+
liquiditiesCurrent: bigint[];
|
|
39173
|
+
__typename: "UserOption";
|
|
39174
|
+
owner: string;
|
|
39175
|
+
strikeTick: number;
|
|
39176
|
+
entryTick: number;
|
|
39177
|
+
fullyExercised: boolean;
|
|
39178
|
+
exerciseEvents: Array<{
|
|
39179
|
+
__typename: "ExerciseOptionEvent";
|
|
39180
|
+
transactionHash: string;
|
|
39181
|
+
}>;
|
|
39182
|
+
mintEvent?: {
|
|
39183
|
+
__typename: "MintOptionEvent";
|
|
39184
|
+
transactionHash: string;
|
|
39185
|
+
} | null;
|
|
39186
|
+
}[] | undefined, Error>>;
|
|
39187
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
39188
|
+
promise: Promise<{
|
|
39189
|
+
id: bigint;
|
|
39190
|
+
marketAddr: Address;
|
|
39191
|
+
optionType: "CALL" | "PUT";
|
|
39192
|
+
createdAt: Date;
|
|
39193
|
+
expiresAt: Date;
|
|
39194
|
+
premiumPaid: bigint;
|
|
39195
|
+
realizedPayout: bigint;
|
|
39196
|
+
liquiditiesAtOpen: bigint[];
|
|
39197
|
+
liquiditiesCurrent: bigint[];
|
|
39198
|
+
__typename: "UserOption";
|
|
39199
|
+
owner: string;
|
|
39200
|
+
strikeTick: number;
|
|
39201
|
+
entryTick: number;
|
|
39202
|
+
fullyExercised: boolean;
|
|
39203
|
+
exerciseEvents: Array<{
|
|
39204
|
+
__typename: "ExerciseOptionEvent";
|
|
39205
|
+
transactionHash: string;
|
|
39206
|
+
}>;
|
|
39207
|
+
mintEvent?: {
|
|
39208
|
+
__typename: "MintOptionEvent";
|
|
39209
|
+
transactionHash: string;
|
|
39210
|
+
} | null;
|
|
39211
|
+
}[] | undefined>;
|
|
39212
|
+
data: {
|
|
39213
|
+
id: bigint;
|
|
39214
|
+
marketAddr: Address;
|
|
39215
|
+
optionType: "CALL" | "PUT";
|
|
39216
|
+
createdAt: Date;
|
|
39217
|
+
expiresAt: Date;
|
|
39218
|
+
premiumPaid: bigint;
|
|
39219
|
+
realizedPayout: bigint;
|
|
39220
|
+
liquiditiesAtOpen: bigint[];
|
|
39221
|
+
liquiditiesCurrent: bigint[];
|
|
39222
|
+
__typename: "UserOption";
|
|
39223
|
+
owner: string;
|
|
39224
|
+
strikeTick: number;
|
|
39225
|
+
entryTick: number;
|
|
39226
|
+
fullyExercised: boolean;
|
|
39227
|
+
exerciseEvents: Array<{
|
|
39228
|
+
__typename: "ExerciseOptionEvent";
|
|
39229
|
+
transactionHash: string;
|
|
39230
|
+
}>;
|
|
39231
|
+
mintEvent?: {
|
|
39232
|
+
__typename: "MintOptionEvent";
|
|
39233
|
+
transactionHash: string;
|
|
39234
|
+
} | null;
|
|
39235
|
+
}[];
|
|
39236
|
+
} | {
|
|
39237
|
+
error: null;
|
|
39238
|
+
isError: false;
|
|
39239
|
+
isPending: true;
|
|
39240
|
+
isLoadingError: false;
|
|
39241
|
+
isRefetchError: false;
|
|
39242
|
+
isSuccess: false;
|
|
39243
|
+
isPlaceholderData: false;
|
|
39244
|
+
status: "pending";
|
|
39245
|
+
dataUpdatedAt: number;
|
|
39246
|
+
errorUpdatedAt: number;
|
|
39247
|
+
failureCount: number;
|
|
39248
|
+
failureReason: Error | null;
|
|
39249
|
+
errorUpdateCount: number;
|
|
39250
|
+
isFetched: boolean;
|
|
39251
|
+
isFetchedAfterMount: boolean;
|
|
39252
|
+
isFetching: boolean;
|
|
39253
|
+
isLoading: boolean;
|
|
39254
|
+
isInitialLoading: boolean;
|
|
39255
|
+
isPaused: boolean;
|
|
39256
|
+
isRefetching: boolean;
|
|
39257
|
+
isStale: boolean;
|
|
39258
|
+
isEnabled: boolean;
|
|
39259
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
39260
|
+
id: bigint;
|
|
39261
|
+
marketAddr: Address;
|
|
39262
|
+
optionType: "CALL" | "PUT";
|
|
39263
|
+
createdAt: Date;
|
|
39264
|
+
expiresAt: Date;
|
|
39265
|
+
premiumPaid: bigint;
|
|
39266
|
+
realizedPayout: bigint;
|
|
39267
|
+
liquiditiesAtOpen: bigint[];
|
|
39268
|
+
liquiditiesCurrent: bigint[];
|
|
39269
|
+
__typename: "UserOption";
|
|
39270
|
+
owner: string;
|
|
39271
|
+
strikeTick: number;
|
|
39272
|
+
entryTick: number;
|
|
39273
|
+
fullyExercised: boolean;
|
|
39274
|
+
exerciseEvents: Array<{
|
|
39275
|
+
__typename: "ExerciseOptionEvent";
|
|
39276
|
+
transactionHash: string;
|
|
39277
|
+
}>;
|
|
39278
|
+
mintEvent?: {
|
|
39279
|
+
__typename: "MintOptionEvent";
|
|
39280
|
+
transactionHash: string;
|
|
39281
|
+
} | null;
|
|
39282
|
+
}[] | undefined, Error>>;
|
|
39283
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
39284
|
+
promise: Promise<{
|
|
39285
|
+
id: bigint;
|
|
39286
|
+
marketAddr: Address;
|
|
39287
|
+
optionType: "CALL" | "PUT";
|
|
39288
|
+
createdAt: Date;
|
|
39289
|
+
expiresAt: Date;
|
|
39290
|
+
premiumPaid: bigint;
|
|
39291
|
+
realizedPayout: bigint;
|
|
39292
|
+
liquiditiesAtOpen: bigint[];
|
|
39293
|
+
liquiditiesCurrent: bigint[];
|
|
39294
|
+
__typename: "UserOption";
|
|
39295
|
+
owner: string;
|
|
39296
|
+
strikeTick: number;
|
|
39297
|
+
entryTick: number;
|
|
39298
|
+
fullyExercised: boolean;
|
|
39299
|
+
exerciseEvents: Array<{
|
|
39300
|
+
__typename: "ExerciseOptionEvent";
|
|
39301
|
+
transactionHash: string;
|
|
39302
|
+
}>;
|
|
39303
|
+
mintEvent?: {
|
|
39304
|
+
__typename: "MintOptionEvent";
|
|
39305
|
+
transactionHash: string;
|
|
39306
|
+
} | null;
|
|
39307
|
+
}[] | undefined>;
|
|
39308
|
+
data: {
|
|
39309
|
+
id: bigint;
|
|
39310
|
+
marketAddr: Address;
|
|
39311
|
+
optionType: "CALL" | "PUT";
|
|
39312
|
+
createdAt: Date;
|
|
39313
|
+
expiresAt: Date;
|
|
39314
|
+
premiumPaid: bigint;
|
|
39315
|
+
realizedPayout: bigint;
|
|
39316
|
+
liquiditiesAtOpen: bigint[];
|
|
39317
|
+
liquiditiesCurrent: bigint[];
|
|
39318
|
+
__typename: "UserOption";
|
|
39319
|
+
owner: string;
|
|
39320
|
+
strikeTick: number;
|
|
39321
|
+
entryTick: number;
|
|
39322
|
+
fullyExercised: boolean;
|
|
39323
|
+
exerciseEvents: Array<{
|
|
39324
|
+
__typename: "ExerciseOptionEvent";
|
|
39325
|
+
transactionHash: string;
|
|
39326
|
+
}>;
|
|
39327
|
+
mintEvent?: {
|
|
39328
|
+
__typename: "MintOptionEvent";
|
|
39329
|
+
transactionHash: string;
|
|
39330
|
+
} | null;
|
|
39331
|
+
}[];
|
|
39332
|
+
} | {
|
|
39333
|
+
isError: false;
|
|
39334
|
+
error: null;
|
|
39335
|
+
isPending: false;
|
|
39336
|
+
isLoading: false;
|
|
39337
|
+
isLoadingError: false;
|
|
39338
|
+
isRefetchError: false;
|
|
39339
|
+
isSuccess: true;
|
|
39340
|
+
isPlaceholderData: true;
|
|
39341
|
+
status: "success";
|
|
39342
|
+
dataUpdatedAt: number;
|
|
39343
|
+
errorUpdatedAt: number;
|
|
39344
|
+
failureCount: number;
|
|
39345
|
+
failureReason: Error | null;
|
|
39346
|
+
errorUpdateCount: number;
|
|
39347
|
+
isFetched: boolean;
|
|
39348
|
+
isFetchedAfterMount: boolean;
|
|
39349
|
+
isFetching: boolean;
|
|
39350
|
+
isInitialLoading: boolean;
|
|
39351
|
+
isPaused: boolean;
|
|
39352
|
+
isRefetching: boolean;
|
|
39353
|
+
isStale: boolean;
|
|
39354
|
+
isEnabled: boolean;
|
|
39355
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
39356
|
+
id: bigint;
|
|
39357
|
+
marketAddr: Address;
|
|
39358
|
+
optionType: "CALL" | "PUT";
|
|
39359
|
+
createdAt: Date;
|
|
39360
|
+
expiresAt: Date;
|
|
39361
|
+
premiumPaid: bigint;
|
|
39362
|
+
realizedPayout: bigint;
|
|
39363
|
+
liquiditiesAtOpen: bigint[];
|
|
39364
|
+
liquiditiesCurrent: bigint[];
|
|
39365
|
+
__typename: "UserOption";
|
|
39366
|
+
owner: string;
|
|
39367
|
+
strikeTick: number;
|
|
39368
|
+
entryTick: number;
|
|
39369
|
+
fullyExercised: boolean;
|
|
39370
|
+
exerciseEvents: Array<{
|
|
39371
|
+
__typename: "ExerciseOptionEvent";
|
|
39372
|
+
transactionHash: string;
|
|
39373
|
+
}>;
|
|
39374
|
+
mintEvent?: {
|
|
39375
|
+
__typename: "MintOptionEvent";
|
|
39376
|
+
transactionHash: string;
|
|
39377
|
+
} | null;
|
|
39378
|
+
}[] | undefined, Error>>;
|
|
39379
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
39380
|
+
promise: Promise<{
|
|
39381
|
+
id: bigint;
|
|
39382
|
+
marketAddr: Address;
|
|
39383
|
+
optionType: "CALL" | "PUT";
|
|
39384
|
+
createdAt: Date;
|
|
39385
|
+
expiresAt: Date;
|
|
39386
|
+
premiumPaid: bigint;
|
|
39387
|
+
realizedPayout: bigint;
|
|
39388
|
+
liquiditiesAtOpen: bigint[];
|
|
39389
|
+
liquiditiesCurrent: bigint[];
|
|
39390
|
+
__typename: "UserOption";
|
|
39391
|
+
owner: string;
|
|
39392
|
+
strikeTick: number;
|
|
39393
|
+
entryTick: number;
|
|
39394
|
+
fullyExercised: boolean;
|
|
39395
|
+
exerciseEvents: Array<{
|
|
39396
|
+
__typename: "ExerciseOptionEvent";
|
|
39397
|
+
transactionHash: string;
|
|
39398
|
+
}>;
|
|
39399
|
+
mintEvent?: {
|
|
39400
|
+
__typename: "MintOptionEvent";
|
|
39401
|
+
transactionHash: string;
|
|
39402
|
+
} | null;
|
|
39403
|
+
}[] | undefined>;
|
|
39404
|
+
data: {
|
|
39405
|
+
id: bigint;
|
|
39406
|
+
marketAddr: Address;
|
|
39407
|
+
optionType: "CALL" | "PUT";
|
|
39408
|
+
createdAt: Date;
|
|
39409
|
+
expiresAt: Date;
|
|
39410
|
+
premiumPaid: bigint;
|
|
39411
|
+
realizedPayout: bigint;
|
|
39412
|
+
liquiditiesAtOpen: bigint[];
|
|
39413
|
+
liquiditiesCurrent: bigint[];
|
|
39414
|
+
__typename: "UserOption";
|
|
39415
|
+
owner: string;
|
|
39416
|
+
strikeTick: number;
|
|
39417
|
+
entryTick: number;
|
|
39418
|
+
fullyExercised: boolean;
|
|
39419
|
+
exerciseEvents: Array<{
|
|
39420
|
+
__typename: "ExerciseOptionEvent";
|
|
39421
|
+
transactionHash: string;
|
|
39422
|
+
}>;
|
|
39423
|
+
mintEvent?: {
|
|
39424
|
+
__typename: "MintOptionEvent";
|
|
39425
|
+
transactionHash: string;
|
|
39426
|
+
} | null;
|
|
39427
|
+
}[];
|
|
39428
|
+
};
|
|
38735
39429
|
declare const useActiveUserOptions: (user?: string) => {
|
|
38736
39430
|
error: Error;
|
|
38737
39431
|
isError: true;
|
|
@@ -39897,12 +40591,17 @@ declare const useCurrentPrice: (pool?: Address | UniswapPool) => {
|
|
|
39897
40591
|
};
|
|
39898
40592
|
//#endregion
|
|
39899
40593
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
40594
|
+
declare const getCurrentTick: (pool: UniswapPool) => Promise<{
|
|
40595
|
+
exact: number;
|
|
40596
|
+
rounded: number;
|
|
40597
|
+
}>;
|
|
39900
40598
|
declare const useCurrentTick: (pool?: Address | UniswapPool) => {
|
|
39901
40599
|
exact?: number;
|
|
39902
40600
|
rounded?: number;
|
|
39903
40601
|
};
|
|
39904
40602
|
//#endregion
|
|
39905
40603
|
//#region src/hooks/pool/usePoolData.d.ts
|
|
40604
|
+
type UniswapPoolData = ReturnType<typeof usePoolData>;
|
|
39906
40605
|
type NonUndefined<T> = T extends undefined ? never : T;
|
|
39907
40606
|
declare const usePoolData: (pool?: Address | UniswapPool) => Partial<NonUndefined<{
|
|
39908
40607
|
token0: `0x${string}`;
|
|
@@ -39938,6 +40637,7 @@ declare const useBurnLiquidity: (vault?: Address | TimelockVault) => {
|
|
|
39938
40637
|
};
|
|
39939
40638
|
//#endregion
|
|
39940
40639
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
40640
|
+
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['blocks'][0];
|
|
39941
40641
|
declare const useLiquidityBlocks: (vault?: Address | TimelockVault) => {
|
|
39942
40642
|
tvl1: Amount | undefined;
|
|
39943
40643
|
blocks: readonly {
|
|
@@ -39969,6 +40669,12 @@ declare const useLiquidityBlocks: (vault?: Address | TimelockVault) => {
|
|
|
39969
40669
|
};
|
|
39970
40670
|
//#endregion
|
|
39971
40671
|
//#region src/hooks/vault/useMintLiquidity.d.ts
|
|
40672
|
+
declare const batchGetAmountsFromLiquidity: (lens: UniswapMathLens, tickLower: number[], tickUpper: number[], liquidity: bigint[], currentTick: number) => Promise<{
|
|
40673
|
+
totalAmount0: bigint;
|
|
40674
|
+
totalAmount1: bigint;
|
|
40675
|
+
amounts0: bigint[];
|
|
40676
|
+
amounts1: bigint[];
|
|
40677
|
+
}>;
|
|
39972
40678
|
interface MintPositionParams {
|
|
39973
40679
|
tickLower: number;
|
|
39974
40680
|
tickUpper: number;
|
|
@@ -39998,14 +40704,14 @@ declare const useVaultTVL: (vault?: Address | TimelockVault) => {
|
|
|
39998
40704
|
totalAmount1: Amount | undefined;
|
|
39999
40705
|
borrowedAmount0: Amount | undefined;
|
|
40000
40706
|
borrowedAmount1: Amount | undefined;
|
|
40001
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint],
|
|
40707
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
40002
40708
|
};
|
|
40003
40709
|
//#endregion
|
|
40004
40710
|
//#region src/hooks/useLens.d.ts
|
|
40005
40711
|
declare const useLens: () => {
|
|
40006
40712
|
uniswapLens: {
|
|
40007
40713
|
read: {
|
|
40008
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
40714
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40009
40715
|
readonly type: "function";
|
|
40010
40716
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
40011
40717
|
readonly inputs: readonly [{
|
|
@@ -40626,7 +41332,7 @@ declare const useLens: () => {
|
|
|
40626
41332
|
}];
|
|
40627
41333
|
readonly stateMutability: "pure";
|
|
40628
41334
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
40629
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
41335
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40630
41336
|
readonly type: "function";
|
|
40631
41337
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
40632
41338
|
readonly inputs: readonly [{
|
|
@@ -41247,7 +41953,7 @@ declare const useLens: () => {
|
|
|
41247
41953
|
}];
|
|
41248
41954
|
readonly stateMutability: "pure";
|
|
41249
41955
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
41250
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
41956
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41251
41957
|
readonly type: "function";
|
|
41252
41958
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
41253
41959
|
readonly inputs: readonly [{
|
|
@@ -41868,7 +42574,7 @@ declare const useLens: () => {
|
|
|
41868
42574
|
}];
|
|
41869
42575
|
readonly stateMutability: "pure";
|
|
41870
42576
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
41871
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
42577
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41872
42578
|
readonly type: "function";
|
|
41873
42579
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
41874
42580
|
readonly inputs: readonly [{
|
|
@@ -42489,7 +43195,7 @@ declare const useLens: () => {
|
|
|
42489
43195
|
}];
|
|
42490
43196
|
readonly stateMutability: "pure";
|
|
42491
43197
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
42492
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
43198
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42493
43199
|
readonly type: "function";
|
|
42494
43200
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
42495
43201
|
readonly inputs: readonly [{
|
|
@@ -43110,7 +43816,7 @@ declare const useLens: () => {
|
|
|
43110
43816
|
}];
|
|
43111
43817
|
readonly stateMutability: "pure";
|
|
43112
43818
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
43113
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
43819
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43114
43820
|
readonly type: "function";
|
|
43115
43821
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
43116
43822
|
readonly inputs: readonly [{
|
|
@@ -43731,7 +44437,7 @@ declare const useLens: () => {
|
|
|
43731
44437
|
}];
|
|
43732
44438
|
readonly stateMutability: "pure";
|
|
43733
44439
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
43734
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
44440
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43735
44441
|
readonly type: "function";
|
|
43736
44442
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
43737
44443
|
readonly inputs: readonly [{
|
|
@@ -44352,7 +45058,7 @@ declare const useLens: () => {
|
|
|
44352
45058
|
}];
|
|
44353
45059
|
readonly stateMutability: "pure";
|
|
44354
45060
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
44355
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
45061
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44356
45062
|
readonly type: "function";
|
|
44357
45063
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
44358
45064
|
readonly inputs: readonly [{
|
|
@@ -44973,7 +45679,7 @@ declare const useLens: () => {
|
|
|
44973
45679
|
}];
|
|
44974
45680
|
readonly stateMutability: "pure";
|
|
44975
45681
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
44976
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45682
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44977
45683
|
readonly type: "function";
|
|
44978
45684
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
44979
45685
|
readonly inputs: readonly [{
|
|
@@ -45594,7 +46300,7 @@ declare const useLens: () => {
|
|
|
45594
46300
|
}];
|
|
45595
46301
|
readonly stateMutability: "pure";
|
|
45596
46302
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45597
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46303
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45598
46304
|
readonly type: "function";
|
|
45599
46305
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45600
46306
|
readonly inputs: readonly [{
|
|
@@ -46215,7 +46921,7 @@ declare const useLens: () => {
|
|
|
46215
46921
|
}];
|
|
46216
46922
|
readonly stateMutability: "pure";
|
|
46217
46923
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46218
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46924
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46219
46925
|
readonly type: "function";
|
|
46220
46926
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46221
46927
|
readonly inputs: readonly [{
|
|
@@ -46836,7 +47542,7 @@ declare const useLens: () => {
|
|
|
46836
47542
|
}];
|
|
46837
47543
|
readonly stateMutability: "pure";
|
|
46838
47544
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46839
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
47545
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46840
47546
|
readonly type: "function";
|
|
46841
47547
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46842
47548
|
readonly inputs: readonly [{
|
|
@@ -47457,7 +48163,7 @@ declare const useLens: () => {
|
|
|
47457
48163
|
}];
|
|
47458
48164
|
readonly stateMutability: "pure";
|
|
47459
48165
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47460
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
48166
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47461
48167
|
readonly type: "function";
|
|
47462
48168
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47463
48169
|
readonly inputs: readonly [{
|
|
@@ -48078,7 +48784,7 @@ declare const useLens: () => {
|
|
|
48078
48784
|
}];
|
|
48079
48785
|
readonly stateMutability: "pure";
|
|
48080
48786
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48081
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
48787
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48082
48788
|
readonly type: "function";
|
|
48083
48789
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48084
48790
|
readonly inputs: readonly [{
|
|
@@ -48699,7 +49405,7 @@ declare const useLens: () => {
|
|
|
48699
49405
|
}];
|
|
48700
49406
|
readonly stateMutability: "pure";
|
|
48701
49407
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
48702
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
49408
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48703
49409
|
readonly type: "function";
|
|
48704
49410
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48705
49411
|
readonly inputs: readonly [{
|
|
@@ -49320,7 +50026,7 @@ declare const useLens: () => {
|
|
|
49320
50026
|
}];
|
|
49321
50027
|
readonly stateMutability: "pure";
|
|
49322
50028
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
49323
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
50029
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49324
50030
|
readonly type: "function";
|
|
49325
50031
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49326
50032
|
readonly inputs: readonly [{
|
|
@@ -49941,7 +50647,7 @@ declare const useLens: () => {
|
|
|
49941
50647
|
}];
|
|
49942
50648
|
readonly stateMutability: "pure";
|
|
49943
50649
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
49944
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
50650
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49945
50651
|
readonly type: "function";
|
|
49946
50652
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49947
50653
|
readonly inputs: readonly [{
|
|
@@ -50562,7 +51268,7 @@ declare const useLens: () => {
|
|
|
50562
51268
|
}];
|
|
50563
51269
|
readonly stateMutability: "pure";
|
|
50564
51270
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
50565
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
51271
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50566
51272
|
readonly type: "function";
|
|
50567
51273
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50568
51274
|
readonly inputs: readonly [{
|
|
@@ -51183,7 +51889,7 @@ declare const useLens: () => {
|
|
|
51183
51889
|
}];
|
|
51184
51890
|
readonly stateMutability: "pure";
|
|
51185
51891
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
51186
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
51892
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51187
51893
|
readonly type: "function";
|
|
51188
51894
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51189
51895
|
readonly inputs: readonly [{
|
|
@@ -51804,7 +52510,7 @@ declare const useLens: () => {
|
|
|
51804
52510
|
}];
|
|
51805
52511
|
readonly stateMutability: "pure";
|
|
51806
52512
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
51807
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
52513
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51808
52514
|
readonly type: "function";
|
|
51809
52515
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51810
52516
|
readonly inputs: readonly [{
|
|
@@ -52425,7 +53131,7 @@ declare const useLens: () => {
|
|
|
52425
53131
|
}];
|
|
52426
53132
|
readonly stateMutability: "pure";
|
|
52427
53133
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
52428
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
53134
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52429
53135
|
readonly type: "function";
|
|
52430
53136
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52431
53137
|
readonly inputs: readonly [{
|
|
@@ -53046,7 +53752,7 @@ declare const useLens: () => {
|
|
|
53046
53752
|
}];
|
|
53047
53753
|
readonly stateMutability: "pure";
|
|
53048
53754
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53049
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
53755
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53050
53756
|
readonly type: "function";
|
|
53051
53757
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53052
53758
|
readonly inputs: readonly [{
|
|
@@ -53667,7 +54373,7 @@ declare const useLens: () => {
|
|
|
53667
54373
|
}];
|
|
53668
54374
|
readonly stateMutability: "pure";
|
|
53669
54375
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53670
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
54376
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53671
54377
|
readonly type: "function";
|
|
53672
54378
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53673
54379
|
readonly inputs: readonly [{
|
|
@@ -54288,7 +54994,7 @@ declare const useLens: () => {
|
|
|
54288
54994
|
}];
|
|
54289
54995
|
readonly stateMutability: "pure";
|
|
54290
54996
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54291
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
54997
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54292
54998
|
readonly type: "function";
|
|
54293
54999
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54294
55000
|
readonly inputs: readonly [{
|
|
@@ -54909,7 +55615,7 @@ declare const useLens: () => {
|
|
|
54909
55615
|
}];
|
|
54910
55616
|
readonly stateMutability: "pure";
|
|
54911
55617
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54912
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
55618
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54913
55619
|
readonly type: "function";
|
|
54914
55620
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54915
55621
|
readonly inputs: readonly [{
|
|
@@ -55530,7 +56236,7 @@ declare const useLens: () => {
|
|
|
55530
56236
|
}];
|
|
55531
56237
|
readonly stateMutability: "pure";
|
|
55532
56238
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55533
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
56239
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55534
56240
|
readonly type: "function";
|
|
55535
56241
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55536
56242
|
readonly inputs: readonly [{
|
|
@@ -56777,7 +57483,7 @@ declare const useLens: () => {
|
|
|
56777
57483
|
} | undefined;
|
|
56778
57484
|
timelockLens: {
|
|
56779
57485
|
read: {
|
|
56780
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
57486
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56781
57487
|
readonly type: "function";
|
|
56782
57488
|
readonly name: "batchGetRefTick";
|
|
56783
57489
|
readonly inputs: readonly [{
|
|
@@ -57479,7 +58185,7 @@ declare const useLens: () => {
|
|
|
57479
58185
|
}];
|
|
57480
58186
|
readonly stateMutability: "view";
|
|
57481
58187
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
57482
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
58188
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57483
58189
|
readonly type: "function";
|
|
57484
58190
|
readonly name: "batchGetRefTick";
|
|
57485
58191
|
readonly inputs: readonly [{
|
|
@@ -58191,7 +58897,7 @@ declare const useLens: () => {
|
|
|
58191
58897
|
borrowedAmount0: bigint;
|
|
58192
58898
|
borrowedAmount1: bigint;
|
|
58193
58899
|
}[]>;
|
|
58194
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
58900
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58195
58901
|
readonly type: "function";
|
|
58196
58902
|
readonly name: "batchGetRefTick";
|
|
58197
58903
|
readonly inputs: readonly [{
|
|
@@ -58912,7 +59618,7 @@ declare const useLens: () => {
|
|
|
58912
59618
|
createdAt: bigint;
|
|
58913
59619
|
liquidities: readonly bigint[];
|
|
58914
59620
|
}[], bigint, boolean]>;
|
|
58915
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
59621
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58916
59622
|
readonly type: "function";
|
|
58917
59623
|
readonly name: "batchGetRefTick";
|
|
58918
59624
|
readonly inputs: readonly [{
|
|
@@ -59614,7 +60320,7 @@ declare const useLens: () => {
|
|
|
59614
60320
|
}];
|
|
59615
60321
|
readonly stateMutability: "view";
|
|
59616
60322
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
59617
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
60323
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59618
60324
|
readonly type: "function";
|
|
59619
60325
|
readonly name: "batchGetRefTick";
|
|
59620
60326
|
readonly inputs: readonly [{
|
|
@@ -60329,7 +61035,7 @@ declare const useLens: () => {
|
|
|
60329
61035
|
payoutAssetName: string;
|
|
60330
61036
|
optionsCount: bigint;
|
|
60331
61037
|
}>;
|
|
60332
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
61038
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60333
61039
|
readonly type: "function";
|
|
60334
61040
|
readonly name: "batchGetRefTick";
|
|
60335
61041
|
readonly inputs: readonly [{
|
|
@@ -61031,7 +61737,7 @@ declare const useLens: () => {
|
|
|
61031
61737
|
}];
|
|
61032
61738
|
readonly stateMutability: "view";
|
|
61033
61739
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
61034
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
61740
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61035
61741
|
readonly type: "function";
|
|
61036
61742
|
readonly name: "batchGetRefTick";
|
|
61037
61743
|
readonly inputs: readonly [{
|
|
@@ -61733,7 +62439,7 @@ declare const useLens: () => {
|
|
|
61733
62439
|
}];
|
|
61734
62440
|
readonly stateMutability: "view";
|
|
61735
62441
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
61736
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
62442
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61737
62443
|
readonly type: "function";
|
|
61738
62444
|
readonly name: "batchGetRefTick";
|
|
61739
62445
|
readonly inputs: readonly [{
|
|
@@ -62454,7 +63160,7 @@ declare const useLens: () => {
|
|
|
62454
63160
|
createdAt: bigint;
|
|
62455
63161
|
liquidities: readonly bigint[];
|
|
62456
63162
|
}>;
|
|
62457
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
63163
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
62458
63164
|
readonly type: "function";
|
|
62459
63165
|
readonly name: "batchGetRefTick";
|
|
62460
63166
|
readonly inputs: readonly [{
|
|
@@ -63175,7 +63881,7 @@ declare const useLens: () => {
|
|
|
63175
63881
|
createdAt: bigint;
|
|
63176
63882
|
liquidities: readonly bigint[];
|
|
63177
63883
|
}[]>;
|
|
63178
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
63884
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
63179
63885
|
readonly type: "function";
|
|
63180
63886
|
readonly name: "batchGetRefTick";
|
|
63181
63887
|
readonly inputs: readonly [{
|
|
@@ -63888,7 +64594,7 @@ declare const useLens: () => {
|
|
|
63888
64594
|
tickSpacing: number;
|
|
63889
64595
|
fee: number;
|
|
63890
64596
|
}>;
|
|
63891
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
64597
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
63892
64598
|
readonly type: "function";
|
|
63893
64599
|
readonly name: "batchGetRefTick";
|
|
63894
64600
|
readonly inputs: readonly [{
|
|
@@ -64590,7 +65296,7 @@ declare const useLens: () => {
|
|
|
64590
65296
|
}];
|
|
64591
65297
|
readonly stateMutability: "view";
|
|
64592
65298
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
64593
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
65299
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
64594
65300
|
readonly type: "function";
|
|
64595
65301
|
readonly name: "batchGetRefTick";
|
|
64596
65302
|
readonly inputs: readonly [{
|
|
@@ -65311,7 +66017,7 @@ declare const useLens: () => {
|
|
|
65311
66017
|
createdAt: bigint;
|
|
65312
66018
|
liquidities: readonly bigint[];
|
|
65313
66019
|
}[], bigint, boolean]>;
|
|
65314
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
66020
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
65315
66021
|
readonly type: "function";
|
|
65316
66022
|
readonly name: "batchGetRefTick";
|
|
65317
66023
|
readonly inputs: readonly [{
|
|
@@ -66974,5 +67680,5 @@ declare const erc20Abi: readonly [{
|
|
|
66974
67680
|
readonly anonymous: false;
|
|
66975
67681
|
}];
|
|
66976
67682
|
//#endregion
|
|
66977
|
-
export { Amount, PRICE_PRECISION,
|
|
67683
|
+
export { Amount, LiquidityBlockData, OptionData, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, TimelockMarketProvider, TimelockVault, UniswapMathLens, UniswapPool, UniswapPoolData, batchGetAmountsFromLiquidity, erc20Abi, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getCurrentTick, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getTimelockVault, getUniswapMathLens, getUniswapPool, lensAbi, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, optionsMarketAbi, roundTickDown, roundTickUp, scaleAmount, scalePrice, singleOwnerVaultAbi, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLensAbi, uniswapMathLenses, uniswapV3PoolAbi, unscaleAmount, unscalePrice, useActiveUserOptions, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionLiquidityData, useOptionPremium, usePoolData, usePriceAtTick, useTimelockConfig, useVaultData, useVaultTVL, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero };
|
|
66978
67684
|
//# sourceMappingURL=package.d.cts.map
|