timelock-sdk 0.0.104 → 0.0.106
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-DnAemTJq.d.cts → client-DlkfUDwU.d.cts} +1033 -112
- package/dist/{client-BV_X9Rk7.d.ts → client-cOGBr2Ca.d.ts} +1084 -163
- package/dist/client.cjs +34 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +36 -6
- 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,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-ChJFZ6hc.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem145 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
@@ -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 [{
|
|
@@ -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[];
|
|
@@ -34966,9 +34964,932 @@ declare const usePerpsOperator: () => {
|
|
|
34966
34964
|
signMessage: _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
|
|
34967
34965
|
};
|
|
34968
34966
|
//#endregion
|
|
34967
|
+
//#region src/hooks/perps/useUserPerps.d.ts
|
|
34968
|
+
declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "active" | "closed") => {
|
|
34969
|
+
error: Error;
|
|
34970
|
+
isError: true;
|
|
34971
|
+
isPending: false;
|
|
34972
|
+
isLoading: false;
|
|
34973
|
+
isLoadingError: false;
|
|
34974
|
+
isRefetchError: true;
|
|
34975
|
+
isSuccess: false;
|
|
34976
|
+
isPlaceholderData: false;
|
|
34977
|
+
status: "error";
|
|
34978
|
+
dataUpdatedAt: number;
|
|
34979
|
+
errorUpdatedAt: number;
|
|
34980
|
+
failureCount: number;
|
|
34981
|
+
failureReason: Error | null;
|
|
34982
|
+
errorUpdateCount: number;
|
|
34983
|
+
isFetched: boolean;
|
|
34984
|
+
isFetchedAfterMount: boolean;
|
|
34985
|
+
isFetching: boolean;
|
|
34986
|
+
isInitialLoading: boolean;
|
|
34987
|
+
isPaused: boolean;
|
|
34988
|
+
isRefetching: boolean;
|
|
34989
|
+
isStale: boolean;
|
|
34990
|
+
isEnabled: boolean;
|
|
34991
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34992
|
+
optionId: bigint;
|
|
34993
|
+
id: string;
|
|
34994
|
+
ownerAddr: Address;
|
|
34995
|
+
marketAddr: Address;
|
|
34996
|
+
perpDuration: number;
|
|
34997
|
+
expiresAt: number;
|
|
34998
|
+
closed: boolean;
|
|
34999
|
+
}[] | undefined, Error>>;
|
|
35000
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35001
|
+
promise: Promise<{
|
|
35002
|
+
optionId: bigint;
|
|
35003
|
+
id: string;
|
|
35004
|
+
ownerAddr: Address;
|
|
35005
|
+
marketAddr: Address;
|
|
35006
|
+
perpDuration: number;
|
|
35007
|
+
expiresAt: number;
|
|
35008
|
+
closed: boolean;
|
|
35009
|
+
}[] | undefined>;
|
|
35010
|
+
data: {
|
|
35011
|
+
optionId: bigint;
|
|
35012
|
+
id: string;
|
|
35013
|
+
ownerAddr: Address;
|
|
35014
|
+
marketAddr: Address;
|
|
35015
|
+
perpDuration: number;
|
|
35016
|
+
expiresAt: number;
|
|
35017
|
+
closed: boolean;
|
|
35018
|
+
}[];
|
|
35019
|
+
} | {
|
|
35020
|
+
error: null;
|
|
35021
|
+
isError: false;
|
|
35022
|
+
isPending: false;
|
|
35023
|
+
isLoading: false;
|
|
35024
|
+
isLoadingError: false;
|
|
35025
|
+
isRefetchError: false;
|
|
35026
|
+
isSuccess: true;
|
|
35027
|
+
isPlaceholderData: false;
|
|
35028
|
+
status: "success";
|
|
35029
|
+
dataUpdatedAt: number;
|
|
35030
|
+
errorUpdatedAt: number;
|
|
35031
|
+
failureCount: number;
|
|
35032
|
+
failureReason: Error | null;
|
|
35033
|
+
errorUpdateCount: number;
|
|
35034
|
+
isFetched: boolean;
|
|
35035
|
+
isFetchedAfterMount: boolean;
|
|
35036
|
+
isFetching: boolean;
|
|
35037
|
+
isInitialLoading: boolean;
|
|
35038
|
+
isPaused: boolean;
|
|
35039
|
+
isRefetching: boolean;
|
|
35040
|
+
isStale: boolean;
|
|
35041
|
+
isEnabled: boolean;
|
|
35042
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35043
|
+
optionId: bigint;
|
|
35044
|
+
id: string;
|
|
35045
|
+
ownerAddr: Address;
|
|
35046
|
+
marketAddr: Address;
|
|
35047
|
+
perpDuration: number;
|
|
35048
|
+
expiresAt: number;
|
|
35049
|
+
closed: boolean;
|
|
35050
|
+
}[] | undefined, Error>>;
|
|
35051
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35052
|
+
promise: Promise<{
|
|
35053
|
+
optionId: bigint;
|
|
35054
|
+
id: string;
|
|
35055
|
+
ownerAddr: Address;
|
|
35056
|
+
marketAddr: Address;
|
|
35057
|
+
perpDuration: number;
|
|
35058
|
+
expiresAt: number;
|
|
35059
|
+
closed: boolean;
|
|
35060
|
+
}[] | undefined>;
|
|
35061
|
+
data: {
|
|
35062
|
+
optionId: bigint;
|
|
35063
|
+
id: string;
|
|
35064
|
+
ownerAddr: Address;
|
|
35065
|
+
marketAddr: Address;
|
|
35066
|
+
perpDuration: number;
|
|
35067
|
+
expiresAt: number;
|
|
35068
|
+
closed: boolean;
|
|
35069
|
+
}[];
|
|
35070
|
+
} | {
|
|
35071
|
+
error: Error;
|
|
35072
|
+
isError: true;
|
|
35073
|
+
isPending: false;
|
|
35074
|
+
isLoading: false;
|
|
35075
|
+
isLoadingError: true;
|
|
35076
|
+
isRefetchError: false;
|
|
35077
|
+
isSuccess: false;
|
|
35078
|
+
isPlaceholderData: false;
|
|
35079
|
+
status: "error";
|
|
35080
|
+
dataUpdatedAt: number;
|
|
35081
|
+
errorUpdatedAt: number;
|
|
35082
|
+
failureCount: number;
|
|
35083
|
+
failureReason: Error | null;
|
|
35084
|
+
errorUpdateCount: number;
|
|
35085
|
+
isFetched: boolean;
|
|
35086
|
+
isFetchedAfterMount: boolean;
|
|
35087
|
+
isFetching: boolean;
|
|
35088
|
+
isInitialLoading: boolean;
|
|
35089
|
+
isPaused: boolean;
|
|
35090
|
+
isRefetching: boolean;
|
|
35091
|
+
isStale: boolean;
|
|
35092
|
+
isEnabled: boolean;
|
|
35093
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35094
|
+
optionId: bigint;
|
|
35095
|
+
id: string;
|
|
35096
|
+
ownerAddr: Address;
|
|
35097
|
+
marketAddr: Address;
|
|
35098
|
+
perpDuration: number;
|
|
35099
|
+
expiresAt: number;
|
|
35100
|
+
closed: boolean;
|
|
35101
|
+
}[] | undefined, Error>>;
|
|
35102
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35103
|
+
promise: Promise<{
|
|
35104
|
+
optionId: bigint;
|
|
35105
|
+
id: string;
|
|
35106
|
+
ownerAddr: Address;
|
|
35107
|
+
marketAddr: Address;
|
|
35108
|
+
perpDuration: number;
|
|
35109
|
+
expiresAt: number;
|
|
35110
|
+
closed: boolean;
|
|
35111
|
+
}[] | undefined>;
|
|
35112
|
+
data: {
|
|
35113
|
+
optionId: bigint;
|
|
35114
|
+
id: string;
|
|
35115
|
+
ownerAddr: Address;
|
|
35116
|
+
marketAddr: Address;
|
|
35117
|
+
perpDuration: number;
|
|
35118
|
+
expiresAt: number;
|
|
35119
|
+
closed: boolean;
|
|
35120
|
+
}[];
|
|
35121
|
+
} | {
|
|
35122
|
+
error: null;
|
|
35123
|
+
isError: false;
|
|
35124
|
+
isPending: true;
|
|
35125
|
+
isLoading: true;
|
|
35126
|
+
isLoadingError: false;
|
|
35127
|
+
isRefetchError: false;
|
|
35128
|
+
isSuccess: false;
|
|
35129
|
+
isPlaceholderData: false;
|
|
35130
|
+
status: "pending";
|
|
35131
|
+
dataUpdatedAt: number;
|
|
35132
|
+
errorUpdatedAt: number;
|
|
35133
|
+
failureCount: number;
|
|
35134
|
+
failureReason: Error | null;
|
|
35135
|
+
errorUpdateCount: number;
|
|
35136
|
+
isFetched: boolean;
|
|
35137
|
+
isFetchedAfterMount: boolean;
|
|
35138
|
+
isFetching: boolean;
|
|
35139
|
+
isInitialLoading: boolean;
|
|
35140
|
+
isPaused: boolean;
|
|
35141
|
+
isRefetching: boolean;
|
|
35142
|
+
isStale: boolean;
|
|
35143
|
+
isEnabled: boolean;
|
|
35144
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35145
|
+
optionId: bigint;
|
|
35146
|
+
id: string;
|
|
35147
|
+
ownerAddr: Address;
|
|
35148
|
+
marketAddr: Address;
|
|
35149
|
+
perpDuration: number;
|
|
35150
|
+
expiresAt: number;
|
|
35151
|
+
closed: boolean;
|
|
35152
|
+
}[] | undefined, Error>>;
|
|
35153
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35154
|
+
promise: Promise<{
|
|
35155
|
+
optionId: bigint;
|
|
35156
|
+
id: string;
|
|
35157
|
+
ownerAddr: Address;
|
|
35158
|
+
marketAddr: Address;
|
|
35159
|
+
perpDuration: number;
|
|
35160
|
+
expiresAt: number;
|
|
35161
|
+
closed: boolean;
|
|
35162
|
+
}[] | undefined>;
|
|
35163
|
+
data: {
|
|
35164
|
+
optionId: bigint;
|
|
35165
|
+
id: string;
|
|
35166
|
+
ownerAddr: Address;
|
|
35167
|
+
marketAddr: Address;
|
|
35168
|
+
perpDuration: number;
|
|
35169
|
+
expiresAt: number;
|
|
35170
|
+
closed: boolean;
|
|
35171
|
+
}[];
|
|
35172
|
+
} | {
|
|
35173
|
+
error: null;
|
|
35174
|
+
isError: false;
|
|
35175
|
+
isPending: true;
|
|
35176
|
+
isLoadingError: false;
|
|
35177
|
+
isRefetchError: false;
|
|
35178
|
+
isSuccess: false;
|
|
35179
|
+
isPlaceholderData: false;
|
|
35180
|
+
status: "pending";
|
|
35181
|
+
dataUpdatedAt: number;
|
|
35182
|
+
errorUpdatedAt: number;
|
|
35183
|
+
failureCount: number;
|
|
35184
|
+
failureReason: Error | null;
|
|
35185
|
+
errorUpdateCount: number;
|
|
35186
|
+
isFetched: boolean;
|
|
35187
|
+
isFetchedAfterMount: boolean;
|
|
35188
|
+
isFetching: boolean;
|
|
35189
|
+
isLoading: boolean;
|
|
35190
|
+
isInitialLoading: boolean;
|
|
35191
|
+
isPaused: boolean;
|
|
35192
|
+
isRefetching: boolean;
|
|
35193
|
+
isStale: boolean;
|
|
35194
|
+
isEnabled: boolean;
|
|
35195
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35196
|
+
optionId: bigint;
|
|
35197
|
+
id: string;
|
|
35198
|
+
ownerAddr: Address;
|
|
35199
|
+
marketAddr: Address;
|
|
35200
|
+
perpDuration: number;
|
|
35201
|
+
expiresAt: number;
|
|
35202
|
+
closed: boolean;
|
|
35203
|
+
}[] | undefined, Error>>;
|
|
35204
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35205
|
+
promise: Promise<{
|
|
35206
|
+
optionId: bigint;
|
|
35207
|
+
id: string;
|
|
35208
|
+
ownerAddr: Address;
|
|
35209
|
+
marketAddr: Address;
|
|
35210
|
+
perpDuration: number;
|
|
35211
|
+
expiresAt: number;
|
|
35212
|
+
closed: boolean;
|
|
35213
|
+
}[] | undefined>;
|
|
35214
|
+
data: {
|
|
35215
|
+
optionId: bigint;
|
|
35216
|
+
id: string;
|
|
35217
|
+
ownerAddr: Address;
|
|
35218
|
+
marketAddr: Address;
|
|
35219
|
+
perpDuration: number;
|
|
35220
|
+
expiresAt: number;
|
|
35221
|
+
closed: boolean;
|
|
35222
|
+
}[];
|
|
35223
|
+
} | {
|
|
35224
|
+
isError: false;
|
|
35225
|
+
error: null;
|
|
35226
|
+
isPending: false;
|
|
35227
|
+
isLoading: false;
|
|
35228
|
+
isLoadingError: false;
|
|
35229
|
+
isRefetchError: false;
|
|
35230
|
+
isSuccess: true;
|
|
35231
|
+
isPlaceholderData: true;
|
|
35232
|
+
status: "success";
|
|
35233
|
+
dataUpdatedAt: number;
|
|
35234
|
+
errorUpdatedAt: number;
|
|
35235
|
+
failureCount: number;
|
|
35236
|
+
failureReason: Error | null;
|
|
35237
|
+
errorUpdateCount: number;
|
|
35238
|
+
isFetched: boolean;
|
|
35239
|
+
isFetchedAfterMount: boolean;
|
|
35240
|
+
isFetching: boolean;
|
|
35241
|
+
isInitialLoading: boolean;
|
|
35242
|
+
isPaused: boolean;
|
|
35243
|
+
isRefetching: boolean;
|
|
35244
|
+
isStale: boolean;
|
|
35245
|
+
isEnabled: boolean;
|
|
35246
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35247
|
+
optionId: bigint;
|
|
35248
|
+
id: string;
|
|
35249
|
+
ownerAddr: Address;
|
|
35250
|
+
marketAddr: Address;
|
|
35251
|
+
perpDuration: number;
|
|
35252
|
+
expiresAt: number;
|
|
35253
|
+
closed: boolean;
|
|
35254
|
+
}[] | undefined, Error>>;
|
|
35255
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35256
|
+
promise: Promise<{
|
|
35257
|
+
optionId: bigint;
|
|
35258
|
+
id: string;
|
|
35259
|
+
ownerAddr: Address;
|
|
35260
|
+
marketAddr: Address;
|
|
35261
|
+
perpDuration: number;
|
|
35262
|
+
expiresAt: number;
|
|
35263
|
+
closed: boolean;
|
|
35264
|
+
}[] | undefined>;
|
|
35265
|
+
data: {
|
|
35266
|
+
optionId: bigint;
|
|
35267
|
+
id: string;
|
|
35268
|
+
ownerAddr: Address;
|
|
35269
|
+
marketAddr: Address;
|
|
35270
|
+
perpDuration: number;
|
|
35271
|
+
expiresAt: number;
|
|
35272
|
+
closed: boolean;
|
|
35273
|
+
}[];
|
|
35274
|
+
};
|
|
35275
|
+
declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) => {
|
|
35276
|
+
error: Error;
|
|
35277
|
+
isError: true;
|
|
35278
|
+
isPending: false;
|
|
35279
|
+
isLoading: false;
|
|
35280
|
+
isLoadingError: false;
|
|
35281
|
+
isRefetchError: true;
|
|
35282
|
+
isSuccess: false;
|
|
35283
|
+
isPlaceholderData: false;
|
|
35284
|
+
status: "error";
|
|
35285
|
+
dataUpdatedAt: number;
|
|
35286
|
+
errorUpdatedAt: number;
|
|
35287
|
+
failureCount: number;
|
|
35288
|
+
failureReason: Error | null;
|
|
35289
|
+
errorUpdateCount: number;
|
|
35290
|
+
isFetched: boolean;
|
|
35291
|
+
isFetchedAfterMount: boolean;
|
|
35292
|
+
isFetching: boolean;
|
|
35293
|
+
isInitialLoading: boolean;
|
|
35294
|
+
isPaused: boolean;
|
|
35295
|
+
isRefetching: boolean;
|
|
35296
|
+
isStale: boolean;
|
|
35297
|
+
isEnabled: boolean;
|
|
35298
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35299
|
+
optionId: bigint;
|
|
35300
|
+
id: string;
|
|
35301
|
+
ownerAddr: Address;
|
|
35302
|
+
marketAddr: Address;
|
|
35303
|
+
perpDuration: number;
|
|
35304
|
+
expiresAt: number;
|
|
35305
|
+
closed: boolean;
|
|
35306
|
+
}[] | undefined, Error>>;
|
|
35307
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35308
|
+
promise: Promise<{
|
|
35309
|
+
optionId: bigint;
|
|
35310
|
+
id: string;
|
|
35311
|
+
ownerAddr: Address;
|
|
35312
|
+
marketAddr: Address;
|
|
35313
|
+
perpDuration: number;
|
|
35314
|
+
expiresAt: number;
|
|
35315
|
+
closed: boolean;
|
|
35316
|
+
}[] | undefined>;
|
|
35317
|
+
data: {
|
|
35318
|
+
optionId: bigint;
|
|
35319
|
+
id: string;
|
|
35320
|
+
ownerAddr: Address;
|
|
35321
|
+
marketAddr: Address;
|
|
35322
|
+
perpDuration: number;
|
|
35323
|
+
expiresAt: number;
|
|
35324
|
+
closed: boolean;
|
|
35325
|
+
}[];
|
|
35326
|
+
} | {
|
|
35327
|
+
error: null;
|
|
35328
|
+
isError: false;
|
|
35329
|
+
isPending: false;
|
|
35330
|
+
isLoading: false;
|
|
35331
|
+
isLoadingError: false;
|
|
35332
|
+
isRefetchError: false;
|
|
35333
|
+
isSuccess: true;
|
|
35334
|
+
isPlaceholderData: false;
|
|
35335
|
+
status: "success";
|
|
35336
|
+
dataUpdatedAt: number;
|
|
35337
|
+
errorUpdatedAt: number;
|
|
35338
|
+
failureCount: number;
|
|
35339
|
+
failureReason: Error | null;
|
|
35340
|
+
errorUpdateCount: number;
|
|
35341
|
+
isFetched: boolean;
|
|
35342
|
+
isFetchedAfterMount: boolean;
|
|
35343
|
+
isFetching: boolean;
|
|
35344
|
+
isInitialLoading: boolean;
|
|
35345
|
+
isPaused: boolean;
|
|
35346
|
+
isRefetching: boolean;
|
|
35347
|
+
isStale: boolean;
|
|
35348
|
+
isEnabled: boolean;
|
|
35349
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35350
|
+
optionId: bigint;
|
|
35351
|
+
id: string;
|
|
35352
|
+
ownerAddr: Address;
|
|
35353
|
+
marketAddr: Address;
|
|
35354
|
+
perpDuration: number;
|
|
35355
|
+
expiresAt: number;
|
|
35356
|
+
closed: boolean;
|
|
35357
|
+
}[] | undefined, Error>>;
|
|
35358
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35359
|
+
promise: Promise<{
|
|
35360
|
+
optionId: bigint;
|
|
35361
|
+
id: string;
|
|
35362
|
+
ownerAddr: Address;
|
|
35363
|
+
marketAddr: Address;
|
|
35364
|
+
perpDuration: number;
|
|
35365
|
+
expiresAt: number;
|
|
35366
|
+
closed: boolean;
|
|
35367
|
+
}[] | undefined>;
|
|
35368
|
+
data: {
|
|
35369
|
+
optionId: bigint;
|
|
35370
|
+
id: string;
|
|
35371
|
+
ownerAddr: Address;
|
|
35372
|
+
marketAddr: Address;
|
|
35373
|
+
perpDuration: number;
|
|
35374
|
+
expiresAt: number;
|
|
35375
|
+
closed: boolean;
|
|
35376
|
+
}[];
|
|
35377
|
+
} | {
|
|
35378
|
+
error: Error;
|
|
35379
|
+
isError: true;
|
|
35380
|
+
isPending: false;
|
|
35381
|
+
isLoading: false;
|
|
35382
|
+
isLoadingError: true;
|
|
35383
|
+
isRefetchError: false;
|
|
35384
|
+
isSuccess: false;
|
|
35385
|
+
isPlaceholderData: false;
|
|
35386
|
+
status: "error";
|
|
35387
|
+
dataUpdatedAt: number;
|
|
35388
|
+
errorUpdatedAt: number;
|
|
35389
|
+
failureCount: number;
|
|
35390
|
+
failureReason: Error | null;
|
|
35391
|
+
errorUpdateCount: number;
|
|
35392
|
+
isFetched: boolean;
|
|
35393
|
+
isFetchedAfterMount: boolean;
|
|
35394
|
+
isFetching: boolean;
|
|
35395
|
+
isInitialLoading: boolean;
|
|
35396
|
+
isPaused: boolean;
|
|
35397
|
+
isRefetching: boolean;
|
|
35398
|
+
isStale: boolean;
|
|
35399
|
+
isEnabled: boolean;
|
|
35400
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35401
|
+
optionId: bigint;
|
|
35402
|
+
id: string;
|
|
35403
|
+
ownerAddr: Address;
|
|
35404
|
+
marketAddr: Address;
|
|
35405
|
+
perpDuration: number;
|
|
35406
|
+
expiresAt: number;
|
|
35407
|
+
closed: boolean;
|
|
35408
|
+
}[] | undefined, Error>>;
|
|
35409
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35410
|
+
promise: Promise<{
|
|
35411
|
+
optionId: bigint;
|
|
35412
|
+
id: string;
|
|
35413
|
+
ownerAddr: Address;
|
|
35414
|
+
marketAddr: Address;
|
|
35415
|
+
perpDuration: number;
|
|
35416
|
+
expiresAt: number;
|
|
35417
|
+
closed: boolean;
|
|
35418
|
+
}[] | undefined>;
|
|
35419
|
+
data: {
|
|
35420
|
+
optionId: bigint;
|
|
35421
|
+
id: string;
|
|
35422
|
+
ownerAddr: Address;
|
|
35423
|
+
marketAddr: Address;
|
|
35424
|
+
perpDuration: number;
|
|
35425
|
+
expiresAt: number;
|
|
35426
|
+
closed: boolean;
|
|
35427
|
+
}[];
|
|
35428
|
+
} | {
|
|
35429
|
+
error: null;
|
|
35430
|
+
isError: false;
|
|
35431
|
+
isPending: true;
|
|
35432
|
+
isLoading: true;
|
|
35433
|
+
isLoadingError: false;
|
|
35434
|
+
isRefetchError: false;
|
|
35435
|
+
isSuccess: false;
|
|
35436
|
+
isPlaceholderData: false;
|
|
35437
|
+
status: "pending";
|
|
35438
|
+
dataUpdatedAt: number;
|
|
35439
|
+
errorUpdatedAt: number;
|
|
35440
|
+
failureCount: number;
|
|
35441
|
+
failureReason: Error | null;
|
|
35442
|
+
errorUpdateCount: number;
|
|
35443
|
+
isFetched: boolean;
|
|
35444
|
+
isFetchedAfterMount: boolean;
|
|
35445
|
+
isFetching: boolean;
|
|
35446
|
+
isInitialLoading: boolean;
|
|
35447
|
+
isPaused: boolean;
|
|
35448
|
+
isRefetching: boolean;
|
|
35449
|
+
isStale: boolean;
|
|
35450
|
+
isEnabled: boolean;
|
|
35451
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35452
|
+
optionId: bigint;
|
|
35453
|
+
id: string;
|
|
35454
|
+
ownerAddr: Address;
|
|
35455
|
+
marketAddr: Address;
|
|
35456
|
+
perpDuration: number;
|
|
35457
|
+
expiresAt: number;
|
|
35458
|
+
closed: boolean;
|
|
35459
|
+
}[] | undefined, Error>>;
|
|
35460
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35461
|
+
promise: Promise<{
|
|
35462
|
+
optionId: bigint;
|
|
35463
|
+
id: string;
|
|
35464
|
+
ownerAddr: Address;
|
|
35465
|
+
marketAddr: Address;
|
|
35466
|
+
perpDuration: number;
|
|
35467
|
+
expiresAt: number;
|
|
35468
|
+
closed: boolean;
|
|
35469
|
+
}[] | undefined>;
|
|
35470
|
+
data: {
|
|
35471
|
+
optionId: bigint;
|
|
35472
|
+
id: string;
|
|
35473
|
+
ownerAddr: Address;
|
|
35474
|
+
marketAddr: Address;
|
|
35475
|
+
perpDuration: number;
|
|
35476
|
+
expiresAt: number;
|
|
35477
|
+
closed: boolean;
|
|
35478
|
+
}[];
|
|
35479
|
+
} | {
|
|
35480
|
+
error: null;
|
|
35481
|
+
isError: false;
|
|
35482
|
+
isPending: true;
|
|
35483
|
+
isLoadingError: false;
|
|
35484
|
+
isRefetchError: false;
|
|
35485
|
+
isSuccess: false;
|
|
35486
|
+
isPlaceholderData: false;
|
|
35487
|
+
status: "pending";
|
|
35488
|
+
dataUpdatedAt: number;
|
|
35489
|
+
errorUpdatedAt: number;
|
|
35490
|
+
failureCount: number;
|
|
35491
|
+
failureReason: Error | null;
|
|
35492
|
+
errorUpdateCount: number;
|
|
35493
|
+
isFetched: boolean;
|
|
35494
|
+
isFetchedAfterMount: boolean;
|
|
35495
|
+
isFetching: boolean;
|
|
35496
|
+
isLoading: boolean;
|
|
35497
|
+
isInitialLoading: boolean;
|
|
35498
|
+
isPaused: boolean;
|
|
35499
|
+
isRefetching: boolean;
|
|
35500
|
+
isStale: boolean;
|
|
35501
|
+
isEnabled: boolean;
|
|
35502
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35503
|
+
optionId: bigint;
|
|
35504
|
+
id: string;
|
|
35505
|
+
ownerAddr: Address;
|
|
35506
|
+
marketAddr: Address;
|
|
35507
|
+
perpDuration: number;
|
|
35508
|
+
expiresAt: number;
|
|
35509
|
+
closed: boolean;
|
|
35510
|
+
}[] | undefined, Error>>;
|
|
35511
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35512
|
+
promise: Promise<{
|
|
35513
|
+
optionId: bigint;
|
|
35514
|
+
id: string;
|
|
35515
|
+
ownerAddr: Address;
|
|
35516
|
+
marketAddr: Address;
|
|
35517
|
+
perpDuration: number;
|
|
35518
|
+
expiresAt: number;
|
|
35519
|
+
closed: boolean;
|
|
35520
|
+
}[] | undefined>;
|
|
35521
|
+
data: {
|
|
35522
|
+
optionId: bigint;
|
|
35523
|
+
id: string;
|
|
35524
|
+
ownerAddr: Address;
|
|
35525
|
+
marketAddr: Address;
|
|
35526
|
+
perpDuration: number;
|
|
35527
|
+
expiresAt: number;
|
|
35528
|
+
closed: boolean;
|
|
35529
|
+
}[];
|
|
35530
|
+
} | {
|
|
35531
|
+
isError: false;
|
|
35532
|
+
error: null;
|
|
35533
|
+
isPending: false;
|
|
35534
|
+
isLoading: false;
|
|
35535
|
+
isLoadingError: false;
|
|
35536
|
+
isRefetchError: false;
|
|
35537
|
+
isSuccess: true;
|
|
35538
|
+
isPlaceholderData: true;
|
|
35539
|
+
status: "success";
|
|
35540
|
+
dataUpdatedAt: number;
|
|
35541
|
+
errorUpdatedAt: number;
|
|
35542
|
+
failureCount: number;
|
|
35543
|
+
failureReason: Error | null;
|
|
35544
|
+
errorUpdateCount: number;
|
|
35545
|
+
isFetched: boolean;
|
|
35546
|
+
isFetchedAfterMount: boolean;
|
|
35547
|
+
isFetching: boolean;
|
|
35548
|
+
isInitialLoading: boolean;
|
|
35549
|
+
isPaused: boolean;
|
|
35550
|
+
isRefetching: boolean;
|
|
35551
|
+
isStale: boolean;
|
|
35552
|
+
isEnabled: boolean;
|
|
35553
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35554
|
+
optionId: bigint;
|
|
35555
|
+
id: string;
|
|
35556
|
+
ownerAddr: Address;
|
|
35557
|
+
marketAddr: Address;
|
|
35558
|
+
perpDuration: number;
|
|
35559
|
+
expiresAt: number;
|
|
35560
|
+
closed: boolean;
|
|
35561
|
+
}[] | undefined, Error>>;
|
|
35562
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35563
|
+
promise: Promise<{
|
|
35564
|
+
optionId: bigint;
|
|
35565
|
+
id: string;
|
|
35566
|
+
ownerAddr: Address;
|
|
35567
|
+
marketAddr: Address;
|
|
35568
|
+
perpDuration: number;
|
|
35569
|
+
expiresAt: number;
|
|
35570
|
+
closed: boolean;
|
|
35571
|
+
}[] | undefined>;
|
|
35572
|
+
data: {
|
|
35573
|
+
optionId: bigint;
|
|
35574
|
+
id: string;
|
|
35575
|
+
ownerAddr: Address;
|
|
35576
|
+
marketAddr: Address;
|
|
35577
|
+
perpDuration: number;
|
|
35578
|
+
expiresAt: number;
|
|
35579
|
+
closed: boolean;
|
|
35580
|
+
}[];
|
|
35581
|
+
};
|
|
35582
|
+
declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) => {
|
|
35583
|
+
error: Error;
|
|
35584
|
+
isError: true;
|
|
35585
|
+
isPending: false;
|
|
35586
|
+
isLoading: false;
|
|
35587
|
+
isLoadingError: false;
|
|
35588
|
+
isRefetchError: true;
|
|
35589
|
+
isSuccess: false;
|
|
35590
|
+
isPlaceholderData: false;
|
|
35591
|
+
status: "error";
|
|
35592
|
+
dataUpdatedAt: number;
|
|
35593
|
+
errorUpdatedAt: number;
|
|
35594
|
+
failureCount: number;
|
|
35595
|
+
failureReason: Error | null;
|
|
35596
|
+
errorUpdateCount: number;
|
|
35597
|
+
isFetched: boolean;
|
|
35598
|
+
isFetchedAfterMount: boolean;
|
|
35599
|
+
isFetching: boolean;
|
|
35600
|
+
isInitialLoading: boolean;
|
|
35601
|
+
isPaused: boolean;
|
|
35602
|
+
isRefetching: boolean;
|
|
35603
|
+
isStale: boolean;
|
|
35604
|
+
isEnabled: boolean;
|
|
35605
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35606
|
+
optionId: bigint;
|
|
35607
|
+
id: string;
|
|
35608
|
+
ownerAddr: Address;
|
|
35609
|
+
marketAddr: Address;
|
|
35610
|
+
perpDuration: number;
|
|
35611
|
+
expiresAt: number;
|
|
35612
|
+
closed: boolean;
|
|
35613
|
+
}[] | undefined, Error>>;
|
|
35614
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35615
|
+
promise: Promise<{
|
|
35616
|
+
optionId: bigint;
|
|
35617
|
+
id: string;
|
|
35618
|
+
ownerAddr: Address;
|
|
35619
|
+
marketAddr: Address;
|
|
35620
|
+
perpDuration: number;
|
|
35621
|
+
expiresAt: number;
|
|
35622
|
+
closed: boolean;
|
|
35623
|
+
}[] | undefined>;
|
|
35624
|
+
data: {
|
|
35625
|
+
optionId: bigint;
|
|
35626
|
+
id: string;
|
|
35627
|
+
ownerAddr: Address;
|
|
35628
|
+
marketAddr: Address;
|
|
35629
|
+
perpDuration: number;
|
|
35630
|
+
expiresAt: number;
|
|
35631
|
+
closed: boolean;
|
|
35632
|
+
}[];
|
|
35633
|
+
} | {
|
|
35634
|
+
error: null;
|
|
35635
|
+
isError: false;
|
|
35636
|
+
isPending: false;
|
|
35637
|
+
isLoading: false;
|
|
35638
|
+
isLoadingError: false;
|
|
35639
|
+
isRefetchError: false;
|
|
35640
|
+
isSuccess: true;
|
|
35641
|
+
isPlaceholderData: false;
|
|
35642
|
+
status: "success";
|
|
35643
|
+
dataUpdatedAt: number;
|
|
35644
|
+
errorUpdatedAt: number;
|
|
35645
|
+
failureCount: number;
|
|
35646
|
+
failureReason: Error | null;
|
|
35647
|
+
errorUpdateCount: number;
|
|
35648
|
+
isFetched: boolean;
|
|
35649
|
+
isFetchedAfterMount: boolean;
|
|
35650
|
+
isFetching: boolean;
|
|
35651
|
+
isInitialLoading: boolean;
|
|
35652
|
+
isPaused: boolean;
|
|
35653
|
+
isRefetching: boolean;
|
|
35654
|
+
isStale: boolean;
|
|
35655
|
+
isEnabled: boolean;
|
|
35656
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35657
|
+
optionId: bigint;
|
|
35658
|
+
id: string;
|
|
35659
|
+
ownerAddr: Address;
|
|
35660
|
+
marketAddr: Address;
|
|
35661
|
+
perpDuration: number;
|
|
35662
|
+
expiresAt: number;
|
|
35663
|
+
closed: boolean;
|
|
35664
|
+
}[] | undefined, Error>>;
|
|
35665
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35666
|
+
promise: Promise<{
|
|
35667
|
+
optionId: bigint;
|
|
35668
|
+
id: string;
|
|
35669
|
+
ownerAddr: Address;
|
|
35670
|
+
marketAddr: Address;
|
|
35671
|
+
perpDuration: number;
|
|
35672
|
+
expiresAt: number;
|
|
35673
|
+
closed: boolean;
|
|
35674
|
+
}[] | undefined>;
|
|
35675
|
+
data: {
|
|
35676
|
+
optionId: bigint;
|
|
35677
|
+
id: string;
|
|
35678
|
+
ownerAddr: Address;
|
|
35679
|
+
marketAddr: Address;
|
|
35680
|
+
perpDuration: number;
|
|
35681
|
+
expiresAt: number;
|
|
35682
|
+
closed: boolean;
|
|
35683
|
+
}[];
|
|
35684
|
+
} | {
|
|
35685
|
+
error: Error;
|
|
35686
|
+
isError: true;
|
|
35687
|
+
isPending: false;
|
|
35688
|
+
isLoading: false;
|
|
35689
|
+
isLoadingError: true;
|
|
35690
|
+
isRefetchError: false;
|
|
35691
|
+
isSuccess: false;
|
|
35692
|
+
isPlaceholderData: false;
|
|
35693
|
+
status: "error";
|
|
35694
|
+
dataUpdatedAt: number;
|
|
35695
|
+
errorUpdatedAt: number;
|
|
35696
|
+
failureCount: number;
|
|
35697
|
+
failureReason: Error | null;
|
|
35698
|
+
errorUpdateCount: number;
|
|
35699
|
+
isFetched: boolean;
|
|
35700
|
+
isFetchedAfterMount: boolean;
|
|
35701
|
+
isFetching: boolean;
|
|
35702
|
+
isInitialLoading: boolean;
|
|
35703
|
+
isPaused: boolean;
|
|
35704
|
+
isRefetching: boolean;
|
|
35705
|
+
isStale: boolean;
|
|
35706
|
+
isEnabled: boolean;
|
|
35707
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35708
|
+
optionId: bigint;
|
|
35709
|
+
id: string;
|
|
35710
|
+
ownerAddr: Address;
|
|
35711
|
+
marketAddr: Address;
|
|
35712
|
+
perpDuration: number;
|
|
35713
|
+
expiresAt: number;
|
|
35714
|
+
closed: boolean;
|
|
35715
|
+
}[] | undefined, Error>>;
|
|
35716
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35717
|
+
promise: Promise<{
|
|
35718
|
+
optionId: bigint;
|
|
35719
|
+
id: string;
|
|
35720
|
+
ownerAddr: Address;
|
|
35721
|
+
marketAddr: Address;
|
|
35722
|
+
perpDuration: number;
|
|
35723
|
+
expiresAt: number;
|
|
35724
|
+
closed: boolean;
|
|
35725
|
+
}[] | undefined>;
|
|
35726
|
+
data: {
|
|
35727
|
+
optionId: bigint;
|
|
35728
|
+
id: string;
|
|
35729
|
+
ownerAddr: Address;
|
|
35730
|
+
marketAddr: Address;
|
|
35731
|
+
perpDuration: number;
|
|
35732
|
+
expiresAt: number;
|
|
35733
|
+
closed: boolean;
|
|
35734
|
+
}[];
|
|
35735
|
+
} | {
|
|
35736
|
+
error: null;
|
|
35737
|
+
isError: false;
|
|
35738
|
+
isPending: true;
|
|
35739
|
+
isLoading: true;
|
|
35740
|
+
isLoadingError: false;
|
|
35741
|
+
isRefetchError: false;
|
|
35742
|
+
isSuccess: false;
|
|
35743
|
+
isPlaceholderData: false;
|
|
35744
|
+
status: "pending";
|
|
35745
|
+
dataUpdatedAt: number;
|
|
35746
|
+
errorUpdatedAt: number;
|
|
35747
|
+
failureCount: number;
|
|
35748
|
+
failureReason: Error | null;
|
|
35749
|
+
errorUpdateCount: number;
|
|
35750
|
+
isFetched: boolean;
|
|
35751
|
+
isFetchedAfterMount: boolean;
|
|
35752
|
+
isFetching: boolean;
|
|
35753
|
+
isInitialLoading: boolean;
|
|
35754
|
+
isPaused: boolean;
|
|
35755
|
+
isRefetching: boolean;
|
|
35756
|
+
isStale: boolean;
|
|
35757
|
+
isEnabled: boolean;
|
|
35758
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35759
|
+
optionId: bigint;
|
|
35760
|
+
id: string;
|
|
35761
|
+
ownerAddr: Address;
|
|
35762
|
+
marketAddr: Address;
|
|
35763
|
+
perpDuration: number;
|
|
35764
|
+
expiresAt: number;
|
|
35765
|
+
closed: boolean;
|
|
35766
|
+
}[] | undefined, Error>>;
|
|
35767
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35768
|
+
promise: Promise<{
|
|
35769
|
+
optionId: bigint;
|
|
35770
|
+
id: string;
|
|
35771
|
+
ownerAddr: Address;
|
|
35772
|
+
marketAddr: Address;
|
|
35773
|
+
perpDuration: number;
|
|
35774
|
+
expiresAt: number;
|
|
35775
|
+
closed: boolean;
|
|
35776
|
+
}[] | undefined>;
|
|
35777
|
+
data: {
|
|
35778
|
+
optionId: bigint;
|
|
35779
|
+
id: string;
|
|
35780
|
+
ownerAddr: Address;
|
|
35781
|
+
marketAddr: Address;
|
|
35782
|
+
perpDuration: number;
|
|
35783
|
+
expiresAt: number;
|
|
35784
|
+
closed: boolean;
|
|
35785
|
+
}[];
|
|
35786
|
+
} | {
|
|
35787
|
+
error: null;
|
|
35788
|
+
isError: false;
|
|
35789
|
+
isPending: true;
|
|
35790
|
+
isLoadingError: false;
|
|
35791
|
+
isRefetchError: false;
|
|
35792
|
+
isSuccess: false;
|
|
35793
|
+
isPlaceholderData: false;
|
|
35794
|
+
status: "pending";
|
|
35795
|
+
dataUpdatedAt: number;
|
|
35796
|
+
errorUpdatedAt: number;
|
|
35797
|
+
failureCount: number;
|
|
35798
|
+
failureReason: Error | null;
|
|
35799
|
+
errorUpdateCount: number;
|
|
35800
|
+
isFetched: boolean;
|
|
35801
|
+
isFetchedAfterMount: boolean;
|
|
35802
|
+
isFetching: boolean;
|
|
35803
|
+
isLoading: boolean;
|
|
35804
|
+
isInitialLoading: boolean;
|
|
35805
|
+
isPaused: boolean;
|
|
35806
|
+
isRefetching: boolean;
|
|
35807
|
+
isStale: boolean;
|
|
35808
|
+
isEnabled: boolean;
|
|
35809
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35810
|
+
optionId: bigint;
|
|
35811
|
+
id: string;
|
|
35812
|
+
ownerAddr: Address;
|
|
35813
|
+
marketAddr: Address;
|
|
35814
|
+
perpDuration: number;
|
|
35815
|
+
expiresAt: number;
|
|
35816
|
+
closed: boolean;
|
|
35817
|
+
}[] | undefined, Error>>;
|
|
35818
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35819
|
+
promise: Promise<{
|
|
35820
|
+
optionId: bigint;
|
|
35821
|
+
id: string;
|
|
35822
|
+
ownerAddr: Address;
|
|
35823
|
+
marketAddr: Address;
|
|
35824
|
+
perpDuration: number;
|
|
35825
|
+
expiresAt: number;
|
|
35826
|
+
closed: boolean;
|
|
35827
|
+
}[] | undefined>;
|
|
35828
|
+
data: {
|
|
35829
|
+
optionId: bigint;
|
|
35830
|
+
id: string;
|
|
35831
|
+
ownerAddr: Address;
|
|
35832
|
+
marketAddr: Address;
|
|
35833
|
+
perpDuration: number;
|
|
35834
|
+
expiresAt: number;
|
|
35835
|
+
closed: boolean;
|
|
35836
|
+
}[];
|
|
35837
|
+
} | {
|
|
35838
|
+
isError: false;
|
|
35839
|
+
error: null;
|
|
35840
|
+
isPending: false;
|
|
35841
|
+
isLoading: false;
|
|
35842
|
+
isLoadingError: false;
|
|
35843
|
+
isRefetchError: false;
|
|
35844
|
+
isSuccess: true;
|
|
35845
|
+
isPlaceholderData: true;
|
|
35846
|
+
status: "success";
|
|
35847
|
+
dataUpdatedAt: number;
|
|
35848
|
+
errorUpdatedAt: number;
|
|
35849
|
+
failureCount: number;
|
|
35850
|
+
failureReason: Error | null;
|
|
35851
|
+
errorUpdateCount: number;
|
|
35852
|
+
isFetched: boolean;
|
|
35853
|
+
isFetchedAfterMount: boolean;
|
|
35854
|
+
isFetching: boolean;
|
|
35855
|
+
isInitialLoading: boolean;
|
|
35856
|
+
isPaused: boolean;
|
|
35857
|
+
isRefetching: boolean;
|
|
35858
|
+
isStale: boolean;
|
|
35859
|
+
isEnabled: boolean;
|
|
35860
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35861
|
+
optionId: bigint;
|
|
35862
|
+
id: string;
|
|
35863
|
+
ownerAddr: Address;
|
|
35864
|
+
marketAddr: Address;
|
|
35865
|
+
perpDuration: number;
|
|
35866
|
+
expiresAt: number;
|
|
35867
|
+
closed: boolean;
|
|
35868
|
+
}[] | undefined, Error>>;
|
|
35869
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35870
|
+
promise: Promise<{
|
|
35871
|
+
optionId: bigint;
|
|
35872
|
+
id: string;
|
|
35873
|
+
ownerAddr: Address;
|
|
35874
|
+
marketAddr: Address;
|
|
35875
|
+
perpDuration: number;
|
|
35876
|
+
expiresAt: number;
|
|
35877
|
+
closed: boolean;
|
|
35878
|
+
}[] | undefined>;
|
|
35879
|
+
data: {
|
|
35880
|
+
optionId: bigint;
|
|
35881
|
+
id: string;
|
|
35882
|
+
ownerAddr: Address;
|
|
35883
|
+
marketAddr: Address;
|
|
35884
|
+
perpDuration: number;
|
|
35885
|
+
expiresAt: number;
|
|
35886
|
+
closed: boolean;
|
|
35887
|
+
}[];
|
|
35888
|
+
};
|
|
35889
|
+
//#endregion
|
|
34969
35890
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
34970
35891
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
34971
|
-
error:
|
|
35892
|
+
error: viem145.ReadContractErrorType;
|
|
34972
35893
|
isError: true;
|
|
34973
35894
|
isPending: false;
|
|
34974
35895
|
isLoading: false;
|
|
@@ -34980,7 +35901,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
34980
35901
|
dataUpdatedAt: number;
|
|
34981
35902
|
errorUpdatedAt: number;
|
|
34982
35903
|
failureCount: number;
|
|
34983
|
-
failureReason:
|
|
35904
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
34984
35905
|
errorUpdateCount: number;
|
|
34985
35906
|
isFetched: boolean;
|
|
34986
35907
|
isFetchedAfterMount: boolean;
|
|
@@ -34990,7 +35911,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
34990
35911
|
isRefetching: boolean;
|
|
34991
35912
|
isStale: boolean;
|
|
34992
35913
|
isEnabled: boolean;
|
|
34993
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35914
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
34994
35915
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34995
35916
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
34996
35917
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35014,7 +35935,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35014
35935
|
dataUpdatedAt: number;
|
|
35015
35936
|
errorUpdatedAt: number;
|
|
35016
35937
|
failureCount: number;
|
|
35017
|
-
failureReason:
|
|
35938
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35018
35939
|
errorUpdateCount: number;
|
|
35019
35940
|
isFetched: boolean;
|
|
35020
35941
|
isFetchedAfterMount: boolean;
|
|
@@ -35024,7 +35945,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35024
35945
|
isRefetching: boolean;
|
|
35025
35946
|
isStale: boolean;
|
|
35026
35947
|
isEnabled: boolean;
|
|
35027
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35948
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35028
35949
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35029
35950
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35030
35951
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35036,7 +35957,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35036
35957
|
spendingApproval: bigint;
|
|
35037
35958
|
} | undefined;
|
|
35038
35959
|
} | {
|
|
35039
|
-
error:
|
|
35960
|
+
error: viem145.ReadContractErrorType;
|
|
35040
35961
|
isError: true;
|
|
35041
35962
|
isPending: false;
|
|
35042
35963
|
isLoading: false;
|
|
@@ -35048,7 +35969,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35048
35969
|
dataUpdatedAt: number;
|
|
35049
35970
|
errorUpdatedAt: number;
|
|
35050
35971
|
failureCount: number;
|
|
35051
|
-
failureReason:
|
|
35972
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35052
35973
|
errorUpdateCount: number;
|
|
35053
35974
|
isFetched: boolean;
|
|
35054
35975
|
isFetchedAfterMount: boolean;
|
|
@@ -35058,7 +35979,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35058
35979
|
isRefetching: boolean;
|
|
35059
35980
|
isStale: boolean;
|
|
35060
35981
|
isEnabled: boolean;
|
|
35061
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35982
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35062
35983
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35063
35984
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35064
35985
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35082,7 +36003,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35082
36003
|
dataUpdatedAt: number;
|
|
35083
36004
|
errorUpdatedAt: number;
|
|
35084
36005
|
failureCount: number;
|
|
35085
|
-
failureReason:
|
|
36006
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35086
36007
|
errorUpdateCount: number;
|
|
35087
36008
|
isFetched: boolean;
|
|
35088
36009
|
isFetchedAfterMount: boolean;
|
|
@@ -35092,7 +36013,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35092
36013
|
isRefetching: boolean;
|
|
35093
36014
|
isStale: boolean;
|
|
35094
36015
|
isEnabled: boolean;
|
|
35095
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36016
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35096
36017
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35097
36018
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35098
36019
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35115,7 +36036,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35115
36036
|
dataUpdatedAt: number;
|
|
35116
36037
|
errorUpdatedAt: number;
|
|
35117
36038
|
failureCount: number;
|
|
35118
|
-
failureReason:
|
|
36039
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35119
36040
|
errorUpdateCount: number;
|
|
35120
36041
|
isFetched: boolean;
|
|
35121
36042
|
isFetchedAfterMount: boolean;
|
|
@@ -35126,7 +36047,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35126
36047
|
isRefetching: boolean;
|
|
35127
36048
|
isStale: boolean;
|
|
35128
36049
|
isEnabled: boolean;
|
|
35129
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36050
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35130
36051
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35131
36052
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35132
36053
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35150,7 +36071,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35150
36071
|
dataUpdatedAt: number;
|
|
35151
36072
|
errorUpdatedAt: number;
|
|
35152
36073
|
failureCount: number;
|
|
35153
|
-
failureReason:
|
|
36074
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35154
36075
|
errorUpdateCount: number;
|
|
35155
36076
|
isFetched: boolean;
|
|
35156
36077
|
isFetchedAfterMount: boolean;
|
|
@@ -35160,7 +36081,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35160
36081
|
isRefetching: boolean;
|
|
35161
36082
|
isStale: boolean;
|
|
35162
36083
|
isEnabled: boolean;
|
|
35163
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36084
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35164
36085
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35165
36086
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35166
36087
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35671,7 +36592,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35671
36592
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
35672
36593
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
35673
36594
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
35674
|
-
error:
|
|
36595
|
+
error: viem145.ReadContractErrorType;
|
|
35675
36596
|
isError: true;
|
|
35676
36597
|
isPending: false;
|
|
35677
36598
|
isLoading: false;
|
|
@@ -35683,7 +36604,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35683
36604
|
dataUpdatedAt: number;
|
|
35684
36605
|
errorUpdatedAt: number;
|
|
35685
36606
|
failureCount: number;
|
|
35686
|
-
failureReason:
|
|
36607
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35687
36608
|
errorUpdateCount: number;
|
|
35688
36609
|
isFetched: boolean;
|
|
35689
36610
|
isFetchedAfterMount: boolean;
|
|
@@ -35703,7 +36624,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35703
36624
|
totalAmount1: bigint;
|
|
35704
36625
|
borrowedAmount0: bigint;
|
|
35705
36626
|
borrowedAmount1: bigint;
|
|
35706
|
-
}[],
|
|
36627
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35707
36628
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35708
36629
|
promise: Promise<readonly {
|
|
35709
36630
|
tickLower: number;
|
|
@@ -35741,7 +36662,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35741
36662
|
dataUpdatedAt: number;
|
|
35742
36663
|
errorUpdatedAt: number;
|
|
35743
36664
|
failureCount: number;
|
|
35744
|
-
failureReason:
|
|
36665
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35745
36666
|
errorUpdateCount: number;
|
|
35746
36667
|
isFetched: boolean;
|
|
35747
36668
|
isFetchedAfterMount: boolean;
|
|
@@ -35761,7 +36682,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35761
36682
|
totalAmount1: bigint;
|
|
35762
36683
|
borrowedAmount0: bigint;
|
|
35763
36684
|
borrowedAmount1: bigint;
|
|
35764
|
-
}[],
|
|
36685
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35765
36686
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35766
36687
|
promise: Promise<readonly {
|
|
35767
36688
|
tickLower: number;
|
|
@@ -35787,7 +36708,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35787
36708
|
borrowedAmount1: bigint;
|
|
35788
36709
|
}[];
|
|
35789
36710
|
} | {
|
|
35790
|
-
error:
|
|
36711
|
+
error: viem145.ReadContractErrorType;
|
|
35791
36712
|
isError: true;
|
|
35792
36713
|
isPending: false;
|
|
35793
36714
|
isLoading: false;
|
|
@@ -35799,7 +36720,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35799
36720
|
dataUpdatedAt: number;
|
|
35800
36721
|
errorUpdatedAt: number;
|
|
35801
36722
|
failureCount: number;
|
|
35802
|
-
failureReason:
|
|
36723
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35803
36724
|
errorUpdateCount: number;
|
|
35804
36725
|
isFetched: boolean;
|
|
35805
36726
|
isFetchedAfterMount: boolean;
|
|
@@ -35819,7 +36740,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35819
36740
|
totalAmount1: bigint;
|
|
35820
36741
|
borrowedAmount0: bigint;
|
|
35821
36742
|
borrowedAmount1: bigint;
|
|
35822
|
-
}[],
|
|
36743
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35823
36744
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35824
36745
|
promise: Promise<readonly {
|
|
35825
36746
|
tickLower: number;
|
|
@@ -35857,7 +36778,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35857
36778
|
dataUpdatedAt: number;
|
|
35858
36779
|
errorUpdatedAt: number;
|
|
35859
36780
|
failureCount: number;
|
|
35860
|
-
failureReason:
|
|
36781
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35861
36782
|
errorUpdateCount: number;
|
|
35862
36783
|
isFetched: boolean;
|
|
35863
36784
|
isFetchedAfterMount: boolean;
|
|
@@ -35877,7 +36798,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35877
36798
|
totalAmount1: bigint;
|
|
35878
36799
|
borrowedAmount0: bigint;
|
|
35879
36800
|
borrowedAmount1: bigint;
|
|
35880
|
-
}[],
|
|
36801
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35881
36802
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35882
36803
|
promise: Promise<readonly {
|
|
35883
36804
|
tickLower: number;
|
|
@@ -35914,7 +36835,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35914
36835
|
dataUpdatedAt: number;
|
|
35915
36836
|
errorUpdatedAt: number;
|
|
35916
36837
|
failureCount: number;
|
|
35917
|
-
failureReason:
|
|
36838
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35918
36839
|
errorUpdateCount: number;
|
|
35919
36840
|
isFetched: boolean;
|
|
35920
36841
|
isFetchedAfterMount: boolean;
|
|
@@ -35935,7 +36856,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35935
36856
|
totalAmount1: bigint;
|
|
35936
36857
|
borrowedAmount0: bigint;
|
|
35937
36858
|
borrowedAmount1: bigint;
|
|
35938
|
-
}[],
|
|
36859
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35939
36860
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35940
36861
|
promise: Promise<readonly {
|
|
35941
36862
|
tickLower: number;
|
|
@@ -35973,7 +36894,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35973
36894
|
dataUpdatedAt: number;
|
|
35974
36895
|
errorUpdatedAt: number;
|
|
35975
36896
|
failureCount: number;
|
|
35976
|
-
failureReason:
|
|
36897
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35977
36898
|
errorUpdateCount: number;
|
|
35978
36899
|
isFetched: boolean;
|
|
35979
36900
|
isFetchedAfterMount: boolean;
|
|
@@ -35993,7 +36914,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35993
36914
|
totalAmount1: bigint;
|
|
35994
36915
|
borrowedAmount0: bigint;
|
|
35995
36916
|
borrowedAmount1: bigint;
|
|
35996
|
-
}[],
|
|
36917
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35997
36918
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35998
36919
|
promise: Promise<readonly {
|
|
35999
36920
|
tickLower: number;
|
|
@@ -36057,14 +36978,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36057
36978
|
borrowedAmount0: Amount;
|
|
36058
36979
|
borrowedAmount1: Amount;
|
|
36059
36980
|
blocksCount: bigint;
|
|
36060
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
36981
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem145.ReadContractErrorType>>;
|
|
36061
36982
|
};
|
|
36062
36983
|
//#endregion
|
|
36063
36984
|
//#region src/hooks/useLens.d.ts
|
|
36064
36985
|
declare const useLens: () => {
|
|
36065
36986
|
timelockLens: {
|
|
36066
36987
|
read: {
|
|
36067
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36988
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
36068
36989
|
readonly type: "function";
|
|
36069
36990
|
readonly name: "batchGetRefTick";
|
|
36070
36991
|
readonly inputs: readonly [{
|
|
@@ -36706,7 +37627,7 @@ declare const useLens: () => {
|
|
|
36706
37627
|
}];
|
|
36707
37628
|
readonly stateMutability: "view";
|
|
36708
37629
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
36709
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37630
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
36710
37631
|
readonly type: "function";
|
|
36711
37632
|
readonly name: "batchGetRefTick";
|
|
36712
37633
|
readonly inputs: readonly [{
|
|
@@ -37358,7 +38279,7 @@ declare const useLens: () => {
|
|
|
37358
38279
|
borrowedAmount0: bigint;
|
|
37359
38280
|
borrowedAmount1: bigint;
|
|
37360
38281
|
}[]>;
|
|
37361
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38282
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
37362
38283
|
readonly type: "function";
|
|
37363
38284
|
readonly name: "batchGetRefTick";
|
|
37364
38285
|
readonly inputs: readonly [{
|
|
@@ -38015,7 +38936,7 @@ declare const useLens: () => {
|
|
|
38015
38936
|
expiresAt: number;
|
|
38016
38937
|
liquidities: readonly bigint[];
|
|
38017
38938
|
}[], bigint, boolean]>;
|
|
38018
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38939
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38019
38940
|
readonly type: "function";
|
|
38020
38941
|
readonly name: "batchGetRefTick";
|
|
38021
38942
|
readonly inputs: readonly [{
|
|
@@ -38657,7 +39578,7 @@ declare const useLens: () => {
|
|
|
38657
39578
|
}];
|
|
38658
39579
|
readonly stateMutability: "view";
|
|
38659
39580
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
38660
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39581
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38661
39582
|
readonly type: "function";
|
|
38662
39583
|
readonly name: "batchGetRefTick";
|
|
38663
39584
|
readonly inputs: readonly [{
|
|
@@ -39312,7 +40233,7 @@ declare const useLens: () => {
|
|
|
39312
40233
|
payoutAssetName: string;
|
|
39313
40234
|
optionsCount: bigint;
|
|
39314
40235
|
}>;
|
|
39315
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
40236
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39316
40237
|
readonly type: "function";
|
|
39317
40238
|
readonly name: "batchGetRefTick";
|
|
39318
40239
|
readonly inputs: readonly [{
|
|
@@ -39954,7 +40875,7 @@ declare const useLens: () => {
|
|
|
39954
40875
|
}];
|
|
39955
40876
|
readonly stateMutability: "view";
|
|
39956
40877
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39957
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40878
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39958
40879
|
readonly type: "function";
|
|
39959
40880
|
readonly name: "batchGetRefTick";
|
|
39960
40881
|
readonly inputs: readonly [{
|
|
@@ -40596,7 +41517,7 @@ declare const useLens: () => {
|
|
|
40596
41517
|
}];
|
|
40597
41518
|
readonly stateMutability: "view";
|
|
40598
41519
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40599
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41520
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
40600
41521
|
readonly type: "function";
|
|
40601
41522
|
readonly name: "batchGetRefTick";
|
|
40602
41523
|
readonly inputs: readonly [{
|
|
@@ -41253,7 +42174,7 @@ declare const useLens: () => {
|
|
|
41253
42174
|
expiresAt: number;
|
|
41254
42175
|
liquidities: readonly bigint[];
|
|
41255
42176
|
}>;
|
|
41256
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
42177
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41257
42178
|
readonly type: "function";
|
|
41258
42179
|
readonly name: "batchGetRefTick";
|
|
41259
42180
|
readonly inputs: readonly [{
|
|
@@ -41910,7 +42831,7 @@ declare const useLens: () => {
|
|
|
41910
42831
|
expiresAt: number;
|
|
41911
42832
|
liquidities: readonly bigint[];
|
|
41912
42833
|
}[]>;
|
|
41913
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42834
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41914
42835
|
readonly type: "function";
|
|
41915
42836
|
readonly name: "batchGetRefTick";
|
|
41916
42837
|
readonly inputs: readonly [{
|
|
@@ -42563,7 +43484,7 @@ declare const useLens: () => {
|
|
|
42563
43484
|
tickSpacing: number;
|
|
42564
43485
|
fee: number;
|
|
42565
43486
|
}>;
|
|
42566
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43487
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
42567
43488
|
readonly type: "function";
|
|
42568
43489
|
readonly name: "batchGetRefTick";
|
|
42569
43490
|
readonly inputs: readonly [{
|
|
@@ -43205,7 +44126,7 @@ declare const useLens: () => {
|
|
|
43205
44126
|
}];
|
|
43206
44127
|
readonly stateMutability: "view";
|
|
43207
44128
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43208
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44129
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
43209
44130
|
readonly type: "function";
|
|
43210
44131
|
readonly name: "batchGetRefTick";
|
|
43211
44132
|
readonly inputs: readonly [{
|
|
@@ -43862,7 +44783,7 @@ declare const useLens: () => {
|
|
|
43862
44783
|
expiresAt: number;
|
|
43863
44784
|
liquidities: readonly bigint[];
|
|
43864
44785
|
}[], bigint, boolean]>;
|
|
43865
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44786
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
43866
44787
|
readonly type: "function";
|
|
43867
44788
|
readonly name: "batchGetRefTick";
|
|
43868
44789
|
readonly inputs: readonly [{
|
|
@@ -45151,7 +46072,7 @@ declare const useLens: () => {
|
|
|
45151
46072
|
} | undefined;
|
|
45152
46073
|
uniswapLens: {
|
|
45153
46074
|
read: {
|
|
45154
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46075
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
45155
46076
|
readonly type: "function";
|
|
45156
46077
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45157
46078
|
readonly inputs: readonly [{
|
|
@@ -45772,7 +46693,7 @@ declare const useLens: () => {
|
|
|
45772
46693
|
}];
|
|
45773
46694
|
readonly stateMutability: "pure";
|
|
45774
46695
|
}], "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?:
|
|
46696
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
45776
46697
|
readonly type: "function";
|
|
45777
46698
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45778
46699
|
readonly inputs: readonly [{
|
|
@@ -46393,7 +47314,7 @@ declare const useLens: () => {
|
|
|
46393
47314
|
}];
|
|
46394
47315
|
readonly stateMutability: "pure";
|
|
46395
47316
|
}], "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?:
|
|
47317
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
46397
47318
|
readonly type: "function";
|
|
46398
47319
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46399
47320
|
readonly inputs: readonly [{
|
|
@@ -47014,7 +47935,7 @@ declare const useLens: () => {
|
|
|
47014
47935
|
}];
|
|
47015
47936
|
readonly stateMutability: "pure";
|
|
47016
47937
|
}], "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?:
|
|
47938
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47018
47939
|
readonly type: "function";
|
|
47019
47940
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47020
47941
|
readonly inputs: readonly [{
|
|
@@ -47635,7 +48556,7 @@ declare const useLens: () => {
|
|
|
47635
48556
|
}];
|
|
47636
48557
|
readonly stateMutability: "pure";
|
|
47637
48558
|
}], "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?:
|
|
48559
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47639
48560
|
readonly type: "function";
|
|
47640
48561
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47641
48562
|
readonly inputs: readonly [{
|
|
@@ -48256,7 +49177,7 @@ declare const useLens: () => {
|
|
|
48256
49177
|
}];
|
|
48257
49178
|
readonly stateMutability: "pure";
|
|
48258
49179
|
}], "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?:
|
|
49180
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48260
49181
|
readonly type: "function";
|
|
48261
49182
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48262
49183
|
readonly inputs: readonly [{
|
|
@@ -48877,7 +49798,7 @@ declare const useLens: () => {
|
|
|
48877
49798
|
}];
|
|
48878
49799
|
readonly stateMutability: "pure";
|
|
48879
49800
|
}], "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?:
|
|
49801
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48881
49802
|
readonly type: "function";
|
|
48882
49803
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48883
49804
|
readonly inputs: readonly [{
|
|
@@ -49498,7 +50419,7 @@ declare const useLens: () => {
|
|
|
49498
50419
|
}];
|
|
49499
50420
|
readonly stateMutability: "pure";
|
|
49500
50421
|
}], "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?:
|
|
50422
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
49502
50423
|
readonly type: "function";
|
|
49503
50424
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49504
50425
|
readonly inputs: readonly [{
|
|
@@ -50119,7 +51040,7 @@ declare const useLens: () => {
|
|
|
50119
51040
|
}];
|
|
50120
51041
|
readonly stateMutability: "pure";
|
|
50121
51042
|
}], "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?:
|
|
51043
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
50123
51044
|
readonly type: "function";
|
|
50124
51045
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50125
51046
|
readonly inputs: readonly [{
|
|
@@ -50740,7 +51661,7 @@ declare const useLens: () => {
|
|
|
50740
51661
|
}];
|
|
50741
51662
|
readonly stateMutability: "pure";
|
|
50742
51663
|
}], "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?:
|
|
51664
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
50744
51665
|
readonly type: "function";
|
|
50745
51666
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50746
51667
|
readonly inputs: readonly [{
|
|
@@ -51361,7 +52282,7 @@ declare const useLens: () => {
|
|
|
51361
52282
|
}];
|
|
51362
52283
|
readonly stateMutability: "pure";
|
|
51363
52284
|
}], "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?:
|
|
52285
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51365
52286
|
readonly type: "function";
|
|
51366
52287
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51367
52288
|
readonly inputs: readonly [{
|
|
@@ -51982,7 +52903,7 @@ declare const useLens: () => {
|
|
|
51982
52903
|
}];
|
|
51983
52904
|
readonly stateMutability: "pure";
|
|
51984
52905
|
}], "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?:
|
|
52906
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51986
52907
|
readonly type: "function";
|
|
51987
52908
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51988
52909
|
readonly inputs: readonly [{
|
|
@@ -52603,7 +53524,7 @@ declare const useLens: () => {
|
|
|
52603
53524
|
}];
|
|
52604
53525
|
readonly stateMutability: "pure";
|
|
52605
53526
|
}], "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?:
|
|
53527
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
52607
53528
|
readonly type: "function";
|
|
52608
53529
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52609
53530
|
readonly inputs: readonly [{
|
|
@@ -53224,7 +54145,7 @@ declare const useLens: () => {
|
|
|
53224
54145
|
}];
|
|
53225
54146
|
readonly stateMutability: "pure";
|
|
53226
54147
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53227
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54148
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53228
54149
|
readonly type: "function";
|
|
53229
54150
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53230
54151
|
readonly inputs: readonly [{
|
|
@@ -53845,7 +54766,7 @@ declare const useLens: () => {
|
|
|
53845
54766
|
}];
|
|
53846
54767
|
readonly stateMutability: "pure";
|
|
53847
54768
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53848
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54769
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53849
54770
|
readonly type: "function";
|
|
53850
54771
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53851
54772
|
readonly inputs: readonly [{
|
|
@@ -54466,7 +55387,7 @@ declare const useLens: () => {
|
|
|
54466
55387
|
}];
|
|
54467
55388
|
readonly stateMutability: "pure";
|
|
54468
55389
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54469
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55390
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
54470
55391
|
readonly type: "function";
|
|
54471
55392
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54472
55393
|
readonly inputs: readonly [{
|
|
@@ -55087,7 +56008,7 @@ declare const useLens: () => {
|
|
|
55087
56008
|
}];
|
|
55088
56009
|
readonly stateMutability: "pure";
|
|
55089
56010
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55090
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56011
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
55091
56012
|
readonly type: "function";
|
|
55092
56013
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55093
56014
|
readonly inputs: readonly [{
|
|
@@ -55708,7 +56629,7 @@ declare const useLens: () => {
|
|
|
55708
56629
|
}];
|
|
55709
56630
|
readonly stateMutability: "pure";
|
|
55710
56631
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55711
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56632
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
55712
56633
|
readonly type: "function";
|
|
55713
56634
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55714
56635
|
readonly inputs: readonly [{
|
|
@@ -56329,7 +57250,7 @@ declare const useLens: () => {
|
|
|
56329
57250
|
}];
|
|
56330
57251
|
readonly stateMutability: "pure";
|
|
56331
57252
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56332
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57253
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56333
57254
|
readonly type: "function";
|
|
56334
57255
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56335
57256
|
readonly inputs: readonly [{
|
|
@@ -56950,7 +57871,7 @@ declare const useLens: () => {
|
|
|
56950
57871
|
}];
|
|
56951
57872
|
readonly stateMutability: "pure";
|
|
56952
57873
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56953
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57874
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56954
57875
|
readonly type: "function";
|
|
56955
57876
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56956
57877
|
readonly inputs: readonly [{
|
|
@@ -57571,7 +58492,7 @@ declare const useLens: () => {
|
|
|
57571
58492
|
}];
|
|
57572
58493
|
readonly stateMutability: "pure";
|
|
57573
58494
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57574
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58495
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
57575
58496
|
readonly type: "function";
|
|
57576
58497
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57577
58498
|
readonly inputs: readonly [{
|
|
@@ -58192,7 +59113,7 @@ declare const useLens: () => {
|
|
|
58192
59113
|
}];
|
|
58193
59114
|
readonly stateMutability: "pure";
|
|
58194
59115
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58195
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
59116
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
58196
59117
|
readonly type: "function";
|
|
58197
59118
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58198
59119
|
readonly inputs: readonly [{
|
|
@@ -58813,7 +59734,7 @@ declare const useLens: () => {
|
|
|
58813
59734
|
}];
|
|
58814
59735
|
readonly stateMutability: "pure";
|
|
58815
59736
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58816
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59737
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
58817
59738
|
readonly type: "function";
|
|
58818
59739
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58819
59740
|
readonly inputs: readonly [{
|
|
@@ -59434,7 +60355,7 @@ declare const useLens: () => {
|
|
|
59434
60355
|
}];
|
|
59435
60356
|
readonly stateMutability: "pure";
|
|
59436
60357
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59437
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60358
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
59438
60359
|
readonly type: "function";
|
|
59439
60360
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59440
60361
|
readonly inputs: readonly [{
|
|
@@ -60055,7 +60976,7 @@ declare const useLens: () => {
|
|
|
60055
60976
|
}];
|
|
60056
60977
|
readonly stateMutability: "pure";
|
|
60057
60978
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60058
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60979
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60059
60980
|
readonly type: "function";
|
|
60060
60981
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60061
60982
|
readonly inputs: readonly [{
|
|
@@ -60676,7 +61597,7 @@ declare const useLens: () => {
|
|
|
60676
61597
|
}];
|
|
60677
61598
|
readonly stateMutability: "pure";
|
|
60678
61599
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60679
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61600
|
+
getPriceAtTick: (args: readonly [number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60680
61601
|
readonly type: "function";
|
|
60681
61602
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60682
61603
|
readonly inputs: readonly [{
|
|
@@ -61932,5 +62853,5 @@ declare const useApproval: () => {
|
|
|
61932
62853
|
reset: () => void;
|
|
61933
62854
|
};
|
|
61934
62855
|
//#endregion
|
|
61935
|
-
export {
|
|
61936
|
-
//# sourceMappingURL=client-
|
|
62856
|
+
export { formatCondensed as $, PriceDataPoint as A, usePerpsOperator as B, liquiditiesToAmount1 as C, getErc20 as Ct, token0ToToken1 as D, timelockLenses as Dt, roundTickUp as E, getUniswapMathLens as Et, useUserOperators as F, useExtendOption as G, useMintPerp as H, useOperatorPerms as I, useMintOption as J, useOptionPremium as K, useActiveUserPerps as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, uniswapMathLenses as Ot, useSetOperatorPerms as P, formatAmount as Q, useClosedUserPerps as R, liquiditiesToAmount0 as S, UniswapMathLens as St, roundTickDown as T, getTimelockMarket as Tt, OptionTimelineData as U, useClosePerp as V, useOptionTimeline as W, Amount as X, useMaxPositionSize as Y, EMPTY_ARRAY as Z, PRICE_PRECISION as _, useCurrentMarket as _t, batchGetAmountsFromLiquidity as a, unscalePrice as at, getPriceAtTick as b, TimelockMarket as bt, useLiquidityBlocks as c, wrapPrice as ct, usePriceAtTick as d, useMarketData as dt, formatUSD as et, UniswapPoolData as f, useExerciseOption as ft, getPayoutAtTick as g, TimelockProvider as gt, useCurrentPrice as h, useClosedUserOptions as ht, useVaultData as i, unscaleAmount as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, wrapPriceUnscaled as lt, useCurrentTick as m, useActiveUserOptions as mt, useLens as n, scaleAmount as nt, useMintLiquidity as o, wrapAmount as ot, usePoolData as p, OptionData as pt, useOptionPnl as q, useVaultTVL as r, scalePrice as rt, LiquidityBlockData as s, wrapAmountUnscaled as st, useApproval as t, formatVagueAmount as tt, usePriceHistory as u, zero as ut, getAmountsFromLiquidity as v, useTimelockConfig as vt, liquiditiesToAmounts as w, getTimelockLens as wt, getTickAtPrice as x, TimelockMarketData as xt, getNearestValidStrikeTick as y, TimelockLens as yt, useUserPerps as z };
|
|
62857
|
+
//# sourceMappingURL=client-cOGBr2Ca.d.ts.map
|