timelock-sdk 0.0.103 → 0.0.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-uwDDNqle.d.cts → client-1hXpAcRP.d.cts} +268 -270
- package/dist/{client-DfYiZw0g.d.ts → client-Fw1-4Rrd.d.ts} +106 -108
- package/dist/client.cjs +16 -17
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +16 -17
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-B_cHjOOB.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem145 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query1 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _tanstack_query_core67 from "@tanstack/query-core";
|
|
10
10
|
import Big from "big.js";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
@@ -228,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
228
|
};
|
|
229
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
230
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
232
232
|
readonly type: "constructor";
|
|
233
233
|
readonly inputs: readonly [{
|
|
234
234
|
readonly name: "name_";
|
|
@@ -407,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
407
|
}];
|
|
408
408
|
readonly stateMutability: "nonpayable";
|
|
409
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
410
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
411
411
|
readonly type: "constructor";
|
|
412
412
|
readonly inputs: readonly [{
|
|
413
413
|
readonly name: "name_";
|
|
@@ -586,7 +586,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
588
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
589
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
589
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
590
590
|
readonly type: "constructor";
|
|
591
591
|
readonly inputs: readonly [{
|
|
592
592
|
readonly name: "name_";
|
|
@@ -765,7 +765,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
767
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
-
decimals: (options?:
|
|
768
|
+
decimals: (options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
769
769
|
readonly type: "constructor";
|
|
770
770
|
readonly inputs: readonly [{
|
|
771
771
|
readonly name: "name_";
|
|
@@ -944,7 +944,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
946
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
947
|
-
name: (options?:
|
|
947
|
+
name: (options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
948
948
|
readonly type: "constructor";
|
|
949
949
|
readonly inputs: readonly [{
|
|
950
950
|
readonly name: "name_";
|
|
@@ -1123,7 +1123,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
1125
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1126
|
-
totalSupply: (options?:
|
|
1126
|
+
totalSupply: (options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
1127
1127
|
readonly type: "constructor";
|
|
1128
1128
|
readonly inputs: readonly [{
|
|
1129
1129
|
readonly name: "name_";
|
|
@@ -1304,7 +1304,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1304
1304
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1305
1305
|
};
|
|
1306
1306
|
estimateGas: {
|
|
1307
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1307
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
1308
1308
|
readonly type: "constructor";
|
|
1309
1309
|
readonly inputs: readonly [{
|
|
1310
1310
|
readonly name: "name_";
|
|
@@ -1482,8 +1482,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1482
1482
|
readonly internalType: "bool";
|
|
1483
1483
|
}];
|
|
1484
1484
|
readonly stateMutability: "nonpayable";
|
|
1485
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1486
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1485
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
1487
1487
|
readonly type: "constructor";
|
|
1488
1488
|
readonly inputs: readonly [{
|
|
1489
1489
|
readonly name: "name_";
|
|
@@ -1661,8 +1661,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1661
1661
|
readonly internalType: "bool";
|
|
1662
1662
|
}];
|
|
1663
1663
|
readonly stateMutability: "nonpayable";
|
|
1664
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1665
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1664
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
1666
1666
|
readonly type: "constructor";
|
|
1667
1667
|
readonly inputs: readonly [{
|
|
1668
1668
|
readonly name: "name_";
|
|
@@ -1840,8 +1840,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1840
1840
|
readonly internalType: "bool";
|
|
1841
1841
|
}];
|
|
1842
1842
|
readonly stateMutability: "nonpayable";
|
|
1843
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1844
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1843
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
1845
1845
|
readonly type: "constructor";
|
|
1846
1846
|
readonly inputs: readonly [{
|
|
1847
1847
|
readonly name: "name_";
|
|
@@ -2019,8 +2019,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2019
2019
|
readonly internalType: "bool";
|
|
2020
2020
|
}];
|
|
2021
2021
|
readonly stateMutability: "nonpayable";
|
|
2022
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2023
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2022
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2024
2024
|
readonly type: "constructor";
|
|
2025
2025
|
readonly inputs: readonly [{
|
|
2026
2026
|
readonly name: "name_";
|
|
@@ -2198,9 +2198,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2198
2198
|
readonly internalType: "bool";
|
|
2199
2199
|
}];
|
|
2200
2200
|
readonly stateMutability: "nonpayable";
|
|
2201
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2201
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2202
2202
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2204
2204
|
readonly type: "constructor";
|
|
2205
2205
|
readonly inputs: readonly [{
|
|
2206
2206
|
readonly name: "name_";
|
|
@@ -2378,8 +2378,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2378
2378
|
readonly internalType: "bool";
|
|
2379
2379
|
}];
|
|
2380
2380
|
readonly stateMutability: "nonpayable";
|
|
2381
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2382
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2381
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2383
2383
|
readonly type: "constructor";
|
|
2384
2384
|
readonly inputs: readonly [{
|
|
2385
2385
|
readonly name: "name_";
|
|
@@ -2557,8 +2557,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2557
2557
|
readonly internalType: "bool";
|
|
2558
2558
|
}];
|
|
2559
2559
|
readonly stateMutability: "nonpayable";
|
|
2560
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2561
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2560
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2562
2562
|
readonly type: "constructor";
|
|
2563
2563
|
readonly inputs: readonly [{
|
|
2564
2564
|
readonly name: "name_";
|
|
@@ -2736,8 +2736,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2736
2736
|
readonly internalType: "bool";
|
|
2737
2737
|
}];
|
|
2738
2738
|
readonly stateMutability: "nonpayable";
|
|
2739
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2740
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2739
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2741
2741
|
readonly type: "constructor";
|
|
2742
2742
|
readonly inputs: readonly [{
|
|
2743
2743
|
readonly name: "name_";
|
|
@@ -2915,8 +2915,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2915
2915
|
readonly internalType: "bool";
|
|
2916
2916
|
}];
|
|
2917
2917
|
readonly stateMutability: "nonpayable";
|
|
2918
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2919
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2918
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2920
2920
|
readonly type: "constructor";
|
|
2921
2921
|
readonly inputs: readonly [{
|
|
2922
2922
|
readonly name: "name_";
|
|
@@ -3094,10 +3094,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3094
3094
|
readonly internalType: "bool";
|
|
3095
3095
|
}];
|
|
3096
3096
|
readonly stateMutability: "nonpayable";
|
|
3097
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3097
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
3098
3098
|
};
|
|
3099
3099
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
3101
3101
|
readonly type: "constructor";
|
|
3102
3102
|
readonly inputs: readonly [{
|
|
3103
3103
|
readonly name: "name_";
|
|
@@ -3275,7 +3275,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3275
3275
|
readonly internalType: "bool";
|
|
3276
3276
|
}];
|
|
3277
3277
|
readonly stateMutability: "nonpayable";
|
|
3278
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3278
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
3279
3279
|
readonly type: "constructor";
|
|
3280
3280
|
readonly inputs: readonly [{
|
|
3281
3281
|
readonly name: "name_";
|
|
@@ -3453,8 +3453,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3453
3453
|
readonly internalType: "bool";
|
|
3454
3454
|
}];
|
|
3455
3455
|
readonly stateMutability: "nonpayable";
|
|
3456
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3457
|
-
decreaseAllowance: <chainOverride extends
|
|
3456
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
3458
3458
|
readonly type: "constructor";
|
|
3459
3459
|
readonly inputs: readonly [{
|
|
3460
3460
|
readonly name: "name_";
|
|
@@ -3632,7 +3632,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3632
3632
|
readonly internalType: "bool";
|
|
3633
3633
|
}];
|
|
3634
3634
|
readonly stateMutability: "nonpayable";
|
|
3635
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3635
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
3636
3636
|
readonly type: "constructor";
|
|
3637
3637
|
readonly inputs: readonly [{
|
|
3638
3638
|
readonly name: "name_";
|
|
@@ -3810,8 +3810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3810
3810
|
readonly internalType: "bool";
|
|
3811
3811
|
}];
|
|
3812
3812
|
readonly stateMutability: "nonpayable";
|
|
3813
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3814
|
-
increaseAllowance: <chainOverride extends
|
|
3813
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
3815
3815
|
readonly type: "constructor";
|
|
3816
3816
|
readonly inputs: readonly [{
|
|
3817
3817
|
readonly name: "name_";
|
|
@@ -3989,7 +3989,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3989
3989
|
readonly internalType: "bool";
|
|
3990
3990
|
}];
|
|
3991
3991
|
readonly stateMutability: "nonpayable";
|
|
3992
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3992
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
3993
3993
|
readonly type: "constructor";
|
|
3994
3994
|
readonly inputs: readonly [{
|
|
3995
3995
|
readonly name: "name_";
|
|
@@ -4167,8 +4167,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4167
4167
|
readonly internalType: "bool";
|
|
4168
4168
|
}];
|
|
4169
4169
|
readonly stateMutability: "nonpayable";
|
|
4170
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4171
|
-
transfer: <chainOverride extends
|
|
4170
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
4172
4172
|
readonly type: "constructor";
|
|
4173
4173
|
readonly inputs: readonly [{
|
|
4174
4174
|
readonly name: "name_";
|
|
@@ -4346,7 +4346,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4346
4346
|
readonly internalType: "bool";
|
|
4347
4347
|
}];
|
|
4348
4348
|
readonly stateMutability: "nonpayable";
|
|
4349
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4349
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
4350
4350
|
readonly type: "constructor";
|
|
4351
4351
|
readonly inputs: readonly [{
|
|
4352
4352
|
readonly name: "name_";
|
|
@@ -4524,8 +4524,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4524
4524
|
readonly internalType: "bool";
|
|
4525
4525
|
}];
|
|
4526
4526
|
readonly stateMutability: "nonpayable";
|
|
4527
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4528
|
-
transferFrom: <chainOverride extends
|
|
4527
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
4529
4529
|
readonly type: "constructor";
|
|
4530
4530
|
readonly inputs: readonly [{
|
|
4531
4531
|
readonly name: "name_";
|
|
@@ -4703,7 +4703,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4703
4703
|
readonly internalType: "bool";
|
|
4704
4704
|
}];
|
|
4705
4705
|
readonly stateMutability: "nonpayable";
|
|
4706
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4706
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
4707
4707
|
readonly type: "constructor";
|
|
4708
4708
|
readonly inputs: readonly [{
|
|
4709
4709
|
readonly name: "name_";
|
|
@@ -4881,10 +4881,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4881
4881
|
readonly internalType: "bool";
|
|
4882
4882
|
}];
|
|
4883
4883
|
readonly stateMutability: "nonpayable";
|
|
4884
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4884
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4885
|
};
|
|
4886
4886
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
4888
4888
|
readonly type: "constructor";
|
|
4889
4889
|
readonly inputs: readonly [{
|
|
4890
4890
|
readonly name: "name_";
|
|
@@ -5062,8 +5062,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5062
5062
|
readonly internalType: "bool";
|
|
5063
5063
|
}];
|
|
5064
5064
|
readonly stateMutability: "nonpayable";
|
|
5065
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5066
|
-
decreaseAllowance: <chainOverride extends
|
|
5065
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
5067
5067
|
readonly type: "constructor";
|
|
5068
5068
|
readonly inputs: readonly [{
|
|
5069
5069
|
readonly name: "name_";
|
|
@@ -5241,8 +5241,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5241
5241
|
readonly internalType: "bool";
|
|
5242
5242
|
}];
|
|
5243
5243
|
readonly stateMutability: "nonpayable";
|
|
5244
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5245
|
-
increaseAllowance: <chainOverride extends
|
|
5244
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
5246
5246
|
readonly type: "constructor";
|
|
5247
5247
|
readonly inputs: readonly [{
|
|
5248
5248
|
readonly name: "name_";
|
|
@@ -5420,8 +5420,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5420
5420
|
readonly internalType: "bool";
|
|
5421
5421
|
}];
|
|
5422
5422
|
readonly stateMutability: "nonpayable";
|
|
5423
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5424
|
-
transfer: <chainOverride extends
|
|
5423
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
5425
5425
|
readonly type: "constructor";
|
|
5426
5426
|
readonly inputs: readonly [{
|
|
5427
5427
|
readonly name: "name_";
|
|
@@ -5599,8 +5599,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5599
5599
|
readonly internalType: "bool";
|
|
5600
5600
|
}];
|
|
5601
5601
|
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5603
|
-
transferFrom: <chainOverride extends
|
|
5602
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
5604
5604
|
readonly type: "constructor";
|
|
5605
5605
|
readonly inputs: readonly [{
|
|
5606
5606
|
readonly name: "name_";
|
|
@@ -5778,7 +5778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5778
5778
|
readonly internalType: "bool";
|
|
5779
5779
|
}];
|
|
5780
5780
|
readonly stateMutability: "nonpayable";
|
|
5781
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5781
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5782
5782
|
};
|
|
5783
5783
|
address: `0x${string}`;
|
|
5784
5784
|
abi: readonly [{
|
|
@@ -5964,7 +5964,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5964
5964
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5965
5965
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5966
5966
|
read: {
|
|
5967
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5967
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
5968
5968
|
readonly type: "function";
|
|
5969
5969
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5970
5970
|
readonly inputs: readonly [{
|
|
@@ -6585,7 +6585,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6585
6585
|
}];
|
|
6586
6586
|
readonly stateMutability: "pure";
|
|
6587
6587
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6588
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6588
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
6589
6589
|
readonly type: "function";
|
|
6590
6590
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6591
6591
|
readonly inputs: readonly [{
|
|
@@ -7206,7 +7206,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7206
7206
|
}];
|
|
7207
7207
|
readonly stateMutability: "pure";
|
|
7208
7208
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7209
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7209
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
7210
7210
|
readonly type: "function";
|
|
7211
7211
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7212
7212
|
readonly inputs: readonly [{
|
|
@@ -7827,7 +7827,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7827
7827
|
}];
|
|
7828
7828
|
readonly stateMutability: "pure";
|
|
7829
7829
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7830
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7830
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
7831
7831
|
readonly type: "function";
|
|
7832
7832
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7833
7833
|
readonly inputs: readonly [{
|
|
@@ -8448,7 +8448,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8448
8448
|
}];
|
|
8449
8449
|
readonly stateMutability: "pure";
|
|
8450
8450
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8451
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8451
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
8452
8452
|
readonly type: "function";
|
|
8453
8453
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8454
8454
|
readonly inputs: readonly [{
|
|
@@ -9069,7 +9069,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9069
9069
|
}];
|
|
9070
9070
|
readonly stateMutability: "pure";
|
|
9071
9071
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9072
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9072
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
9073
9073
|
readonly type: "function";
|
|
9074
9074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9075
9075
|
readonly inputs: readonly [{
|
|
@@ -9690,7 +9690,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9690
9690
|
}];
|
|
9691
9691
|
readonly stateMutability: "pure";
|
|
9692
9692
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9693
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9693
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
9694
9694
|
readonly type: "function";
|
|
9695
9695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9696
9696
|
readonly inputs: readonly [{
|
|
@@ -10311,7 +10311,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10311
10311
|
}];
|
|
10312
10312
|
readonly stateMutability: "pure";
|
|
10313
10313
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10314
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10314
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
10315
10315
|
readonly type: "function";
|
|
10316
10316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10317
10317
|
readonly inputs: readonly [{
|
|
@@ -10932,7 +10932,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10932
10932
|
}];
|
|
10933
10933
|
readonly stateMutability: "pure";
|
|
10934
10934
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10935
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10935
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
10936
10936
|
readonly type: "function";
|
|
10937
10937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10938
10938
|
readonly inputs: readonly [{
|
|
@@ -11553,7 +11553,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11553
11553
|
}];
|
|
11554
11554
|
readonly stateMutability: "pure";
|
|
11555
11555
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11556
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11556
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
11557
11557
|
readonly type: "function";
|
|
11558
11558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11559
11559
|
readonly inputs: readonly [{
|
|
@@ -12174,7 +12174,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12174
12174
|
}];
|
|
12175
12175
|
readonly stateMutability: "pure";
|
|
12176
12176
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12177
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12177
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
12178
12178
|
readonly type: "function";
|
|
12179
12179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12180
12180
|
readonly inputs: readonly [{
|
|
@@ -12795,7 +12795,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12795
12795
|
}];
|
|
12796
12796
|
readonly stateMutability: "pure";
|
|
12797
12797
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12798
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12798
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
12799
12799
|
readonly type: "function";
|
|
12800
12800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12801
12801
|
readonly inputs: readonly [{
|
|
@@ -13416,7 +13416,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13416
13416
|
}];
|
|
13417
13417
|
readonly stateMutability: "pure";
|
|
13418
13418
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13419
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13419
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
13420
13420
|
readonly type: "function";
|
|
13421
13421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13422
13422
|
readonly inputs: readonly [{
|
|
@@ -14037,7 +14037,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14037
14037
|
}];
|
|
14038
14038
|
readonly stateMutability: "pure";
|
|
14039
14039
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14040
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14040
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
14041
14041
|
readonly type: "function";
|
|
14042
14042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14043
14043
|
readonly inputs: readonly [{
|
|
@@ -14658,7 +14658,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14658
14658
|
}];
|
|
14659
14659
|
readonly stateMutability: "pure";
|
|
14660
14660
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14661
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14661
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
14662
14662
|
readonly type: "function";
|
|
14663
14663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14664
14664
|
readonly inputs: readonly [{
|
|
@@ -15279,7 +15279,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15279
15279
|
}];
|
|
15280
15280
|
readonly stateMutability: "pure";
|
|
15281
15281
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15282
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15282
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
15283
15283
|
readonly type: "function";
|
|
15284
15284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15285
15285
|
readonly inputs: readonly [{
|
|
@@ -15900,7 +15900,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15900
15900
|
}];
|
|
15901
15901
|
readonly stateMutability: "pure";
|
|
15902
15902
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15903
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15903
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
15904
15904
|
readonly type: "function";
|
|
15905
15905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15906
15906
|
readonly inputs: readonly [{
|
|
@@ -16521,7 +16521,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16521
16521
|
}];
|
|
16522
16522
|
readonly stateMutability: "pure";
|
|
16523
16523
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16524
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16524
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
16525
16525
|
readonly type: "function";
|
|
16526
16526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16527
16527
|
readonly inputs: readonly [{
|
|
@@ -17142,7 +17142,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17142
17142
|
}];
|
|
17143
17143
|
readonly stateMutability: "pure";
|
|
17144
17144
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17145
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17145
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
17146
17146
|
readonly type: "function";
|
|
17147
17147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17148
17148
|
readonly inputs: readonly [{
|
|
@@ -17763,7 +17763,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17763
17763
|
}];
|
|
17764
17764
|
readonly stateMutability: "pure";
|
|
17765
17765
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17766
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17766
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
17767
17767
|
readonly type: "function";
|
|
17768
17768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17769
17769
|
readonly inputs: readonly [{
|
|
@@ -18384,7 +18384,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18384
18384
|
}];
|
|
18385
18385
|
readonly stateMutability: "pure";
|
|
18386
18386
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18387
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18387
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
18388
18388
|
readonly type: "function";
|
|
18389
18389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18390
18390
|
readonly inputs: readonly [{
|
|
@@ -19005,7 +19005,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19005
19005
|
}];
|
|
19006
19006
|
readonly stateMutability: "pure";
|
|
19007
19007
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19008
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19008
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
19009
19009
|
readonly type: "function";
|
|
19010
19010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19011
19011
|
readonly inputs: readonly [{
|
|
@@ -19626,7 +19626,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19626
19626
|
}];
|
|
19627
19627
|
readonly stateMutability: "pure";
|
|
19628
19628
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19629
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19629
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
19630
19630
|
readonly type: "function";
|
|
19631
19631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19632
19632
|
readonly inputs: readonly [{
|
|
@@ -20247,7 +20247,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20247
20247
|
}];
|
|
20248
20248
|
readonly stateMutability: "pure";
|
|
20249
20249
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20250
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20250
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
20251
20251
|
readonly type: "function";
|
|
20252
20252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20253
20253
|
readonly inputs: readonly [{
|
|
@@ -20868,7 +20868,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20868
20868
|
}];
|
|
20869
20869
|
readonly stateMutability: "pure";
|
|
20870
20870
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20871
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20871
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
20872
20872
|
readonly type: "function";
|
|
20873
20873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20874
20874
|
readonly inputs: readonly [{
|
|
@@ -21489,7 +21489,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21489
21489
|
}];
|
|
21490
21490
|
readonly stateMutability: "pure";
|
|
21491
21491
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21492
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21492
|
+
getPriceAtTick: (args: readonly [number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
21493
21493
|
readonly type: "function";
|
|
21494
21494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21495
21495
|
readonly inputs: readonly [{
|
|
@@ -22736,7 +22736,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22736
22736
|
};
|
|
22737
22737
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22738
22738
|
read: {
|
|
22739
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22739
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
22740
22740
|
readonly type: "function";
|
|
22741
22741
|
readonly name: "batchGetRefTick";
|
|
22742
22742
|
readonly inputs: readonly [{
|
|
@@ -23378,7 +23378,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23378
23378
|
}];
|
|
23379
23379
|
readonly stateMutability: "view";
|
|
23380
23380
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23381
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23381
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
23382
23382
|
readonly type: "function";
|
|
23383
23383
|
readonly name: "batchGetRefTick";
|
|
23384
23384
|
readonly inputs: readonly [{
|
|
@@ -24030,7 +24030,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24030
24030
|
borrowedAmount0: bigint;
|
|
24031
24031
|
borrowedAmount1: bigint;
|
|
24032
24032
|
}[]>;
|
|
24033
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24033
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
24034
24034
|
readonly type: "function";
|
|
24035
24035
|
readonly name: "batchGetRefTick";
|
|
24036
24036
|
readonly inputs: readonly [{
|
|
@@ -24687,7 +24687,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24687
24687
|
expiresAt: number;
|
|
24688
24688
|
liquidities: readonly bigint[];
|
|
24689
24689
|
}[], bigint, boolean]>;
|
|
24690
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24690
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
24691
24691
|
readonly type: "function";
|
|
24692
24692
|
readonly name: "batchGetRefTick";
|
|
24693
24693
|
readonly inputs: readonly [{
|
|
@@ -25329,7 +25329,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25329
25329
|
}];
|
|
25330
25330
|
readonly stateMutability: "view";
|
|
25331
25331
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25332
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25332
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
25333
25333
|
readonly type: "function";
|
|
25334
25334
|
readonly name: "batchGetRefTick";
|
|
25335
25335
|
readonly inputs: readonly [{
|
|
@@ -25984,7 +25984,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25984
25984
|
payoutAssetName: string;
|
|
25985
25985
|
optionsCount: bigint;
|
|
25986
25986
|
}>;
|
|
25987
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25987
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
25988
25988
|
readonly type: "function";
|
|
25989
25989
|
readonly name: "batchGetRefTick";
|
|
25990
25990
|
readonly inputs: readonly [{
|
|
@@ -26626,7 +26626,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26626
26626
|
}];
|
|
26627
26627
|
readonly stateMutability: "view";
|
|
26628
26628
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26629
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26629
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
26630
26630
|
readonly type: "function";
|
|
26631
26631
|
readonly name: "batchGetRefTick";
|
|
26632
26632
|
readonly inputs: readonly [{
|
|
@@ -27268,7 +27268,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27268
27268
|
}];
|
|
27269
27269
|
readonly stateMutability: "view";
|
|
27270
27270
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27271
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27271
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
27272
27272
|
readonly type: "function";
|
|
27273
27273
|
readonly name: "batchGetRefTick";
|
|
27274
27274
|
readonly inputs: readonly [{
|
|
@@ -27925,7 +27925,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27925
27925
|
expiresAt: number;
|
|
27926
27926
|
liquidities: readonly bigint[];
|
|
27927
27927
|
}>;
|
|
27928
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27928
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
27929
27929
|
readonly type: "function";
|
|
27930
27930
|
readonly name: "batchGetRefTick";
|
|
27931
27931
|
readonly inputs: readonly [{
|
|
@@ -28582,7 +28582,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28582
28582
|
expiresAt: number;
|
|
28583
28583
|
liquidities: readonly bigint[];
|
|
28584
28584
|
}[]>;
|
|
28585
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28585
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
28586
28586
|
readonly type: "function";
|
|
28587
28587
|
readonly name: "batchGetRefTick";
|
|
28588
28588
|
readonly inputs: readonly [{
|
|
@@ -29235,7 +29235,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29235
29235
|
tickSpacing: number;
|
|
29236
29236
|
fee: number;
|
|
29237
29237
|
}>;
|
|
29238
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29238
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
29239
29239
|
readonly type: "function";
|
|
29240
29240
|
readonly name: "batchGetRefTick";
|
|
29241
29241
|
readonly inputs: readonly [{
|
|
@@ -29877,7 +29877,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29877
29877
|
}];
|
|
29878
29878
|
readonly stateMutability: "view";
|
|
29879
29879
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29880
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29880
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
29881
29881
|
readonly type: "function";
|
|
29882
29882
|
readonly name: "batchGetRefTick";
|
|
29883
29883
|
readonly inputs: readonly [{
|
|
@@ -30534,7 +30534,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30534
30534
|
expiresAt: number;
|
|
30535
30535
|
liquidities: readonly bigint[];
|
|
30536
30536
|
}[], bigint, boolean]>;
|
|
30537
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30537
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
30538
30538
|
readonly type: "function";
|
|
30539
30539
|
readonly name: "batchGetRefTick";
|
|
30540
30540
|
readonly inputs: readonly [{
|
|
@@ -31872,7 +31872,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31872
31872
|
isRefetching: boolean;
|
|
31873
31873
|
isStale: boolean;
|
|
31874
31874
|
isEnabled: boolean;
|
|
31875
|
-
refetch: (options?:
|
|
31875
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
31876
31876
|
optionId: bigint;
|
|
31877
31877
|
marketAddr: Address;
|
|
31878
31878
|
ownerAddr: Address;
|
|
@@ -31903,7 +31903,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31903
31903
|
address: string;
|
|
31904
31904
|
} | null;
|
|
31905
31905
|
}[], Error>>;
|
|
31906
|
-
fetchStatus:
|
|
31906
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
31907
31907
|
promise: Promise<{
|
|
31908
31908
|
optionId: bigint;
|
|
31909
31909
|
marketAddr: Address;
|
|
@@ -31989,7 +31989,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31989
31989
|
isRefetching: boolean;
|
|
31990
31990
|
isStale: boolean;
|
|
31991
31991
|
isEnabled: boolean;
|
|
31992
|
-
refetch: (options?:
|
|
31992
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
31993
31993
|
optionId: bigint;
|
|
31994
31994
|
marketAddr: Address;
|
|
31995
31995
|
ownerAddr: Address;
|
|
@@ -32020,7 +32020,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32020
32020
|
address: string;
|
|
32021
32021
|
} | null;
|
|
32022
32022
|
}[], Error>>;
|
|
32023
|
-
fetchStatus:
|
|
32023
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32024
32024
|
promise: Promise<{
|
|
32025
32025
|
optionId: bigint;
|
|
32026
32026
|
marketAddr: Address;
|
|
@@ -32106,7 +32106,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32106
32106
|
isRefetching: boolean;
|
|
32107
32107
|
isStale: boolean;
|
|
32108
32108
|
isEnabled: boolean;
|
|
32109
|
-
refetch: (options?:
|
|
32109
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
32110
32110
|
optionId: bigint;
|
|
32111
32111
|
marketAddr: Address;
|
|
32112
32112
|
ownerAddr: Address;
|
|
@@ -32137,7 +32137,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32137
32137
|
address: string;
|
|
32138
32138
|
} | null;
|
|
32139
32139
|
}[], Error>>;
|
|
32140
|
-
fetchStatus:
|
|
32140
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32141
32141
|
promise: Promise<{
|
|
32142
32142
|
optionId: bigint;
|
|
32143
32143
|
marketAddr: Address;
|
|
@@ -32223,7 +32223,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32223
32223
|
isRefetching: boolean;
|
|
32224
32224
|
isStale: boolean;
|
|
32225
32225
|
isEnabled: boolean;
|
|
32226
|
-
refetch: (options?:
|
|
32226
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
32227
32227
|
optionId: bigint;
|
|
32228
32228
|
marketAddr: Address;
|
|
32229
32229
|
ownerAddr: Address;
|
|
@@ -32254,7 +32254,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32254
32254
|
address: string;
|
|
32255
32255
|
} | null;
|
|
32256
32256
|
}[], Error>>;
|
|
32257
|
-
fetchStatus:
|
|
32257
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32258
32258
|
promise: Promise<{
|
|
32259
32259
|
optionId: bigint;
|
|
32260
32260
|
marketAddr: Address;
|
|
@@ -32340,7 +32340,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32340
32340
|
isRefetching: boolean;
|
|
32341
32341
|
isStale: boolean;
|
|
32342
32342
|
isEnabled: boolean;
|
|
32343
|
-
refetch: (options?:
|
|
32343
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
32344
32344
|
optionId: bigint;
|
|
32345
32345
|
marketAddr: Address;
|
|
32346
32346
|
ownerAddr: Address;
|
|
@@ -32371,7 +32371,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32371
32371
|
address: string;
|
|
32372
32372
|
} | null;
|
|
32373
32373
|
}[], Error>>;
|
|
32374
|
-
fetchStatus:
|
|
32374
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32375
32375
|
promise: Promise<{
|
|
32376
32376
|
optionId: bigint;
|
|
32377
32377
|
marketAddr: Address;
|
|
@@ -32457,7 +32457,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32457
32457
|
isRefetching: boolean;
|
|
32458
32458
|
isStale: boolean;
|
|
32459
32459
|
isEnabled: boolean;
|
|
32460
|
-
refetch: (options?:
|
|
32460
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
32461
32461
|
optionId: bigint;
|
|
32462
32462
|
marketAddr: Address;
|
|
32463
32463
|
ownerAddr: Address;
|
|
@@ -32488,7 +32488,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32488
32488
|
address: string;
|
|
32489
32489
|
} | null;
|
|
32490
32490
|
}[], Error>>;
|
|
32491
|
-
fetchStatus:
|
|
32491
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32492
32492
|
promise: Promise<{
|
|
32493
32493
|
optionId: bigint;
|
|
32494
32494
|
marketAddr: Address;
|
|
@@ -32575,7 +32575,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32575
32575
|
isRefetching: boolean;
|
|
32576
32576
|
isStale: boolean;
|
|
32577
32577
|
isEnabled: boolean;
|
|
32578
|
-
refetch: (options?:
|
|
32578
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
32579
32579
|
optionId: bigint;
|
|
32580
32580
|
marketAddr: Address;
|
|
32581
32581
|
ownerAddr: Address;
|
|
@@ -32606,7 +32606,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32606
32606
|
address: string;
|
|
32607
32607
|
} | null;
|
|
32608
32608
|
}[], Error>>;
|
|
32609
|
-
fetchStatus:
|
|
32609
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32610
32610
|
promise: Promise<{
|
|
32611
32611
|
optionId: bigint;
|
|
32612
32612
|
marketAddr: Address;
|
|
@@ -32692,7 +32692,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32692
32692
|
isRefetching: boolean;
|
|
32693
32693
|
isStale: boolean;
|
|
32694
32694
|
isEnabled: boolean;
|
|
32695
|
-
refetch: (options?:
|
|
32695
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
32696
32696
|
optionId: bigint;
|
|
32697
32697
|
marketAddr: Address;
|
|
32698
32698
|
ownerAddr: Address;
|
|
@@ -32723,7 +32723,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32723
32723
|
address: string;
|
|
32724
32724
|
} | null;
|
|
32725
32725
|
}[], Error>>;
|
|
32726
|
-
fetchStatus:
|
|
32726
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32727
32727
|
promise: Promise<{
|
|
32728
32728
|
optionId: bigint;
|
|
32729
32729
|
marketAddr: Address;
|
|
@@ -32809,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32809
32809
|
isRefetching: boolean;
|
|
32810
32810
|
isStale: boolean;
|
|
32811
32811
|
isEnabled: boolean;
|
|
32812
|
-
refetch: (options?:
|
|
32812
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
32813
32813
|
optionId: bigint;
|
|
32814
32814
|
marketAddr: Address;
|
|
32815
32815
|
ownerAddr: Address;
|
|
@@ -32840,7 +32840,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32840
32840
|
address: string;
|
|
32841
32841
|
} | null;
|
|
32842
32842
|
}[], Error>>;
|
|
32843
|
-
fetchStatus:
|
|
32843
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32844
32844
|
promise: Promise<{
|
|
32845
32845
|
optionId: bigint;
|
|
32846
32846
|
marketAddr: Address;
|
|
@@ -32926,7 +32926,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32926
32926
|
isRefetching: boolean;
|
|
32927
32927
|
isStale: boolean;
|
|
32928
32928
|
isEnabled: boolean;
|
|
32929
|
-
refetch: (options?:
|
|
32929
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
32930
32930
|
optionId: bigint;
|
|
32931
32931
|
marketAddr: Address;
|
|
32932
32932
|
ownerAddr: Address;
|
|
@@ -32957,7 +32957,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32957
32957
|
address: string;
|
|
32958
32958
|
} | null;
|
|
32959
32959
|
}[], Error>>;
|
|
32960
|
-
fetchStatus:
|
|
32960
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
32961
32961
|
promise: Promise<{
|
|
32962
32962
|
optionId: bigint;
|
|
32963
32963
|
marketAddr: Address;
|
|
@@ -33043,7 +33043,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33043
33043
|
isRefetching: boolean;
|
|
33044
33044
|
isStale: boolean;
|
|
33045
33045
|
isEnabled: boolean;
|
|
33046
|
-
refetch: (options?:
|
|
33046
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
33047
33047
|
optionId: bigint;
|
|
33048
33048
|
marketAddr: Address;
|
|
33049
33049
|
ownerAddr: Address;
|
|
@@ -33074,7 +33074,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33074
33074
|
address: string;
|
|
33075
33075
|
} | null;
|
|
33076
33076
|
}[], Error>>;
|
|
33077
|
-
fetchStatus:
|
|
33077
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
33078
33078
|
promise: Promise<{
|
|
33079
33079
|
optionId: bigint;
|
|
33080
33080
|
marketAddr: Address;
|
|
@@ -33160,7 +33160,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33160
33160
|
isRefetching: boolean;
|
|
33161
33161
|
isStale: boolean;
|
|
33162
33162
|
isEnabled: boolean;
|
|
33163
|
-
refetch: (options?:
|
|
33163
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
33164
33164
|
optionId: bigint;
|
|
33165
33165
|
marketAddr: Address;
|
|
33166
33166
|
ownerAddr: Address;
|
|
@@ -33191,7 +33191,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33191
33191
|
address: string;
|
|
33192
33192
|
} | null;
|
|
33193
33193
|
}[], Error>>;
|
|
33194
|
-
fetchStatus:
|
|
33194
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
33195
33195
|
promise: Promise<{
|
|
33196
33196
|
optionId: bigint;
|
|
33197
33197
|
marketAddr: Address;
|
|
@@ -33278,7 +33278,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33278
33278
|
isRefetching: boolean;
|
|
33279
33279
|
isStale: boolean;
|
|
33280
33280
|
isEnabled: boolean;
|
|
33281
|
-
refetch: (options?:
|
|
33281
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
33282
33282
|
optionId: bigint;
|
|
33283
33283
|
marketAddr: Address;
|
|
33284
33284
|
ownerAddr: Address;
|
|
@@ -33309,7 +33309,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33309
33309
|
address: string;
|
|
33310
33310
|
} | null;
|
|
33311
33311
|
}[], Error>>;
|
|
33312
|
-
fetchStatus:
|
|
33312
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
33313
33313
|
promise: Promise<{
|
|
33314
33314
|
optionId: bigint;
|
|
33315
33315
|
marketAddr: Address;
|
|
@@ -33395,7 +33395,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33395
33395
|
isRefetching: boolean;
|
|
33396
33396
|
isStale: boolean;
|
|
33397
33397
|
isEnabled: boolean;
|
|
33398
|
-
refetch: (options?:
|
|
33398
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
33399
33399
|
optionId: bigint;
|
|
33400
33400
|
marketAddr: Address;
|
|
33401
33401
|
ownerAddr: Address;
|
|
@@ -33426,7 +33426,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33426
33426
|
address: string;
|
|
33427
33427
|
} | null;
|
|
33428
33428
|
}[], Error>>;
|
|
33429
|
-
fetchStatus:
|
|
33429
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
33430
33430
|
promise: Promise<{
|
|
33431
33431
|
optionId: bigint;
|
|
33432
33432
|
marketAddr: Address;
|
|
@@ -33512,7 +33512,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33512
33512
|
isRefetching: boolean;
|
|
33513
33513
|
isStale: boolean;
|
|
33514
33514
|
isEnabled: boolean;
|
|
33515
|
-
refetch: (options?:
|
|
33515
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
33516
33516
|
optionId: bigint;
|
|
33517
33517
|
marketAddr: Address;
|
|
33518
33518
|
ownerAddr: Address;
|
|
@@ -33543,7 +33543,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33543
33543
|
address: string;
|
|
33544
33544
|
} | null;
|
|
33545
33545
|
}[], Error>>;
|
|
33546
|
-
fetchStatus:
|
|
33546
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
33547
33547
|
promise: Promise<{
|
|
33548
33548
|
optionId: bigint;
|
|
33549
33549
|
marketAddr: Address;
|
|
@@ -33629,7 +33629,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33629
33629
|
isRefetching: boolean;
|
|
33630
33630
|
isStale: boolean;
|
|
33631
33631
|
isEnabled: boolean;
|
|
33632
|
-
refetch: (options?:
|
|
33632
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
33633
33633
|
optionId: bigint;
|
|
33634
33634
|
marketAddr: Address;
|
|
33635
33635
|
ownerAddr: Address;
|
|
@@ -33660,7 +33660,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33660
33660
|
address: string;
|
|
33661
33661
|
} | null;
|
|
33662
33662
|
}[], Error>>;
|
|
33663
|
-
fetchStatus:
|
|
33663
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
33664
33664
|
promise: Promise<{
|
|
33665
33665
|
optionId: bigint;
|
|
33666
33666
|
marketAddr: Address;
|
|
@@ -33746,7 +33746,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33746
33746
|
isRefetching: boolean;
|
|
33747
33747
|
isStale: boolean;
|
|
33748
33748
|
isEnabled: boolean;
|
|
33749
|
-
refetch: (options?:
|
|
33749
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
33750
33750
|
optionId: bigint;
|
|
33751
33751
|
marketAddr: Address;
|
|
33752
33752
|
ownerAddr: Address;
|
|
@@ -33777,7 +33777,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33777
33777
|
address: string;
|
|
33778
33778
|
} | null;
|
|
33779
33779
|
}[], Error>>;
|
|
33780
|
-
fetchStatus:
|
|
33780
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
33781
33781
|
promise: Promise<{
|
|
33782
33782
|
optionId: bigint;
|
|
33783
33783
|
marketAddr: Address;
|
|
@@ -33863,7 +33863,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33863
33863
|
isRefetching: boolean;
|
|
33864
33864
|
isStale: boolean;
|
|
33865
33865
|
isEnabled: boolean;
|
|
33866
|
-
refetch: (options?:
|
|
33866
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
33867
33867
|
optionId: bigint;
|
|
33868
33868
|
marketAddr: Address;
|
|
33869
33869
|
ownerAddr: Address;
|
|
@@ -33894,7 +33894,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33894
33894
|
address: string;
|
|
33895
33895
|
} | null;
|
|
33896
33896
|
}[], Error>>;
|
|
33897
|
-
fetchStatus:
|
|
33897
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
33898
33898
|
promise: Promise<{
|
|
33899
33899
|
optionId: bigint;
|
|
33900
33900
|
marketAddr: Address;
|
|
@@ -33960,7 +33960,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33960
33960
|
};
|
|
33961
33961
|
//#endregion
|
|
33962
33962
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
33963
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
33963
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<`0x${string}`, Error, {
|
|
33964
33964
|
option: OptionData;
|
|
33965
33965
|
liquidities: readonly bigint[];
|
|
33966
33966
|
}, unknown>;
|
|
@@ -34016,7 +34016,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
34016
34016
|
};
|
|
34017
34017
|
//#endregion
|
|
34018
34018
|
//#region src/hooks/options/useMintOption.d.ts
|
|
34019
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
34019
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<`0x${string}`, Error, {
|
|
34020
34020
|
optionType: "CALL" | "PUT";
|
|
34021
34021
|
amount: bigint;
|
|
34022
34022
|
duration: number;
|
|
@@ -34041,7 +34041,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
34041
34041
|
};
|
|
34042
34042
|
//#endregion
|
|
34043
34043
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
34044
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
34044
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<`0x${string}`, Error, {
|
|
34045
34045
|
option: OptionData;
|
|
34046
34046
|
duration: number;
|
|
34047
34047
|
}, unknown>;
|
|
@@ -34071,7 +34071,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34071
34071
|
isRefetching: boolean;
|
|
34072
34072
|
isStale: boolean;
|
|
34073
34073
|
isEnabled: boolean;
|
|
34074
|
-
refetch: (options?:
|
|
34074
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
|
|
34075
34075
|
type: "mint";
|
|
34076
34076
|
data: {
|
|
34077
34077
|
id: string;
|
|
@@ -34110,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34110
34110
|
transactionHash: string;
|
|
34111
34111
|
};
|
|
34112
34112
|
})[], Error>>;
|
|
34113
|
-
fetchStatus:
|
|
34113
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
34114
34114
|
promise: Promise<({
|
|
34115
34115
|
type: "mint";
|
|
34116
34116
|
data: {
|
|
@@ -34212,7 +34212,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34212
34212
|
isRefetching: boolean;
|
|
34213
34213
|
isStale: boolean;
|
|
34214
34214
|
isEnabled: boolean;
|
|
34215
|
-
refetch: (options?:
|
|
34215
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
|
|
34216
34216
|
type: "mint";
|
|
34217
34217
|
data: {
|
|
34218
34218
|
id: string;
|
|
@@ -34251,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34251
34251
|
transactionHash: string;
|
|
34252
34252
|
};
|
|
34253
34253
|
})[], Error>>;
|
|
34254
|
-
fetchStatus:
|
|
34254
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
34255
34255
|
promise: Promise<({
|
|
34256
34256
|
type: "mint";
|
|
34257
34257
|
data: {
|
|
@@ -34353,7 +34353,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34353
34353
|
isRefetching: boolean;
|
|
34354
34354
|
isStale: boolean;
|
|
34355
34355
|
isEnabled: boolean;
|
|
34356
|
-
refetch: (options?:
|
|
34356
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
|
|
34357
34357
|
type: "mint";
|
|
34358
34358
|
data: {
|
|
34359
34359
|
id: string;
|
|
@@ -34392,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34392
34392
|
transactionHash: string;
|
|
34393
34393
|
};
|
|
34394
34394
|
})[], Error>>;
|
|
34395
|
-
fetchStatus:
|
|
34395
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
34396
34396
|
promise: Promise<({
|
|
34397
34397
|
type: "mint";
|
|
34398
34398
|
data: {
|
|
@@ -34494,7 +34494,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34494
34494
|
isRefetching: boolean;
|
|
34495
34495
|
isStale: boolean;
|
|
34496
34496
|
isEnabled: boolean;
|
|
34497
|
-
refetch: (options?:
|
|
34497
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
|
|
34498
34498
|
type: "mint";
|
|
34499
34499
|
data: {
|
|
34500
34500
|
id: string;
|
|
@@ -34533,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34533
34533
|
transactionHash: string;
|
|
34534
34534
|
};
|
|
34535
34535
|
})[], Error>>;
|
|
34536
|
-
fetchStatus:
|
|
34536
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
34537
34537
|
promise: Promise<({
|
|
34538
34538
|
type: "mint";
|
|
34539
34539
|
data: {
|
|
@@ -34635,7 +34635,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34635
34635
|
isRefetching: boolean;
|
|
34636
34636
|
isStale: boolean;
|
|
34637
34637
|
isEnabled: boolean;
|
|
34638
|
-
refetch: (options?:
|
|
34638
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
|
|
34639
34639
|
type: "mint";
|
|
34640
34640
|
data: {
|
|
34641
34641
|
id: string;
|
|
@@ -34674,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34674
34674
|
transactionHash: string;
|
|
34675
34675
|
};
|
|
34676
34676
|
})[], Error>>;
|
|
34677
|
-
fetchStatus:
|
|
34677
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
34678
34678
|
promise: Promise<({
|
|
34679
34679
|
type: "mint";
|
|
34680
34680
|
data: {
|
|
@@ -34776,7 +34776,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34776
34776
|
isRefetching: boolean;
|
|
34777
34777
|
isStale: boolean;
|
|
34778
34778
|
isEnabled: boolean;
|
|
34779
|
-
refetch: (options?:
|
|
34779
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
|
|
34780
34780
|
type: "mint";
|
|
34781
34781
|
data: {
|
|
34782
34782
|
id: string;
|
|
@@ -34815,7 +34815,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34815
34815
|
transactionHash: string;
|
|
34816
34816
|
};
|
|
34817
34817
|
})[], Error>>;
|
|
34818
|
-
fetchStatus:
|
|
34818
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
34819
34819
|
promise: Promise<({
|
|
34820
34820
|
type: "mint";
|
|
34821
34821
|
data: {
|
|
@@ -34897,7 +34897,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34897
34897
|
};
|
|
34898
34898
|
//#endregion
|
|
34899
34899
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
34900
|
-
declare const useMintPerp: (marketAddr?: Address) =>
|
|
34900
|
+
declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<void, Error, {
|
|
34901
34901
|
optionType: "CALL" | "PUT";
|
|
34902
34902
|
amount: bigint;
|
|
34903
34903
|
duration: number;
|
|
@@ -34907,14 +34907,12 @@ declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query0.UseM
|
|
|
34907
34907
|
//#region src/lib/perpsOperator.d.ts
|
|
34908
34908
|
type MintPerpBody = {
|
|
34909
34909
|
marketAddr: Address;
|
|
34910
|
-
userAddr: Address;
|
|
34911
34910
|
optionType: 'CALL' | 'PUT';
|
|
34912
34911
|
amount: bigint;
|
|
34913
34912
|
duration: number;
|
|
34914
34913
|
strikeTick: number;
|
|
34915
34914
|
};
|
|
34916
34915
|
type ExercisePerpBody = {
|
|
34917
|
-
userAddr: Address;
|
|
34918
34916
|
marketAddr: Address;
|
|
34919
34917
|
optionId: bigint;
|
|
34920
34918
|
liquidities: bigint[];
|
|
@@ -34926,15 +34924,15 @@ declare class PerpsOperator {
|
|
|
34926
34924
|
signature: Hex;
|
|
34927
34925
|
};
|
|
34928
34926
|
constructor(baseUrl: string);
|
|
34929
|
-
getOperatorAddr()
|
|
34930
|
-
genAuthMessage(userAddr: Address)
|
|
34931
|
-
validateAuthMessage(authMessage: string, signature: Hex)
|
|
34927
|
+
getOperatorAddr: () => Promise<Address>;
|
|
34928
|
+
genAuthMessage: (userAddr: Address) => Promise<string>;
|
|
34929
|
+
validateAuthMessage: (authMessage: string, signature: Hex) => Promise<{
|
|
34932
34930
|
address: `0x${string}`;
|
|
34933
34931
|
createdAt: number;
|
|
34934
34932
|
validUntil: number;
|
|
34935
34933
|
}>;
|
|
34936
|
-
setAuth(authMessage: string, signature: Hex)
|
|
34937
|
-
getUserPerps(userAddr: Address, marketAddr?: Address, type?:
|
|
34934
|
+
setAuth: (authMessage: string, signature: Hex) => void;
|
|
34935
|
+
getUserPerps: (userAddr: Address, marketAddr?: Address, type?: "active" | "closed", offset?: number, limit?: number) => Promise<{
|
|
34938
34936
|
optionId: bigint;
|
|
34939
34937
|
id: string;
|
|
34940
34938
|
ownerAddr: Address;
|
|
@@ -34943,18 +34941,18 @@ declare class PerpsOperator {
|
|
|
34943
34941
|
expiresAt: number;
|
|
34944
34942
|
closed: boolean;
|
|
34945
34943
|
}[]>;
|
|
34946
|
-
mintPerp(body: MintPerpBody)
|
|
34944
|
+
mintPerp: (body: MintPerpBody) => Promise<{
|
|
34947
34945
|
txHash: string;
|
|
34948
34946
|
optionId: bigint;
|
|
34949
34947
|
}>;
|
|
34950
|
-
exercisePerp(body: ExercisePerpBody)
|
|
34948
|
+
exercisePerp: (body: ExercisePerpBody) => Promise<{
|
|
34951
34949
|
txHash: string;
|
|
34952
34950
|
optionId: bigint;
|
|
34953
34951
|
}>;
|
|
34954
34952
|
}
|
|
34955
34953
|
//#endregion
|
|
34956
34954
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
34957
|
-
declare const useClosePerp: () =>
|
|
34955
|
+
declare const useClosePerp: () => _tanstack_react_query1.UseMutationResult<{
|
|
34958
34956
|
txHash: string;
|
|
34959
34957
|
optionId: bigint;
|
|
34960
34958
|
}, Error, ExercisePerpBody, unknown>;
|
|
@@ -34963,12 +34961,12 @@ declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
34963
34961
|
declare const usePerpsOperator: () => {
|
|
34964
34962
|
operator: PerpsOperator | undefined;
|
|
34965
34963
|
address: `0x${string}` | undefined;
|
|
34966
|
-
signMessage:
|
|
34964
|
+
signMessage: _tanstack_react_query1.UseMutationResult<void, Error, void, unknown>;
|
|
34967
34965
|
};
|
|
34968
34966
|
//#endregion
|
|
34969
34967
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
34970
34968
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
34971
|
-
error:
|
|
34969
|
+
error: viem145.ReadContractErrorType;
|
|
34972
34970
|
isError: true;
|
|
34973
34971
|
isPending: false;
|
|
34974
34972
|
isLoading: false;
|
|
@@ -34980,7 +34978,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
34980
34978
|
dataUpdatedAt: number;
|
|
34981
34979
|
errorUpdatedAt: number;
|
|
34982
34980
|
failureCount: number;
|
|
34983
|
-
failureReason:
|
|
34981
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
34984
34982
|
errorUpdateCount: number;
|
|
34985
34983
|
isFetched: boolean;
|
|
34986
34984
|
isFetchedAfterMount: boolean;
|
|
@@ -34990,10 +34988,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
34990
34988
|
isRefetching: boolean;
|
|
34991
34989
|
isStale: boolean;
|
|
34992
34990
|
isEnabled: boolean;
|
|
34993
|
-
refetch: (options?:
|
|
34994
|
-
fetchStatus:
|
|
34991
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
34992
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
34995
34993
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
34996
|
-
queryKey:
|
|
34994
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
34997
34995
|
data: {
|
|
34998
34996
|
canExtend: boolean;
|
|
34999
34997
|
canExercise: boolean;
|
|
@@ -35014,7 +35012,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35014
35012
|
dataUpdatedAt: number;
|
|
35015
35013
|
errorUpdatedAt: number;
|
|
35016
35014
|
failureCount: number;
|
|
35017
|
-
failureReason:
|
|
35015
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35018
35016
|
errorUpdateCount: number;
|
|
35019
35017
|
isFetched: boolean;
|
|
35020
35018
|
isFetchedAfterMount: boolean;
|
|
@@ -35024,10 +35022,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35024
35022
|
isRefetching: boolean;
|
|
35025
35023
|
isStale: boolean;
|
|
35026
35024
|
isEnabled: boolean;
|
|
35027
|
-
refetch: (options?:
|
|
35028
|
-
fetchStatus:
|
|
35025
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35026
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35029
35027
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35030
|
-
queryKey:
|
|
35028
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35031
35029
|
data: {
|
|
35032
35030
|
canExtend: boolean;
|
|
35033
35031
|
canExercise: boolean;
|
|
@@ -35036,7 +35034,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35036
35034
|
spendingApproval: bigint;
|
|
35037
35035
|
} | undefined;
|
|
35038
35036
|
} | {
|
|
35039
|
-
error:
|
|
35037
|
+
error: viem145.ReadContractErrorType;
|
|
35040
35038
|
isError: true;
|
|
35041
35039
|
isPending: false;
|
|
35042
35040
|
isLoading: false;
|
|
@@ -35048,7 +35046,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35048
35046
|
dataUpdatedAt: number;
|
|
35049
35047
|
errorUpdatedAt: number;
|
|
35050
35048
|
failureCount: number;
|
|
35051
|
-
failureReason:
|
|
35049
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35052
35050
|
errorUpdateCount: number;
|
|
35053
35051
|
isFetched: boolean;
|
|
35054
35052
|
isFetchedAfterMount: boolean;
|
|
@@ -35058,10 +35056,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35058
35056
|
isRefetching: boolean;
|
|
35059
35057
|
isStale: boolean;
|
|
35060
35058
|
isEnabled: boolean;
|
|
35061
|
-
refetch: (options?:
|
|
35062
|
-
fetchStatus:
|
|
35059
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35060
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35063
35061
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35064
|
-
queryKey:
|
|
35062
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35065
35063
|
data: {
|
|
35066
35064
|
canExtend: boolean;
|
|
35067
35065
|
canExercise: boolean;
|
|
@@ -35082,7 +35080,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35082
35080
|
dataUpdatedAt: number;
|
|
35083
35081
|
errorUpdatedAt: number;
|
|
35084
35082
|
failureCount: number;
|
|
35085
|
-
failureReason:
|
|
35083
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35086
35084
|
errorUpdateCount: number;
|
|
35087
35085
|
isFetched: boolean;
|
|
35088
35086
|
isFetchedAfterMount: boolean;
|
|
@@ -35092,10 +35090,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35092
35090
|
isRefetching: boolean;
|
|
35093
35091
|
isStale: boolean;
|
|
35094
35092
|
isEnabled: boolean;
|
|
35095
|
-
refetch: (options?:
|
|
35096
|
-
fetchStatus:
|
|
35093
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35094
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35097
35095
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35098
|
-
queryKey:
|
|
35096
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35099
35097
|
data: {
|
|
35100
35098
|
canExtend: boolean;
|
|
35101
35099
|
canExercise: boolean;
|
|
@@ -35115,7 +35113,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35115
35113
|
dataUpdatedAt: number;
|
|
35116
35114
|
errorUpdatedAt: number;
|
|
35117
35115
|
failureCount: number;
|
|
35118
|
-
failureReason:
|
|
35116
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35119
35117
|
errorUpdateCount: number;
|
|
35120
35118
|
isFetched: boolean;
|
|
35121
35119
|
isFetchedAfterMount: boolean;
|
|
@@ -35126,10 +35124,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35126
35124
|
isRefetching: boolean;
|
|
35127
35125
|
isStale: boolean;
|
|
35128
35126
|
isEnabled: boolean;
|
|
35129
|
-
refetch: (options?:
|
|
35130
|
-
fetchStatus:
|
|
35127
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35128
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35131
35129
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35132
|
-
queryKey:
|
|
35130
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35133
35131
|
data: {
|
|
35134
35132
|
canExtend: boolean;
|
|
35135
35133
|
canExercise: boolean;
|
|
@@ -35150,7 +35148,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35150
35148
|
dataUpdatedAt: number;
|
|
35151
35149
|
errorUpdatedAt: number;
|
|
35152
35150
|
failureCount: number;
|
|
35153
|
-
failureReason:
|
|
35151
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35154
35152
|
errorUpdateCount: number;
|
|
35155
35153
|
isFetched: boolean;
|
|
35156
35154
|
isFetchedAfterMount: boolean;
|
|
@@ -35160,10 +35158,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35160
35158
|
isRefetching: boolean;
|
|
35161
35159
|
isStale: boolean;
|
|
35162
35160
|
isEnabled: boolean;
|
|
35163
|
-
refetch: (options?:
|
|
35164
|
-
fetchStatus:
|
|
35161
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35162
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35165
35163
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35166
|
-
queryKey:
|
|
35164
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35167
35165
|
data: {
|
|
35168
35166
|
canExtend: boolean;
|
|
35169
35167
|
canExercise: boolean;
|
|
@@ -35211,7 +35209,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35211
35209
|
isRefetching: boolean;
|
|
35212
35210
|
isStale: boolean;
|
|
35213
35211
|
isEnabled: boolean;
|
|
35214
|
-
refetch: (options?:
|
|
35212
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
35215
35213
|
spendingApproval: bigint;
|
|
35216
35214
|
operatorAddr: string;
|
|
35217
35215
|
__typename: "UserMarketOperator";
|
|
@@ -35225,7 +35223,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35225
35223
|
address: string;
|
|
35226
35224
|
} | null;
|
|
35227
35225
|
}[] | undefined, Error>>;
|
|
35228
|
-
fetchStatus:
|
|
35226
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35229
35227
|
promise: Promise<{
|
|
35230
35228
|
spendingApproval: bigint;
|
|
35231
35229
|
operatorAddr: string;
|
|
@@ -35277,7 +35275,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35277
35275
|
isRefetching: boolean;
|
|
35278
35276
|
isStale: boolean;
|
|
35279
35277
|
isEnabled: boolean;
|
|
35280
|
-
refetch: (options?:
|
|
35278
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
35281
35279
|
spendingApproval: bigint;
|
|
35282
35280
|
operatorAddr: string;
|
|
35283
35281
|
__typename: "UserMarketOperator";
|
|
@@ -35291,7 +35289,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35291
35289
|
address: string;
|
|
35292
35290
|
} | null;
|
|
35293
35291
|
}[] | undefined, Error>>;
|
|
35294
|
-
fetchStatus:
|
|
35292
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35295
35293
|
promise: Promise<{
|
|
35296
35294
|
spendingApproval: bigint;
|
|
35297
35295
|
operatorAddr: string;
|
|
@@ -35343,7 +35341,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35343
35341
|
isRefetching: boolean;
|
|
35344
35342
|
isStale: boolean;
|
|
35345
35343
|
isEnabled: boolean;
|
|
35346
|
-
refetch: (options?:
|
|
35344
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
35347
35345
|
spendingApproval: bigint;
|
|
35348
35346
|
operatorAddr: string;
|
|
35349
35347
|
__typename: "UserMarketOperator";
|
|
@@ -35357,7 +35355,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35357
35355
|
address: string;
|
|
35358
35356
|
} | null;
|
|
35359
35357
|
}[] | undefined, Error>>;
|
|
35360
|
-
fetchStatus:
|
|
35358
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35361
35359
|
promise: Promise<{
|
|
35362
35360
|
spendingApproval: bigint;
|
|
35363
35361
|
operatorAddr: string;
|
|
@@ -35409,7 +35407,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35409
35407
|
isRefetching: boolean;
|
|
35410
35408
|
isStale: boolean;
|
|
35411
35409
|
isEnabled: boolean;
|
|
35412
|
-
refetch: (options?:
|
|
35410
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
35413
35411
|
spendingApproval: bigint;
|
|
35414
35412
|
operatorAddr: string;
|
|
35415
35413
|
__typename: "UserMarketOperator";
|
|
@@ -35423,7 +35421,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35423
35421
|
address: string;
|
|
35424
35422
|
} | null;
|
|
35425
35423
|
}[] | undefined, Error>>;
|
|
35426
|
-
fetchStatus:
|
|
35424
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35427
35425
|
promise: Promise<{
|
|
35428
35426
|
spendingApproval: bigint;
|
|
35429
35427
|
operatorAddr: string;
|
|
@@ -35475,7 +35473,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35475
35473
|
isRefetching: boolean;
|
|
35476
35474
|
isStale: boolean;
|
|
35477
35475
|
isEnabled: boolean;
|
|
35478
|
-
refetch: (options?:
|
|
35476
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
35479
35477
|
spendingApproval: bigint;
|
|
35480
35478
|
operatorAddr: string;
|
|
35481
35479
|
__typename: "UserMarketOperator";
|
|
@@ -35489,7 +35487,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35489
35487
|
address: string;
|
|
35490
35488
|
} | null;
|
|
35491
35489
|
}[] | undefined, Error>>;
|
|
35492
|
-
fetchStatus:
|
|
35490
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35493
35491
|
promise: Promise<{
|
|
35494
35492
|
spendingApproval: bigint;
|
|
35495
35493
|
operatorAddr: string;
|
|
@@ -35541,7 +35539,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35541
35539
|
isRefetching: boolean;
|
|
35542
35540
|
isStale: boolean;
|
|
35543
35541
|
isEnabled: boolean;
|
|
35544
|
-
refetch: (options?:
|
|
35542
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
|
|
35545
35543
|
spendingApproval: bigint;
|
|
35546
35544
|
operatorAddr: string;
|
|
35547
35545
|
__typename: "UserMarketOperator";
|
|
@@ -35555,7 +35553,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35555
35553
|
address: string;
|
|
35556
35554
|
} | null;
|
|
35557
35555
|
}[] | undefined, Error>>;
|
|
35558
|
-
fetchStatus:
|
|
35556
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35559
35557
|
promise: Promise<{
|
|
35560
35558
|
spendingApproval: bigint;
|
|
35561
35559
|
operatorAddr: string;
|
|
@@ -35573,7 +35571,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35573
35571
|
};
|
|
35574
35572
|
//#endregion
|
|
35575
35573
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
35576
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
35574
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<`0x${string}`, Error, {
|
|
35577
35575
|
operator: Address;
|
|
35578
35576
|
canExtend: boolean;
|
|
35579
35577
|
canExercise: boolean;
|
|
@@ -35649,7 +35647,7 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
35649
35647
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
35650
35648
|
//#endregion
|
|
35651
35649
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
35652
|
-
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
35650
|
+
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query1.UseQueryResult<PriceDataPoint[], Error>;
|
|
35653
35651
|
//#endregion
|
|
35654
35652
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
35655
35653
|
interface BurnPosition {
|
|
@@ -35671,7 +35669,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35671
35669
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
35672
35670
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
35673
35671
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
35674
|
-
error:
|
|
35672
|
+
error: viem145.ReadContractErrorType;
|
|
35675
35673
|
isError: true;
|
|
35676
35674
|
isPending: false;
|
|
35677
35675
|
isLoading: false;
|
|
@@ -35683,7 +35681,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35683
35681
|
dataUpdatedAt: number;
|
|
35684
35682
|
errorUpdatedAt: number;
|
|
35685
35683
|
failureCount: number;
|
|
35686
|
-
failureReason:
|
|
35684
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35687
35685
|
errorUpdateCount: number;
|
|
35688
35686
|
isFetched: boolean;
|
|
35689
35687
|
isFetchedAfterMount: boolean;
|
|
@@ -35693,7 +35691,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35693
35691
|
isRefetching: boolean;
|
|
35694
35692
|
isStale: boolean;
|
|
35695
35693
|
isEnabled: boolean;
|
|
35696
|
-
refetch: (options?:
|
|
35694
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
|
|
35697
35695
|
tickLower: number;
|
|
35698
35696
|
tickUpper: number;
|
|
35699
35697
|
prevTickLower: number;
|
|
@@ -35703,8 +35701,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35703
35701
|
totalAmount1: bigint;
|
|
35704
35702
|
borrowedAmount0: bigint;
|
|
35705
35703
|
borrowedAmount1: bigint;
|
|
35706
|
-
}[],
|
|
35707
|
-
fetchStatus:
|
|
35704
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35705
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35708
35706
|
promise: Promise<readonly {
|
|
35709
35707
|
tickLower: number;
|
|
35710
35708
|
tickUpper: number;
|
|
@@ -35716,7 +35714,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35716
35714
|
borrowedAmount0: bigint;
|
|
35717
35715
|
borrowedAmount1: bigint;
|
|
35718
35716
|
}[]>;
|
|
35719
|
-
queryKey:
|
|
35717
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35720
35718
|
data: readonly {
|
|
35721
35719
|
tickLower: number;
|
|
35722
35720
|
tickUpper: number;
|
|
@@ -35741,7 +35739,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35741
35739
|
dataUpdatedAt: number;
|
|
35742
35740
|
errorUpdatedAt: number;
|
|
35743
35741
|
failureCount: number;
|
|
35744
|
-
failureReason:
|
|
35742
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35745
35743
|
errorUpdateCount: number;
|
|
35746
35744
|
isFetched: boolean;
|
|
35747
35745
|
isFetchedAfterMount: boolean;
|
|
@@ -35751,7 +35749,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35751
35749
|
isRefetching: boolean;
|
|
35752
35750
|
isStale: boolean;
|
|
35753
35751
|
isEnabled: boolean;
|
|
35754
|
-
refetch: (options?:
|
|
35752
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
|
|
35755
35753
|
tickLower: number;
|
|
35756
35754
|
tickUpper: number;
|
|
35757
35755
|
prevTickLower: number;
|
|
@@ -35761,8 +35759,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35761
35759
|
totalAmount1: bigint;
|
|
35762
35760
|
borrowedAmount0: bigint;
|
|
35763
35761
|
borrowedAmount1: bigint;
|
|
35764
|
-
}[],
|
|
35765
|
-
fetchStatus:
|
|
35762
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35763
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35766
35764
|
promise: Promise<readonly {
|
|
35767
35765
|
tickLower: number;
|
|
35768
35766
|
tickUpper: number;
|
|
@@ -35774,7 +35772,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35774
35772
|
borrowedAmount0: bigint;
|
|
35775
35773
|
borrowedAmount1: bigint;
|
|
35776
35774
|
}[]>;
|
|
35777
|
-
queryKey:
|
|
35775
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35778
35776
|
data: readonly {
|
|
35779
35777
|
tickLower: number;
|
|
35780
35778
|
tickUpper: number;
|
|
@@ -35787,7 +35785,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35787
35785
|
borrowedAmount1: bigint;
|
|
35788
35786
|
}[];
|
|
35789
35787
|
} | {
|
|
35790
|
-
error:
|
|
35788
|
+
error: viem145.ReadContractErrorType;
|
|
35791
35789
|
isError: true;
|
|
35792
35790
|
isPending: false;
|
|
35793
35791
|
isLoading: false;
|
|
@@ -35799,7 +35797,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35799
35797
|
dataUpdatedAt: number;
|
|
35800
35798
|
errorUpdatedAt: number;
|
|
35801
35799
|
failureCount: number;
|
|
35802
|
-
failureReason:
|
|
35800
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35803
35801
|
errorUpdateCount: number;
|
|
35804
35802
|
isFetched: boolean;
|
|
35805
35803
|
isFetchedAfterMount: boolean;
|
|
@@ -35809,7 +35807,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35809
35807
|
isRefetching: boolean;
|
|
35810
35808
|
isStale: boolean;
|
|
35811
35809
|
isEnabled: boolean;
|
|
35812
|
-
refetch: (options?:
|
|
35810
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
|
|
35813
35811
|
tickLower: number;
|
|
35814
35812
|
tickUpper: number;
|
|
35815
35813
|
prevTickLower: number;
|
|
@@ -35819,8 +35817,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35819
35817
|
totalAmount1: bigint;
|
|
35820
35818
|
borrowedAmount0: bigint;
|
|
35821
35819
|
borrowedAmount1: bigint;
|
|
35822
|
-
}[],
|
|
35823
|
-
fetchStatus:
|
|
35820
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35821
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35824
35822
|
promise: Promise<readonly {
|
|
35825
35823
|
tickLower: number;
|
|
35826
35824
|
tickUpper: number;
|
|
@@ -35832,7 +35830,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35832
35830
|
borrowedAmount0: bigint;
|
|
35833
35831
|
borrowedAmount1: bigint;
|
|
35834
35832
|
}[]>;
|
|
35835
|
-
queryKey:
|
|
35833
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35836
35834
|
data: readonly {
|
|
35837
35835
|
tickLower: number;
|
|
35838
35836
|
tickUpper: number;
|
|
@@ -35857,7 +35855,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35857
35855
|
dataUpdatedAt: number;
|
|
35858
35856
|
errorUpdatedAt: number;
|
|
35859
35857
|
failureCount: number;
|
|
35860
|
-
failureReason:
|
|
35858
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35861
35859
|
errorUpdateCount: number;
|
|
35862
35860
|
isFetched: boolean;
|
|
35863
35861
|
isFetchedAfterMount: boolean;
|
|
@@ -35867,7 +35865,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35867
35865
|
isRefetching: boolean;
|
|
35868
35866
|
isStale: boolean;
|
|
35869
35867
|
isEnabled: boolean;
|
|
35870
|
-
refetch: (options?:
|
|
35868
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
|
|
35871
35869
|
tickLower: number;
|
|
35872
35870
|
tickUpper: number;
|
|
35873
35871
|
prevTickLower: number;
|
|
@@ -35877,8 +35875,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35877
35875
|
totalAmount1: bigint;
|
|
35878
35876
|
borrowedAmount0: bigint;
|
|
35879
35877
|
borrowedAmount1: bigint;
|
|
35880
|
-
}[],
|
|
35881
|
-
fetchStatus:
|
|
35878
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35879
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35882
35880
|
promise: Promise<readonly {
|
|
35883
35881
|
tickLower: number;
|
|
35884
35882
|
tickUpper: number;
|
|
@@ -35890,7 +35888,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35890
35888
|
borrowedAmount0: bigint;
|
|
35891
35889
|
borrowedAmount1: bigint;
|
|
35892
35890
|
}[]>;
|
|
35893
|
-
queryKey:
|
|
35891
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35894
35892
|
data: readonly {
|
|
35895
35893
|
tickLower: number;
|
|
35896
35894
|
tickUpper: number;
|
|
@@ -35914,7 +35912,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35914
35912
|
dataUpdatedAt: number;
|
|
35915
35913
|
errorUpdatedAt: number;
|
|
35916
35914
|
failureCount: number;
|
|
35917
|
-
failureReason:
|
|
35915
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35918
35916
|
errorUpdateCount: number;
|
|
35919
35917
|
isFetched: boolean;
|
|
35920
35918
|
isFetchedAfterMount: boolean;
|
|
@@ -35925,7 +35923,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35925
35923
|
isRefetching: boolean;
|
|
35926
35924
|
isStale: boolean;
|
|
35927
35925
|
isEnabled: boolean;
|
|
35928
|
-
refetch: (options?:
|
|
35926
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
|
|
35929
35927
|
tickLower: number;
|
|
35930
35928
|
tickUpper: number;
|
|
35931
35929
|
prevTickLower: number;
|
|
@@ -35935,8 +35933,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35935
35933
|
totalAmount1: bigint;
|
|
35936
35934
|
borrowedAmount0: bigint;
|
|
35937
35935
|
borrowedAmount1: bigint;
|
|
35938
|
-
}[],
|
|
35939
|
-
fetchStatus:
|
|
35936
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35937
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35940
35938
|
promise: Promise<readonly {
|
|
35941
35939
|
tickLower: number;
|
|
35942
35940
|
tickUpper: number;
|
|
@@ -35948,7 +35946,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35948
35946
|
borrowedAmount0: bigint;
|
|
35949
35947
|
borrowedAmount1: bigint;
|
|
35950
35948
|
}[]>;
|
|
35951
|
-
queryKey:
|
|
35949
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
35952
35950
|
data: readonly {
|
|
35953
35951
|
tickLower: number;
|
|
35954
35952
|
tickUpper: number;
|
|
@@ -35973,7 +35971,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35973
35971
|
dataUpdatedAt: number;
|
|
35974
35972
|
errorUpdatedAt: number;
|
|
35975
35973
|
failureCount: number;
|
|
35976
|
-
failureReason:
|
|
35974
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35977
35975
|
errorUpdateCount: number;
|
|
35978
35976
|
isFetched: boolean;
|
|
35979
35977
|
isFetchedAfterMount: boolean;
|
|
@@ -35983,7 +35981,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35983
35981
|
isRefetching: boolean;
|
|
35984
35982
|
isStale: boolean;
|
|
35985
35983
|
isEnabled: boolean;
|
|
35986
|
-
refetch: (options?:
|
|
35984
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
|
|
35987
35985
|
tickLower: number;
|
|
35988
35986
|
tickUpper: number;
|
|
35989
35987
|
prevTickLower: number;
|
|
@@ -35993,8 +35991,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35993
35991
|
totalAmount1: bigint;
|
|
35994
35992
|
borrowedAmount0: bigint;
|
|
35995
35993
|
borrowedAmount1: bigint;
|
|
35996
|
-
}[],
|
|
35997
|
-
fetchStatus:
|
|
35994
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35995
|
+
fetchStatus: _tanstack_query_core67.FetchStatus;
|
|
35998
35996
|
promise: Promise<readonly {
|
|
35999
35997
|
tickLower: number;
|
|
36000
35998
|
tickUpper: number;
|
|
@@ -36006,7 +36004,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36006
36004
|
borrowedAmount0: bigint;
|
|
36007
36005
|
borrowedAmount1: bigint;
|
|
36008
36006
|
}[]>;
|
|
36009
|
-
queryKey:
|
|
36007
|
+
queryKey: _tanstack_query_core67.QueryKey;
|
|
36010
36008
|
data: readonly {
|
|
36011
36009
|
tickLower: number;
|
|
36012
36010
|
tickUpper: number;
|
|
@@ -36032,7 +36030,7 @@ interface MintPositionParams {
|
|
|
36032
36030
|
tickUpper: number;
|
|
36033
36031
|
liquidity: bigint;
|
|
36034
36032
|
}
|
|
36035
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36033
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query1.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
36036
36034
|
//#endregion
|
|
36037
36035
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
36038
36036
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -36057,14 +36055,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36057
36055
|
borrowedAmount0: Amount;
|
|
36058
36056
|
borrowedAmount1: Amount;
|
|
36059
36057
|
blocksCount: bigint;
|
|
36060
|
-
refetch: (options?:
|
|
36058
|
+
refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem145.ReadContractErrorType>>;
|
|
36061
36059
|
};
|
|
36062
36060
|
//#endregion
|
|
36063
36061
|
//#region src/hooks/useLens.d.ts
|
|
36064
36062
|
declare const useLens: () => {
|
|
36065
36063
|
timelockLens: {
|
|
36066
36064
|
read: {
|
|
36067
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36065
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
36068
36066
|
readonly type: "function";
|
|
36069
36067
|
readonly name: "batchGetRefTick";
|
|
36070
36068
|
readonly inputs: readonly [{
|
|
@@ -36706,7 +36704,7 @@ declare const useLens: () => {
|
|
|
36706
36704
|
}];
|
|
36707
36705
|
readonly stateMutability: "view";
|
|
36708
36706
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
36709
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
36707
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
36710
36708
|
readonly type: "function";
|
|
36711
36709
|
readonly name: "batchGetRefTick";
|
|
36712
36710
|
readonly inputs: readonly [{
|
|
@@ -37358,7 +37356,7 @@ declare const useLens: () => {
|
|
|
37358
37356
|
borrowedAmount0: bigint;
|
|
37359
37357
|
borrowedAmount1: bigint;
|
|
37360
37358
|
}[]>;
|
|
37361
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
37359
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
37362
37360
|
readonly type: "function";
|
|
37363
37361
|
readonly name: "batchGetRefTick";
|
|
37364
37362
|
readonly inputs: readonly [{
|
|
@@ -38015,7 +38013,7 @@ declare const useLens: () => {
|
|
|
38015
38013
|
expiresAt: number;
|
|
38016
38014
|
liquidities: readonly bigint[];
|
|
38017
38015
|
}[], bigint, boolean]>;
|
|
38018
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38016
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38019
38017
|
readonly type: "function";
|
|
38020
38018
|
readonly name: "batchGetRefTick";
|
|
38021
38019
|
readonly inputs: readonly [{
|
|
@@ -38657,7 +38655,7 @@ declare const useLens: () => {
|
|
|
38657
38655
|
}];
|
|
38658
38656
|
readonly stateMutability: "view";
|
|
38659
38657
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
38660
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
38658
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38661
38659
|
readonly type: "function";
|
|
38662
38660
|
readonly name: "batchGetRefTick";
|
|
38663
38661
|
readonly inputs: readonly [{
|
|
@@ -39312,7 +39310,7 @@ declare const useLens: () => {
|
|
|
39312
39310
|
payoutAssetName: string;
|
|
39313
39311
|
optionsCount: bigint;
|
|
39314
39312
|
}>;
|
|
39315
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39313
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39316
39314
|
readonly type: "function";
|
|
39317
39315
|
readonly name: "batchGetRefTick";
|
|
39318
39316
|
readonly inputs: readonly [{
|
|
@@ -39954,7 +39952,7 @@ declare const useLens: () => {
|
|
|
39954
39952
|
}];
|
|
39955
39953
|
readonly stateMutability: "view";
|
|
39956
39954
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39957
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
39955
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39958
39956
|
readonly type: "function";
|
|
39959
39957
|
readonly name: "batchGetRefTick";
|
|
39960
39958
|
readonly inputs: readonly [{
|
|
@@ -40596,7 +40594,7 @@ declare const useLens: () => {
|
|
|
40596
40594
|
}];
|
|
40597
40595
|
readonly stateMutability: "view";
|
|
40598
40596
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40599
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
40597
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
40600
40598
|
readonly type: "function";
|
|
40601
40599
|
readonly name: "batchGetRefTick";
|
|
40602
40600
|
readonly inputs: readonly [{
|
|
@@ -41253,7 +41251,7 @@ declare const useLens: () => {
|
|
|
41253
41251
|
expiresAt: number;
|
|
41254
41252
|
liquidities: readonly bigint[];
|
|
41255
41253
|
}>;
|
|
41256
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41254
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41257
41255
|
readonly type: "function";
|
|
41258
41256
|
readonly name: "batchGetRefTick";
|
|
41259
41257
|
readonly inputs: readonly [{
|
|
@@ -41910,7 +41908,7 @@ declare const useLens: () => {
|
|
|
41910
41908
|
expiresAt: number;
|
|
41911
41909
|
liquidities: readonly bigint[];
|
|
41912
41910
|
}[]>;
|
|
41913
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
41911
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41914
41912
|
readonly type: "function";
|
|
41915
41913
|
readonly name: "batchGetRefTick";
|
|
41916
41914
|
readonly inputs: readonly [{
|
|
@@ -42563,7 +42561,7 @@ declare const useLens: () => {
|
|
|
42563
42561
|
tickSpacing: number;
|
|
42564
42562
|
fee: number;
|
|
42565
42563
|
}>;
|
|
42566
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
42564
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
42567
42565
|
readonly type: "function";
|
|
42568
42566
|
readonly name: "batchGetRefTick";
|
|
42569
42567
|
readonly inputs: readonly [{
|
|
@@ -43205,7 +43203,7 @@ declare const useLens: () => {
|
|
|
43205
43203
|
}];
|
|
43206
43204
|
readonly stateMutability: "view";
|
|
43207
43205
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43208
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
43206
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
43209
43207
|
readonly type: "function";
|
|
43210
43208
|
readonly name: "batchGetRefTick";
|
|
43211
43209
|
readonly inputs: readonly [{
|
|
@@ -43862,7 +43860,7 @@ declare const useLens: () => {
|
|
|
43862
43860
|
expiresAt: number;
|
|
43863
43861
|
liquidities: readonly bigint[];
|
|
43864
43862
|
}[], bigint, boolean]>;
|
|
43865
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
43863
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
43866
43864
|
readonly type: "function";
|
|
43867
43865
|
readonly name: "batchGetRefTick";
|
|
43868
43866
|
readonly inputs: readonly [{
|
|
@@ -45151,7 +45149,7 @@ declare const useLens: () => {
|
|
|
45151
45149
|
} | undefined;
|
|
45152
45150
|
uniswapLens: {
|
|
45153
45151
|
read: {
|
|
45154
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45152
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
45155
45153
|
readonly type: "function";
|
|
45156
45154
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45157
45155
|
readonly inputs: readonly [{
|
|
@@ -45772,7 +45770,7 @@ declare const useLens: () => {
|
|
|
45772
45770
|
}];
|
|
45773
45771
|
readonly stateMutability: "pure";
|
|
45774
45772
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45775
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
45773
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
45776
45774
|
readonly type: "function";
|
|
45777
45775
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45778
45776
|
readonly inputs: readonly [{
|
|
@@ -46393,7 +46391,7 @@ declare const useLens: () => {
|
|
|
46393
46391
|
}];
|
|
46394
46392
|
readonly stateMutability: "pure";
|
|
46395
46393
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46396
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46394
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
46397
46395
|
readonly type: "function";
|
|
46398
46396
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46399
46397
|
readonly inputs: readonly [{
|
|
@@ -47014,7 +47012,7 @@ declare const useLens: () => {
|
|
|
47014
47012
|
}];
|
|
47015
47013
|
readonly stateMutability: "pure";
|
|
47016
47014
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47017
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47015
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47018
47016
|
readonly type: "function";
|
|
47019
47017
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47020
47018
|
readonly inputs: readonly [{
|
|
@@ -47635,7 +47633,7 @@ declare const useLens: () => {
|
|
|
47635
47633
|
}];
|
|
47636
47634
|
readonly stateMutability: "pure";
|
|
47637
47635
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47638
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47636
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47639
47637
|
readonly type: "function";
|
|
47640
47638
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47641
47639
|
readonly inputs: readonly [{
|
|
@@ -48256,7 +48254,7 @@ declare const useLens: () => {
|
|
|
48256
48254
|
}];
|
|
48257
48255
|
readonly stateMutability: "pure";
|
|
48258
48256
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48259
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48257
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48260
48258
|
readonly type: "function";
|
|
48261
48259
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48262
48260
|
readonly inputs: readonly [{
|
|
@@ -48877,7 +48875,7 @@ declare const useLens: () => {
|
|
|
48877
48875
|
}];
|
|
48878
48876
|
readonly stateMutability: "pure";
|
|
48879
48877
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48880
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48878
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48881
48879
|
readonly type: "function";
|
|
48882
48880
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48883
48881
|
readonly inputs: readonly [{
|
|
@@ -49498,7 +49496,7 @@ declare const useLens: () => {
|
|
|
49498
49496
|
}];
|
|
49499
49497
|
readonly stateMutability: "pure";
|
|
49500
49498
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49501
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49499
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
49502
49500
|
readonly type: "function";
|
|
49503
49501
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49504
49502
|
readonly inputs: readonly [{
|
|
@@ -50119,7 +50117,7 @@ declare const useLens: () => {
|
|
|
50119
50117
|
}];
|
|
50120
50118
|
readonly stateMutability: "pure";
|
|
50121
50119
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50122
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50120
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
50123
50121
|
readonly type: "function";
|
|
50124
50122
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50125
50123
|
readonly inputs: readonly [{
|
|
@@ -50740,7 +50738,7 @@ declare const useLens: () => {
|
|
|
50740
50738
|
}];
|
|
50741
50739
|
readonly stateMutability: "pure";
|
|
50742
50740
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50743
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50741
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
50744
50742
|
readonly type: "function";
|
|
50745
50743
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50746
50744
|
readonly inputs: readonly [{
|
|
@@ -51361,7 +51359,7 @@ declare const useLens: () => {
|
|
|
51361
51359
|
}];
|
|
51362
51360
|
readonly stateMutability: "pure";
|
|
51363
51361
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51364
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51362
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51365
51363
|
readonly type: "function";
|
|
51366
51364
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51367
51365
|
readonly inputs: readonly [{
|
|
@@ -51982,7 +51980,7 @@ declare const useLens: () => {
|
|
|
51982
51980
|
}];
|
|
51983
51981
|
readonly stateMutability: "pure";
|
|
51984
51982
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51985
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
51983
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51986
51984
|
readonly type: "function";
|
|
51987
51985
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51988
51986
|
readonly inputs: readonly [{
|
|
@@ -52603,7 +52601,7 @@ declare const useLens: () => {
|
|
|
52603
52601
|
}];
|
|
52604
52602
|
readonly stateMutability: "pure";
|
|
52605
52603
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52606
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
52604
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
52607
52605
|
readonly type: "function";
|
|
52608
52606
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52609
52607
|
readonly inputs: readonly [{
|
|
@@ -53224,7 +53222,7 @@ declare const useLens: () => {
|
|
|
53224
53222
|
}];
|
|
53225
53223
|
readonly stateMutability: "pure";
|
|
53226
53224
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53227
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
53225
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53228
53226
|
readonly type: "function";
|
|
53229
53227
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53230
53228
|
readonly inputs: readonly [{
|
|
@@ -53845,7 +53843,7 @@ declare const useLens: () => {
|
|
|
53845
53843
|
}];
|
|
53846
53844
|
readonly stateMutability: "pure";
|
|
53847
53845
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53848
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
53846
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53849
53847
|
readonly type: "function";
|
|
53850
53848
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53851
53849
|
readonly inputs: readonly [{
|
|
@@ -54466,7 +54464,7 @@ declare const useLens: () => {
|
|
|
54466
54464
|
}];
|
|
54467
54465
|
readonly stateMutability: "pure";
|
|
54468
54466
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54469
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54467
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
54470
54468
|
readonly type: "function";
|
|
54471
54469
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54472
54470
|
readonly inputs: readonly [{
|
|
@@ -55087,7 +55085,7 @@ declare const useLens: () => {
|
|
|
55087
55085
|
}];
|
|
55088
55086
|
readonly stateMutability: "pure";
|
|
55089
55087
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55090
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55088
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
55091
55089
|
readonly type: "function";
|
|
55092
55090
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55093
55091
|
readonly inputs: readonly [{
|
|
@@ -55708,7 +55706,7 @@ declare const useLens: () => {
|
|
|
55708
55706
|
}];
|
|
55709
55707
|
readonly stateMutability: "pure";
|
|
55710
55708
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55711
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
55709
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
55712
55710
|
readonly type: "function";
|
|
55713
55711
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55714
55712
|
readonly inputs: readonly [{
|
|
@@ -56329,7 +56327,7 @@ declare const useLens: () => {
|
|
|
56329
56327
|
}];
|
|
56330
56328
|
readonly stateMutability: "pure";
|
|
56331
56329
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56332
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
56330
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56333
56331
|
readonly type: "function";
|
|
56334
56332
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56335
56333
|
readonly inputs: readonly [{
|
|
@@ -56950,7 +56948,7 @@ declare const useLens: () => {
|
|
|
56950
56948
|
}];
|
|
56951
56949
|
readonly stateMutability: "pure";
|
|
56952
56950
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56953
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
56951
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56954
56952
|
readonly type: "function";
|
|
56955
56953
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56956
56954
|
readonly inputs: readonly [{
|
|
@@ -57571,7 +57569,7 @@ declare const useLens: () => {
|
|
|
57571
57569
|
}];
|
|
57572
57570
|
readonly stateMutability: "pure";
|
|
57573
57571
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57574
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
57572
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
57575
57573
|
readonly type: "function";
|
|
57576
57574
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57577
57575
|
readonly inputs: readonly [{
|
|
@@ -58192,7 +58190,7 @@ declare const useLens: () => {
|
|
|
58192
58190
|
}];
|
|
58193
58191
|
readonly stateMutability: "pure";
|
|
58194
58192
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58195
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58193
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
58196
58194
|
readonly type: "function";
|
|
58197
58195
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58198
58196
|
readonly inputs: readonly [{
|
|
@@ -58813,7 +58811,7 @@ declare const useLens: () => {
|
|
|
58813
58811
|
}];
|
|
58814
58812
|
readonly stateMutability: "pure";
|
|
58815
58813
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58816
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
58814
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
58817
58815
|
readonly type: "function";
|
|
58818
58816
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58819
58817
|
readonly inputs: readonly [{
|
|
@@ -59434,7 +59432,7 @@ declare const useLens: () => {
|
|
|
59434
59432
|
}];
|
|
59435
59433
|
readonly stateMutability: "pure";
|
|
59436
59434
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59437
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
59435
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
59438
59436
|
readonly type: "function";
|
|
59439
59437
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59440
59438
|
readonly inputs: readonly [{
|
|
@@ -60055,7 +60053,7 @@ declare const useLens: () => {
|
|
|
60055
60053
|
}];
|
|
60056
60054
|
readonly stateMutability: "pure";
|
|
60057
60055
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60058
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60056
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60059
60057
|
readonly type: "function";
|
|
60060
60058
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60061
60059
|
readonly inputs: readonly [{
|
|
@@ -60676,7 +60674,7 @@ declare const useLens: () => {
|
|
|
60676
60674
|
}];
|
|
60677
60675
|
readonly stateMutability: "pure";
|
|
60678
60676
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60679
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
60677
|
+
getPriceAtTick: (args: readonly [number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60680
60678
|
readonly type: "function";
|
|
60681
60679
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60682
60680
|
readonly inputs: readonly [{
|
|
@@ -61933,4 +61931,4 @@ declare const useApproval: () => {
|
|
|
61933
61931
|
};
|
|
61934
61932
|
//#endregion
|
|
61935
61933
|
export { scaleAmount as $, PriceDataPoint as A, OptionTimelineData as B, liquiditiesToAmount1 as C, getUniswapMathLens as Ct, token0ToToken1 as D, roundTickUp as E, useUserOperators as F, useMintOption as G, useExtendOption as H, useOperatorPerms as I, EMPTY_ARRAY as J, useMaxPositionSize as K, usePerpsOperator as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, useSetOperatorPerms as P, formatVagueAmount as Q, useClosePerp as R, liquiditiesToAmount0 as S, getTimelockMarket as St, roundTickDown as T, uniswapMathLenses as Tt, useOptionPremium as U, useOptionTimeline as V, useOptionPnl as W, formatCondensed as X, formatAmount as Y, formatUSD as Z, PRICE_PRECISION as _, TimelockMarket as _t, batchGetAmountsFromLiquidity as a, wrapPrice as at, getPriceAtTick as b, getErc20 as bt, useLiquidityBlocks as c, useMarketData as ct, usePriceAtTick as d, useActiveUserOptions as dt, scalePrice as et, UniswapPoolData as f, useClosedUserOptions as ft, getPayoutAtTick as g, TimelockLens as gt, useCurrentPrice as h, useTimelockConfig as ht, useVaultData as i, wrapAmountUnscaled as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, useExerciseOption as lt, useCurrentTick as m, useCurrentMarket as mt, useLens as n, unscalePrice as nt, useMintLiquidity as o, wrapPriceUnscaled as ot, usePoolData as p, TimelockProvider as pt, Amount as q, useVaultTVL as r, wrapAmount as rt, LiquidityBlockData as s, zero as st, useApproval as t, unscaleAmount as tt, usePriceHistory as u, OptionData as ut, getAmountsFromLiquidity as v, TimelockMarketData as vt, liquiditiesToAmounts as w, timelockLenses as wt, getTickAtPrice as x, getTimelockLens as xt, getNearestValidStrikeTick as y, UniswapMathLens as yt, useMintPerp as z };
|
|
61936
|
-
//# sourceMappingURL=client-
|
|
61934
|
+
//# sourceMappingURL=client-1hXpAcRP.d.cts.map
|