timelock-sdk 0.0.215 → 0.0.217
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-BPuEuipU.d.ts → client-C59PyXoJ.d.ts} +1767 -841
- package/dist/{client-DIHwcjWM.d.cts → client-DfgGzIxt.d.cts} +1421 -495
- package/dist/client.cjs +126 -0
- 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 +126 -2
- 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
|
@@ -9,10 +9,10 @@ import * as wagmi0 from "wagmi";
|
|
|
9
9
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
10
10
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
11
11
|
import "graphql";
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
12
|
+
import * as _wagmi_core27 from "@wagmi/core";
|
|
13
|
+
import * as _tanstack_query_core71 from "@tanstack/query-core";
|
|
14
|
+
import * as abitype0 from "abitype";
|
|
15
|
+
import * as wagmi_query0 from "wagmi/query";
|
|
16
16
|
|
|
17
17
|
//#region src/generated/graphql.d.ts
|
|
18
18
|
type Exact<T$1 extends {
|
|
@@ -607,7 +607,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
607
607
|
}];
|
|
608
608
|
readonly stateMutability: "nonpayable";
|
|
609
609
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
610
|
-
|
|
610
|
+
allowance: (args: readonly [owner: `0x${string}`, spender: `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
611
611
|
readonly type: "constructor";
|
|
612
612
|
readonly inputs: readonly [{
|
|
613
613
|
readonly name: "name_";
|
|
@@ -785,8 +785,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
785
785
|
readonly internalType: "bool";
|
|
786
786
|
}];
|
|
787
787
|
readonly stateMutability: "nonpayable";
|
|
788
|
-
}], "
|
|
789
|
-
|
|
788
|
+
}], "allowance", readonly [owner: `0x${string}`, spender: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
789
|
+
balanceOf: (args: readonly [account: `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
790
790
|
readonly type: "constructor";
|
|
791
791
|
readonly inputs: readonly [{
|
|
792
792
|
readonly name: "name_";
|
|
@@ -964,8 +964,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
964
964
|
readonly internalType: "bool";
|
|
965
965
|
}];
|
|
966
966
|
readonly stateMutability: "nonpayable";
|
|
967
|
-
}], "
|
|
968
|
-
|
|
967
|
+
}], "balanceOf", readonly [account: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
968
|
+
decimals: (options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
969
969
|
readonly type: "constructor";
|
|
970
970
|
readonly inputs: readonly [{
|
|
971
971
|
readonly name: "name_";
|
|
@@ -1143,7 +1143,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1143
1143
|
readonly internalType: "bool";
|
|
1144
1144
|
}];
|
|
1145
1145
|
readonly stateMutability: "nonpayable";
|
|
1146
|
-
}], "
|
|
1146
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
1147
1147
|
totalSupply: (options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
1148
1148
|
readonly type: "constructor";
|
|
1149
1149
|
readonly inputs: readonly [{
|
|
@@ -25918,7 +25918,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
25918
25918
|
}], "msgSender", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<`0x${string}`>;
|
|
25919
25919
|
};
|
|
25920
25920
|
estimateGas: {
|
|
25921
|
-
|
|
25921
|
+
_quoteExactInput: (args: readonly [params: {
|
|
25922
|
+
exactCurrency: `0x${string}`;
|
|
25923
|
+
path: readonly {
|
|
25924
|
+
intermediateCurrency: `0x${string}`;
|
|
25925
|
+
fee: number;
|
|
25926
|
+
tickSpacing: number;
|
|
25927
|
+
hooks: `0x${string}`;
|
|
25928
|
+
hookData: `0x${string}`;
|
|
25929
|
+
}[];
|
|
25930
|
+
exactAmount: bigint;
|
|
25931
|
+
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
25922
25932
|
readonly type: "function";
|
|
25923
25933
|
readonly name: "_quoteExactInput";
|
|
25924
25934
|
readonly inputs: readonly [{
|
|
@@ -26410,8 +26420,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
26410
26420
|
readonly type: "bytes";
|
|
26411
26421
|
readonly internalType: "bytes";
|
|
26412
26422
|
}];
|
|
26413
|
-
}], "
|
|
26414
|
-
_quoteExactInput: (args: readonly [params: {
|
|
26423
|
+
}], "_quoteExactInput", readonly [params: {
|
|
26415
26424
|
exactCurrency: `0x${string}`;
|
|
26416
26425
|
path: readonly {
|
|
26417
26426
|
intermediateCurrency: `0x${string}`;
|
|
@@ -26421,6 +26430,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
26421
26430
|
hookData: `0x${string}`;
|
|
26422
26431
|
}[];
|
|
26423
26432
|
exactAmount: bigint;
|
|
26433
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
26434
|
+
_quoteExactInputSingle: (args: readonly [params: {
|
|
26435
|
+
poolKey: {
|
|
26436
|
+
currency0: `0x${string}`;
|
|
26437
|
+
currency1: `0x${string}`;
|
|
26438
|
+
fee: number;
|
|
26439
|
+
tickSpacing: number;
|
|
26440
|
+
hooks: `0x${string}`;
|
|
26441
|
+
};
|
|
26442
|
+
zeroForOne: boolean;
|
|
26443
|
+
exactAmount: bigint;
|
|
26444
|
+
hookData: `0x${string}`;
|
|
26424
26445
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
26425
26446
|
readonly type: "function";
|
|
26426
26447
|
readonly name: "_quoteExactInput";
|
|
@@ -26913,18 +26934,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
26913
26934
|
readonly type: "bytes";
|
|
26914
26935
|
readonly internalType: "bytes";
|
|
26915
26936
|
}];
|
|
26916
|
-
}], "
|
|
26917
|
-
exactCurrency: `0x${string}`;
|
|
26918
|
-
path: readonly {
|
|
26919
|
-
intermediateCurrency: `0x${string}`;
|
|
26920
|
-
fee: number;
|
|
26921
|
-
tickSpacing: number;
|
|
26922
|
-
hooks: `0x${string}`;
|
|
26923
|
-
hookData: `0x${string}`;
|
|
26924
|
-
}[];
|
|
26925
|
-
exactAmount: bigint;
|
|
26926
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
26927
|
-
_quoteExactInputSingle: (args: readonly [params: {
|
|
26937
|
+
}], "_quoteExactInputSingle", readonly [params: {
|
|
26928
26938
|
poolKey: {
|
|
26929
26939
|
currency0: `0x${string}`;
|
|
26930
26940
|
currency1: `0x${string}`;
|
|
@@ -26935,6 +26945,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
26935
26945
|
zeroForOne: boolean;
|
|
26936
26946
|
exactAmount: bigint;
|
|
26937
26947
|
hookData: `0x${string}`;
|
|
26948
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
26949
|
+
_quoteExactOutput: (args: readonly [params: {
|
|
26950
|
+
exactCurrency: `0x${string}`;
|
|
26951
|
+
path: readonly {
|
|
26952
|
+
intermediateCurrency: `0x${string}`;
|
|
26953
|
+
fee: number;
|
|
26954
|
+
tickSpacing: number;
|
|
26955
|
+
hooks: `0x${string}`;
|
|
26956
|
+
hookData: `0x${string}`;
|
|
26957
|
+
}[];
|
|
26958
|
+
exactAmount: bigint;
|
|
26938
26959
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
26939
26960
|
readonly type: "function";
|
|
26940
26961
|
readonly name: "_quoteExactInput";
|
|
@@ -27427,7 +27448,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
27427
27448
|
readonly type: "bytes";
|
|
27428
27449
|
readonly internalType: "bytes";
|
|
27429
27450
|
}];
|
|
27430
|
-
}], "
|
|
27451
|
+
}], "_quoteExactOutput", readonly [params: {
|
|
27452
|
+
exactCurrency: `0x${string}`;
|
|
27453
|
+
path: readonly {
|
|
27454
|
+
intermediateCurrency: `0x${string}`;
|
|
27455
|
+
fee: number;
|
|
27456
|
+
tickSpacing: number;
|
|
27457
|
+
hooks: `0x${string}`;
|
|
27458
|
+
hookData: `0x${string}`;
|
|
27459
|
+
}[];
|
|
27460
|
+
exactAmount: bigint;
|
|
27461
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
27462
|
+
_quoteExactOutputSingle: (args: readonly [params: {
|
|
27431
27463
|
poolKey: {
|
|
27432
27464
|
currency0: `0x${string}`;
|
|
27433
27465
|
currency1: `0x${string}`;
|
|
@@ -27438,17 +27470,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
27438
27470
|
zeroForOne: boolean;
|
|
27439
27471
|
exactAmount: bigint;
|
|
27440
27472
|
hookData: `0x${string}`;
|
|
27441
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
27442
|
-
_quoteExactOutput: (args: readonly [params: {
|
|
27443
|
-
exactCurrency: `0x${string}`;
|
|
27444
|
-
path: readonly {
|
|
27445
|
-
intermediateCurrency: `0x${string}`;
|
|
27446
|
-
fee: number;
|
|
27447
|
-
tickSpacing: number;
|
|
27448
|
-
hooks: `0x${string}`;
|
|
27449
|
-
hookData: `0x${string}`;
|
|
27450
|
-
}[];
|
|
27451
|
-
exactAmount: bigint;
|
|
27452
27473
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
27453
27474
|
readonly type: "function";
|
|
27454
27475
|
readonly name: "_quoteExactInput";
|
|
@@ -27941,18 +27962,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
27941
27962
|
readonly type: "bytes";
|
|
27942
27963
|
readonly internalType: "bytes";
|
|
27943
27964
|
}];
|
|
27944
|
-
}], "
|
|
27945
|
-
exactCurrency: `0x${string}`;
|
|
27946
|
-
path: readonly {
|
|
27947
|
-
intermediateCurrency: `0x${string}`;
|
|
27948
|
-
fee: number;
|
|
27949
|
-
tickSpacing: number;
|
|
27950
|
-
hooks: `0x${string}`;
|
|
27951
|
-
hookData: `0x${string}`;
|
|
27952
|
-
}[];
|
|
27953
|
-
exactAmount: bigint;
|
|
27954
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
27955
|
-
_quoteExactOutputSingle: (args: readonly [params: {
|
|
27965
|
+
}], "_quoteExactOutputSingle", readonly [params: {
|
|
27956
27966
|
poolKey: {
|
|
27957
27967
|
currency0: `0x${string}`;
|
|
27958
27968
|
currency1: `0x${string}`;
|
|
@@ -27963,6 +27973,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
27963
27973
|
zeroForOne: boolean;
|
|
27964
27974
|
exactAmount: bigint;
|
|
27965
27975
|
hookData: `0x${string}`;
|
|
27976
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
27977
|
+
quoteExactInput: (args: readonly [`0x${string}`, params: {
|
|
27978
|
+
exactCurrency: `0x${string}`;
|
|
27979
|
+
path: readonly {
|
|
27980
|
+
intermediateCurrency: `0x${string}`;
|
|
27981
|
+
fee: number;
|
|
27982
|
+
tickSpacing: number;
|
|
27983
|
+
hooks: `0x${string}`;
|
|
27984
|
+
hookData: `0x${string}`;
|
|
27985
|
+
}[];
|
|
27986
|
+
exactAmount: bigint;
|
|
27966
27987
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
27967
27988
|
readonly type: "function";
|
|
27968
27989
|
readonly name: "_quoteExactInput";
|
|
@@ -28455,7 +28476,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
28455
28476
|
readonly type: "bytes";
|
|
28456
28477
|
readonly internalType: "bytes";
|
|
28457
28478
|
}];
|
|
28458
|
-
}], "
|
|
28479
|
+
}], "quoteExactInput", readonly [`0x${string}`, params: {
|
|
28480
|
+
exactCurrency: `0x${string}`;
|
|
28481
|
+
path: readonly {
|
|
28482
|
+
intermediateCurrency: `0x${string}`;
|
|
28483
|
+
fee: number;
|
|
28484
|
+
tickSpacing: number;
|
|
28485
|
+
hooks: `0x${string}`;
|
|
28486
|
+
hookData: `0x${string}`;
|
|
28487
|
+
}[];
|
|
28488
|
+
exactAmount: bigint;
|
|
28489
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
28490
|
+
quoteExactInputSingle: (args: readonly [`0x${string}`, params: {
|
|
28459
28491
|
poolKey: {
|
|
28460
28492
|
currency0: `0x${string}`;
|
|
28461
28493
|
currency1: `0x${string}`;
|
|
@@ -28466,17 +28498,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
28466
28498
|
zeroForOne: boolean;
|
|
28467
28499
|
exactAmount: bigint;
|
|
28468
28500
|
hookData: `0x${string}`;
|
|
28469
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
28470
|
-
quoteExactInput: (args: readonly [`0x${string}`, params: {
|
|
28471
|
-
exactCurrency: `0x${string}`;
|
|
28472
|
-
path: readonly {
|
|
28473
|
-
intermediateCurrency: `0x${string}`;
|
|
28474
|
-
fee: number;
|
|
28475
|
-
tickSpacing: number;
|
|
28476
|
-
hooks: `0x${string}`;
|
|
28477
|
-
hookData: `0x${string}`;
|
|
28478
|
-
}[];
|
|
28479
|
-
exactAmount: bigint;
|
|
28480
28501
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
28481
28502
|
readonly type: "function";
|
|
28482
28503
|
readonly name: "_quoteExactInput";
|
|
@@ -28969,18 +28990,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
28969
28990
|
readonly type: "bytes";
|
|
28970
28991
|
readonly internalType: "bytes";
|
|
28971
28992
|
}];
|
|
28972
|
-
}], "
|
|
28973
|
-
exactCurrency: `0x${string}`;
|
|
28974
|
-
path: readonly {
|
|
28975
|
-
intermediateCurrency: `0x${string}`;
|
|
28976
|
-
fee: number;
|
|
28977
|
-
tickSpacing: number;
|
|
28978
|
-
hooks: `0x${string}`;
|
|
28979
|
-
hookData: `0x${string}`;
|
|
28980
|
-
}[];
|
|
28981
|
-
exactAmount: bigint;
|
|
28982
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
28983
|
-
quoteExactInputSingle: (args: readonly [`0x${string}`, params: {
|
|
28993
|
+
}], "quoteExactInputSingle", readonly [`0x${string}`, params: {
|
|
28984
28994
|
poolKey: {
|
|
28985
28995
|
currency0: `0x${string}`;
|
|
28986
28996
|
currency1: `0x${string}`;
|
|
@@ -28991,6 +29001,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
28991
29001
|
zeroForOne: boolean;
|
|
28992
29002
|
exactAmount: bigint;
|
|
28993
29003
|
hookData: `0x${string}`;
|
|
29004
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
29005
|
+
quoteExactOutput: (args: readonly [`0x${string}`, params: {
|
|
29006
|
+
exactCurrency: `0x${string}`;
|
|
29007
|
+
path: readonly {
|
|
29008
|
+
intermediateCurrency: `0x${string}`;
|
|
29009
|
+
fee: number;
|
|
29010
|
+
tickSpacing: number;
|
|
29011
|
+
hooks: `0x${string}`;
|
|
29012
|
+
hookData: `0x${string}`;
|
|
29013
|
+
}[];
|
|
29014
|
+
exactAmount: bigint;
|
|
28994
29015
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
28995
29016
|
readonly type: "function";
|
|
28996
29017
|
readonly name: "_quoteExactInput";
|
|
@@ -29483,7 +29504,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
29483
29504
|
readonly type: "bytes";
|
|
29484
29505
|
readonly internalType: "bytes";
|
|
29485
29506
|
}];
|
|
29486
|
-
}], "
|
|
29507
|
+
}], "quoteExactOutput", readonly [`0x${string}`, params: {
|
|
29508
|
+
exactCurrency: `0x${string}`;
|
|
29509
|
+
path: readonly {
|
|
29510
|
+
intermediateCurrency: `0x${string}`;
|
|
29511
|
+
fee: number;
|
|
29512
|
+
tickSpacing: number;
|
|
29513
|
+
hooks: `0x${string}`;
|
|
29514
|
+
hookData: `0x${string}`;
|
|
29515
|
+
}[];
|
|
29516
|
+
exactAmount: bigint;
|
|
29517
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
29518
|
+
quoteExactOutputSingle: (args: readonly [`0x${string}`, params: {
|
|
29487
29519
|
poolKey: {
|
|
29488
29520
|
currency0: `0x${string}`;
|
|
29489
29521
|
currency1: `0x${string}`;
|
|
@@ -29494,17 +29526,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
29494
29526
|
zeroForOne: boolean;
|
|
29495
29527
|
exactAmount: bigint;
|
|
29496
29528
|
hookData: `0x${string}`;
|
|
29497
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
29498
|
-
quoteExactOutput: (args: readonly [`0x${string}`, params: {
|
|
29499
|
-
exactCurrency: `0x${string}`;
|
|
29500
|
-
path: readonly {
|
|
29501
|
-
intermediateCurrency: `0x${string}`;
|
|
29502
|
-
fee: number;
|
|
29503
|
-
tickSpacing: number;
|
|
29504
|
-
hooks: `0x${string}`;
|
|
29505
|
-
hookData: `0x${string}`;
|
|
29506
|
-
}[];
|
|
29507
|
-
exactAmount: bigint;
|
|
29508
29529
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
29509
29530
|
readonly type: "function";
|
|
29510
29531
|
readonly name: "_quoteExactInput";
|
|
@@ -29997,18 +30018,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
29997
30018
|
readonly type: "bytes";
|
|
29998
30019
|
readonly internalType: "bytes";
|
|
29999
30020
|
}];
|
|
30000
|
-
}], "
|
|
30001
|
-
exactCurrency: `0x${string}`;
|
|
30002
|
-
path: readonly {
|
|
30003
|
-
intermediateCurrency: `0x${string}`;
|
|
30004
|
-
fee: number;
|
|
30005
|
-
tickSpacing: number;
|
|
30006
|
-
hooks: `0x${string}`;
|
|
30007
|
-
hookData: `0x${string}`;
|
|
30008
|
-
}[];
|
|
30009
|
-
exactAmount: bigint;
|
|
30010
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
30011
|
-
quoteExactOutputSingle: (args: readonly [`0x${string}`, params: {
|
|
30021
|
+
}], "quoteExactOutputSingle", readonly [`0x${string}`, params: {
|
|
30012
30022
|
poolKey: {
|
|
30013
30023
|
currency0: `0x${string}`;
|
|
30014
30024
|
currency1: `0x${string}`;
|
|
@@ -30019,7 +30029,8 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
30019
30029
|
zeroForOne: boolean;
|
|
30020
30030
|
exactAmount: bigint;
|
|
30021
30031
|
hookData: `0x${string}`;
|
|
30022
|
-
}],
|
|
30032
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
30033
|
+
unlockCallback: (args: readonly [data: `0x${string}`], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
30023
30034
|
readonly type: "function";
|
|
30024
30035
|
readonly name: "_quoteExactInput";
|
|
30025
30036
|
readonly inputs: readonly [{
|
|
@@ -30511,20 +30522,19 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
30511
30522
|
readonly type: "bytes";
|
|
30512
30523
|
readonly internalType: "bytes";
|
|
30513
30524
|
}];
|
|
30514
|
-
}], "
|
|
30515
|
-
|
|
30516
|
-
|
|
30517
|
-
|
|
30525
|
+
}], "unlockCallback", readonly [data: `0x${string}`], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
30526
|
+
} & {
|
|
30527
|
+
_quoteExactInput: (args: readonly [params: {
|
|
30528
|
+
exactCurrency: `0x${string}`;
|
|
30529
|
+
path: readonly {
|
|
30530
|
+
intermediateCurrency: `0x${string}`;
|
|
30518
30531
|
fee: number;
|
|
30519
30532
|
tickSpacing: number;
|
|
30520
30533
|
hooks: `0x${string}`;
|
|
30521
|
-
|
|
30522
|
-
|
|
30534
|
+
hookData: `0x${string}`;
|
|
30535
|
+
}[];
|
|
30523
30536
|
exactAmount: bigint;
|
|
30524
|
-
|
|
30525
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
30526
|
-
} & {
|
|
30527
|
-
unlockCallback: (args: readonly [data: `0x${string}`], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
30537
|
+
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
30528
30538
|
readonly type: "function";
|
|
30529
30539
|
readonly name: "_quoteExactInput";
|
|
30530
30540
|
readonly inputs: readonly [{
|
|
@@ -31016,8 +31026,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
31016
31026
|
readonly type: "bytes";
|
|
31017
31027
|
readonly internalType: "bytes";
|
|
31018
31028
|
}];
|
|
31019
|
-
}], "
|
|
31020
|
-
_quoteExactInput: (args: readonly [params: {
|
|
31029
|
+
}], "_quoteExactInput", readonly [params: {
|
|
31021
31030
|
exactCurrency: `0x${string}`;
|
|
31022
31031
|
path: readonly {
|
|
31023
31032
|
intermediateCurrency: `0x${string}`;
|
|
@@ -31027,6 +31036,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
31027
31036
|
hookData: `0x${string}`;
|
|
31028
31037
|
}[];
|
|
31029
31038
|
exactAmount: bigint;
|
|
31039
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
31040
|
+
_quoteExactInputSingle: (args: readonly [params: {
|
|
31041
|
+
poolKey: {
|
|
31042
|
+
currency0: `0x${string}`;
|
|
31043
|
+
currency1: `0x${string}`;
|
|
31044
|
+
fee: number;
|
|
31045
|
+
tickSpacing: number;
|
|
31046
|
+
hooks: `0x${string}`;
|
|
31047
|
+
};
|
|
31048
|
+
zeroForOne: boolean;
|
|
31049
|
+
exactAmount: bigint;
|
|
31050
|
+
hookData: `0x${string}`;
|
|
31030
31051
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
31031
31052
|
readonly type: "function";
|
|
31032
31053
|
readonly name: "_quoteExactInput";
|
|
@@ -31519,18 +31540,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
31519
31540
|
readonly type: "bytes";
|
|
31520
31541
|
readonly internalType: "bytes";
|
|
31521
31542
|
}];
|
|
31522
|
-
}], "
|
|
31523
|
-
exactCurrency: `0x${string}`;
|
|
31524
|
-
path: readonly {
|
|
31525
|
-
intermediateCurrency: `0x${string}`;
|
|
31526
|
-
fee: number;
|
|
31527
|
-
tickSpacing: number;
|
|
31528
|
-
hooks: `0x${string}`;
|
|
31529
|
-
hookData: `0x${string}`;
|
|
31530
|
-
}[];
|
|
31531
|
-
exactAmount: bigint;
|
|
31532
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
31533
|
-
_quoteExactInputSingle: (args: readonly [params: {
|
|
31543
|
+
}], "_quoteExactInputSingle", readonly [params: {
|
|
31534
31544
|
poolKey: {
|
|
31535
31545
|
currency0: `0x${string}`;
|
|
31536
31546
|
currency1: `0x${string}`;
|
|
@@ -31541,6 +31551,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
31541
31551
|
zeroForOne: boolean;
|
|
31542
31552
|
exactAmount: bigint;
|
|
31543
31553
|
hookData: `0x${string}`;
|
|
31554
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
31555
|
+
_quoteExactOutput: (args: readonly [params: {
|
|
31556
|
+
exactCurrency: `0x${string}`;
|
|
31557
|
+
path: readonly {
|
|
31558
|
+
intermediateCurrency: `0x${string}`;
|
|
31559
|
+
fee: number;
|
|
31560
|
+
tickSpacing: number;
|
|
31561
|
+
hooks: `0x${string}`;
|
|
31562
|
+
hookData: `0x${string}`;
|
|
31563
|
+
}[];
|
|
31564
|
+
exactAmount: bigint;
|
|
31544
31565
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
31545
31566
|
readonly type: "function";
|
|
31546
31567
|
readonly name: "_quoteExactInput";
|
|
@@ -32033,7 +32054,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
32033
32054
|
readonly type: "bytes";
|
|
32034
32055
|
readonly internalType: "bytes";
|
|
32035
32056
|
}];
|
|
32036
|
-
}], "
|
|
32057
|
+
}], "_quoteExactOutput", readonly [params: {
|
|
32058
|
+
exactCurrency: `0x${string}`;
|
|
32059
|
+
path: readonly {
|
|
32060
|
+
intermediateCurrency: `0x${string}`;
|
|
32061
|
+
fee: number;
|
|
32062
|
+
tickSpacing: number;
|
|
32063
|
+
hooks: `0x${string}`;
|
|
32064
|
+
hookData: `0x${string}`;
|
|
32065
|
+
}[];
|
|
32066
|
+
exactAmount: bigint;
|
|
32067
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
32068
|
+
_quoteExactOutputSingle: (args: readonly [params: {
|
|
32037
32069
|
poolKey: {
|
|
32038
32070
|
currency0: `0x${string}`;
|
|
32039
32071
|
currency1: `0x${string}`;
|
|
@@ -32044,17 +32076,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
32044
32076
|
zeroForOne: boolean;
|
|
32045
32077
|
exactAmount: bigint;
|
|
32046
32078
|
hookData: `0x${string}`;
|
|
32047
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
32048
|
-
_quoteExactOutput: (args: readonly [params: {
|
|
32049
|
-
exactCurrency: `0x${string}`;
|
|
32050
|
-
path: readonly {
|
|
32051
|
-
intermediateCurrency: `0x${string}`;
|
|
32052
|
-
fee: number;
|
|
32053
|
-
tickSpacing: number;
|
|
32054
|
-
hooks: `0x${string}`;
|
|
32055
|
-
hookData: `0x${string}`;
|
|
32056
|
-
}[];
|
|
32057
|
-
exactAmount: bigint;
|
|
32058
32079
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
32059
32080
|
readonly type: "function";
|
|
32060
32081
|
readonly name: "_quoteExactInput";
|
|
@@ -32547,18 +32568,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
32547
32568
|
readonly type: "bytes";
|
|
32548
32569
|
readonly internalType: "bytes";
|
|
32549
32570
|
}];
|
|
32550
|
-
}], "
|
|
32551
|
-
exactCurrency: `0x${string}`;
|
|
32552
|
-
path: readonly {
|
|
32553
|
-
intermediateCurrency: `0x${string}`;
|
|
32554
|
-
fee: number;
|
|
32555
|
-
tickSpacing: number;
|
|
32556
|
-
hooks: `0x${string}`;
|
|
32557
|
-
hookData: `0x${string}`;
|
|
32558
|
-
}[];
|
|
32559
|
-
exactAmount: bigint;
|
|
32560
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
32561
|
-
_quoteExactOutputSingle: (args: readonly [params: {
|
|
32571
|
+
}], "_quoteExactOutputSingle", readonly [params: {
|
|
32562
32572
|
poolKey: {
|
|
32563
32573
|
currency0: `0x${string}`;
|
|
32564
32574
|
currency1: `0x${string}`;
|
|
@@ -32569,6 +32579,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
32569
32579
|
zeroForOne: boolean;
|
|
32570
32580
|
exactAmount: bigint;
|
|
32571
32581
|
hookData: `0x${string}`;
|
|
32582
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
32583
|
+
quoteExactInput: (args: readonly [`0x${string}`, params: {
|
|
32584
|
+
exactCurrency: `0x${string}`;
|
|
32585
|
+
path: readonly {
|
|
32586
|
+
intermediateCurrency: `0x${string}`;
|
|
32587
|
+
fee: number;
|
|
32588
|
+
tickSpacing: number;
|
|
32589
|
+
hooks: `0x${string}`;
|
|
32590
|
+
hookData: `0x${string}`;
|
|
32591
|
+
}[];
|
|
32592
|
+
exactAmount: bigint;
|
|
32572
32593
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
32573
32594
|
readonly type: "function";
|
|
32574
32595
|
readonly name: "_quoteExactInput";
|
|
@@ -33061,7 +33082,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
33061
33082
|
readonly type: "bytes";
|
|
33062
33083
|
readonly internalType: "bytes";
|
|
33063
33084
|
}];
|
|
33064
|
-
}], "
|
|
33085
|
+
}], "quoteExactInput", readonly [`0x${string}`, params: {
|
|
33086
|
+
exactCurrency: `0x${string}`;
|
|
33087
|
+
path: readonly {
|
|
33088
|
+
intermediateCurrency: `0x${string}`;
|
|
33089
|
+
fee: number;
|
|
33090
|
+
tickSpacing: number;
|
|
33091
|
+
hooks: `0x${string}`;
|
|
33092
|
+
hookData: `0x${string}`;
|
|
33093
|
+
}[];
|
|
33094
|
+
exactAmount: bigint;
|
|
33095
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
33096
|
+
quoteExactInputSingle: (args: readonly [`0x${string}`, params: {
|
|
33065
33097
|
poolKey: {
|
|
33066
33098
|
currency0: `0x${string}`;
|
|
33067
33099
|
currency1: `0x${string}`;
|
|
@@ -33072,17 +33104,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
33072
33104
|
zeroForOne: boolean;
|
|
33073
33105
|
exactAmount: bigint;
|
|
33074
33106
|
hookData: `0x${string}`;
|
|
33075
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
33076
|
-
quoteExactInput: (args: readonly [`0x${string}`, params: {
|
|
33077
|
-
exactCurrency: `0x${string}`;
|
|
33078
|
-
path: readonly {
|
|
33079
|
-
intermediateCurrency: `0x${string}`;
|
|
33080
|
-
fee: number;
|
|
33081
|
-
tickSpacing: number;
|
|
33082
|
-
hooks: `0x${string}`;
|
|
33083
|
-
hookData: `0x${string}`;
|
|
33084
|
-
}[];
|
|
33085
|
-
exactAmount: bigint;
|
|
33086
33107
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
33087
33108
|
readonly type: "function";
|
|
33088
33109
|
readonly name: "_quoteExactInput";
|
|
@@ -33575,18 +33596,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
33575
33596
|
readonly type: "bytes";
|
|
33576
33597
|
readonly internalType: "bytes";
|
|
33577
33598
|
}];
|
|
33578
|
-
}], "
|
|
33579
|
-
exactCurrency: `0x${string}`;
|
|
33580
|
-
path: readonly {
|
|
33581
|
-
intermediateCurrency: `0x${string}`;
|
|
33582
|
-
fee: number;
|
|
33583
|
-
tickSpacing: number;
|
|
33584
|
-
hooks: `0x${string}`;
|
|
33585
|
-
hookData: `0x${string}`;
|
|
33586
|
-
}[];
|
|
33587
|
-
exactAmount: bigint;
|
|
33588
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
33589
|
-
quoteExactInputSingle: (args: readonly [`0x${string}`, params: {
|
|
33599
|
+
}], "quoteExactInputSingle", readonly [`0x${string}`, params: {
|
|
33590
33600
|
poolKey: {
|
|
33591
33601
|
currency0: `0x${string}`;
|
|
33592
33602
|
currency1: `0x${string}`;
|
|
@@ -33597,6 +33607,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
33597
33607
|
zeroForOne: boolean;
|
|
33598
33608
|
exactAmount: bigint;
|
|
33599
33609
|
hookData: `0x${string}`;
|
|
33610
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
33611
|
+
quoteExactOutput: (args: readonly [`0x${string}`, params: {
|
|
33612
|
+
exactCurrency: `0x${string}`;
|
|
33613
|
+
path: readonly {
|
|
33614
|
+
intermediateCurrency: `0x${string}`;
|
|
33615
|
+
fee: number;
|
|
33616
|
+
tickSpacing: number;
|
|
33617
|
+
hooks: `0x${string}`;
|
|
33618
|
+
hookData: `0x${string}`;
|
|
33619
|
+
}[];
|
|
33620
|
+
exactAmount: bigint;
|
|
33600
33621
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
33601
33622
|
readonly type: "function";
|
|
33602
33623
|
readonly name: "_quoteExactInput";
|
|
@@ -34089,7 +34110,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
34089
34110
|
readonly type: "bytes";
|
|
34090
34111
|
readonly internalType: "bytes";
|
|
34091
34112
|
}];
|
|
34092
|
-
}], "
|
|
34113
|
+
}], "quoteExactOutput", readonly [`0x${string}`, params: {
|
|
34114
|
+
exactCurrency: `0x${string}`;
|
|
34115
|
+
path: readonly {
|
|
34116
|
+
intermediateCurrency: `0x${string}`;
|
|
34117
|
+
fee: number;
|
|
34118
|
+
tickSpacing: number;
|
|
34119
|
+
hooks: `0x${string}`;
|
|
34120
|
+
hookData: `0x${string}`;
|
|
34121
|
+
}[];
|
|
34122
|
+
exactAmount: bigint;
|
|
34123
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
34124
|
+
quoteExactOutputSingle: (args: readonly [`0x${string}`, params: {
|
|
34093
34125
|
poolKey: {
|
|
34094
34126
|
currency0: `0x${string}`;
|
|
34095
34127
|
currency1: `0x${string}`;
|
|
@@ -34100,17 +34132,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
34100
34132
|
zeroForOne: boolean;
|
|
34101
34133
|
exactAmount: bigint;
|
|
34102
34134
|
hookData: `0x${string}`;
|
|
34103
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
34104
|
-
quoteExactOutput: (args: readonly [`0x${string}`, params: {
|
|
34105
|
-
exactCurrency: `0x${string}`;
|
|
34106
|
-
path: readonly {
|
|
34107
|
-
intermediateCurrency: `0x${string}`;
|
|
34108
|
-
fee: number;
|
|
34109
|
-
tickSpacing: number;
|
|
34110
|
-
hooks: `0x${string}`;
|
|
34111
|
-
hookData: `0x${string}`;
|
|
34112
|
-
}[];
|
|
34113
|
-
exactAmount: bigint;
|
|
34114
34135
|
}], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
34115
34136
|
readonly type: "function";
|
|
34116
34137
|
readonly name: "_quoteExactInput";
|
|
@@ -34603,18 +34624,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
34603
34624
|
readonly type: "bytes";
|
|
34604
34625
|
readonly internalType: "bytes";
|
|
34605
34626
|
}];
|
|
34606
|
-
}], "
|
|
34607
|
-
exactCurrency: `0x${string}`;
|
|
34608
|
-
path: readonly {
|
|
34609
|
-
intermediateCurrency: `0x${string}`;
|
|
34610
|
-
fee: number;
|
|
34611
|
-
tickSpacing: number;
|
|
34612
|
-
hooks: `0x${string}`;
|
|
34613
|
-
hookData: `0x${string}`;
|
|
34614
|
-
}[];
|
|
34615
|
-
exactAmount: bigint;
|
|
34616
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
34617
|
-
quoteExactOutputSingle: (args: readonly [`0x${string}`, params: {
|
|
34627
|
+
}], "quoteExactOutputSingle", readonly [`0x${string}`, params: {
|
|
34618
34628
|
poolKey: {
|
|
34619
34629
|
currency0: `0x${string}`;
|
|
34620
34630
|
currency1: `0x${string}`;
|
|
@@ -34625,7 +34635,8 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
34625
34635
|
zeroForOne: boolean;
|
|
34626
34636
|
exactAmount: bigint;
|
|
34627
34637
|
hookData: `0x${string}`;
|
|
34628
|
-
}],
|
|
34638
|
+
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
34639
|
+
unlockCallback: (args: readonly [data: `0x${string}`], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
34629
34640
|
readonly type: "function";
|
|
34630
34641
|
readonly name: "_quoteExactInput";
|
|
34631
34642
|
readonly inputs: readonly [{
|
|
@@ -35117,21 +35128,20 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
35117
35128
|
readonly type: "bytes";
|
|
35118
35129
|
readonly internalType: "bytes";
|
|
35119
35130
|
}];
|
|
35120
|
-
}], "
|
|
35121
|
-
|
|
35122
|
-
|
|
35123
|
-
|
|
35131
|
+
}], "unlockCallback", readonly [data: `0x${string}`], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
35132
|
+
};
|
|
35133
|
+
simulate: {
|
|
35134
|
+
_quoteExactInput: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [params: {
|
|
35135
|
+
exactCurrency: `0x${string}`;
|
|
35136
|
+
path: readonly {
|
|
35137
|
+
intermediateCurrency: `0x${string}`;
|
|
35124
35138
|
fee: number;
|
|
35125
35139
|
tickSpacing: number;
|
|
35126
35140
|
hooks: `0x${string}`;
|
|
35127
|
-
|
|
35128
|
-
|
|
35141
|
+
hookData: `0x${string}`;
|
|
35142
|
+
}[];
|
|
35129
35143
|
exactAmount: bigint;
|
|
35130
|
-
|
|
35131
|
-
}], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
35132
|
-
};
|
|
35133
|
-
simulate: {
|
|
35134
|
-
unlockCallback: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [data: `0x${string}`], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
35144
|
+
}], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
35135
35145
|
readonly type: "function";
|
|
35136
35146
|
readonly name: "_quoteExactInput";
|
|
35137
35147
|
readonly inputs: readonly [{
|
|
@@ -35623,7 +35633,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
35623
35633
|
readonly type: "bytes";
|
|
35624
35634
|
readonly internalType: "bytes";
|
|
35625
35635
|
}];
|
|
35626
|
-
}], "
|
|
35636
|
+
}], "_quoteExactInput", readonly [params: {
|
|
35637
|
+
exactCurrency: `0x${string}`;
|
|
35638
|
+
path: readonly {
|
|
35639
|
+
intermediateCurrency: `0x${string}`;
|
|
35640
|
+
fee: number;
|
|
35641
|
+
tickSpacing: number;
|
|
35642
|
+
hooks: `0x${string}`;
|
|
35643
|
+
hookData: `0x${string}`;
|
|
35644
|
+
}[];
|
|
35645
|
+
exactAmount: bigint;
|
|
35646
|
+
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
35627
35647
|
readonly type: "function";
|
|
35628
35648
|
readonly name: "_quoteExactInput";
|
|
35629
35649
|
readonly inputs: readonly [{
|
|
@@ -36115,8 +36135,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
36115
36135
|
readonly type: "bytes";
|
|
36116
36136
|
readonly internalType: "bytes";
|
|
36117
36137
|
}];
|
|
36118
|
-
}], "
|
|
36119
|
-
_quoteExactInput: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [params: {
|
|
36138
|
+
}], "_quoteExactInput", readonly [params: {
|
|
36120
36139
|
exactCurrency: `0x${string}`;
|
|
36121
36140
|
path: readonly {
|
|
36122
36141
|
intermediateCurrency: `0x${string}`;
|
|
@@ -36126,6 +36145,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
36126
36145
|
hookData: `0x${string}`;
|
|
36127
36146
|
}[];
|
|
36128
36147
|
exactAmount: bigint;
|
|
36148
|
+
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
36149
|
+
_quoteExactInputSingle: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [params: {
|
|
36150
|
+
poolKey: {
|
|
36151
|
+
currency0: `0x${string}`;
|
|
36152
|
+
currency1: `0x${string}`;
|
|
36153
|
+
fee: number;
|
|
36154
|
+
tickSpacing: number;
|
|
36155
|
+
hooks: `0x${string}`;
|
|
36156
|
+
};
|
|
36157
|
+
zeroForOne: boolean;
|
|
36158
|
+
exactAmount: bigint;
|
|
36159
|
+
hookData: `0x${string}`;
|
|
36129
36160
|
}], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
36130
36161
|
readonly type: "function";
|
|
36131
36162
|
readonly name: "_quoteExactInput";
|
|
@@ -36618,16 +36649,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
36618
36649
|
readonly type: "bytes";
|
|
36619
36650
|
readonly internalType: "bytes";
|
|
36620
36651
|
}];
|
|
36621
|
-
}], "
|
|
36622
|
-
|
|
36623
|
-
|
|
36624
|
-
|
|
36652
|
+
}], "_quoteExactInputSingle", readonly [params: {
|
|
36653
|
+
poolKey: {
|
|
36654
|
+
currency0: `0x${string}`;
|
|
36655
|
+
currency1: `0x${string}`;
|
|
36625
36656
|
fee: number;
|
|
36626
36657
|
tickSpacing: number;
|
|
36627
36658
|
hooks: `0x${string}`;
|
|
36628
|
-
|
|
36629
|
-
|
|
36659
|
+
};
|
|
36660
|
+
zeroForOne: boolean;
|
|
36630
36661
|
exactAmount: bigint;
|
|
36662
|
+
hookData: `0x${string}`;
|
|
36631
36663
|
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
36632
36664
|
readonly type: "function";
|
|
36633
36665
|
readonly name: "_quoteExactInput";
|
|
@@ -37120,18 +37152,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
37120
37152
|
readonly type: "bytes";
|
|
37121
37153
|
readonly internalType: "bytes";
|
|
37122
37154
|
}];
|
|
37123
|
-
}], "
|
|
37124
|
-
exactCurrency: `0x${string}`;
|
|
37125
|
-
path: readonly {
|
|
37126
|
-
intermediateCurrency: `0x${string}`;
|
|
37127
|
-
fee: number;
|
|
37128
|
-
tickSpacing: number;
|
|
37129
|
-
hooks: `0x${string}`;
|
|
37130
|
-
hookData: `0x${string}`;
|
|
37131
|
-
}[];
|
|
37132
|
-
exactAmount: bigint;
|
|
37133
|
-
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
37134
|
-
_quoteExactInputSingle: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [params: {
|
|
37155
|
+
}], "_quoteExactInputSingle", readonly [params: {
|
|
37135
37156
|
poolKey: {
|
|
37136
37157
|
currency0: `0x${string}`;
|
|
37137
37158
|
currency1: `0x${string}`;
|
|
@@ -37142,6 +37163,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
37142
37163
|
zeroForOne: boolean;
|
|
37143
37164
|
exactAmount: bigint;
|
|
37144
37165
|
hookData: `0x${string}`;
|
|
37166
|
+
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
37167
|
+
_quoteExactOutput: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [params: {
|
|
37168
|
+
exactCurrency: `0x${string}`;
|
|
37169
|
+
path: readonly {
|
|
37170
|
+
intermediateCurrency: `0x${string}`;
|
|
37171
|
+
fee: number;
|
|
37172
|
+
tickSpacing: number;
|
|
37173
|
+
hooks: `0x${string}`;
|
|
37174
|
+
hookData: `0x${string}`;
|
|
37175
|
+
}[];
|
|
37176
|
+
exactAmount: bigint;
|
|
37145
37177
|
}], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
37146
37178
|
readonly type: "function";
|
|
37147
37179
|
readonly name: "_quoteExactInput";
|
|
@@ -37634,17 +37666,16 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
37634
37666
|
readonly type: "bytes";
|
|
37635
37667
|
readonly internalType: "bytes";
|
|
37636
37668
|
}];
|
|
37637
|
-
}], "
|
|
37638
|
-
|
|
37639
|
-
|
|
37640
|
-
|
|
37669
|
+
}], "_quoteExactOutput", readonly [params: {
|
|
37670
|
+
exactCurrency: `0x${string}`;
|
|
37671
|
+
path: readonly {
|
|
37672
|
+
intermediateCurrency: `0x${string}`;
|
|
37641
37673
|
fee: number;
|
|
37642
37674
|
tickSpacing: number;
|
|
37643
37675
|
hooks: `0x${string}`;
|
|
37644
|
-
|
|
37645
|
-
|
|
37676
|
+
hookData: `0x${string}`;
|
|
37677
|
+
}[];
|
|
37646
37678
|
exactAmount: bigint;
|
|
37647
|
-
hookData: `0x${string}`;
|
|
37648
37679
|
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
37649
37680
|
readonly type: "function";
|
|
37650
37681
|
readonly name: "_quoteExactInput";
|
|
@@ -38137,7 +38168,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
38137
38168
|
readonly type: "bytes";
|
|
38138
38169
|
readonly internalType: "bytes";
|
|
38139
38170
|
}];
|
|
38140
|
-
}], "
|
|
38171
|
+
}], "_quoteExactOutput", readonly [params: {
|
|
38172
|
+
exactCurrency: `0x${string}`;
|
|
38173
|
+
path: readonly {
|
|
38174
|
+
intermediateCurrency: `0x${string}`;
|
|
38175
|
+
fee: number;
|
|
38176
|
+
tickSpacing: number;
|
|
38177
|
+
hooks: `0x${string}`;
|
|
38178
|
+
hookData: `0x${string}`;
|
|
38179
|
+
}[];
|
|
38180
|
+
exactAmount: bigint;
|
|
38181
|
+
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
38182
|
+
_quoteExactOutputSingle: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [params: {
|
|
38141
38183
|
poolKey: {
|
|
38142
38184
|
currency0: `0x${string}`;
|
|
38143
38185
|
currency1: `0x${string}`;
|
|
@@ -38148,17 +38190,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
38148
38190
|
zeroForOne: boolean;
|
|
38149
38191
|
exactAmount: bigint;
|
|
38150
38192
|
hookData: `0x${string}`;
|
|
38151
|
-
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
38152
|
-
_quoteExactOutput: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [params: {
|
|
38153
|
-
exactCurrency: `0x${string}`;
|
|
38154
|
-
path: readonly {
|
|
38155
|
-
intermediateCurrency: `0x${string}`;
|
|
38156
|
-
fee: number;
|
|
38157
|
-
tickSpacing: number;
|
|
38158
|
-
hooks: `0x${string}`;
|
|
38159
|
-
hookData: `0x${string}`;
|
|
38160
|
-
}[];
|
|
38161
|
-
exactAmount: bigint;
|
|
38162
38193
|
}], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
38163
38194
|
readonly type: "function";
|
|
38164
38195
|
readonly name: "_quoteExactInput";
|
|
@@ -38651,16 +38682,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
38651
38682
|
readonly type: "bytes";
|
|
38652
38683
|
readonly internalType: "bytes";
|
|
38653
38684
|
}];
|
|
38654
|
-
}], "
|
|
38655
|
-
|
|
38656
|
-
|
|
38657
|
-
|
|
38685
|
+
}], "_quoteExactOutputSingle", readonly [params: {
|
|
38686
|
+
poolKey: {
|
|
38687
|
+
currency0: `0x${string}`;
|
|
38688
|
+
currency1: `0x${string}`;
|
|
38658
38689
|
fee: number;
|
|
38659
38690
|
tickSpacing: number;
|
|
38660
38691
|
hooks: `0x${string}`;
|
|
38661
|
-
|
|
38662
|
-
|
|
38692
|
+
};
|
|
38693
|
+
zeroForOne: boolean;
|
|
38663
38694
|
exactAmount: bigint;
|
|
38695
|
+
hookData: `0x${string}`;
|
|
38664
38696
|
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
38665
38697
|
readonly type: "function";
|
|
38666
38698
|
readonly name: "_quoteExactInput";
|
|
@@ -39153,18 +39185,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
39153
39185
|
readonly type: "bytes";
|
|
39154
39186
|
readonly internalType: "bytes";
|
|
39155
39187
|
}];
|
|
39156
|
-
}], "
|
|
39157
|
-
exactCurrency: `0x${string}`;
|
|
39158
|
-
path: readonly {
|
|
39159
|
-
intermediateCurrency: `0x${string}`;
|
|
39160
|
-
fee: number;
|
|
39161
|
-
tickSpacing: number;
|
|
39162
|
-
hooks: `0x${string}`;
|
|
39163
|
-
hookData: `0x${string}`;
|
|
39164
|
-
}[];
|
|
39165
|
-
exactAmount: bigint;
|
|
39166
|
-
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
39167
|
-
_quoteExactOutputSingle: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [params: {
|
|
39188
|
+
}], "_quoteExactOutputSingle", readonly [params: {
|
|
39168
39189
|
poolKey: {
|
|
39169
39190
|
currency0: `0x${string}`;
|
|
39170
39191
|
currency1: `0x${string}`;
|
|
@@ -39175,6 +39196,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
39175
39196
|
zeroForOne: boolean;
|
|
39176
39197
|
exactAmount: bigint;
|
|
39177
39198
|
hookData: `0x${string}`;
|
|
39199
|
+
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
39200
|
+
quoteExactInput: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, params: {
|
|
39201
|
+
exactCurrency: `0x${string}`;
|
|
39202
|
+
path: readonly {
|
|
39203
|
+
intermediateCurrency: `0x${string}`;
|
|
39204
|
+
fee: number;
|
|
39205
|
+
tickSpacing: number;
|
|
39206
|
+
hooks: `0x${string}`;
|
|
39207
|
+
hookData: `0x${string}`;
|
|
39208
|
+
}[];
|
|
39209
|
+
exactAmount: bigint;
|
|
39178
39210
|
}], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
39179
39211
|
readonly type: "function";
|
|
39180
39212
|
readonly name: "_quoteExactInput";
|
|
@@ -39667,17 +39699,16 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
39667
39699
|
readonly type: "bytes";
|
|
39668
39700
|
readonly internalType: "bytes";
|
|
39669
39701
|
}];
|
|
39670
|
-
}], "
|
|
39671
|
-
|
|
39672
|
-
|
|
39673
|
-
|
|
39702
|
+
}], "quoteExactInput", readonly [`0x${string}`, params: {
|
|
39703
|
+
exactCurrency: `0x${string}`;
|
|
39704
|
+
path: readonly {
|
|
39705
|
+
intermediateCurrency: `0x${string}`;
|
|
39674
39706
|
fee: number;
|
|
39675
39707
|
tickSpacing: number;
|
|
39676
39708
|
hooks: `0x${string}`;
|
|
39677
|
-
|
|
39678
|
-
|
|
39709
|
+
hookData: `0x${string}`;
|
|
39710
|
+
}[];
|
|
39679
39711
|
exactAmount: bigint;
|
|
39680
|
-
hookData: `0x${string}`;
|
|
39681
39712
|
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
39682
39713
|
readonly type: "function";
|
|
39683
39714
|
readonly name: "_quoteExactInput";
|
|
@@ -40170,7 +40201,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
40170
40201
|
readonly type: "bytes";
|
|
40171
40202
|
readonly internalType: "bytes";
|
|
40172
40203
|
}];
|
|
40173
|
-
}], "
|
|
40204
|
+
}], "quoteExactInput", readonly [`0x${string}`, params: {
|
|
40205
|
+
exactCurrency: `0x${string}`;
|
|
40206
|
+
path: readonly {
|
|
40207
|
+
intermediateCurrency: `0x${string}`;
|
|
40208
|
+
fee: number;
|
|
40209
|
+
tickSpacing: number;
|
|
40210
|
+
hooks: `0x${string}`;
|
|
40211
|
+
hookData: `0x${string}`;
|
|
40212
|
+
}[];
|
|
40213
|
+
exactAmount: bigint;
|
|
40214
|
+
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
40215
|
+
quoteExactInputSingle: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, params: {
|
|
40174
40216
|
poolKey: {
|
|
40175
40217
|
currency0: `0x${string}`;
|
|
40176
40218
|
currency1: `0x${string}`;
|
|
@@ -40181,17 +40223,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
40181
40223
|
zeroForOne: boolean;
|
|
40182
40224
|
exactAmount: bigint;
|
|
40183
40225
|
hookData: `0x${string}`;
|
|
40184
|
-
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
40185
|
-
quoteExactInput: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, params: {
|
|
40186
|
-
exactCurrency: `0x${string}`;
|
|
40187
|
-
path: readonly {
|
|
40188
|
-
intermediateCurrency: `0x${string}`;
|
|
40189
|
-
fee: number;
|
|
40190
|
-
tickSpacing: number;
|
|
40191
|
-
hooks: `0x${string}`;
|
|
40192
|
-
hookData: `0x${string}`;
|
|
40193
|
-
}[];
|
|
40194
|
-
exactAmount: bigint;
|
|
40195
40226
|
}], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
40196
40227
|
readonly type: "function";
|
|
40197
40228
|
readonly name: "_quoteExactInput";
|
|
@@ -40684,16 +40715,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
40684
40715
|
readonly type: "bytes";
|
|
40685
40716
|
readonly internalType: "bytes";
|
|
40686
40717
|
}];
|
|
40687
|
-
}], "
|
|
40688
|
-
|
|
40689
|
-
|
|
40690
|
-
|
|
40718
|
+
}], "quoteExactInputSingle", readonly [`0x${string}`, params: {
|
|
40719
|
+
poolKey: {
|
|
40720
|
+
currency0: `0x${string}`;
|
|
40721
|
+
currency1: `0x${string}`;
|
|
40691
40722
|
fee: number;
|
|
40692
40723
|
tickSpacing: number;
|
|
40693
40724
|
hooks: `0x${string}`;
|
|
40694
|
-
|
|
40695
|
-
|
|
40725
|
+
};
|
|
40726
|
+
zeroForOne: boolean;
|
|
40696
40727
|
exactAmount: bigint;
|
|
40728
|
+
hookData: `0x${string}`;
|
|
40697
40729
|
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
40698
40730
|
readonly type: "function";
|
|
40699
40731
|
readonly name: "_quoteExactInput";
|
|
@@ -41186,18 +41218,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
41186
41218
|
readonly type: "bytes";
|
|
41187
41219
|
readonly internalType: "bytes";
|
|
41188
41220
|
}];
|
|
41189
|
-
}], "
|
|
41190
|
-
exactCurrency: `0x${string}`;
|
|
41191
|
-
path: readonly {
|
|
41192
|
-
intermediateCurrency: `0x${string}`;
|
|
41193
|
-
fee: number;
|
|
41194
|
-
tickSpacing: number;
|
|
41195
|
-
hooks: `0x${string}`;
|
|
41196
|
-
hookData: `0x${string}`;
|
|
41197
|
-
}[];
|
|
41198
|
-
exactAmount: bigint;
|
|
41199
|
-
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
41200
|
-
quoteExactInputSingle: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, params: {
|
|
41221
|
+
}], "quoteExactInputSingle", readonly [`0x${string}`, params: {
|
|
41201
41222
|
poolKey: {
|
|
41202
41223
|
currency0: `0x${string}`;
|
|
41203
41224
|
currency1: `0x${string}`;
|
|
@@ -41208,6 +41229,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
41208
41229
|
zeroForOne: boolean;
|
|
41209
41230
|
exactAmount: bigint;
|
|
41210
41231
|
hookData: `0x${string}`;
|
|
41232
|
+
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
41233
|
+
quoteExactOutput: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, params: {
|
|
41234
|
+
exactCurrency: `0x${string}`;
|
|
41235
|
+
path: readonly {
|
|
41236
|
+
intermediateCurrency: `0x${string}`;
|
|
41237
|
+
fee: number;
|
|
41238
|
+
tickSpacing: number;
|
|
41239
|
+
hooks: `0x${string}`;
|
|
41240
|
+
hookData: `0x${string}`;
|
|
41241
|
+
}[];
|
|
41242
|
+
exactAmount: bigint;
|
|
41211
41243
|
}], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
41212
41244
|
readonly type: "function";
|
|
41213
41245
|
readonly name: "_quoteExactInput";
|
|
@@ -41700,17 +41732,16 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
41700
41732
|
readonly type: "bytes";
|
|
41701
41733
|
readonly internalType: "bytes";
|
|
41702
41734
|
}];
|
|
41703
|
-
}], "
|
|
41704
|
-
|
|
41705
|
-
|
|
41706
|
-
|
|
41735
|
+
}], "quoteExactOutput", readonly [`0x${string}`, params: {
|
|
41736
|
+
exactCurrency: `0x${string}`;
|
|
41737
|
+
path: readonly {
|
|
41738
|
+
intermediateCurrency: `0x${string}`;
|
|
41707
41739
|
fee: number;
|
|
41708
41740
|
tickSpacing: number;
|
|
41709
41741
|
hooks: `0x${string}`;
|
|
41710
|
-
|
|
41711
|
-
|
|
41742
|
+
hookData: `0x${string}`;
|
|
41743
|
+
}[];
|
|
41712
41744
|
exactAmount: bigint;
|
|
41713
|
-
hookData: `0x${string}`;
|
|
41714
41745
|
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
41715
41746
|
readonly type: "function";
|
|
41716
41747
|
readonly name: "_quoteExactInput";
|
|
@@ -42203,7 +42234,18 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
42203
42234
|
readonly type: "bytes";
|
|
42204
42235
|
readonly internalType: "bytes";
|
|
42205
42236
|
}];
|
|
42206
|
-
}], "
|
|
42237
|
+
}], "quoteExactOutput", readonly [`0x${string}`, params: {
|
|
42238
|
+
exactCurrency: `0x${string}`;
|
|
42239
|
+
path: readonly {
|
|
42240
|
+
intermediateCurrency: `0x${string}`;
|
|
42241
|
+
fee: number;
|
|
42242
|
+
tickSpacing: number;
|
|
42243
|
+
hooks: `0x${string}`;
|
|
42244
|
+
hookData: `0x${string}`;
|
|
42245
|
+
}[];
|
|
42246
|
+
exactAmount: bigint;
|
|
42247
|
+
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
42248
|
+
quoteExactOutputSingle: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, params: {
|
|
42207
42249
|
poolKey: {
|
|
42208
42250
|
currency0: `0x${string}`;
|
|
42209
42251
|
currency1: `0x${string}`;
|
|
@@ -42214,17 +42256,6 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
42214
42256
|
zeroForOne: boolean;
|
|
42215
42257
|
exactAmount: bigint;
|
|
42216
42258
|
hookData: `0x${string}`;
|
|
42217
|
-
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
42218
|
-
quoteExactOutput: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, params: {
|
|
42219
|
-
exactCurrency: `0x${string}`;
|
|
42220
|
-
path: readonly {
|
|
42221
|
-
intermediateCurrency: `0x${string}`;
|
|
42222
|
-
fee: number;
|
|
42223
|
-
tickSpacing: number;
|
|
42224
|
-
hooks: `0x${string}`;
|
|
42225
|
-
hookData: `0x${string}`;
|
|
42226
|
-
}[];
|
|
42227
|
-
exactAmount: bigint;
|
|
42228
42259
|
}], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
42229
42260
|
readonly type: "function";
|
|
42230
42261
|
readonly name: "_quoteExactInput";
|
|
@@ -42717,16 +42748,17 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
42717
42748
|
readonly type: "bytes";
|
|
42718
42749
|
readonly internalType: "bytes";
|
|
42719
42750
|
}];
|
|
42720
|
-
}], "
|
|
42721
|
-
|
|
42722
|
-
|
|
42723
|
-
|
|
42751
|
+
}], "quoteExactOutputSingle", readonly [`0x${string}`, params: {
|
|
42752
|
+
poolKey: {
|
|
42753
|
+
currency0: `0x${string}`;
|
|
42754
|
+
currency1: `0x${string}`;
|
|
42724
42755
|
fee: number;
|
|
42725
42756
|
tickSpacing: number;
|
|
42726
42757
|
hooks: `0x${string}`;
|
|
42727
|
-
|
|
42728
|
-
|
|
42758
|
+
};
|
|
42759
|
+
zeroForOne: boolean;
|
|
42729
42760
|
exactAmount: bigint;
|
|
42761
|
+
hookData: `0x${string}`;
|
|
42730
42762
|
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
42731
42763
|
readonly type: "function";
|
|
42732
42764
|
readonly name: "_quoteExactInput";
|
|
@@ -43219,18 +43251,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
43219
43251
|
readonly type: "bytes";
|
|
43220
43252
|
readonly internalType: "bytes";
|
|
43221
43253
|
}];
|
|
43222
|
-
}], "
|
|
43223
|
-
exactCurrency: `0x${string}`;
|
|
43224
|
-
path: readonly {
|
|
43225
|
-
intermediateCurrency: `0x${string}`;
|
|
43226
|
-
fee: number;
|
|
43227
|
-
tickSpacing: number;
|
|
43228
|
-
hooks: `0x${string}`;
|
|
43229
|
-
hookData: `0x${string}`;
|
|
43230
|
-
}[];
|
|
43231
|
-
exactAmount: bigint;
|
|
43232
|
-
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
43233
|
-
quoteExactOutputSingle: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, params: {
|
|
43254
|
+
}], "quoteExactOutputSingle", readonly [`0x${string}`, params: {
|
|
43234
43255
|
poolKey: {
|
|
43235
43256
|
currency0: `0x${string}`;
|
|
43236
43257
|
currency1: `0x${string}`;
|
|
@@ -43241,7 +43262,8 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
43241
43262
|
zeroForOne: boolean;
|
|
43242
43263
|
exactAmount: bigint;
|
|
43243
43264
|
hookData: `0x${string}`;
|
|
43244
|
-
}],
|
|
43265
|
+
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
43266
|
+
unlockCallback: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [data: `0x${string}`], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
43245
43267
|
readonly type: "function";
|
|
43246
43268
|
readonly name: "_quoteExactInput";
|
|
43247
43269
|
readonly inputs: readonly [{
|
|
@@ -43733,18 +43755,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
43733
43755
|
readonly type: "bytes";
|
|
43734
43756
|
readonly internalType: "bytes";
|
|
43735
43757
|
}];
|
|
43736
|
-
}], "
|
|
43737
|
-
poolKey: {
|
|
43738
|
-
currency0: `0x${string}`;
|
|
43739
|
-
currency1: `0x${string}`;
|
|
43740
|
-
fee: number;
|
|
43741
|
-
tickSpacing: number;
|
|
43742
|
-
hooks: `0x${string}`;
|
|
43743
|
-
};
|
|
43744
|
-
zeroForOne: boolean;
|
|
43745
|
-
exactAmount: bigint;
|
|
43746
|
-
hookData: `0x${string}`;
|
|
43747
|
-
}], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
43758
|
+
}], "unlockCallback", readonly [data: `0x${string}`], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
43748
43759
|
readonly type: "function";
|
|
43749
43760
|
readonly name: "_quoteExactInput";
|
|
43750
43761
|
readonly inputs: readonly [{
|
|
@@ -44236,21 +44247,10 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
44236
44247
|
readonly type: "bytes";
|
|
44237
44248
|
readonly internalType: "bytes";
|
|
44238
44249
|
}];
|
|
44239
|
-
}], "
|
|
44240
|
-
poolKey: {
|
|
44241
|
-
currency0: `0x${string}`;
|
|
44242
|
-
currency1: `0x${string}`;
|
|
44243
|
-
fee: number;
|
|
44244
|
-
tickSpacing: number;
|
|
44245
|
-
hooks: `0x${string}`;
|
|
44246
|
-
};
|
|
44247
|
-
zeroForOne: boolean;
|
|
44248
|
-
exactAmount: bigint;
|
|
44249
|
-
hookData: `0x${string}`;
|
|
44250
|
-
}], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
44250
|
+
}], "unlockCallback", readonly [data: `0x${string}`], viem356.Chain | undefined, undefined, chainOverride, accountOverride>>;
|
|
44251
44251
|
};
|
|
44252
44252
|
write: {
|
|
44253
|
-
|
|
44253
|
+
_quoteExactInput: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
44254
44254
|
readonly type: "function";
|
|
44255
44255
|
readonly name: "_quoteExactInput";
|
|
44256
44256
|
readonly inputs: readonly [{
|
|
@@ -44742,8 +44742,28 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
44742
44742
|
readonly type: "bytes";
|
|
44743
44743
|
readonly internalType: "bytes";
|
|
44744
44744
|
}];
|
|
44745
|
-
}], "
|
|
44746
|
-
|
|
44745
|
+
}], "_quoteExactInput", readonly [params: {
|
|
44746
|
+
exactCurrency: `0x${string}`;
|
|
44747
|
+
path: readonly {
|
|
44748
|
+
intermediateCurrency: `0x${string}`;
|
|
44749
|
+
fee: number;
|
|
44750
|
+
tickSpacing: number;
|
|
44751
|
+
hooks: `0x${string}`;
|
|
44752
|
+
hookData: `0x${string}`;
|
|
44753
|
+
}[];
|
|
44754
|
+
exactAmount: bigint;
|
|
44755
|
+
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [params: {
|
|
44756
|
+
exactCurrency: `0x${string}`;
|
|
44757
|
+
path: readonly {
|
|
44758
|
+
intermediateCurrency: `0x${string}`;
|
|
44759
|
+
fee: number;
|
|
44760
|
+
tickSpacing: number;
|
|
44761
|
+
hooks: `0x${string}`;
|
|
44762
|
+
hookData: `0x${string}`;
|
|
44763
|
+
}[];
|
|
44764
|
+
exactAmount: bigint;
|
|
44765
|
+
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
44766
|
+
_quoteExactInputSingle: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
44747
44767
|
readonly type: "function";
|
|
44748
44768
|
readonly name: "_quoteExactInput";
|
|
44749
44769
|
readonly inputs: readonly [{
|
|
@@ -45235,28 +45255,30 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
45235
45255
|
readonly type: "bytes";
|
|
45236
45256
|
readonly internalType: "bytes";
|
|
45237
45257
|
}];
|
|
45238
|
-
}], "
|
|
45239
|
-
|
|
45240
|
-
|
|
45241
|
-
|
|
45258
|
+
}], "_quoteExactInputSingle", readonly [params: {
|
|
45259
|
+
poolKey: {
|
|
45260
|
+
currency0: `0x${string}`;
|
|
45261
|
+
currency1: `0x${string}`;
|
|
45242
45262
|
fee: number;
|
|
45243
45263
|
tickSpacing: number;
|
|
45244
45264
|
hooks: `0x${string}`;
|
|
45245
|
-
|
|
45246
|
-
|
|
45265
|
+
};
|
|
45266
|
+
zeroForOne: boolean;
|
|
45247
45267
|
exactAmount: bigint;
|
|
45268
|
+
hookData: `0x${string}`;
|
|
45248
45269
|
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [params: {
|
|
45249
|
-
|
|
45250
|
-
|
|
45251
|
-
|
|
45270
|
+
poolKey: {
|
|
45271
|
+
currency0: `0x${string}`;
|
|
45272
|
+
currency1: `0x${string}`;
|
|
45252
45273
|
fee: number;
|
|
45253
45274
|
tickSpacing: number;
|
|
45254
45275
|
hooks: `0x${string}`;
|
|
45255
|
-
|
|
45256
|
-
|
|
45276
|
+
};
|
|
45277
|
+
zeroForOne: boolean;
|
|
45257
45278
|
exactAmount: bigint;
|
|
45279
|
+
hookData: `0x${string}`;
|
|
45258
45280
|
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
45259
|
-
|
|
45281
|
+
_quoteExactOutput: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
45260
45282
|
readonly type: "function";
|
|
45261
45283
|
readonly name: "_quoteExactInput";
|
|
45262
45284
|
readonly inputs: readonly [{
|
|
@@ -45748,30 +45770,28 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
45748
45770
|
readonly type: "bytes";
|
|
45749
45771
|
readonly internalType: "bytes";
|
|
45750
45772
|
}];
|
|
45751
|
-
}], "
|
|
45752
|
-
|
|
45753
|
-
|
|
45754
|
-
|
|
45773
|
+
}], "_quoteExactOutput", readonly [params: {
|
|
45774
|
+
exactCurrency: `0x${string}`;
|
|
45775
|
+
path: readonly {
|
|
45776
|
+
intermediateCurrency: `0x${string}`;
|
|
45755
45777
|
fee: number;
|
|
45756
45778
|
tickSpacing: number;
|
|
45757
45779
|
hooks: `0x${string}`;
|
|
45758
|
-
|
|
45759
|
-
|
|
45780
|
+
hookData: `0x${string}`;
|
|
45781
|
+
}[];
|
|
45760
45782
|
exactAmount: bigint;
|
|
45761
|
-
hookData: `0x${string}`;
|
|
45762
45783
|
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [params: {
|
|
45763
|
-
|
|
45764
|
-
|
|
45765
|
-
|
|
45784
|
+
exactCurrency: `0x${string}`;
|
|
45785
|
+
path: readonly {
|
|
45786
|
+
intermediateCurrency: `0x${string}`;
|
|
45766
45787
|
fee: number;
|
|
45767
45788
|
tickSpacing: number;
|
|
45768
45789
|
hooks: `0x${string}`;
|
|
45769
|
-
|
|
45770
|
-
|
|
45790
|
+
hookData: `0x${string}`;
|
|
45791
|
+
}[];
|
|
45771
45792
|
exactAmount: bigint;
|
|
45772
|
-
hookData: `0x${string}`;
|
|
45773
45793
|
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
45774
|
-
|
|
45794
|
+
_quoteExactOutputSingle: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
45775
45795
|
readonly type: "function";
|
|
45776
45796
|
readonly name: "_quoteExactInput";
|
|
45777
45797
|
readonly inputs: readonly [{
|
|
@@ -46263,28 +46283,30 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
46263
46283
|
readonly type: "bytes";
|
|
46264
46284
|
readonly internalType: "bytes";
|
|
46265
46285
|
}];
|
|
46266
|
-
}], "
|
|
46267
|
-
|
|
46268
|
-
|
|
46269
|
-
|
|
46286
|
+
}], "_quoteExactOutputSingle", readonly [params: {
|
|
46287
|
+
poolKey: {
|
|
46288
|
+
currency0: `0x${string}`;
|
|
46289
|
+
currency1: `0x${string}`;
|
|
46270
46290
|
fee: number;
|
|
46271
46291
|
tickSpacing: number;
|
|
46272
46292
|
hooks: `0x${string}`;
|
|
46273
|
-
|
|
46274
|
-
|
|
46293
|
+
};
|
|
46294
|
+
zeroForOne: boolean;
|
|
46275
46295
|
exactAmount: bigint;
|
|
46296
|
+
hookData: `0x${string}`;
|
|
46276
46297
|
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [params: {
|
|
46277
|
-
|
|
46278
|
-
|
|
46279
|
-
|
|
46298
|
+
poolKey: {
|
|
46299
|
+
currency0: `0x${string}`;
|
|
46300
|
+
currency1: `0x${string}`;
|
|
46280
46301
|
fee: number;
|
|
46281
46302
|
tickSpacing: number;
|
|
46282
46303
|
hooks: `0x${string}`;
|
|
46283
|
-
|
|
46284
|
-
|
|
46304
|
+
};
|
|
46305
|
+
zeroForOne: boolean;
|
|
46285
46306
|
exactAmount: bigint;
|
|
46307
|
+
hookData: `0x${string}`;
|
|
46286
46308
|
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
46287
|
-
|
|
46309
|
+
quoteExactInput: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
46288
46310
|
readonly type: "function";
|
|
46289
46311
|
readonly name: "_quoteExactInput";
|
|
46290
46312
|
readonly inputs: readonly [{
|
|
@@ -46776,30 +46798,28 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
46776
46798
|
readonly type: "bytes";
|
|
46777
46799
|
readonly internalType: "bytes";
|
|
46778
46800
|
}];
|
|
46779
|
-
}], "
|
|
46780
|
-
|
|
46781
|
-
|
|
46782
|
-
|
|
46801
|
+
}], "quoteExactInput", readonly [`0x${string}`, params: {
|
|
46802
|
+
exactCurrency: `0x${string}`;
|
|
46803
|
+
path: readonly {
|
|
46804
|
+
intermediateCurrency: `0x${string}`;
|
|
46783
46805
|
fee: number;
|
|
46784
46806
|
tickSpacing: number;
|
|
46785
46807
|
hooks: `0x${string}`;
|
|
46786
|
-
|
|
46787
|
-
|
|
46808
|
+
hookData: `0x${string}`;
|
|
46809
|
+
}[];
|
|
46788
46810
|
exactAmount: bigint;
|
|
46789
|
-
|
|
46790
|
-
|
|
46791
|
-
|
|
46792
|
-
|
|
46793
|
-
currency1: `0x${string}`;
|
|
46811
|
+
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, params: {
|
|
46812
|
+
exactCurrency: `0x${string}`;
|
|
46813
|
+
path: readonly {
|
|
46814
|
+
intermediateCurrency: `0x${string}`;
|
|
46794
46815
|
fee: number;
|
|
46795
46816
|
tickSpacing: number;
|
|
46796
46817
|
hooks: `0x${string}`;
|
|
46797
|
-
|
|
46798
|
-
|
|
46818
|
+
hookData: `0x${string}`;
|
|
46819
|
+
}[];
|
|
46799
46820
|
exactAmount: bigint;
|
|
46800
|
-
hookData: `0x${string}`;
|
|
46801
46821
|
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
46802
|
-
|
|
46822
|
+
quoteExactInputSingle: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
46803
46823
|
readonly type: "function";
|
|
46804
46824
|
readonly name: "_quoteExactInput";
|
|
46805
46825
|
readonly inputs: readonly [{
|
|
@@ -47291,28 +47311,30 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
47291
47311
|
readonly type: "bytes";
|
|
47292
47312
|
readonly internalType: "bytes";
|
|
47293
47313
|
}];
|
|
47294
|
-
}], "
|
|
47295
|
-
|
|
47296
|
-
|
|
47297
|
-
|
|
47314
|
+
}], "quoteExactInputSingle", readonly [`0x${string}`, params: {
|
|
47315
|
+
poolKey: {
|
|
47316
|
+
currency0: `0x${string}`;
|
|
47317
|
+
currency1: `0x${string}`;
|
|
47298
47318
|
fee: number;
|
|
47299
47319
|
tickSpacing: number;
|
|
47300
47320
|
hooks: `0x${string}`;
|
|
47301
|
-
|
|
47302
|
-
|
|
47321
|
+
};
|
|
47322
|
+
zeroForOne: boolean;
|
|
47303
47323
|
exactAmount: bigint;
|
|
47324
|
+
hookData: `0x${string}`;
|
|
47304
47325
|
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, params: {
|
|
47305
|
-
|
|
47306
|
-
|
|
47307
|
-
|
|
47326
|
+
poolKey: {
|
|
47327
|
+
currency0: `0x${string}`;
|
|
47328
|
+
currency1: `0x${string}`;
|
|
47308
47329
|
fee: number;
|
|
47309
47330
|
tickSpacing: number;
|
|
47310
47331
|
hooks: `0x${string}`;
|
|
47311
|
-
|
|
47312
|
-
|
|
47332
|
+
};
|
|
47333
|
+
zeroForOne: boolean;
|
|
47313
47334
|
exactAmount: bigint;
|
|
47335
|
+
hookData: `0x${string}`;
|
|
47314
47336
|
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
47315
|
-
|
|
47337
|
+
quoteExactOutput: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
47316
47338
|
readonly type: "function";
|
|
47317
47339
|
readonly name: "_quoteExactInput";
|
|
47318
47340
|
readonly inputs: readonly [{
|
|
@@ -47804,30 +47826,28 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
47804
47826
|
readonly type: "bytes";
|
|
47805
47827
|
readonly internalType: "bytes";
|
|
47806
47828
|
}];
|
|
47807
|
-
}], "
|
|
47808
|
-
|
|
47809
|
-
|
|
47810
|
-
|
|
47829
|
+
}], "quoteExactOutput", readonly [`0x${string}`, params: {
|
|
47830
|
+
exactCurrency: `0x${string}`;
|
|
47831
|
+
path: readonly {
|
|
47832
|
+
intermediateCurrency: `0x${string}`;
|
|
47811
47833
|
fee: number;
|
|
47812
47834
|
tickSpacing: number;
|
|
47813
47835
|
hooks: `0x${string}`;
|
|
47814
|
-
|
|
47815
|
-
|
|
47836
|
+
hookData: `0x${string}`;
|
|
47837
|
+
}[];
|
|
47816
47838
|
exactAmount: bigint;
|
|
47817
|
-
hookData: `0x${string}`;
|
|
47818
47839
|
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, params: {
|
|
47819
|
-
|
|
47820
|
-
|
|
47821
|
-
|
|
47840
|
+
exactCurrency: `0x${string}`;
|
|
47841
|
+
path: readonly {
|
|
47842
|
+
intermediateCurrency: `0x${string}`;
|
|
47822
47843
|
fee: number;
|
|
47823
47844
|
tickSpacing: number;
|
|
47824
47845
|
hooks: `0x${string}`;
|
|
47825
|
-
|
|
47826
|
-
|
|
47846
|
+
hookData: `0x${string}`;
|
|
47847
|
+
}[];
|
|
47827
47848
|
exactAmount: bigint;
|
|
47828
|
-
hookData: `0x${string}`;
|
|
47829
47849
|
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
47830
|
-
|
|
47850
|
+
quoteExactOutputSingle: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
47831
47851
|
readonly type: "function";
|
|
47832
47852
|
readonly name: "_quoteExactInput";
|
|
47833
47853
|
readonly inputs: readonly [{
|
|
@@ -48319,28 +48339,30 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
48319
48339
|
readonly type: "bytes";
|
|
48320
48340
|
readonly internalType: "bytes";
|
|
48321
48341
|
}];
|
|
48322
|
-
}], "
|
|
48323
|
-
|
|
48324
|
-
|
|
48325
|
-
|
|
48342
|
+
}], "quoteExactOutputSingle", readonly [`0x${string}`, params: {
|
|
48343
|
+
poolKey: {
|
|
48344
|
+
currency0: `0x${string}`;
|
|
48345
|
+
currency1: `0x${string}`;
|
|
48326
48346
|
fee: number;
|
|
48327
48347
|
tickSpacing: number;
|
|
48328
48348
|
hooks: `0x${string}`;
|
|
48329
|
-
|
|
48330
|
-
|
|
48349
|
+
};
|
|
48350
|
+
zeroForOne: boolean;
|
|
48331
48351
|
exactAmount: bigint;
|
|
48352
|
+
hookData: `0x${string}`;
|
|
48332
48353
|
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, params: {
|
|
48333
|
-
|
|
48334
|
-
|
|
48335
|
-
|
|
48354
|
+
poolKey: {
|
|
48355
|
+
currency0: `0x${string}`;
|
|
48356
|
+
currency1: `0x${string}`;
|
|
48336
48357
|
fee: number;
|
|
48337
48358
|
tickSpacing: number;
|
|
48338
48359
|
hooks: `0x${string}`;
|
|
48339
|
-
|
|
48340
|
-
|
|
48360
|
+
};
|
|
48361
|
+
zeroForOne: boolean;
|
|
48341
48362
|
exactAmount: bigint;
|
|
48363
|
+
hookData: `0x${string}`;
|
|
48342
48364
|
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
48343
|
-
|
|
48365
|
+
unlockCallback: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
48344
48366
|
readonly type: "function";
|
|
48345
48367
|
readonly name: "_quoteExactInput";
|
|
48346
48368
|
readonly inputs: readonly [{
|
|
@@ -48832,29 +48854,7 @@ declare const getQuoter: (client: PublicClient, address?: Address) => Promise<{
|
|
|
48832
48854
|
readonly type: "bytes";
|
|
48833
48855
|
readonly internalType: "bytes";
|
|
48834
48856
|
}];
|
|
48835
|
-
}], "
|
|
48836
|
-
poolKey: {
|
|
48837
|
-
currency0: `0x${string}`;
|
|
48838
|
-
currency1: `0x${string}`;
|
|
48839
|
-
fee: number;
|
|
48840
|
-
tickSpacing: number;
|
|
48841
|
-
hooks: `0x${string}`;
|
|
48842
|
-
};
|
|
48843
|
-
zeroForOne: boolean;
|
|
48844
|
-
exactAmount: bigint;
|
|
48845
|
-
hookData: `0x${string}`;
|
|
48846
|
-
}], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, params: {
|
|
48847
|
-
poolKey: {
|
|
48848
|
-
currency0: `0x${string}`;
|
|
48849
|
-
currency1: `0x${string}`;
|
|
48850
|
-
fee: number;
|
|
48851
|
-
tickSpacing: number;
|
|
48852
|
-
hooks: `0x${string}`;
|
|
48853
|
-
};
|
|
48854
|
-
zeroForOne: boolean;
|
|
48855
|
-
exactAmount: bigint;
|
|
48856
|
-
hookData: `0x${string}`;
|
|
48857
|
-
}], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
48857
|
+
}], "unlockCallback", readonly [data: `0x${string}`], viem356.Chain | undefined, undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [data: `0x${string}`], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
48858
48858
|
};
|
|
48859
48859
|
address: `0x${string}`;
|
|
48860
48860
|
abi: readonly [{
|
|
@@ -72550,7 +72550,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72550
72550
|
optionAssetName: string;
|
|
72551
72551
|
payoutAssetName: string;
|
|
72552
72552
|
}[] | undefined;
|
|
72553
|
-
error:
|
|
72553
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
72554
72554
|
isError: true;
|
|
72555
72555
|
isPending: false;
|
|
72556
72556
|
isLoading: false;
|
|
@@ -72562,7 +72562,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72562
72562
|
dataUpdatedAt: number;
|
|
72563
72563
|
errorUpdatedAt: number;
|
|
72564
72564
|
failureCount: number;
|
|
72565
|
-
failureReason:
|
|
72565
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
72566
72566
|
errorUpdateCount: number;
|
|
72567
72567
|
isFetched: boolean;
|
|
72568
72568
|
isFetchedAfterMount: boolean;
|
|
@@ -72572,7 +72572,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72572
72572
|
isRefetching: boolean;
|
|
72573
72573
|
isStale: boolean;
|
|
72574
72574
|
isEnabled: boolean;
|
|
72575
|
-
refetch: (options?:
|
|
72575
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
72576
72576
|
error?: undefined;
|
|
72577
72577
|
result: {
|
|
72578
72578
|
guardian: `0x${string}`;
|
|
@@ -72601,8 +72601,8 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72601
72601
|
error: Error;
|
|
72602
72602
|
result?: undefined;
|
|
72603
72603
|
status: "failure";
|
|
72604
|
-
})[],
|
|
72605
|
-
fetchStatus:
|
|
72604
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
72605
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
72606
72606
|
promise: Promise<({
|
|
72607
72607
|
error?: undefined;
|
|
72608
72608
|
result: {
|
|
@@ -72633,7 +72633,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72633
72633
|
result?: undefined;
|
|
72634
72634
|
status: "failure";
|
|
72635
72635
|
})[]>;
|
|
72636
|
-
queryKey:
|
|
72636
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
72637
72637
|
} | {
|
|
72638
72638
|
data: {
|
|
72639
72639
|
guardian: `0x${string}`;
|
|
@@ -72669,7 +72669,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72669
72669
|
dataUpdatedAt: number;
|
|
72670
72670
|
errorUpdatedAt: number;
|
|
72671
72671
|
failureCount: number;
|
|
72672
|
-
failureReason:
|
|
72672
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
72673
72673
|
errorUpdateCount: number;
|
|
72674
72674
|
isFetched: boolean;
|
|
72675
72675
|
isFetchedAfterMount: boolean;
|
|
@@ -72679,7 +72679,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72679
72679
|
isRefetching: boolean;
|
|
72680
72680
|
isStale: boolean;
|
|
72681
72681
|
isEnabled: boolean;
|
|
72682
|
-
refetch: (options?:
|
|
72682
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
72683
72683
|
error?: undefined;
|
|
72684
72684
|
result: {
|
|
72685
72685
|
guardian: `0x${string}`;
|
|
@@ -72708,8 +72708,8 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72708
72708
|
error: Error;
|
|
72709
72709
|
result?: undefined;
|
|
72710
72710
|
status: "failure";
|
|
72711
|
-
})[],
|
|
72712
|
-
fetchStatus:
|
|
72711
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
72712
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
72713
72713
|
promise: Promise<({
|
|
72714
72714
|
error?: undefined;
|
|
72715
72715
|
result: {
|
|
@@ -72740,7 +72740,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72740
72740
|
result?: undefined;
|
|
72741
72741
|
status: "failure";
|
|
72742
72742
|
})[]>;
|
|
72743
|
-
queryKey:
|
|
72743
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
72744
72744
|
} | {
|
|
72745
72745
|
data: {
|
|
72746
72746
|
guardian: `0x${string}`;
|
|
@@ -72764,7 +72764,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72764
72764
|
optionAssetName: string;
|
|
72765
72765
|
payoutAssetName: string;
|
|
72766
72766
|
}[] | undefined;
|
|
72767
|
-
error:
|
|
72767
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
72768
72768
|
isError: true;
|
|
72769
72769
|
isPending: false;
|
|
72770
72770
|
isLoading: false;
|
|
@@ -72776,7 +72776,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72776
72776
|
dataUpdatedAt: number;
|
|
72777
72777
|
errorUpdatedAt: number;
|
|
72778
72778
|
failureCount: number;
|
|
72779
|
-
failureReason:
|
|
72779
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
72780
72780
|
errorUpdateCount: number;
|
|
72781
72781
|
isFetched: boolean;
|
|
72782
72782
|
isFetchedAfterMount: boolean;
|
|
@@ -72786,7 +72786,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72786
72786
|
isRefetching: boolean;
|
|
72787
72787
|
isStale: boolean;
|
|
72788
72788
|
isEnabled: boolean;
|
|
72789
|
-
refetch: (options?:
|
|
72789
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
72790
72790
|
error?: undefined;
|
|
72791
72791
|
result: {
|
|
72792
72792
|
guardian: `0x${string}`;
|
|
@@ -72815,8 +72815,8 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72815
72815
|
error: Error;
|
|
72816
72816
|
result?: undefined;
|
|
72817
72817
|
status: "failure";
|
|
72818
|
-
})[],
|
|
72819
|
-
fetchStatus:
|
|
72818
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
72819
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
72820
72820
|
promise: Promise<({
|
|
72821
72821
|
error?: undefined;
|
|
72822
72822
|
result: {
|
|
@@ -72847,7 +72847,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72847
72847
|
result?: undefined;
|
|
72848
72848
|
status: "failure";
|
|
72849
72849
|
})[]>;
|
|
72850
|
-
queryKey:
|
|
72850
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
72851
72851
|
} | {
|
|
72852
72852
|
data: {
|
|
72853
72853
|
guardian: `0x${string}`;
|
|
@@ -72883,7 +72883,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72883
72883
|
dataUpdatedAt: number;
|
|
72884
72884
|
errorUpdatedAt: number;
|
|
72885
72885
|
failureCount: number;
|
|
72886
|
-
failureReason:
|
|
72886
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
72887
72887
|
errorUpdateCount: number;
|
|
72888
72888
|
isFetched: boolean;
|
|
72889
72889
|
isFetchedAfterMount: boolean;
|
|
@@ -72893,7 +72893,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72893
72893
|
isRefetching: boolean;
|
|
72894
72894
|
isStale: boolean;
|
|
72895
72895
|
isEnabled: boolean;
|
|
72896
|
-
refetch: (options?:
|
|
72896
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
72897
72897
|
error?: undefined;
|
|
72898
72898
|
result: {
|
|
72899
72899
|
guardian: `0x${string}`;
|
|
@@ -72922,8 +72922,8 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72922
72922
|
error: Error;
|
|
72923
72923
|
result?: undefined;
|
|
72924
72924
|
status: "failure";
|
|
72925
|
-
})[],
|
|
72926
|
-
fetchStatus:
|
|
72925
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
72926
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
72927
72927
|
promise: Promise<({
|
|
72928
72928
|
error?: undefined;
|
|
72929
72929
|
result: {
|
|
@@ -72954,7 +72954,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72954
72954
|
result?: undefined;
|
|
72955
72955
|
status: "failure";
|
|
72956
72956
|
})[]>;
|
|
72957
|
-
queryKey:
|
|
72957
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
72958
72958
|
} | {
|
|
72959
72959
|
data: {
|
|
72960
72960
|
guardian: `0x${string}`;
|
|
@@ -72989,7 +72989,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
72989
72989
|
dataUpdatedAt: number;
|
|
72990
72990
|
errorUpdatedAt: number;
|
|
72991
72991
|
failureCount: number;
|
|
72992
|
-
failureReason:
|
|
72992
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
72993
72993
|
errorUpdateCount: number;
|
|
72994
72994
|
isFetched: boolean;
|
|
72995
72995
|
isFetchedAfterMount: boolean;
|
|
@@ -73000,7 +73000,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
73000
73000
|
isRefetching: boolean;
|
|
73001
73001
|
isStale: boolean;
|
|
73002
73002
|
isEnabled: boolean;
|
|
73003
|
-
refetch: (options?:
|
|
73003
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
73004
73004
|
error?: undefined;
|
|
73005
73005
|
result: {
|
|
73006
73006
|
guardian: `0x${string}`;
|
|
@@ -73029,8 +73029,8 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
73029
73029
|
error: Error;
|
|
73030
73030
|
result?: undefined;
|
|
73031
73031
|
status: "failure";
|
|
73032
|
-
})[],
|
|
73033
|
-
fetchStatus:
|
|
73032
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
73033
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
73034
73034
|
promise: Promise<({
|
|
73035
73035
|
error?: undefined;
|
|
73036
73036
|
result: {
|
|
@@ -73061,7 +73061,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
73061
73061
|
result?: undefined;
|
|
73062
73062
|
status: "failure";
|
|
73063
73063
|
})[]>;
|
|
73064
|
-
queryKey:
|
|
73064
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
73065
73065
|
} | {
|
|
73066
73066
|
data: {
|
|
73067
73067
|
guardian: `0x${string}`;
|
|
@@ -73097,7 +73097,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
73097
73097
|
dataUpdatedAt: number;
|
|
73098
73098
|
errorUpdatedAt: number;
|
|
73099
73099
|
failureCount: number;
|
|
73100
|
-
failureReason:
|
|
73100
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
73101
73101
|
errorUpdateCount: number;
|
|
73102
73102
|
isFetched: boolean;
|
|
73103
73103
|
isFetchedAfterMount: boolean;
|
|
@@ -73107,7 +73107,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
73107
73107
|
isRefetching: boolean;
|
|
73108
73108
|
isStale: boolean;
|
|
73109
73109
|
isEnabled: boolean;
|
|
73110
|
-
refetch: (options?:
|
|
73110
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
73111
73111
|
error?: undefined;
|
|
73112
73112
|
result: {
|
|
73113
73113
|
guardian: `0x${string}`;
|
|
@@ -73136,8 +73136,8 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
73136
73136
|
error: Error;
|
|
73137
73137
|
result?: undefined;
|
|
73138
73138
|
status: "failure";
|
|
73139
|
-
})[],
|
|
73140
|
-
fetchStatus:
|
|
73139
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
73140
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
73141
73141
|
promise: Promise<({
|
|
73142
73142
|
error?: undefined;
|
|
73143
73143
|
result: {
|
|
@@ -73168,7 +73168,7 @@ declare const useMarketsData: (marketAddrs: Address[]) => {
|
|
|
73168
73168
|
result?: undefined;
|
|
73169
73169
|
status: "failure";
|
|
73170
73170
|
})[]>;
|
|
73171
|
-
queryKey:
|
|
73171
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
73172
73172
|
};
|
|
73173
73173
|
//#endregion
|
|
73174
73174
|
//#region src/hooks/market/useMarketState.d.ts
|
|
@@ -74186,10 +74186,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
74186
74186
|
isRefetching: boolean;
|
|
74187
74187
|
isStale: boolean;
|
|
74188
74188
|
isEnabled: boolean;
|
|
74189
|
-
refetch: (options?:
|
|
74190
|
-
fetchStatus:
|
|
74189
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
74190
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74191
74191
|
promise: Promise<never>;
|
|
74192
|
-
queryKey:
|
|
74192
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74193
74193
|
maxCallSize: Amount | undefined;
|
|
74194
74194
|
maxPutSize: Amount | undefined;
|
|
74195
74195
|
} | {
|
|
@@ -74215,10 +74215,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
74215
74215
|
isRefetching: boolean;
|
|
74216
74216
|
isStale: boolean;
|
|
74217
74217
|
isEnabled: boolean;
|
|
74218
|
-
refetch: (options?:
|
|
74219
|
-
fetchStatus:
|
|
74218
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
74219
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74220
74220
|
promise: Promise<never>;
|
|
74221
|
-
queryKey:
|
|
74221
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74222
74222
|
maxCallSize: Amount | undefined;
|
|
74223
74223
|
maxPutSize: Amount | undefined;
|
|
74224
74224
|
} | {
|
|
@@ -74244,10 +74244,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
74244
74244
|
isRefetching: boolean;
|
|
74245
74245
|
isStale: boolean;
|
|
74246
74246
|
isEnabled: boolean;
|
|
74247
|
-
refetch: (options?:
|
|
74248
|
-
fetchStatus:
|
|
74247
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
74248
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74249
74249
|
promise: Promise<never>;
|
|
74250
|
-
queryKey:
|
|
74250
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74251
74251
|
maxCallSize: Amount | undefined;
|
|
74252
74252
|
maxPutSize: Amount | undefined;
|
|
74253
74253
|
} | {
|
|
@@ -74273,10 +74273,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
74273
74273
|
isRefetching: boolean;
|
|
74274
74274
|
isStale: boolean;
|
|
74275
74275
|
isEnabled: boolean;
|
|
74276
|
-
refetch: (options?:
|
|
74277
|
-
fetchStatus:
|
|
74276
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
74277
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74278
74278
|
promise: Promise<never>;
|
|
74279
|
-
queryKey:
|
|
74279
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74280
74280
|
maxCallSize: Amount | undefined;
|
|
74281
74281
|
maxPutSize: Amount | undefined;
|
|
74282
74282
|
} | {
|
|
@@ -74302,10 +74302,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
74302
74302
|
isRefetching: boolean;
|
|
74303
74303
|
isStale: boolean;
|
|
74304
74304
|
isEnabled: boolean;
|
|
74305
|
-
refetch: (options?:
|
|
74306
|
-
fetchStatus:
|
|
74305
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
74306
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74307
74307
|
promise: Promise<never>;
|
|
74308
|
-
queryKey:
|
|
74308
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74309
74309
|
maxCallSize: Amount | undefined;
|
|
74310
74310
|
maxPutSize: Amount | undefined;
|
|
74311
74311
|
} | {
|
|
@@ -74331,10 +74331,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
74331
74331
|
isRefetching: boolean;
|
|
74332
74332
|
isStale: boolean;
|
|
74333
74333
|
isEnabled: boolean;
|
|
74334
|
-
refetch: (options?:
|
|
74335
|
-
fetchStatus:
|
|
74334
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
74335
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74336
74336
|
promise: Promise<never>;
|
|
74337
|
-
queryKey:
|
|
74337
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74338
74338
|
maxCallSize: Amount | undefined;
|
|
74339
74339
|
maxPutSize: Amount | undefined;
|
|
74340
74340
|
};
|
|
@@ -74452,6 +74452,932 @@ declare const useOptionPnl: (option: OptionData) => {
|
|
|
74452
74452
|
unrealizedPayout: Amount | undefined;
|
|
74453
74453
|
displayPnl: Amount | undefined;
|
|
74454
74454
|
};
|
|
74455
|
+
declare const useOptionsPnlAtPrices: (options: OptionData[], prices?: Amount[]) => {
|
|
74456
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
74457
|
+
isError: true;
|
|
74458
|
+
isPending: false;
|
|
74459
|
+
isLoading: false;
|
|
74460
|
+
isLoadingError: false;
|
|
74461
|
+
isRefetchError: true;
|
|
74462
|
+
isSuccess: false;
|
|
74463
|
+
isPlaceholderData: false;
|
|
74464
|
+
status: "error";
|
|
74465
|
+
dataUpdatedAt: number;
|
|
74466
|
+
errorUpdatedAt: number;
|
|
74467
|
+
failureCount: number;
|
|
74468
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74469
|
+
errorUpdateCount: number;
|
|
74470
|
+
isFetched: boolean;
|
|
74471
|
+
isFetchedAfterMount: boolean;
|
|
74472
|
+
isFetching: boolean;
|
|
74473
|
+
isInitialLoading: boolean;
|
|
74474
|
+
isPaused: boolean;
|
|
74475
|
+
isRefetching: boolean;
|
|
74476
|
+
isStale: boolean;
|
|
74477
|
+
isEnabled: boolean;
|
|
74478
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74479
|
+
error: Error;
|
|
74480
|
+
result?: undefined;
|
|
74481
|
+
status: "failure";
|
|
74482
|
+
} | {
|
|
74483
|
+
error?: undefined;
|
|
74484
|
+
result: unknown;
|
|
74485
|
+
status: "success";
|
|
74486
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
74487
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74488
|
+
promise: Promise<({
|
|
74489
|
+
error: Error;
|
|
74490
|
+
result?: undefined;
|
|
74491
|
+
status: "failure";
|
|
74492
|
+
} | {
|
|
74493
|
+
error?: undefined;
|
|
74494
|
+
result: unknown;
|
|
74495
|
+
status: "success";
|
|
74496
|
+
})[]>;
|
|
74497
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74498
|
+
data: {
|
|
74499
|
+
option: {
|
|
74500
|
+
optionId: bigint;
|
|
74501
|
+
marketAddr: abitype0.Address;
|
|
74502
|
+
ownerAddr: abitype0.Address;
|
|
74503
|
+
optionType: "CALL" | "PUT";
|
|
74504
|
+
createdAt: Date;
|
|
74505
|
+
expiresAt: Date;
|
|
74506
|
+
premium: bigint;
|
|
74507
|
+
protocolFee: bigint;
|
|
74508
|
+
realizedPayout: bigint;
|
|
74509
|
+
liquiditiesAtOpen: bigint[];
|
|
74510
|
+
liquiditiesCurrent: bigint[];
|
|
74511
|
+
positionSizeAtOpen: bigint;
|
|
74512
|
+
positionSizeCurrent: bigint;
|
|
74513
|
+
strikePrice: bigint;
|
|
74514
|
+
entryPrice: bigint;
|
|
74515
|
+
__typename: "UserOption";
|
|
74516
|
+
id: string;
|
|
74517
|
+
strikeTick: number;
|
|
74518
|
+
startTick: number;
|
|
74519
|
+
fullyExercised: boolean;
|
|
74520
|
+
owner?: {
|
|
74521
|
+
__typename: "TimelockMarketUser";
|
|
74522
|
+
address: string;
|
|
74523
|
+
} | null;
|
|
74524
|
+
market?: {
|
|
74525
|
+
__typename: "TimelockMarket";
|
|
74526
|
+
address: string;
|
|
74527
|
+
} | null;
|
|
74528
|
+
};
|
|
74529
|
+
displayPnl: Amount;
|
|
74530
|
+
unrealizedPayout: Amount;
|
|
74531
|
+
}[] | undefined;
|
|
74532
|
+
} | {
|
|
74533
|
+
error: null;
|
|
74534
|
+
isError: false;
|
|
74535
|
+
isPending: false;
|
|
74536
|
+
isLoading: false;
|
|
74537
|
+
isLoadingError: false;
|
|
74538
|
+
isRefetchError: false;
|
|
74539
|
+
isSuccess: true;
|
|
74540
|
+
isPlaceholderData: false;
|
|
74541
|
+
status: "success";
|
|
74542
|
+
dataUpdatedAt: number;
|
|
74543
|
+
errorUpdatedAt: number;
|
|
74544
|
+
failureCount: number;
|
|
74545
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74546
|
+
errorUpdateCount: number;
|
|
74547
|
+
isFetched: boolean;
|
|
74548
|
+
isFetchedAfterMount: boolean;
|
|
74549
|
+
isFetching: boolean;
|
|
74550
|
+
isInitialLoading: boolean;
|
|
74551
|
+
isPaused: boolean;
|
|
74552
|
+
isRefetching: boolean;
|
|
74553
|
+
isStale: boolean;
|
|
74554
|
+
isEnabled: boolean;
|
|
74555
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74556
|
+
error: Error;
|
|
74557
|
+
result?: undefined;
|
|
74558
|
+
status: "failure";
|
|
74559
|
+
} | {
|
|
74560
|
+
error?: undefined;
|
|
74561
|
+
result: unknown;
|
|
74562
|
+
status: "success";
|
|
74563
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
74564
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74565
|
+
promise: Promise<({
|
|
74566
|
+
error: Error;
|
|
74567
|
+
result?: undefined;
|
|
74568
|
+
status: "failure";
|
|
74569
|
+
} | {
|
|
74570
|
+
error?: undefined;
|
|
74571
|
+
result: unknown;
|
|
74572
|
+
status: "success";
|
|
74573
|
+
})[]>;
|
|
74574
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74575
|
+
data: {
|
|
74576
|
+
option: {
|
|
74577
|
+
optionId: bigint;
|
|
74578
|
+
marketAddr: abitype0.Address;
|
|
74579
|
+
ownerAddr: abitype0.Address;
|
|
74580
|
+
optionType: "CALL" | "PUT";
|
|
74581
|
+
createdAt: Date;
|
|
74582
|
+
expiresAt: Date;
|
|
74583
|
+
premium: bigint;
|
|
74584
|
+
protocolFee: bigint;
|
|
74585
|
+
realizedPayout: bigint;
|
|
74586
|
+
liquiditiesAtOpen: bigint[];
|
|
74587
|
+
liquiditiesCurrent: bigint[];
|
|
74588
|
+
positionSizeAtOpen: bigint;
|
|
74589
|
+
positionSizeCurrent: bigint;
|
|
74590
|
+
strikePrice: bigint;
|
|
74591
|
+
entryPrice: bigint;
|
|
74592
|
+
__typename: "UserOption";
|
|
74593
|
+
id: string;
|
|
74594
|
+
strikeTick: number;
|
|
74595
|
+
startTick: number;
|
|
74596
|
+
fullyExercised: boolean;
|
|
74597
|
+
owner?: {
|
|
74598
|
+
__typename: "TimelockMarketUser";
|
|
74599
|
+
address: string;
|
|
74600
|
+
} | null;
|
|
74601
|
+
market?: {
|
|
74602
|
+
__typename: "TimelockMarket";
|
|
74603
|
+
address: string;
|
|
74604
|
+
} | null;
|
|
74605
|
+
};
|
|
74606
|
+
displayPnl: Amount;
|
|
74607
|
+
unrealizedPayout: Amount;
|
|
74608
|
+
}[] | undefined;
|
|
74609
|
+
} | {
|
|
74610
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
74611
|
+
isError: true;
|
|
74612
|
+
isPending: false;
|
|
74613
|
+
isLoading: false;
|
|
74614
|
+
isLoadingError: true;
|
|
74615
|
+
isRefetchError: false;
|
|
74616
|
+
isSuccess: false;
|
|
74617
|
+
isPlaceholderData: false;
|
|
74618
|
+
status: "error";
|
|
74619
|
+
dataUpdatedAt: number;
|
|
74620
|
+
errorUpdatedAt: number;
|
|
74621
|
+
failureCount: number;
|
|
74622
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74623
|
+
errorUpdateCount: number;
|
|
74624
|
+
isFetched: boolean;
|
|
74625
|
+
isFetchedAfterMount: boolean;
|
|
74626
|
+
isFetching: boolean;
|
|
74627
|
+
isInitialLoading: boolean;
|
|
74628
|
+
isPaused: boolean;
|
|
74629
|
+
isRefetching: boolean;
|
|
74630
|
+
isStale: boolean;
|
|
74631
|
+
isEnabled: boolean;
|
|
74632
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74633
|
+
error: Error;
|
|
74634
|
+
result?: undefined;
|
|
74635
|
+
status: "failure";
|
|
74636
|
+
} | {
|
|
74637
|
+
error?: undefined;
|
|
74638
|
+
result: unknown;
|
|
74639
|
+
status: "success";
|
|
74640
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
74641
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74642
|
+
promise: Promise<({
|
|
74643
|
+
error: Error;
|
|
74644
|
+
result?: undefined;
|
|
74645
|
+
status: "failure";
|
|
74646
|
+
} | {
|
|
74647
|
+
error?: undefined;
|
|
74648
|
+
result: unknown;
|
|
74649
|
+
status: "success";
|
|
74650
|
+
})[]>;
|
|
74651
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74652
|
+
data: {
|
|
74653
|
+
option: {
|
|
74654
|
+
optionId: bigint;
|
|
74655
|
+
marketAddr: abitype0.Address;
|
|
74656
|
+
ownerAddr: abitype0.Address;
|
|
74657
|
+
optionType: "CALL" | "PUT";
|
|
74658
|
+
createdAt: Date;
|
|
74659
|
+
expiresAt: Date;
|
|
74660
|
+
premium: bigint;
|
|
74661
|
+
protocolFee: bigint;
|
|
74662
|
+
realizedPayout: bigint;
|
|
74663
|
+
liquiditiesAtOpen: bigint[];
|
|
74664
|
+
liquiditiesCurrent: bigint[];
|
|
74665
|
+
positionSizeAtOpen: bigint;
|
|
74666
|
+
positionSizeCurrent: bigint;
|
|
74667
|
+
strikePrice: bigint;
|
|
74668
|
+
entryPrice: bigint;
|
|
74669
|
+
__typename: "UserOption";
|
|
74670
|
+
id: string;
|
|
74671
|
+
strikeTick: number;
|
|
74672
|
+
startTick: number;
|
|
74673
|
+
fullyExercised: boolean;
|
|
74674
|
+
owner?: {
|
|
74675
|
+
__typename: "TimelockMarketUser";
|
|
74676
|
+
address: string;
|
|
74677
|
+
} | null;
|
|
74678
|
+
market?: {
|
|
74679
|
+
__typename: "TimelockMarket";
|
|
74680
|
+
address: string;
|
|
74681
|
+
} | null;
|
|
74682
|
+
};
|
|
74683
|
+
displayPnl: Amount;
|
|
74684
|
+
unrealizedPayout: Amount;
|
|
74685
|
+
}[] | undefined;
|
|
74686
|
+
} | {
|
|
74687
|
+
error: null;
|
|
74688
|
+
isError: false;
|
|
74689
|
+
isPending: true;
|
|
74690
|
+
isLoading: true;
|
|
74691
|
+
isLoadingError: false;
|
|
74692
|
+
isRefetchError: false;
|
|
74693
|
+
isSuccess: false;
|
|
74694
|
+
isPlaceholderData: false;
|
|
74695
|
+
status: "pending";
|
|
74696
|
+
dataUpdatedAt: number;
|
|
74697
|
+
errorUpdatedAt: number;
|
|
74698
|
+
failureCount: number;
|
|
74699
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74700
|
+
errorUpdateCount: number;
|
|
74701
|
+
isFetched: boolean;
|
|
74702
|
+
isFetchedAfterMount: boolean;
|
|
74703
|
+
isFetching: boolean;
|
|
74704
|
+
isInitialLoading: boolean;
|
|
74705
|
+
isPaused: boolean;
|
|
74706
|
+
isRefetching: boolean;
|
|
74707
|
+
isStale: boolean;
|
|
74708
|
+
isEnabled: boolean;
|
|
74709
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74710
|
+
error: Error;
|
|
74711
|
+
result?: undefined;
|
|
74712
|
+
status: "failure";
|
|
74713
|
+
} | {
|
|
74714
|
+
error?: undefined;
|
|
74715
|
+
result: unknown;
|
|
74716
|
+
status: "success";
|
|
74717
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
74718
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74719
|
+
promise: Promise<({
|
|
74720
|
+
error: Error;
|
|
74721
|
+
result?: undefined;
|
|
74722
|
+
status: "failure";
|
|
74723
|
+
} | {
|
|
74724
|
+
error?: undefined;
|
|
74725
|
+
result: unknown;
|
|
74726
|
+
status: "success";
|
|
74727
|
+
})[]>;
|
|
74728
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74729
|
+
data: {
|
|
74730
|
+
option: {
|
|
74731
|
+
optionId: bigint;
|
|
74732
|
+
marketAddr: abitype0.Address;
|
|
74733
|
+
ownerAddr: abitype0.Address;
|
|
74734
|
+
optionType: "CALL" | "PUT";
|
|
74735
|
+
createdAt: Date;
|
|
74736
|
+
expiresAt: Date;
|
|
74737
|
+
premium: bigint;
|
|
74738
|
+
protocolFee: bigint;
|
|
74739
|
+
realizedPayout: bigint;
|
|
74740
|
+
liquiditiesAtOpen: bigint[];
|
|
74741
|
+
liquiditiesCurrent: bigint[];
|
|
74742
|
+
positionSizeAtOpen: bigint;
|
|
74743
|
+
positionSizeCurrent: bigint;
|
|
74744
|
+
strikePrice: bigint;
|
|
74745
|
+
entryPrice: bigint;
|
|
74746
|
+
__typename: "UserOption";
|
|
74747
|
+
id: string;
|
|
74748
|
+
strikeTick: number;
|
|
74749
|
+
startTick: number;
|
|
74750
|
+
fullyExercised: boolean;
|
|
74751
|
+
owner?: {
|
|
74752
|
+
__typename: "TimelockMarketUser";
|
|
74753
|
+
address: string;
|
|
74754
|
+
} | null;
|
|
74755
|
+
market?: {
|
|
74756
|
+
__typename: "TimelockMarket";
|
|
74757
|
+
address: string;
|
|
74758
|
+
} | null;
|
|
74759
|
+
};
|
|
74760
|
+
displayPnl: Amount;
|
|
74761
|
+
unrealizedPayout: Amount;
|
|
74762
|
+
}[] | undefined;
|
|
74763
|
+
} | {
|
|
74764
|
+
error: null;
|
|
74765
|
+
isError: false;
|
|
74766
|
+
isPending: true;
|
|
74767
|
+
isLoadingError: false;
|
|
74768
|
+
isRefetchError: false;
|
|
74769
|
+
isSuccess: false;
|
|
74770
|
+
isPlaceholderData: false;
|
|
74771
|
+
status: "pending";
|
|
74772
|
+
dataUpdatedAt: number;
|
|
74773
|
+
errorUpdatedAt: number;
|
|
74774
|
+
failureCount: number;
|
|
74775
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74776
|
+
errorUpdateCount: number;
|
|
74777
|
+
isFetched: boolean;
|
|
74778
|
+
isFetchedAfterMount: boolean;
|
|
74779
|
+
isFetching: boolean;
|
|
74780
|
+
isLoading: boolean;
|
|
74781
|
+
isInitialLoading: boolean;
|
|
74782
|
+
isPaused: boolean;
|
|
74783
|
+
isRefetching: boolean;
|
|
74784
|
+
isStale: boolean;
|
|
74785
|
+
isEnabled: boolean;
|
|
74786
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74787
|
+
error: Error;
|
|
74788
|
+
result?: undefined;
|
|
74789
|
+
status: "failure";
|
|
74790
|
+
} | {
|
|
74791
|
+
error?: undefined;
|
|
74792
|
+
result: unknown;
|
|
74793
|
+
status: "success";
|
|
74794
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
74795
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74796
|
+
promise: Promise<({
|
|
74797
|
+
error: Error;
|
|
74798
|
+
result?: undefined;
|
|
74799
|
+
status: "failure";
|
|
74800
|
+
} | {
|
|
74801
|
+
error?: undefined;
|
|
74802
|
+
result: unknown;
|
|
74803
|
+
status: "success";
|
|
74804
|
+
})[]>;
|
|
74805
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74806
|
+
data: {
|
|
74807
|
+
option: {
|
|
74808
|
+
optionId: bigint;
|
|
74809
|
+
marketAddr: abitype0.Address;
|
|
74810
|
+
ownerAddr: abitype0.Address;
|
|
74811
|
+
optionType: "CALL" | "PUT";
|
|
74812
|
+
createdAt: Date;
|
|
74813
|
+
expiresAt: Date;
|
|
74814
|
+
premium: bigint;
|
|
74815
|
+
protocolFee: bigint;
|
|
74816
|
+
realizedPayout: bigint;
|
|
74817
|
+
liquiditiesAtOpen: bigint[];
|
|
74818
|
+
liquiditiesCurrent: bigint[];
|
|
74819
|
+
positionSizeAtOpen: bigint;
|
|
74820
|
+
positionSizeCurrent: bigint;
|
|
74821
|
+
strikePrice: bigint;
|
|
74822
|
+
entryPrice: bigint;
|
|
74823
|
+
__typename: "UserOption";
|
|
74824
|
+
id: string;
|
|
74825
|
+
strikeTick: number;
|
|
74826
|
+
startTick: number;
|
|
74827
|
+
fullyExercised: boolean;
|
|
74828
|
+
owner?: {
|
|
74829
|
+
__typename: "TimelockMarketUser";
|
|
74830
|
+
address: string;
|
|
74831
|
+
} | null;
|
|
74832
|
+
market?: {
|
|
74833
|
+
__typename: "TimelockMarket";
|
|
74834
|
+
address: string;
|
|
74835
|
+
} | null;
|
|
74836
|
+
};
|
|
74837
|
+
displayPnl: Amount;
|
|
74838
|
+
unrealizedPayout: Amount;
|
|
74839
|
+
}[] | undefined;
|
|
74840
|
+
} | {
|
|
74841
|
+
isError: false;
|
|
74842
|
+
error: null;
|
|
74843
|
+
isPending: false;
|
|
74844
|
+
isLoading: false;
|
|
74845
|
+
isLoadingError: false;
|
|
74846
|
+
isRefetchError: false;
|
|
74847
|
+
isSuccess: true;
|
|
74848
|
+
isPlaceholderData: true;
|
|
74849
|
+
status: "success";
|
|
74850
|
+
dataUpdatedAt: number;
|
|
74851
|
+
errorUpdatedAt: number;
|
|
74852
|
+
failureCount: number;
|
|
74853
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74854
|
+
errorUpdateCount: number;
|
|
74855
|
+
isFetched: boolean;
|
|
74856
|
+
isFetchedAfterMount: boolean;
|
|
74857
|
+
isFetching: boolean;
|
|
74858
|
+
isInitialLoading: boolean;
|
|
74859
|
+
isPaused: boolean;
|
|
74860
|
+
isRefetching: boolean;
|
|
74861
|
+
isStale: boolean;
|
|
74862
|
+
isEnabled: boolean;
|
|
74863
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74864
|
+
error: Error;
|
|
74865
|
+
result?: undefined;
|
|
74866
|
+
status: "failure";
|
|
74867
|
+
} | {
|
|
74868
|
+
error?: undefined;
|
|
74869
|
+
result: unknown;
|
|
74870
|
+
status: "success";
|
|
74871
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
74872
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74873
|
+
promise: Promise<({
|
|
74874
|
+
error: Error;
|
|
74875
|
+
result?: undefined;
|
|
74876
|
+
status: "failure";
|
|
74877
|
+
} | {
|
|
74878
|
+
error?: undefined;
|
|
74879
|
+
result: unknown;
|
|
74880
|
+
status: "success";
|
|
74881
|
+
})[]>;
|
|
74882
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74883
|
+
data: {
|
|
74884
|
+
option: {
|
|
74885
|
+
optionId: bigint;
|
|
74886
|
+
marketAddr: abitype0.Address;
|
|
74887
|
+
ownerAddr: abitype0.Address;
|
|
74888
|
+
optionType: "CALL" | "PUT";
|
|
74889
|
+
createdAt: Date;
|
|
74890
|
+
expiresAt: Date;
|
|
74891
|
+
premium: bigint;
|
|
74892
|
+
protocolFee: bigint;
|
|
74893
|
+
realizedPayout: bigint;
|
|
74894
|
+
liquiditiesAtOpen: bigint[];
|
|
74895
|
+
liquiditiesCurrent: bigint[];
|
|
74896
|
+
positionSizeAtOpen: bigint;
|
|
74897
|
+
positionSizeCurrent: bigint;
|
|
74898
|
+
strikePrice: bigint;
|
|
74899
|
+
entryPrice: bigint;
|
|
74900
|
+
__typename: "UserOption";
|
|
74901
|
+
id: string;
|
|
74902
|
+
strikeTick: number;
|
|
74903
|
+
startTick: number;
|
|
74904
|
+
fullyExercised: boolean;
|
|
74905
|
+
owner?: {
|
|
74906
|
+
__typename: "TimelockMarketUser";
|
|
74907
|
+
address: string;
|
|
74908
|
+
} | null;
|
|
74909
|
+
market?: {
|
|
74910
|
+
__typename: "TimelockMarket";
|
|
74911
|
+
address: string;
|
|
74912
|
+
} | null;
|
|
74913
|
+
};
|
|
74914
|
+
displayPnl: Amount;
|
|
74915
|
+
unrealizedPayout: Amount;
|
|
74916
|
+
}[] | undefined;
|
|
74917
|
+
};
|
|
74918
|
+
declare const useOptionsPnl: (options: OptionData[]) => {
|
|
74919
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
74920
|
+
isError: true;
|
|
74921
|
+
isPending: false;
|
|
74922
|
+
isLoading: false;
|
|
74923
|
+
isLoadingError: false;
|
|
74924
|
+
isRefetchError: true;
|
|
74925
|
+
isSuccess: false;
|
|
74926
|
+
isPlaceholderData: false;
|
|
74927
|
+
status: "error";
|
|
74928
|
+
dataUpdatedAt: number;
|
|
74929
|
+
errorUpdatedAt: number;
|
|
74930
|
+
failureCount: number;
|
|
74931
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74932
|
+
errorUpdateCount: number;
|
|
74933
|
+
isFetched: boolean;
|
|
74934
|
+
isFetchedAfterMount: boolean;
|
|
74935
|
+
isFetching: boolean;
|
|
74936
|
+
isInitialLoading: boolean;
|
|
74937
|
+
isPaused: boolean;
|
|
74938
|
+
isRefetching: boolean;
|
|
74939
|
+
isStale: boolean;
|
|
74940
|
+
isEnabled: boolean;
|
|
74941
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74942
|
+
error: Error;
|
|
74943
|
+
result?: undefined;
|
|
74944
|
+
status: "failure";
|
|
74945
|
+
} | {
|
|
74946
|
+
error?: undefined;
|
|
74947
|
+
result: unknown;
|
|
74948
|
+
status: "success";
|
|
74949
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
74950
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74951
|
+
promise: Promise<({
|
|
74952
|
+
error: Error;
|
|
74953
|
+
result?: undefined;
|
|
74954
|
+
status: "failure";
|
|
74955
|
+
} | {
|
|
74956
|
+
error?: undefined;
|
|
74957
|
+
result: unknown;
|
|
74958
|
+
status: "success";
|
|
74959
|
+
})[]>;
|
|
74960
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74961
|
+
data: {
|
|
74962
|
+
option: {
|
|
74963
|
+
optionId: bigint;
|
|
74964
|
+
marketAddr: abitype0.Address;
|
|
74965
|
+
ownerAddr: abitype0.Address;
|
|
74966
|
+
optionType: "CALL" | "PUT";
|
|
74967
|
+
createdAt: Date;
|
|
74968
|
+
expiresAt: Date;
|
|
74969
|
+
premium: bigint;
|
|
74970
|
+
protocolFee: bigint;
|
|
74971
|
+
realizedPayout: bigint;
|
|
74972
|
+
liquiditiesAtOpen: bigint[];
|
|
74973
|
+
liquiditiesCurrent: bigint[];
|
|
74974
|
+
positionSizeAtOpen: bigint;
|
|
74975
|
+
positionSizeCurrent: bigint;
|
|
74976
|
+
strikePrice: bigint;
|
|
74977
|
+
entryPrice: bigint;
|
|
74978
|
+
__typename: "UserOption";
|
|
74979
|
+
id: string;
|
|
74980
|
+
strikeTick: number;
|
|
74981
|
+
startTick: number;
|
|
74982
|
+
fullyExercised: boolean;
|
|
74983
|
+
owner?: {
|
|
74984
|
+
__typename: "TimelockMarketUser";
|
|
74985
|
+
address: string;
|
|
74986
|
+
} | null;
|
|
74987
|
+
market?: {
|
|
74988
|
+
__typename: "TimelockMarket";
|
|
74989
|
+
address: string;
|
|
74990
|
+
} | null;
|
|
74991
|
+
};
|
|
74992
|
+
displayPnl: Amount;
|
|
74993
|
+
unrealizedPayout: Amount;
|
|
74994
|
+
}[] | undefined;
|
|
74995
|
+
} | {
|
|
74996
|
+
error: null;
|
|
74997
|
+
isError: false;
|
|
74998
|
+
isPending: false;
|
|
74999
|
+
isLoading: false;
|
|
75000
|
+
isLoadingError: false;
|
|
75001
|
+
isRefetchError: false;
|
|
75002
|
+
isSuccess: true;
|
|
75003
|
+
isPlaceholderData: false;
|
|
75004
|
+
status: "success";
|
|
75005
|
+
dataUpdatedAt: number;
|
|
75006
|
+
errorUpdatedAt: number;
|
|
75007
|
+
failureCount: number;
|
|
75008
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75009
|
+
errorUpdateCount: number;
|
|
75010
|
+
isFetched: boolean;
|
|
75011
|
+
isFetchedAfterMount: boolean;
|
|
75012
|
+
isFetching: boolean;
|
|
75013
|
+
isInitialLoading: boolean;
|
|
75014
|
+
isPaused: boolean;
|
|
75015
|
+
isRefetching: boolean;
|
|
75016
|
+
isStale: boolean;
|
|
75017
|
+
isEnabled: boolean;
|
|
75018
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75019
|
+
error: Error;
|
|
75020
|
+
result?: undefined;
|
|
75021
|
+
status: "failure";
|
|
75022
|
+
} | {
|
|
75023
|
+
error?: undefined;
|
|
75024
|
+
result: unknown;
|
|
75025
|
+
status: "success";
|
|
75026
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
75027
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75028
|
+
promise: Promise<({
|
|
75029
|
+
error: Error;
|
|
75030
|
+
result?: undefined;
|
|
75031
|
+
status: "failure";
|
|
75032
|
+
} | {
|
|
75033
|
+
error?: undefined;
|
|
75034
|
+
result: unknown;
|
|
75035
|
+
status: "success";
|
|
75036
|
+
})[]>;
|
|
75037
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75038
|
+
data: {
|
|
75039
|
+
option: {
|
|
75040
|
+
optionId: bigint;
|
|
75041
|
+
marketAddr: abitype0.Address;
|
|
75042
|
+
ownerAddr: abitype0.Address;
|
|
75043
|
+
optionType: "CALL" | "PUT";
|
|
75044
|
+
createdAt: Date;
|
|
75045
|
+
expiresAt: Date;
|
|
75046
|
+
premium: bigint;
|
|
75047
|
+
protocolFee: bigint;
|
|
75048
|
+
realizedPayout: bigint;
|
|
75049
|
+
liquiditiesAtOpen: bigint[];
|
|
75050
|
+
liquiditiesCurrent: bigint[];
|
|
75051
|
+
positionSizeAtOpen: bigint;
|
|
75052
|
+
positionSizeCurrent: bigint;
|
|
75053
|
+
strikePrice: bigint;
|
|
75054
|
+
entryPrice: bigint;
|
|
75055
|
+
__typename: "UserOption";
|
|
75056
|
+
id: string;
|
|
75057
|
+
strikeTick: number;
|
|
75058
|
+
startTick: number;
|
|
75059
|
+
fullyExercised: boolean;
|
|
75060
|
+
owner?: {
|
|
75061
|
+
__typename: "TimelockMarketUser";
|
|
75062
|
+
address: string;
|
|
75063
|
+
} | null;
|
|
75064
|
+
market?: {
|
|
75065
|
+
__typename: "TimelockMarket";
|
|
75066
|
+
address: string;
|
|
75067
|
+
} | null;
|
|
75068
|
+
};
|
|
75069
|
+
displayPnl: Amount;
|
|
75070
|
+
unrealizedPayout: Amount;
|
|
75071
|
+
}[] | undefined;
|
|
75072
|
+
} | {
|
|
75073
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
75074
|
+
isError: true;
|
|
75075
|
+
isPending: false;
|
|
75076
|
+
isLoading: false;
|
|
75077
|
+
isLoadingError: true;
|
|
75078
|
+
isRefetchError: false;
|
|
75079
|
+
isSuccess: false;
|
|
75080
|
+
isPlaceholderData: false;
|
|
75081
|
+
status: "error";
|
|
75082
|
+
dataUpdatedAt: number;
|
|
75083
|
+
errorUpdatedAt: number;
|
|
75084
|
+
failureCount: number;
|
|
75085
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75086
|
+
errorUpdateCount: number;
|
|
75087
|
+
isFetched: boolean;
|
|
75088
|
+
isFetchedAfterMount: boolean;
|
|
75089
|
+
isFetching: boolean;
|
|
75090
|
+
isInitialLoading: boolean;
|
|
75091
|
+
isPaused: boolean;
|
|
75092
|
+
isRefetching: boolean;
|
|
75093
|
+
isStale: boolean;
|
|
75094
|
+
isEnabled: boolean;
|
|
75095
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75096
|
+
error: Error;
|
|
75097
|
+
result?: undefined;
|
|
75098
|
+
status: "failure";
|
|
75099
|
+
} | {
|
|
75100
|
+
error?: undefined;
|
|
75101
|
+
result: unknown;
|
|
75102
|
+
status: "success";
|
|
75103
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
75104
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75105
|
+
promise: Promise<({
|
|
75106
|
+
error: Error;
|
|
75107
|
+
result?: undefined;
|
|
75108
|
+
status: "failure";
|
|
75109
|
+
} | {
|
|
75110
|
+
error?: undefined;
|
|
75111
|
+
result: unknown;
|
|
75112
|
+
status: "success";
|
|
75113
|
+
})[]>;
|
|
75114
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75115
|
+
data: {
|
|
75116
|
+
option: {
|
|
75117
|
+
optionId: bigint;
|
|
75118
|
+
marketAddr: abitype0.Address;
|
|
75119
|
+
ownerAddr: abitype0.Address;
|
|
75120
|
+
optionType: "CALL" | "PUT";
|
|
75121
|
+
createdAt: Date;
|
|
75122
|
+
expiresAt: Date;
|
|
75123
|
+
premium: bigint;
|
|
75124
|
+
protocolFee: bigint;
|
|
75125
|
+
realizedPayout: bigint;
|
|
75126
|
+
liquiditiesAtOpen: bigint[];
|
|
75127
|
+
liquiditiesCurrent: bigint[];
|
|
75128
|
+
positionSizeAtOpen: bigint;
|
|
75129
|
+
positionSizeCurrent: bigint;
|
|
75130
|
+
strikePrice: bigint;
|
|
75131
|
+
entryPrice: bigint;
|
|
75132
|
+
__typename: "UserOption";
|
|
75133
|
+
id: string;
|
|
75134
|
+
strikeTick: number;
|
|
75135
|
+
startTick: number;
|
|
75136
|
+
fullyExercised: boolean;
|
|
75137
|
+
owner?: {
|
|
75138
|
+
__typename: "TimelockMarketUser";
|
|
75139
|
+
address: string;
|
|
75140
|
+
} | null;
|
|
75141
|
+
market?: {
|
|
75142
|
+
__typename: "TimelockMarket";
|
|
75143
|
+
address: string;
|
|
75144
|
+
} | null;
|
|
75145
|
+
};
|
|
75146
|
+
displayPnl: Amount;
|
|
75147
|
+
unrealizedPayout: Amount;
|
|
75148
|
+
}[] | undefined;
|
|
75149
|
+
} | {
|
|
75150
|
+
error: null;
|
|
75151
|
+
isError: false;
|
|
75152
|
+
isPending: true;
|
|
75153
|
+
isLoading: true;
|
|
75154
|
+
isLoadingError: false;
|
|
75155
|
+
isRefetchError: false;
|
|
75156
|
+
isSuccess: false;
|
|
75157
|
+
isPlaceholderData: false;
|
|
75158
|
+
status: "pending";
|
|
75159
|
+
dataUpdatedAt: number;
|
|
75160
|
+
errorUpdatedAt: number;
|
|
75161
|
+
failureCount: number;
|
|
75162
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75163
|
+
errorUpdateCount: number;
|
|
75164
|
+
isFetched: boolean;
|
|
75165
|
+
isFetchedAfterMount: boolean;
|
|
75166
|
+
isFetching: boolean;
|
|
75167
|
+
isInitialLoading: boolean;
|
|
75168
|
+
isPaused: boolean;
|
|
75169
|
+
isRefetching: boolean;
|
|
75170
|
+
isStale: boolean;
|
|
75171
|
+
isEnabled: boolean;
|
|
75172
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75173
|
+
error: Error;
|
|
75174
|
+
result?: undefined;
|
|
75175
|
+
status: "failure";
|
|
75176
|
+
} | {
|
|
75177
|
+
error?: undefined;
|
|
75178
|
+
result: unknown;
|
|
75179
|
+
status: "success";
|
|
75180
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
75181
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75182
|
+
promise: Promise<({
|
|
75183
|
+
error: Error;
|
|
75184
|
+
result?: undefined;
|
|
75185
|
+
status: "failure";
|
|
75186
|
+
} | {
|
|
75187
|
+
error?: undefined;
|
|
75188
|
+
result: unknown;
|
|
75189
|
+
status: "success";
|
|
75190
|
+
})[]>;
|
|
75191
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75192
|
+
data: {
|
|
75193
|
+
option: {
|
|
75194
|
+
optionId: bigint;
|
|
75195
|
+
marketAddr: abitype0.Address;
|
|
75196
|
+
ownerAddr: abitype0.Address;
|
|
75197
|
+
optionType: "CALL" | "PUT";
|
|
75198
|
+
createdAt: Date;
|
|
75199
|
+
expiresAt: Date;
|
|
75200
|
+
premium: bigint;
|
|
75201
|
+
protocolFee: bigint;
|
|
75202
|
+
realizedPayout: bigint;
|
|
75203
|
+
liquiditiesAtOpen: bigint[];
|
|
75204
|
+
liquiditiesCurrent: bigint[];
|
|
75205
|
+
positionSizeAtOpen: bigint;
|
|
75206
|
+
positionSizeCurrent: bigint;
|
|
75207
|
+
strikePrice: bigint;
|
|
75208
|
+
entryPrice: bigint;
|
|
75209
|
+
__typename: "UserOption";
|
|
75210
|
+
id: string;
|
|
75211
|
+
strikeTick: number;
|
|
75212
|
+
startTick: number;
|
|
75213
|
+
fullyExercised: boolean;
|
|
75214
|
+
owner?: {
|
|
75215
|
+
__typename: "TimelockMarketUser";
|
|
75216
|
+
address: string;
|
|
75217
|
+
} | null;
|
|
75218
|
+
market?: {
|
|
75219
|
+
__typename: "TimelockMarket";
|
|
75220
|
+
address: string;
|
|
75221
|
+
} | null;
|
|
75222
|
+
};
|
|
75223
|
+
displayPnl: Amount;
|
|
75224
|
+
unrealizedPayout: Amount;
|
|
75225
|
+
}[] | undefined;
|
|
75226
|
+
} | {
|
|
75227
|
+
error: null;
|
|
75228
|
+
isError: false;
|
|
75229
|
+
isPending: true;
|
|
75230
|
+
isLoadingError: false;
|
|
75231
|
+
isRefetchError: false;
|
|
75232
|
+
isSuccess: false;
|
|
75233
|
+
isPlaceholderData: false;
|
|
75234
|
+
status: "pending";
|
|
75235
|
+
dataUpdatedAt: number;
|
|
75236
|
+
errorUpdatedAt: number;
|
|
75237
|
+
failureCount: number;
|
|
75238
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75239
|
+
errorUpdateCount: number;
|
|
75240
|
+
isFetched: boolean;
|
|
75241
|
+
isFetchedAfterMount: boolean;
|
|
75242
|
+
isFetching: boolean;
|
|
75243
|
+
isLoading: boolean;
|
|
75244
|
+
isInitialLoading: boolean;
|
|
75245
|
+
isPaused: boolean;
|
|
75246
|
+
isRefetching: boolean;
|
|
75247
|
+
isStale: boolean;
|
|
75248
|
+
isEnabled: boolean;
|
|
75249
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75250
|
+
error: Error;
|
|
75251
|
+
result?: undefined;
|
|
75252
|
+
status: "failure";
|
|
75253
|
+
} | {
|
|
75254
|
+
error?: undefined;
|
|
75255
|
+
result: unknown;
|
|
75256
|
+
status: "success";
|
|
75257
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
75258
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75259
|
+
promise: Promise<({
|
|
75260
|
+
error: Error;
|
|
75261
|
+
result?: undefined;
|
|
75262
|
+
status: "failure";
|
|
75263
|
+
} | {
|
|
75264
|
+
error?: undefined;
|
|
75265
|
+
result: unknown;
|
|
75266
|
+
status: "success";
|
|
75267
|
+
})[]>;
|
|
75268
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75269
|
+
data: {
|
|
75270
|
+
option: {
|
|
75271
|
+
optionId: bigint;
|
|
75272
|
+
marketAddr: abitype0.Address;
|
|
75273
|
+
ownerAddr: abitype0.Address;
|
|
75274
|
+
optionType: "CALL" | "PUT";
|
|
75275
|
+
createdAt: Date;
|
|
75276
|
+
expiresAt: Date;
|
|
75277
|
+
premium: bigint;
|
|
75278
|
+
protocolFee: bigint;
|
|
75279
|
+
realizedPayout: bigint;
|
|
75280
|
+
liquiditiesAtOpen: bigint[];
|
|
75281
|
+
liquiditiesCurrent: bigint[];
|
|
75282
|
+
positionSizeAtOpen: bigint;
|
|
75283
|
+
positionSizeCurrent: bigint;
|
|
75284
|
+
strikePrice: bigint;
|
|
75285
|
+
entryPrice: bigint;
|
|
75286
|
+
__typename: "UserOption";
|
|
75287
|
+
id: string;
|
|
75288
|
+
strikeTick: number;
|
|
75289
|
+
startTick: number;
|
|
75290
|
+
fullyExercised: boolean;
|
|
75291
|
+
owner?: {
|
|
75292
|
+
__typename: "TimelockMarketUser";
|
|
75293
|
+
address: string;
|
|
75294
|
+
} | null;
|
|
75295
|
+
market?: {
|
|
75296
|
+
__typename: "TimelockMarket";
|
|
75297
|
+
address: string;
|
|
75298
|
+
} | null;
|
|
75299
|
+
};
|
|
75300
|
+
displayPnl: Amount;
|
|
75301
|
+
unrealizedPayout: Amount;
|
|
75302
|
+
}[] | undefined;
|
|
75303
|
+
} | {
|
|
75304
|
+
isError: false;
|
|
75305
|
+
error: null;
|
|
75306
|
+
isPending: false;
|
|
75307
|
+
isLoading: false;
|
|
75308
|
+
isLoadingError: false;
|
|
75309
|
+
isRefetchError: false;
|
|
75310
|
+
isSuccess: true;
|
|
75311
|
+
isPlaceholderData: true;
|
|
75312
|
+
status: "success";
|
|
75313
|
+
dataUpdatedAt: number;
|
|
75314
|
+
errorUpdatedAt: number;
|
|
75315
|
+
failureCount: number;
|
|
75316
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75317
|
+
errorUpdateCount: number;
|
|
75318
|
+
isFetched: boolean;
|
|
75319
|
+
isFetchedAfterMount: boolean;
|
|
75320
|
+
isFetching: boolean;
|
|
75321
|
+
isInitialLoading: boolean;
|
|
75322
|
+
isPaused: boolean;
|
|
75323
|
+
isRefetching: boolean;
|
|
75324
|
+
isStale: boolean;
|
|
75325
|
+
isEnabled: boolean;
|
|
75326
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75327
|
+
error: Error;
|
|
75328
|
+
result?: undefined;
|
|
75329
|
+
status: "failure";
|
|
75330
|
+
} | {
|
|
75331
|
+
error?: undefined;
|
|
75332
|
+
result: unknown;
|
|
75333
|
+
status: "success";
|
|
75334
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
75335
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75336
|
+
promise: Promise<({
|
|
75337
|
+
error: Error;
|
|
75338
|
+
result?: undefined;
|
|
75339
|
+
status: "failure";
|
|
75340
|
+
} | {
|
|
75341
|
+
error?: undefined;
|
|
75342
|
+
result: unknown;
|
|
75343
|
+
status: "success";
|
|
75344
|
+
})[]>;
|
|
75345
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75346
|
+
data: {
|
|
75347
|
+
option: {
|
|
75348
|
+
optionId: bigint;
|
|
75349
|
+
marketAddr: abitype0.Address;
|
|
75350
|
+
ownerAddr: abitype0.Address;
|
|
75351
|
+
optionType: "CALL" | "PUT";
|
|
75352
|
+
createdAt: Date;
|
|
75353
|
+
expiresAt: Date;
|
|
75354
|
+
premium: bigint;
|
|
75355
|
+
protocolFee: bigint;
|
|
75356
|
+
realizedPayout: bigint;
|
|
75357
|
+
liquiditiesAtOpen: bigint[];
|
|
75358
|
+
liquiditiesCurrent: bigint[];
|
|
75359
|
+
positionSizeAtOpen: bigint;
|
|
75360
|
+
positionSizeCurrent: bigint;
|
|
75361
|
+
strikePrice: bigint;
|
|
75362
|
+
entryPrice: bigint;
|
|
75363
|
+
__typename: "UserOption";
|
|
75364
|
+
id: string;
|
|
75365
|
+
strikeTick: number;
|
|
75366
|
+
startTick: number;
|
|
75367
|
+
fullyExercised: boolean;
|
|
75368
|
+
owner?: {
|
|
75369
|
+
__typename: "TimelockMarketUser";
|
|
75370
|
+
address: string;
|
|
75371
|
+
} | null;
|
|
75372
|
+
market?: {
|
|
75373
|
+
__typename: "TimelockMarket";
|
|
75374
|
+
address: string;
|
|
75375
|
+
} | null;
|
|
75376
|
+
};
|
|
75377
|
+
displayPnl: Amount;
|
|
75378
|
+
unrealizedPayout: Amount;
|
|
75379
|
+
}[] | undefined;
|
|
75380
|
+
};
|
|
74455
75381
|
//#endregion
|
|
74456
75382
|
//#region src/hooks/options/useOptionPremium.d.ts
|
|
74457
75383
|
declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "CALL" | "PUT", optionAmount?: bigint, addedDuration?: number, remainingDuration?: number, strikeTick?: number) => {
|
|
@@ -74592,10 +75518,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
74592
75518
|
isRefetching: boolean;
|
|
74593
75519
|
isStale: boolean;
|
|
74594
75520
|
isEnabled: boolean;
|
|
74595
|
-
refetch: (options?:
|
|
74596
|
-
fetchStatus:
|
|
75521
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
75522
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74597
75523
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
74598
|
-
queryKey:
|
|
75524
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74599
75525
|
data: {
|
|
74600
75526
|
canExtend: boolean | undefined;
|
|
74601
75527
|
canExercise: boolean | undefined;
|
|
@@ -74627,10 +75553,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
74627
75553
|
isRefetching: boolean;
|
|
74628
75554
|
isStale: boolean;
|
|
74629
75555
|
isEnabled: boolean;
|
|
74630
|
-
refetch: (options?:
|
|
74631
|
-
fetchStatus:
|
|
75556
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
75557
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74632
75558
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
74633
|
-
queryKey:
|
|
75559
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74634
75560
|
data: {
|
|
74635
75561
|
canExtend: boolean | undefined;
|
|
74636
75562
|
canExercise: boolean | undefined;
|
|
@@ -74662,10 +75588,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
74662
75588
|
isRefetching: boolean;
|
|
74663
75589
|
isStale: boolean;
|
|
74664
75590
|
isEnabled: boolean;
|
|
74665
|
-
refetch: (options?:
|
|
74666
|
-
fetchStatus:
|
|
75591
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
75592
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74667
75593
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
74668
|
-
queryKey:
|
|
75594
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74669
75595
|
data: {
|
|
74670
75596
|
canExtend: boolean | undefined;
|
|
74671
75597
|
canExercise: boolean | undefined;
|
|
@@ -74697,10 +75623,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
74697
75623
|
isRefetching: boolean;
|
|
74698
75624
|
isStale: boolean;
|
|
74699
75625
|
isEnabled: boolean;
|
|
74700
|
-
refetch: (options?:
|
|
74701
|
-
fetchStatus:
|
|
75626
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
75627
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74702
75628
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
74703
|
-
queryKey:
|
|
75629
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74704
75630
|
data: {
|
|
74705
75631
|
canExtend: boolean | undefined;
|
|
74706
75632
|
canExercise: boolean | undefined;
|
|
@@ -74732,10 +75658,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
74732
75658
|
isRefetching: boolean;
|
|
74733
75659
|
isStale: boolean;
|
|
74734
75660
|
isEnabled: boolean;
|
|
74735
|
-
refetch: (options?:
|
|
74736
|
-
fetchStatus:
|
|
75661
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
75662
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74737
75663
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
74738
|
-
queryKey:
|
|
75664
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74739
75665
|
data: {
|
|
74740
75666
|
canExtend: boolean | undefined;
|
|
74741
75667
|
canExercise: boolean | undefined;
|
|
@@ -74767,10 +75693,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
74767
75693
|
isRefetching: boolean;
|
|
74768
75694
|
isStale: boolean;
|
|
74769
75695
|
isEnabled: boolean;
|
|
74770
|
-
refetch: (options?:
|
|
74771
|
-
fetchStatus:
|
|
75696
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
75697
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74772
75698
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
74773
|
-
queryKey:
|
|
75699
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74774
75700
|
data: {
|
|
74775
75701
|
canExtend: boolean | undefined;
|
|
74776
75702
|
canExercise: boolean | undefined;
|
|
@@ -74862,7 +75788,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
74862
75788
|
tickSpacing: number;
|
|
74863
75789
|
fee: number;
|
|
74864
75790
|
}[] | undefined;
|
|
74865
|
-
error:
|
|
75791
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
74866
75792
|
isError: true;
|
|
74867
75793
|
isPending: false;
|
|
74868
75794
|
isLoading: false;
|
|
@@ -74874,7 +75800,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
74874
75800
|
dataUpdatedAt: number;
|
|
74875
75801
|
errorUpdatedAt: number;
|
|
74876
75802
|
failureCount: number;
|
|
74877
|
-
failureReason:
|
|
75803
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74878
75804
|
errorUpdateCount: number;
|
|
74879
75805
|
isFetched: boolean;
|
|
74880
75806
|
isFetchedAfterMount: boolean;
|
|
@@ -74884,7 +75810,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
74884
75810
|
isRefetching: boolean;
|
|
74885
75811
|
isStale: boolean;
|
|
74886
75812
|
isEnabled: boolean;
|
|
74887
|
-
refetch: (options?:
|
|
75813
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74888
75814
|
error: Error;
|
|
74889
75815
|
result?: undefined;
|
|
74890
75816
|
status: "failure";
|
|
@@ -74903,8 +75829,8 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
74903
75829
|
fee: number;
|
|
74904
75830
|
};
|
|
74905
75831
|
status: "success";
|
|
74906
|
-
})[],
|
|
74907
|
-
fetchStatus:
|
|
75832
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
75833
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74908
75834
|
promise: Promise<({
|
|
74909
75835
|
error: Error;
|
|
74910
75836
|
result?: undefined;
|
|
@@ -74925,7 +75851,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
74925
75851
|
};
|
|
74926
75852
|
status: "success";
|
|
74927
75853
|
})[]>;
|
|
74928
|
-
queryKey:
|
|
75854
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
74929
75855
|
} | {
|
|
74930
75856
|
data: {
|
|
74931
75857
|
token0: `0x${string}`;
|
|
@@ -74951,7 +75877,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
74951
75877
|
dataUpdatedAt: number;
|
|
74952
75878
|
errorUpdatedAt: number;
|
|
74953
75879
|
failureCount: number;
|
|
74954
|
-
failureReason:
|
|
75880
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
74955
75881
|
errorUpdateCount: number;
|
|
74956
75882
|
isFetched: boolean;
|
|
74957
75883
|
isFetchedAfterMount: boolean;
|
|
@@ -74961,7 +75887,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
74961
75887
|
isRefetching: boolean;
|
|
74962
75888
|
isStale: boolean;
|
|
74963
75889
|
isEnabled: boolean;
|
|
74964
|
-
refetch: (options?:
|
|
75890
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
74965
75891
|
error: Error;
|
|
74966
75892
|
result?: undefined;
|
|
74967
75893
|
status: "failure";
|
|
@@ -74980,8 +75906,8 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
74980
75906
|
fee: number;
|
|
74981
75907
|
};
|
|
74982
75908
|
status: "success";
|
|
74983
|
-
})[],
|
|
74984
|
-
fetchStatus:
|
|
75909
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
75910
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
74985
75911
|
promise: Promise<({
|
|
74986
75912
|
error: Error;
|
|
74987
75913
|
result?: undefined;
|
|
@@ -75002,7 +75928,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75002
75928
|
};
|
|
75003
75929
|
status: "success";
|
|
75004
75930
|
})[]>;
|
|
75005
|
-
queryKey:
|
|
75931
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75006
75932
|
} | {
|
|
75007
75933
|
data: {
|
|
75008
75934
|
token0: `0x${string}`;
|
|
@@ -75016,7 +75942,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75016
75942
|
tickSpacing: number;
|
|
75017
75943
|
fee: number;
|
|
75018
75944
|
}[] | undefined;
|
|
75019
|
-
error:
|
|
75945
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
75020
75946
|
isError: true;
|
|
75021
75947
|
isPending: false;
|
|
75022
75948
|
isLoading: false;
|
|
@@ -75028,7 +75954,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75028
75954
|
dataUpdatedAt: number;
|
|
75029
75955
|
errorUpdatedAt: number;
|
|
75030
75956
|
failureCount: number;
|
|
75031
|
-
failureReason:
|
|
75957
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75032
75958
|
errorUpdateCount: number;
|
|
75033
75959
|
isFetched: boolean;
|
|
75034
75960
|
isFetchedAfterMount: boolean;
|
|
@@ -75038,7 +75964,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75038
75964
|
isRefetching: boolean;
|
|
75039
75965
|
isStale: boolean;
|
|
75040
75966
|
isEnabled: boolean;
|
|
75041
|
-
refetch: (options?:
|
|
75967
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75042
75968
|
error: Error;
|
|
75043
75969
|
result?: undefined;
|
|
75044
75970
|
status: "failure";
|
|
@@ -75057,8 +75983,8 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75057
75983
|
fee: number;
|
|
75058
75984
|
};
|
|
75059
75985
|
status: "success";
|
|
75060
|
-
})[],
|
|
75061
|
-
fetchStatus:
|
|
75986
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
75987
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75062
75988
|
promise: Promise<({
|
|
75063
75989
|
error: Error;
|
|
75064
75990
|
result?: undefined;
|
|
@@ -75079,7 +76005,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75079
76005
|
};
|
|
75080
76006
|
status: "success";
|
|
75081
76007
|
})[]>;
|
|
75082
|
-
queryKey:
|
|
76008
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75083
76009
|
} | {
|
|
75084
76010
|
data: {
|
|
75085
76011
|
token0: `0x${string}`;
|
|
@@ -75105,7 +76031,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75105
76031
|
dataUpdatedAt: number;
|
|
75106
76032
|
errorUpdatedAt: number;
|
|
75107
76033
|
failureCount: number;
|
|
75108
|
-
failureReason:
|
|
76034
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75109
76035
|
errorUpdateCount: number;
|
|
75110
76036
|
isFetched: boolean;
|
|
75111
76037
|
isFetchedAfterMount: boolean;
|
|
@@ -75115,7 +76041,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75115
76041
|
isRefetching: boolean;
|
|
75116
76042
|
isStale: boolean;
|
|
75117
76043
|
isEnabled: boolean;
|
|
75118
|
-
refetch: (options?:
|
|
76044
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75119
76045
|
error: Error;
|
|
75120
76046
|
result?: undefined;
|
|
75121
76047
|
status: "failure";
|
|
@@ -75134,8 +76060,8 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75134
76060
|
fee: number;
|
|
75135
76061
|
};
|
|
75136
76062
|
status: "success";
|
|
75137
|
-
})[],
|
|
75138
|
-
fetchStatus:
|
|
76063
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76064
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75139
76065
|
promise: Promise<({
|
|
75140
76066
|
error: Error;
|
|
75141
76067
|
result?: undefined;
|
|
@@ -75156,7 +76082,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75156
76082
|
};
|
|
75157
76083
|
status: "success";
|
|
75158
76084
|
})[]>;
|
|
75159
|
-
queryKey:
|
|
76085
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75160
76086
|
} | {
|
|
75161
76087
|
data: {
|
|
75162
76088
|
token0: `0x${string}`;
|
|
@@ -75181,7 +76107,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75181
76107
|
dataUpdatedAt: number;
|
|
75182
76108
|
errorUpdatedAt: number;
|
|
75183
76109
|
failureCount: number;
|
|
75184
|
-
failureReason:
|
|
76110
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75185
76111
|
errorUpdateCount: number;
|
|
75186
76112
|
isFetched: boolean;
|
|
75187
76113
|
isFetchedAfterMount: boolean;
|
|
@@ -75192,7 +76118,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75192
76118
|
isRefetching: boolean;
|
|
75193
76119
|
isStale: boolean;
|
|
75194
76120
|
isEnabled: boolean;
|
|
75195
|
-
refetch: (options?:
|
|
76121
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75196
76122
|
error: Error;
|
|
75197
76123
|
result?: undefined;
|
|
75198
76124
|
status: "failure";
|
|
@@ -75211,8 +76137,8 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75211
76137
|
fee: number;
|
|
75212
76138
|
};
|
|
75213
76139
|
status: "success";
|
|
75214
|
-
})[],
|
|
75215
|
-
fetchStatus:
|
|
76140
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76141
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75216
76142
|
promise: Promise<({
|
|
75217
76143
|
error: Error;
|
|
75218
76144
|
result?: undefined;
|
|
@@ -75233,7 +76159,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75233
76159
|
};
|
|
75234
76160
|
status: "success";
|
|
75235
76161
|
})[]>;
|
|
75236
|
-
queryKey:
|
|
76162
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75237
76163
|
} | {
|
|
75238
76164
|
data: {
|
|
75239
76165
|
token0: `0x${string}`;
|
|
@@ -75259,7 +76185,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75259
76185
|
dataUpdatedAt: number;
|
|
75260
76186
|
errorUpdatedAt: number;
|
|
75261
76187
|
failureCount: number;
|
|
75262
|
-
failureReason:
|
|
76188
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75263
76189
|
errorUpdateCount: number;
|
|
75264
76190
|
isFetched: boolean;
|
|
75265
76191
|
isFetchedAfterMount: boolean;
|
|
@@ -75269,7 +76195,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75269
76195
|
isRefetching: boolean;
|
|
75270
76196
|
isStale: boolean;
|
|
75271
76197
|
isEnabled: boolean;
|
|
75272
|
-
refetch: (options?:
|
|
76198
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75273
76199
|
error: Error;
|
|
75274
76200
|
result?: undefined;
|
|
75275
76201
|
status: "failure";
|
|
@@ -75288,8 +76214,8 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75288
76214
|
fee: number;
|
|
75289
76215
|
};
|
|
75290
76216
|
status: "success";
|
|
75291
|
-
})[],
|
|
75292
|
-
fetchStatus:
|
|
76217
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76218
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75293
76219
|
promise: Promise<({
|
|
75294
76220
|
error: Error;
|
|
75295
76221
|
result?: undefined;
|
|
@@ -75310,7 +76236,7 @@ declare const usePoolsData: (pools: PoolInput[]) => {
|
|
|
75310
76236
|
};
|
|
75311
76237
|
status: "success";
|
|
75312
76238
|
})[]>;
|
|
75313
|
-
queryKey:
|
|
76239
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75314
76240
|
};
|
|
75315
76241
|
//#endregion
|
|
75316
76242
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
@@ -75327,7 +76253,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75327
76253
|
sqrtPriceX96: bigint;
|
|
75328
76254
|
currentTick: number;
|
|
75329
76255
|
}[] | undefined;
|
|
75330
|
-
error:
|
|
76256
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
75331
76257
|
isError: true;
|
|
75332
76258
|
isPending: false;
|
|
75333
76259
|
isLoading: false;
|
|
@@ -75339,7 +76265,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75339
76265
|
dataUpdatedAt: number;
|
|
75340
76266
|
errorUpdatedAt: number;
|
|
75341
76267
|
failureCount: number;
|
|
75342
|
-
failureReason:
|
|
76268
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75343
76269
|
errorUpdateCount: number;
|
|
75344
76270
|
isFetched: boolean;
|
|
75345
76271
|
isFetchedAfterMount: boolean;
|
|
@@ -75349,7 +76275,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75349
76275
|
isRefetching: boolean;
|
|
75350
76276
|
isStale: boolean;
|
|
75351
76277
|
isEnabled: boolean;
|
|
75352
|
-
refetch: (options?:
|
|
76278
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75353
76279
|
error: Error;
|
|
75354
76280
|
result?: undefined;
|
|
75355
76281
|
status: "failure";
|
|
@@ -75357,8 +76283,8 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75357
76283
|
error?: undefined;
|
|
75358
76284
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75359
76285
|
status: "success";
|
|
75360
|
-
})[],
|
|
75361
|
-
fetchStatus:
|
|
76286
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76287
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75362
76288
|
promise: Promise<({
|
|
75363
76289
|
error: Error;
|
|
75364
76290
|
result?: undefined;
|
|
@@ -75368,7 +76294,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75368
76294
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75369
76295
|
status: "success";
|
|
75370
76296
|
})[]>;
|
|
75371
|
-
queryKey:
|
|
76297
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75372
76298
|
} | {
|
|
75373
76299
|
data: {
|
|
75374
76300
|
currentPrice: Amount;
|
|
@@ -75387,7 +76313,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75387
76313
|
dataUpdatedAt: number;
|
|
75388
76314
|
errorUpdatedAt: number;
|
|
75389
76315
|
failureCount: number;
|
|
75390
|
-
failureReason:
|
|
76316
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75391
76317
|
errorUpdateCount: number;
|
|
75392
76318
|
isFetched: boolean;
|
|
75393
76319
|
isFetchedAfterMount: boolean;
|
|
@@ -75397,7 +76323,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75397
76323
|
isRefetching: boolean;
|
|
75398
76324
|
isStale: boolean;
|
|
75399
76325
|
isEnabled: boolean;
|
|
75400
|
-
refetch: (options?:
|
|
76326
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75401
76327
|
error: Error;
|
|
75402
76328
|
result?: undefined;
|
|
75403
76329
|
status: "failure";
|
|
@@ -75405,8 +76331,8 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75405
76331
|
error?: undefined;
|
|
75406
76332
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75407
76333
|
status: "success";
|
|
75408
|
-
})[],
|
|
75409
|
-
fetchStatus:
|
|
76334
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76335
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75410
76336
|
promise: Promise<({
|
|
75411
76337
|
error: Error;
|
|
75412
76338
|
result?: undefined;
|
|
@@ -75416,14 +76342,14 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75416
76342
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75417
76343
|
status: "success";
|
|
75418
76344
|
})[]>;
|
|
75419
|
-
queryKey:
|
|
76345
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75420
76346
|
} | {
|
|
75421
76347
|
data: {
|
|
75422
76348
|
currentPrice: Amount;
|
|
75423
76349
|
sqrtPriceX96: bigint;
|
|
75424
76350
|
currentTick: number;
|
|
75425
76351
|
}[] | undefined;
|
|
75426
|
-
error:
|
|
76352
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
75427
76353
|
isError: true;
|
|
75428
76354
|
isPending: false;
|
|
75429
76355
|
isLoading: false;
|
|
@@ -75435,7 +76361,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75435
76361
|
dataUpdatedAt: number;
|
|
75436
76362
|
errorUpdatedAt: number;
|
|
75437
76363
|
failureCount: number;
|
|
75438
|
-
failureReason:
|
|
76364
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75439
76365
|
errorUpdateCount: number;
|
|
75440
76366
|
isFetched: boolean;
|
|
75441
76367
|
isFetchedAfterMount: boolean;
|
|
@@ -75445,7 +76371,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75445
76371
|
isRefetching: boolean;
|
|
75446
76372
|
isStale: boolean;
|
|
75447
76373
|
isEnabled: boolean;
|
|
75448
|
-
refetch: (options?:
|
|
76374
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75449
76375
|
error: Error;
|
|
75450
76376
|
result?: undefined;
|
|
75451
76377
|
status: "failure";
|
|
@@ -75453,8 +76379,8 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75453
76379
|
error?: undefined;
|
|
75454
76380
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75455
76381
|
status: "success";
|
|
75456
|
-
})[],
|
|
75457
|
-
fetchStatus:
|
|
76382
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76383
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75458
76384
|
promise: Promise<({
|
|
75459
76385
|
error: Error;
|
|
75460
76386
|
result?: undefined;
|
|
@@ -75464,7 +76390,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75464
76390
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75465
76391
|
status: "success";
|
|
75466
76392
|
})[]>;
|
|
75467
|
-
queryKey:
|
|
76393
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75468
76394
|
} | {
|
|
75469
76395
|
data: {
|
|
75470
76396
|
currentPrice: Amount;
|
|
@@ -75483,7 +76409,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75483
76409
|
dataUpdatedAt: number;
|
|
75484
76410
|
errorUpdatedAt: number;
|
|
75485
76411
|
failureCount: number;
|
|
75486
|
-
failureReason:
|
|
76412
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75487
76413
|
errorUpdateCount: number;
|
|
75488
76414
|
isFetched: boolean;
|
|
75489
76415
|
isFetchedAfterMount: boolean;
|
|
@@ -75493,7 +76419,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75493
76419
|
isRefetching: boolean;
|
|
75494
76420
|
isStale: boolean;
|
|
75495
76421
|
isEnabled: boolean;
|
|
75496
|
-
refetch: (options?:
|
|
76422
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75497
76423
|
error: Error;
|
|
75498
76424
|
result?: undefined;
|
|
75499
76425
|
status: "failure";
|
|
@@ -75501,8 +76427,8 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75501
76427
|
error?: undefined;
|
|
75502
76428
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75503
76429
|
status: "success";
|
|
75504
|
-
})[],
|
|
75505
|
-
fetchStatus:
|
|
76430
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76431
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75506
76432
|
promise: Promise<({
|
|
75507
76433
|
error: Error;
|
|
75508
76434
|
result?: undefined;
|
|
@@ -75512,7 +76438,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75512
76438
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75513
76439
|
status: "success";
|
|
75514
76440
|
})[]>;
|
|
75515
|
-
queryKey:
|
|
76441
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75516
76442
|
} | {
|
|
75517
76443
|
data: {
|
|
75518
76444
|
currentPrice: Amount;
|
|
@@ -75530,7 +76456,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75530
76456
|
dataUpdatedAt: number;
|
|
75531
76457
|
errorUpdatedAt: number;
|
|
75532
76458
|
failureCount: number;
|
|
75533
|
-
failureReason:
|
|
76459
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75534
76460
|
errorUpdateCount: number;
|
|
75535
76461
|
isFetched: boolean;
|
|
75536
76462
|
isFetchedAfterMount: boolean;
|
|
@@ -75541,7 +76467,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75541
76467
|
isRefetching: boolean;
|
|
75542
76468
|
isStale: boolean;
|
|
75543
76469
|
isEnabled: boolean;
|
|
75544
|
-
refetch: (options?:
|
|
76470
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75545
76471
|
error: Error;
|
|
75546
76472
|
result?: undefined;
|
|
75547
76473
|
status: "failure";
|
|
@@ -75549,8 +76475,8 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75549
76475
|
error?: undefined;
|
|
75550
76476
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75551
76477
|
status: "success";
|
|
75552
|
-
})[],
|
|
75553
|
-
fetchStatus:
|
|
76478
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76479
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75554
76480
|
promise: Promise<({
|
|
75555
76481
|
error: Error;
|
|
75556
76482
|
result?: undefined;
|
|
@@ -75560,7 +76486,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75560
76486
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75561
76487
|
status: "success";
|
|
75562
76488
|
})[]>;
|
|
75563
|
-
queryKey:
|
|
76489
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75564
76490
|
} | {
|
|
75565
76491
|
data: {
|
|
75566
76492
|
currentPrice: Amount;
|
|
@@ -75579,7 +76505,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75579
76505
|
dataUpdatedAt: number;
|
|
75580
76506
|
errorUpdatedAt: number;
|
|
75581
76507
|
failureCount: number;
|
|
75582
|
-
failureReason:
|
|
76508
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
75583
76509
|
errorUpdateCount: number;
|
|
75584
76510
|
isFetched: boolean;
|
|
75585
76511
|
isFetchedAfterMount: boolean;
|
|
@@ -75589,7 +76515,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75589
76515
|
isRefetching: boolean;
|
|
75590
76516
|
isStale: boolean;
|
|
75591
76517
|
isEnabled: boolean;
|
|
75592
|
-
refetch: (options?:
|
|
76518
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
75593
76519
|
error: Error;
|
|
75594
76520
|
result?: undefined;
|
|
75595
76521
|
status: "failure";
|
|
@@ -75597,8 +76523,8 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75597
76523
|
error?: undefined;
|
|
75598
76524
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75599
76525
|
status: "success";
|
|
75600
|
-
})[],
|
|
75601
|
-
fetchStatus:
|
|
76526
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
76527
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
75602
76528
|
promise: Promise<({
|
|
75603
76529
|
error: Error;
|
|
75604
76530
|
result?: undefined;
|
|
@@ -75608,7 +76534,7 @@ declare const useCurrentPrices: (pools: (PoolInput & {
|
|
|
75608
76534
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
75609
76535
|
status: "success";
|
|
75610
76536
|
})[]>;
|
|
75611
|
-
queryKey:
|
|
76537
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
75612
76538
|
};
|
|
75613
76539
|
//#endregion
|
|
75614
76540
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
@@ -76462,7 +77388,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76462
77388
|
currentTick: number;
|
|
76463
77389
|
sqrtPriceX96: bigint;
|
|
76464
77390
|
}[] | undefined;
|
|
76465
|
-
error:
|
|
77391
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
76466
77392
|
isError: true;
|
|
76467
77393
|
isPending: false;
|
|
76468
77394
|
isLoading: false;
|
|
@@ -76474,7 +77400,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76474
77400
|
dataUpdatedAt: number;
|
|
76475
77401
|
errorUpdatedAt: number;
|
|
76476
77402
|
failureCount: number;
|
|
76477
|
-
failureReason:
|
|
77403
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
76478
77404
|
errorUpdateCount: number;
|
|
76479
77405
|
isFetched: boolean;
|
|
76480
77406
|
isFetchedAfterMount: boolean;
|
|
@@ -76484,7 +77410,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76484
77410
|
isRefetching: boolean;
|
|
76485
77411
|
isStale: boolean;
|
|
76486
77412
|
isEnabled: boolean;
|
|
76487
|
-
refetch: (options?:
|
|
77413
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
76488
77414
|
error: Error;
|
|
76489
77415
|
result?: undefined;
|
|
76490
77416
|
status: "failure";
|
|
@@ -76492,8 +77418,8 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76492
77418
|
error?: undefined;
|
|
76493
77419
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76494
77420
|
status: "success";
|
|
76495
|
-
})[],
|
|
76496
|
-
fetchStatus:
|
|
77421
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
77422
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76497
77423
|
promise: Promise<({
|
|
76498
77424
|
error: Error;
|
|
76499
77425
|
result?: undefined;
|
|
@@ -76503,7 +77429,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76503
77429
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76504
77430
|
status: "success";
|
|
76505
77431
|
})[]>;
|
|
76506
|
-
queryKey:
|
|
77432
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76507
77433
|
} | {
|
|
76508
77434
|
data: {
|
|
76509
77435
|
currentTick: number;
|
|
@@ -76521,7 +77447,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76521
77447
|
dataUpdatedAt: number;
|
|
76522
77448
|
errorUpdatedAt: number;
|
|
76523
77449
|
failureCount: number;
|
|
76524
|
-
failureReason:
|
|
77450
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
76525
77451
|
errorUpdateCount: number;
|
|
76526
77452
|
isFetched: boolean;
|
|
76527
77453
|
isFetchedAfterMount: boolean;
|
|
@@ -76531,7 +77457,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76531
77457
|
isRefetching: boolean;
|
|
76532
77458
|
isStale: boolean;
|
|
76533
77459
|
isEnabled: boolean;
|
|
76534
|
-
refetch: (options?:
|
|
77460
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
76535
77461
|
error: Error;
|
|
76536
77462
|
result?: undefined;
|
|
76537
77463
|
status: "failure";
|
|
@@ -76539,8 +77465,8 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76539
77465
|
error?: undefined;
|
|
76540
77466
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76541
77467
|
status: "success";
|
|
76542
|
-
})[],
|
|
76543
|
-
fetchStatus:
|
|
77468
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
77469
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76544
77470
|
promise: Promise<({
|
|
76545
77471
|
error: Error;
|
|
76546
77472
|
result?: undefined;
|
|
@@ -76550,13 +77476,13 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76550
77476
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76551
77477
|
status: "success";
|
|
76552
77478
|
})[]>;
|
|
76553
|
-
queryKey:
|
|
77479
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76554
77480
|
} | {
|
|
76555
77481
|
data: {
|
|
76556
77482
|
currentTick: number;
|
|
76557
77483
|
sqrtPriceX96: bigint;
|
|
76558
77484
|
}[] | undefined;
|
|
76559
|
-
error:
|
|
77485
|
+
error: _wagmi_core27.ReadContractsErrorType;
|
|
76560
77486
|
isError: true;
|
|
76561
77487
|
isPending: false;
|
|
76562
77488
|
isLoading: false;
|
|
@@ -76568,7 +77494,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76568
77494
|
dataUpdatedAt: number;
|
|
76569
77495
|
errorUpdatedAt: number;
|
|
76570
77496
|
failureCount: number;
|
|
76571
|
-
failureReason:
|
|
77497
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
76572
77498
|
errorUpdateCount: number;
|
|
76573
77499
|
isFetched: boolean;
|
|
76574
77500
|
isFetchedAfterMount: boolean;
|
|
@@ -76578,7 +77504,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76578
77504
|
isRefetching: boolean;
|
|
76579
77505
|
isStale: boolean;
|
|
76580
77506
|
isEnabled: boolean;
|
|
76581
|
-
refetch: (options?:
|
|
77507
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
76582
77508
|
error: Error;
|
|
76583
77509
|
result?: undefined;
|
|
76584
77510
|
status: "failure";
|
|
@@ -76586,8 +77512,8 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76586
77512
|
error?: undefined;
|
|
76587
77513
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76588
77514
|
status: "success";
|
|
76589
|
-
})[],
|
|
76590
|
-
fetchStatus:
|
|
77515
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
77516
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76591
77517
|
promise: Promise<({
|
|
76592
77518
|
error: Error;
|
|
76593
77519
|
result?: undefined;
|
|
@@ -76597,7 +77523,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76597
77523
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76598
77524
|
status: "success";
|
|
76599
77525
|
})[]>;
|
|
76600
|
-
queryKey:
|
|
77526
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76601
77527
|
} | {
|
|
76602
77528
|
data: {
|
|
76603
77529
|
currentTick: number;
|
|
@@ -76615,7 +77541,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76615
77541
|
dataUpdatedAt: number;
|
|
76616
77542
|
errorUpdatedAt: number;
|
|
76617
77543
|
failureCount: number;
|
|
76618
|
-
failureReason:
|
|
77544
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
76619
77545
|
errorUpdateCount: number;
|
|
76620
77546
|
isFetched: boolean;
|
|
76621
77547
|
isFetchedAfterMount: boolean;
|
|
@@ -76625,7 +77551,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76625
77551
|
isRefetching: boolean;
|
|
76626
77552
|
isStale: boolean;
|
|
76627
77553
|
isEnabled: boolean;
|
|
76628
|
-
refetch: (options?:
|
|
77554
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
76629
77555
|
error: Error;
|
|
76630
77556
|
result?: undefined;
|
|
76631
77557
|
status: "failure";
|
|
@@ -76633,8 +77559,8 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76633
77559
|
error?: undefined;
|
|
76634
77560
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76635
77561
|
status: "success";
|
|
76636
|
-
})[],
|
|
76637
|
-
fetchStatus:
|
|
77562
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
77563
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76638
77564
|
promise: Promise<({
|
|
76639
77565
|
error: Error;
|
|
76640
77566
|
result?: undefined;
|
|
@@ -76644,7 +77570,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76644
77570
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76645
77571
|
status: "success";
|
|
76646
77572
|
})[]>;
|
|
76647
|
-
queryKey:
|
|
77573
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76648
77574
|
} | {
|
|
76649
77575
|
data: {
|
|
76650
77576
|
currentTick: number;
|
|
@@ -76661,7 +77587,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76661
77587
|
dataUpdatedAt: number;
|
|
76662
77588
|
errorUpdatedAt: number;
|
|
76663
77589
|
failureCount: number;
|
|
76664
|
-
failureReason:
|
|
77590
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
76665
77591
|
errorUpdateCount: number;
|
|
76666
77592
|
isFetched: boolean;
|
|
76667
77593
|
isFetchedAfterMount: boolean;
|
|
@@ -76672,7 +77598,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76672
77598
|
isRefetching: boolean;
|
|
76673
77599
|
isStale: boolean;
|
|
76674
77600
|
isEnabled: boolean;
|
|
76675
|
-
refetch: (options?:
|
|
77601
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
76676
77602
|
error: Error;
|
|
76677
77603
|
result?: undefined;
|
|
76678
77604
|
status: "failure";
|
|
@@ -76680,8 +77606,8 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76680
77606
|
error?: undefined;
|
|
76681
77607
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76682
77608
|
status: "success";
|
|
76683
|
-
})[],
|
|
76684
|
-
fetchStatus:
|
|
77609
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
77610
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76685
77611
|
promise: Promise<({
|
|
76686
77612
|
error: Error;
|
|
76687
77613
|
result?: undefined;
|
|
@@ -76691,7 +77617,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76691
77617
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76692
77618
|
status: "success";
|
|
76693
77619
|
})[]>;
|
|
76694
|
-
queryKey:
|
|
77620
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76695
77621
|
} | {
|
|
76696
77622
|
data: {
|
|
76697
77623
|
currentTick: number;
|
|
@@ -76709,7 +77635,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76709
77635
|
dataUpdatedAt: number;
|
|
76710
77636
|
errorUpdatedAt: number;
|
|
76711
77637
|
failureCount: number;
|
|
76712
|
-
failureReason:
|
|
77638
|
+
failureReason: _wagmi_core27.ReadContractsErrorType | null;
|
|
76713
77639
|
errorUpdateCount: number;
|
|
76714
77640
|
isFetched: boolean;
|
|
76715
77641
|
isFetchedAfterMount: boolean;
|
|
@@ -76719,7 +77645,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76719
77645
|
isRefetching: boolean;
|
|
76720
77646
|
isStale: boolean;
|
|
76721
77647
|
isEnabled: boolean;
|
|
76722
|
-
refetch: (options?:
|
|
77648
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<({
|
|
76723
77649
|
error: Error;
|
|
76724
77650
|
result?: undefined;
|
|
76725
77651
|
status: "failure";
|
|
@@ -76727,8 +77653,8 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76727
77653
|
error?: undefined;
|
|
76728
77654
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76729
77655
|
status: "success";
|
|
76730
|
-
})[],
|
|
76731
|
-
fetchStatus:
|
|
77656
|
+
})[], _wagmi_core27.ReadContractsErrorType>>;
|
|
77657
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76732
77658
|
promise: Promise<({
|
|
76733
77659
|
error: Error;
|
|
76734
77660
|
result?: undefined;
|
|
@@ -76738,7 +77664,7 @@ declare const useCurrentTicks: (pools: PoolInput[]) => {
|
|
|
76738
77664
|
result: readonly [sqrtPriceX96: bigint, tick: number, number, number];
|
|
76739
77665
|
status: "success";
|
|
76740
77666
|
})[]>;
|
|
76741
|
-
queryKey:
|
|
77667
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76742
77668
|
};
|
|
76743
77669
|
//#endregion
|
|
76744
77670
|
//#region src/hooks/pool/usePriceAtTick.d.ts
|
|
@@ -76777,7 +77703,7 @@ declare const useBurnLiquidity: (vaultAddr: Address | undefined) => {
|
|
|
76777
77703
|
isPending: boolean;
|
|
76778
77704
|
isConfirming: boolean;
|
|
76779
77705
|
isSuccess: boolean;
|
|
76780
|
-
error:
|
|
77706
|
+
error: _wagmi_core27.WriteContractErrorType | null;
|
|
76781
77707
|
isLoading: boolean;
|
|
76782
77708
|
};
|
|
76783
77709
|
//#endregion
|
|
@@ -76806,7 +77732,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76806
77732
|
isRefetching: boolean;
|
|
76807
77733
|
isStale: boolean;
|
|
76808
77734
|
isEnabled: boolean;
|
|
76809
|
-
refetch: (options?:
|
|
77735
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly {
|
|
76810
77736
|
tickLower: number;
|
|
76811
77737
|
tickUpper: number;
|
|
76812
77738
|
prevTickLower: number;
|
|
@@ -76820,7 +77746,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76820
77746
|
borrowedAmount0: bigint;
|
|
76821
77747
|
borrowedAmount1: bigint;
|
|
76822
77748
|
}[], viem356.ReadContractErrorType>>;
|
|
76823
|
-
fetchStatus:
|
|
77749
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76824
77750
|
promise: Promise<readonly {
|
|
76825
77751
|
tickLower: number;
|
|
76826
77752
|
tickUpper: number;
|
|
@@ -76835,7 +77761,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76835
77761
|
borrowedAmount0: bigint;
|
|
76836
77762
|
borrowedAmount1: bigint;
|
|
76837
77763
|
}[]>;
|
|
76838
|
-
queryKey:
|
|
77764
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76839
77765
|
data: readonly {
|
|
76840
77766
|
tickLower: number;
|
|
76841
77767
|
tickUpper: number;
|
|
@@ -76873,7 +77799,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76873
77799
|
isRefetching: boolean;
|
|
76874
77800
|
isStale: boolean;
|
|
76875
77801
|
isEnabled: boolean;
|
|
76876
|
-
refetch: (options?:
|
|
77802
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly {
|
|
76877
77803
|
tickLower: number;
|
|
76878
77804
|
tickUpper: number;
|
|
76879
77805
|
prevTickLower: number;
|
|
@@ -76887,7 +77813,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76887
77813
|
borrowedAmount0: bigint;
|
|
76888
77814
|
borrowedAmount1: bigint;
|
|
76889
77815
|
}[], viem356.ReadContractErrorType>>;
|
|
76890
|
-
fetchStatus:
|
|
77816
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76891
77817
|
promise: Promise<readonly {
|
|
76892
77818
|
tickLower: number;
|
|
76893
77819
|
tickUpper: number;
|
|
@@ -76902,7 +77828,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76902
77828
|
borrowedAmount0: bigint;
|
|
76903
77829
|
borrowedAmount1: bigint;
|
|
76904
77830
|
}[]>;
|
|
76905
|
-
queryKey:
|
|
77831
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76906
77832
|
data: readonly {
|
|
76907
77833
|
tickLower: number;
|
|
76908
77834
|
tickUpper: number;
|
|
@@ -76940,7 +77866,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76940
77866
|
isRefetching: boolean;
|
|
76941
77867
|
isStale: boolean;
|
|
76942
77868
|
isEnabled: boolean;
|
|
76943
|
-
refetch: (options?:
|
|
77869
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly {
|
|
76944
77870
|
tickLower: number;
|
|
76945
77871
|
tickUpper: number;
|
|
76946
77872
|
prevTickLower: number;
|
|
@@ -76954,7 +77880,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76954
77880
|
borrowedAmount0: bigint;
|
|
76955
77881
|
borrowedAmount1: bigint;
|
|
76956
77882
|
}[], viem356.ReadContractErrorType>>;
|
|
76957
|
-
fetchStatus:
|
|
77883
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
76958
77884
|
promise: Promise<readonly {
|
|
76959
77885
|
tickLower: number;
|
|
76960
77886
|
tickUpper: number;
|
|
@@ -76969,7 +77895,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
76969
77895
|
borrowedAmount0: bigint;
|
|
76970
77896
|
borrowedAmount1: bigint;
|
|
76971
77897
|
}[]>;
|
|
76972
|
-
queryKey:
|
|
77898
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
76973
77899
|
data: readonly {
|
|
76974
77900
|
tickLower: number;
|
|
76975
77901
|
tickUpper: number;
|
|
@@ -77007,7 +77933,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77007
77933
|
isRefetching: boolean;
|
|
77008
77934
|
isStale: boolean;
|
|
77009
77935
|
isEnabled: boolean;
|
|
77010
|
-
refetch: (options?:
|
|
77936
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly {
|
|
77011
77937
|
tickLower: number;
|
|
77012
77938
|
tickUpper: number;
|
|
77013
77939
|
prevTickLower: number;
|
|
@@ -77021,7 +77947,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77021
77947
|
borrowedAmount0: bigint;
|
|
77022
77948
|
borrowedAmount1: bigint;
|
|
77023
77949
|
}[], viem356.ReadContractErrorType>>;
|
|
77024
|
-
fetchStatus:
|
|
77950
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77025
77951
|
promise: Promise<readonly {
|
|
77026
77952
|
tickLower: number;
|
|
77027
77953
|
tickUpper: number;
|
|
@@ -77036,7 +77962,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77036
77962
|
borrowedAmount0: bigint;
|
|
77037
77963
|
borrowedAmount1: bigint;
|
|
77038
77964
|
}[]>;
|
|
77039
|
-
queryKey:
|
|
77965
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77040
77966
|
data: readonly {
|
|
77041
77967
|
tickLower: number;
|
|
77042
77968
|
tickUpper: number;
|
|
@@ -77074,7 +78000,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77074
78000
|
isRefetching: boolean;
|
|
77075
78001
|
isStale: boolean;
|
|
77076
78002
|
isEnabled: boolean;
|
|
77077
|
-
refetch: (options?:
|
|
78003
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly {
|
|
77078
78004
|
tickLower: number;
|
|
77079
78005
|
tickUpper: number;
|
|
77080
78006
|
prevTickLower: number;
|
|
@@ -77088,7 +78014,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77088
78014
|
borrowedAmount0: bigint;
|
|
77089
78015
|
borrowedAmount1: bigint;
|
|
77090
78016
|
}[], viem356.ReadContractErrorType>>;
|
|
77091
|
-
fetchStatus:
|
|
78017
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77092
78018
|
promise: Promise<readonly {
|
|
77093
78019
|
tickLower: number;
|
|
77094
78020
|
tickUpper: number;
|
|
@@ -77103,7 +78029,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77103
78029
|
borrowedAmount0: bigint;
|
|
77104
78030
|
borrowedAmount1: bigint;
|
|
77105
78031
|
}[]>;
|
|
77106
|
-
queryKey:
|
|
78032
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77107
78033
|
data: readonly {
|
|
77108
78034
|
tickLower: number;
|
|
77109
78035
|
tickUpper: number;
|
|
@@ -77141,7 +78067,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77141
78067
|
isRefetching: boolean;
|
|
77142
78068
|
isStale: boolean;
|
|
77143
78069
|
isEnabled: boolean;
|
|
77144
|
-
refetch: (options?:
|
|
78070
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly {
|
|
77145
78071
|
tickLower: number;
|
|
77146
78072
|
tickUpper: number;
|
|
77147
78073
|
prevTickLower: number;
|
|
@@ -77155,7 +78081,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77155
78081
|
borrowedAmount0: bigint;
|
|
77156
78082
|
borrowedAmount1: bigint;
|
|
77157
78083
|
}[], viem356.ReadContractErrorType>>;
|
|
77158
|
-
fetchStatus:
|
|
78084
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77159
78085
|
promise: Promise<readonly {
|
|
77160
78086
|
tickLower: number;
|
|
77161
78087
|
tickUpper: number;
|
|
@@ -77170,7 +78096,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
77170
78096
|
borrowedAmount0: bigint;
|
|
77171
78097
|
borrowedAmount1: bigint;
|
|
77172
78098
|
}[]>;
|
|
77173
|
-
queryKey:
|
|
78099
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77174
78100
|
data: readonly {
|
|
77175
78101
|
tickLower: number;
|
|
77176
78102
|
tickUpper: number;
|
|
@@ -77234,7 +78160,7 @@ declare const useVaultTVL: (vaultAddr: Address | undefined) => {
|
|
|
77234
78160
|
borrowed0: Amount;
|
|
77235
78161
|
borrowed1: Amount;
|
|
77236
78162
|
blocksCount: bigint;
|
|
77237
|
-
refetch: (options?:
|
|
78163
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem356.ReadContractErrorType>>;
|
|
77238
78164
|
};
|
|
77239
78165
|
//#endregion
|
|
77240
78166
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
@@ -77269,10 +78195,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
77269
78195
|
isRefetching: boolean;
|
|
77270
78196
|
isStale: boolean;
|
|
77271
78197
|
isEnabled: boolean;
|
|
77272
|
-
refetch: (options?:
|
|
77273
|
-
fetchStatus:
|
|
78198
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
78199
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77274
78200
|
promise: Promise<bigint>;
|
|
77275
|
-
queryKey:
|
|
78201
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77276
78202
|
data: Amount | undefined;
|
|
77277
78203
|
} | {
|
|
77278
78204
|
error: null;
|
|
@@ -77297,10 +78223,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
77297
78223
|
isRefetching: boolean;
|
|
77298
78224
|
isStale: boolean;
|
|
77299
78225
|
isEnabled: boolean;
|
|
77300
|
-
refetch: (options?:
|
|
77301
|
-
fetchStatus:
|
|
78226
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
78227
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77302
78228
|
promise: Promise<bigint>;
|
|
77303
|
-
queryKey:
|
|
78229
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77304
78230
|
data: Amount | undefined;
|
|
77305
78231
|
} | {
|
|
77306
78232
|
error: viem356.ReadContractErrorType;
|
|
@@ -77325,10 +78251,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
77325
78251
|
isRefetching: boolean;
|
|
77326
78252
|
isStale: boolean;
|
|
77327
78253
|
isEnabled: boolean;
|
|
77328
|
-
refetch: (options?:
|
|
77329
|
-
fetchStatus:
|
|
78254
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
78255
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77330
78256
|
promise: Promise<bigint>;
|
|
77331
|
-
queryKey:
|
|
78257
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77332
78258
|
data: Amount | undefined;
|
|
77333
78259
|
} | {
|
|
77334
78260
|
error: null;
|
|
@@ -77353,10 +78279,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
77353
78279
|
isRefetching: boolean;
|
|
77354
78280
|
isStale: boolean;
|
|
77355
78281
|
isEnabled: boolean;
|
|
77356
|
-
refetch: (options?:
|
|
77357
|
-
fetchStatus:
|
|
78282
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
78283
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77358
78284
|
promise: Promise<bigint>;
|
|
77359
|
-
queryKey:
|
|
78285
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77360
78286
|
data: Amount | undefined;
|
|
77361
78287
|
} | {
|
|
77362
78288
|
error: null;
|
|
@@ -77381,10 +78307,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
77381
78307
|
isRefetching: boolean;
|
|
77382
78308
|
isStale: boolean;
|
|
77383
78309
|
isEnabled: boolean;
|
|
77384
|
-
refetch: (options?:
|
|
77385
|
-
fetchStatus:
|
|
78310
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
78311
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77386
78312
|
promise: Promise<bigint>;
|
|
77387
|
-
queryKey:
|
|
78313
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77388
78314
|
data: Amount | undefined;
|
|
77389
78315
|
} | {
|
|
77390
78316
|
isError: false;
|
|
@@ -77409,10 +78335,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
77409
78335
|
isRefetching: boolean;
|
|
77410
78336
|
isStale: boolean;
|
|
77411
78337
|
isEnabled: boolean;
|
|
77412
|
-
refetch: (options?:
|
|
77413
|
-
fetchStatus:
|
|
78338
|
+
refetch: (options?: _tanstack_query_core71.RefetchOptions) => Promise<_tanstack_query_core71.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
78339
|
+
fetchStatus: _tanstack_query_core71.FetchStatus;
|
|
77414
78340
|
promise: Promise<bigint>;
|
|
77415
|
-
queryKey:
|
|
78341
|
+
queryKey: _tanstack_query_core71.QueryKey;
|
|
77416
78342
|
data: Amount | undefined;
|
|
77417
78343
|
};
|
|
77418
78344
|
//#endregion
|
|
@@ -77421,7 +78347,7 @@ declare const useApproval: () => {
|
|
|
77421
78347
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
77422
78348
|
hash: `0x${string}` | undefined;
|
|
77423
78349
|
isPending: boolean;
|
|
77424
|
-
error:
|
|
78350
|
+
error: _wagmi_core27.WriteContractErrorType | null;
|
|
77425
78351
|
reset: () => void;
|
|
77426
78352
|
};
|
|
77427
78353
|
//#endregion
|
|
@@ -78402,34 +79328,34 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
78402
79328
|
declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
78403
79329
|
data: undefined;
|
|
78404
79330
|
error: null;
|
|
79331
|
+
status: "idle";
|
|
78405
79332
|
isError: false;
|
|
78406
79333
|
isPending: false;
|
|
78407
79334
|
isSuccess: false;
|
|
78408
|
-
status: "idle";
|
|
78409
79335
|
failureCount: number;
|
|
78410
|
-
failureReason:
|
|
79336
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
78411
79337
|
isPaused: boolean;
|
|
78412
79338
|
variables: undefined;
|
|
78413
79339
|
isIdle: true;
|
|
78414
79340
|
reset: () => void;
|
|
78415
79341
|
context: unknown;
|
|
78416
79342
|
submittedAt: number;
|
|
78417
|
-
mutate:
|
|
78418
|
-
mutateAsync:
|
|
78419
|
-
writeContract:
|
|
79343
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79344
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79345
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78420
79346
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
78421
79347
|
} | {
|
|
78422
79348
|
data: undefined;
|
|
78423
79349
|
error: null;
|
|
79350
|
+
status: "pending";
|
|
78424
79351
|
isError: false;
|
|
78425
79352
|
isPending: true;
|
|
78426
79353
|
isSuccess: false;
|
|
78427
|
-
status: "pending";
|
|
78428
79354
|
failureCount: number;
|
|
78429
|
-
failureReason:
|
|
79355
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
78430
79356
|
isPaused: boolean;
|
|
78431
79357
|
variables: {
|
|
78432
|
-
abi:
|
|
79358
|
+
abi: abitype0.Abi;
|
|
78433
79359
|
functionName: string;
|
|
78434
79360
|
args?: readonly unknown[] | undefined;
|
|
78435
79361
|
address: Address;
|
|
@@ -78453,7 +79379,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78453
79379
|
chainId?: number | undefined;
|
|
78454
79380
|
connector?: wagmi0.Connector | undefined;
|
|
78455
79381
|
} | {
|
|
78456
|
-
abi:
|
|
79382
|
+
abi: abitype0.Abi;
|
|
78457
79383
|
functionName: string;
|
|
78458
79384
|
args?: readonly unknown[] | undefined;
|
|
78459
79385
|
address: Address;
|
|
@@ -78477,7 +79403,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78477
79403
|
chainId?: number | undefined;
|
|
78478
79404
|
connector?: wagmi0.Connector | undefined;
|
|
78479
79405
|
} | {
|
|
78480
|
-
abi:
|
|
79406
|
+
abi: abitype0.Abi;
|
|
78481
79407
|
functionName: string;
|
|
78482
79408
|
args?: readonly unknown[] | undefined;
|
|
78483
79409
|
address: Address;
|
|
@@ -78501,7 +79427,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78501
79427
|
chainId?: number | undefined;
|
|
78502
79428
|
connector?: wagmi0.Connector | undefined;
|
|
78503
79429
|
} | {
|
|
78504
|
-
abi:
|
|
79430
|
+
abi: abitype0.Abi;
|
|
78505
79431
|
functionName: string;
|
|
78506
79432
|
args?: readonly unknown[] | undefined;
|
|
78507
79433
|
address: Address;
|
|
@@ -78525,7 +79451,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78525
79451
|
chainId?: number | undefined;
|
|
78526
79452
|
connector?: wagmi0.Connector | undefined;
|
|
78527
79453
|
} | {
|
|
78528
|
-
abi:
|
|
79454
|
+
abi: abitype0.Abi;
|
|
78529
79455
|
functionName: string;
|
|
78530
79456
|
args?: readonly unknown[] | undefined;
|
|
78531
79457
|
address: Address;
|
|
@@ -78549,7 +79475,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78549
79475
|
chainId?: number | undefined;
|
|
78550
79476
|
connector?: wagmi0.Connector | undefined;
|
|
78551
79477
|
} | {
|
|
78552
|
-
abi:
|
|
79478
|
+
abi: abitype0.Abi;
|
|
78553
79479
|
functionName: string;
|
|
78554
79480
|
args?: readonly unknown[] | undefined;
|
|
78555
79481
|
address: Address;
|
|
@@ -78577,22 +79503,22 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78577
79503
|
reset: () => void;
|
|
78578
79504
|
context: unknown;
|
|
78579
79505
|
submittedAt: number;
|
|
78580
|
-
mutate:
|
|
78581
|
-
mutateAsync:
|
|
78582
|
-
writeContract:
|
|
79506
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79507
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79508
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78583
79509
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
78584
79510
|
} | {
|
|
78585
79511
|
data: undefined;
|
|
78586
|
-
error:
|
|
79512
|
+
error: _wagmi_core27.WriteContractErrorType;
|
|
79513
|
+
status: "error";
|
|
78587
79514
|
isError: true;
|
|
78588
79515
|
isPending: false;
|
|
78589
79516
|
isSuccess: false;
|
|
78590
|
-
status: "error";
|
|
78591
79517
|
failureCount: number;
|
|
78592
|
-
failureReason:
|
|
79518
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
78593
79519
|
isPaused: boolean;
|
|
78594
79520
|
variables: {
|
|
78595
|
-
abi:
|
|
79521
|
+
abi: abitype0.Abi;
|
|
78596
79522
|
functionName: string;
|
|
78597
79523
|
args?: readonly unknown[] | undefined;
|
|
78598
79524
|
address: Address;
|
|
@@ -78616,7 +79542,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78616
79542
|
chainId?: number | undefined;
|
|
78617
79543
|
connector?: wagmi0.Connector | undefined;
|
|
78618
79544
|
} | {
|
|
78619
|
-
abi:
|
|
79545
|
+
abi: abitype0.Abi;
|
|
78620
79546
|
functionName: string;
|
|
78621
79547
|
args?: readonly unknown[] | undefined;
|
|
78622
79548
|
address: Address;
|
|
@@ -78640,7 +79566,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78640
79566
|
chainId?: number | undefined;
|
|
78641
79567
|
connector?: wagmi0.Connector | undefined;
|
|
78642
79568
|
} | {
|
|
78643
|
-
abi:
|
|
79569
|
+
abi: abitype0.Abi;
|
|
78644
79570
|
functionName: string;
|
|
78645
79571
|
args?: readonly unknown[] | undefined;
|
|
78646
79572
|
address: Address;
|
|
@@ -78664,7 +79590,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78664
79590
|
chainId?: number | undefined;
|
|
78665
79591
|
connector?: wagmi0.Connector | undefined;
|
|
78666
79592
|
} | {
|
|
78667
|
-
abi:
|
|
79593
|
+
abi: abitype0.Abi;
|
|
78668
79594
|
functionName: string;
|
|
78669
79595
|
args?: readonly unknown[] | undefined;
|
|
78670
79596
|
address: Address;
|
|
@@ -78688,7 +79614,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78688
79614
|
chainId?: number | undefined;
|
|
78689
79615
|
connector?: wagmi0.Connector | undefined;
|
|
78690
79616
|
} | {
|
|
78691
|
-
abi:
|
|
79617
|
+
abi: abitype0.Abi;
|
|
78692
79618
|
functionName: string;
|
|
78693
79619
|
args?: readonly unknown[] | undefined;
|
|
78694
79620
|
address: Address;
|
|
@@ -78712,7 +79638,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78712
79638
|
chainId?: number | undefined;
|
|
78713
79639
|
connector?: wagmi0.Connector | undefined;
|
|
78714
79640
|
} | {
|
|
78715
|
-
abi:
|
|
79641
|
+
abi: abitype0.Abi;
|
|
78716
79642
|
functionName: string;
|
|
78717
79643
|
args?: readonly unknown[] | undefined;
|
|
78718
79644
|
address: Address;
|
|
@@ -78740,22 +79666,22 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78740
79666
|
reset: () => void;
|
|
78741
79667
|
context: unknown;
|
|
78742
79668
|
submittedAt: number;
|
|
78743
|
-
mutate:
|
|
78744
|
-
mutateAsync:
|
|
78745
|
-
writeContract:
|
|
79669
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79670
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79671
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78746
79672
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
78747
79673
|
} | {
|
|
78748
79674
|
data: `0x${string}`;
|
|
78749
79675
|
error: null;
|
|
79676
|
+
status: "success";
|
|
78750
79677
|
isError: false;
|
|
78751
79678
|
isPending: false;
|
|
78752
79679
|
isSuccess: true;
|
|
78753
|
-
status: "success";
|
|
78754
79680
|
failureCount: number;
|
|
78755
|
-
failureReason:
|
|
79681
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
78756
79682
|
isPaused: boolean;
|
|
78757
79683
|
variables: {
|
|
78758
|
-
abi:
|
|
79684
|
+
abi: abitype0.Abi;
|
|
78759
79685
|
functionName: string;
|
|
78760
79686
|
args?: readonly unknown[] | undefined;
|
|
78761
79687
|
address: Address;
|
|
@@ -78779,7 +79705,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78779
79705
|
chainId?: number | undefined;
|
|
78780
79706
|
connector?: wagmi0.Connector | undefined;
|
|
78781
79707
|
} | {
|
|
78782
|
-
abi:
|
|
79708
|
+
abi: abitype0.Abi;
|
|
78783
79709
|
functionName: string;
|
|
78784
79710
|
args?: readonly unknown[] | undefined;
|
|
78785
79711
|
address: Address;
|
|
@@ -78803,7 +79729,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78803
79729
|
chainId?: number | undefined;
|
|
78804
79730
|
connector?: wagmi0.Connector | undefined;
|
|
78805
79731
|
} | {
|
|
78806
|
-
abi:
|
|
79732
|
+
abi: abitype0.Abi;
|
|
78807
79733
|
functionName: string;
|
|
78808
79734
|
args?: readonly unknown[] | undefined;
|
|
78809
79735
|
address: Address;
|
|
@@ -78827,7 +79753,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78827
79753
|
chainId?: number | undefined;
|
|
78828
79754
|
connector?: wagmi0.Connector | undefined;
|
|
78829
79755
|
} | {
|
|
78830
|
-
abi:
|
|
79756
|
+
abi: abitype0.Abi;
|
|
78831
79757
|
functionName: string;
|
|
78832
79758
|
args?: readonly unknown[] | undefined;
|
|
78833
79759
|
address: Address;
|
|
@@ -78851,7 +79777,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78851
79777
|
chainId?: number | undefined;
|
|
78852
79778
|
connector?: wagmi0.Connector | undefined;
|
|
78853
79779
|
} | {
|
|
78854
|
-
abi:
|
|
79780
|
+
abi: abitype0.Abi;
|
|
78855
79781
|
functionName: string;
|
|
78856
79782
|
args?: readonly unknown[] | undefined;
|
|
78857
79783
|
address: Address;
|
|
@@ -78875,7 +79801,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78875
79801
|
chainId?: number | undefined;
|
|
78876
79802
|
connector?: wagmi0.Connector | undefined;
|
|
78877
79803
|
} | {
|
|
78878
|
-
abi:
|
|
79804
|
+
abi: abitype0.Abi;
|
|
78879
79805
|
functionName: string;
|
|
78880
79806
|
args?: readonly unknown[] | undefined;
|
|
78881
79807
|
address: Address;
|
|
@@ -78903,9 +79829,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78903
79829
|
reset: () => void;
|
|
78904
79830
|
context: unknown;
|
|
78905
79831
|
submittedAt: number;
|
|
78906
|
-
mutate:
|
|
78907
|
-
mutateAsync:
|
|
78908
|
-
writeContract:
|
|
79832
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79833
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79834
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78909
79835
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
78910
79836
|
};
|
|
78911
79837
|
//#endregion
|
|
@@ -78913,34 +79839,34 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
78913
79839
|
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
78914
79840
|
data: undefined;
|
|
78915
79841
|
error: null;
|
|
79842
|
+
status: "idle";
|
|
78916
79843
|
isError: false;
|
|
78917
79844
|
isPending: false;
|
|
78918
79845
|
isSuccess: false;
|
|
78919
|
-
status: "idle";
|
|
78920
79846
|
failureCount: number;
|
|
78921
|
-
failureReason:
|
|
79847
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
78922
79848
|
isPaused: boolean;
|
|
78923
79849
|
variables: undefined;
|
|
78924
79850
|
isIdle: true;
|
|
78925
79851
|
reset: () => void;
|
|
78926
79852
|
context: unknown;
|
|
78927
79853
|
submittedAt: number;
|
|
78928
|
-
mutate:
|
|
78929
|
-
mutateAsync:
|
|
78930
|
-
writeContract:
|
|
79854
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79855
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79856
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78931
79857
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
78932
79858
|
} | {
|
|
78933
79859
|
data: undefined;
|
|
78934
79860
|
error: null;
|
|
79861
|
+
status: "pending";
|
|
78935
79862
|
isError: false;
|
|
78936
79863
|
isPending: true;
|
|
78937
79864
|
isSuccess: false;
|
|
78938
|
-
status: "pending";
|
|
78939
79865
|
failureCount: number;
|
|
78940
|
-
failureReason:
|
|
79866
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
78941
79867
|
isPaused: boolean;
|
|
78942
79868
|
variables: {
|
|
78943
|
-
abi:
|
|
79869
|
+
abi: abitype0.Abi;
|
|
78944
79870
|
functionName: string;
|
|
78945
79871
|
args?: readonly unknown[] | undefined;
|
|
78946
79872
|
address: Address;
|
|
@@ -78964,7 +79890,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
78964
79890
|
chainId?: number | undefined;
|
|
78965
79891
|
connector?: wagmi0.Connector | undefined;
|
|
78966
79892
|
} | {
|
|
78967
|
-
abi:
|
|
79893
|
+
abi: abitype0.Abi;
|
|
78968
79894
|
functionName: string;
|
|
78969
79895
|
args?: readonly unknown[] | undefined;
|
|
78970
79896
|
address: Address;
|
|
@@ -78988,7 +79914,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
78988
79914
|
chainId?: number | undefined;
|
|
78989
79915
|
connector?: wagmi0.Connector | undefined;
|
|
78990
79916
|
} | {
|
|
78991
|
-
abi:
|
|
79917
|
+
abi: abitype0.Abi;
|
|
78992
79918
|
functionName: string;
|
|
78993
79919
|
args?: readonly unknown[] | undefined;
|
|
78994
79920
|
address: Address;
|
|
@@ -79012,7 +79938,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79012
79938
|
chainId?: number | undefined;
|
|
79013
79939
|
connector?: wagmi0.Connector | undefined;
|
|
79014
79940
|
} | {
|
|
79015
|
-
abi:
|
|
79941
|
+
abi: abitype0.Abi;
|
|
79016
79942
|
functionName: string;
|
|
79017
79943
|
args?: readonly unknown[] | undefined;
|
|
79018
79944
|
address: Address;
|
|
@@ -79036,7 +79962,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79036
79962
|
chainId?: number | undefined;
|
|
79037
79963
|
connector?: wagmi0.Connector | undefined;
|
|
79038
79964
|
} | {
|
|
79039
|
-
abi:
|
|
79965
|
+
abi: abitype0.Abi;
|
|
79040
79966
|
functionName: string;
|
|
79041
79967
|
args?: readonly unknown[] | undefined;
|
|
79042
79968
|
address: Address;
|
|
@@ -79060,7 +79986,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79060
79986
|
chainId?: number | undefined;
|
|
79061
79987
|
connector?: wagmi0.Connector | undefined;
|
|
79062
79988
|
} | {
|
|
79063
|
-
abi:
|
|
79989
|
+
abi: abitype0.Abi;
|
|
79064
79990
|
functionName: string;
|
|
79065
79991
|
args?: readonly unknown[] | undefined;
|
|
79066
79992
|
address: Address;
|
|
@@ -79088,22 +80014,22 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79088
80014
|
reset: () => void;
|
|
79089
80015
|
context: unknown;
|
|
79090
80016
|
submittedAt: number;
|
|
79091
|
-
mutate:
|
|
79092
|
-
mutateAsync:
|
|
79093
|
-
writeContract:
|
|
80017
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80018
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
80019
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79094
80020
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
79095
80021
|
} | {
|
|
79096
80022
|
data: undefined;
|
|
79097
|
-
error:
|
|
80023
|
+
error: _wagmi_core27.WriteContractErrorType;
|
|
80024
|
+
status: "error";
|
|
79098
80025
|
isError: true;
|
|
79099
80026
|
isPending: false;
|
|
79100
80027
|
isSuccess: false;
|
|
79101
|
-
status: "error";
|
|
79102
80028
|
failureCount: number;
|
|
79103
|
-
failureReason:
|
|
80029
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
79104
80030
|
isPaused: boolean;
|
|
79105
80031
|
variables: {
|
|
79106
|
-
abi:
|
|
80032
|
+
abi: abitype0.Abi;
|
|
79107
80033
|
functionName: string;
|
|
79108
80034
|
args?: readonly unknown[] | undefined;
|
|
79109
80035
|
address: Address;
|
|
@@ -79127,7 +80053,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79127
80053
|
chainId?: number | undefined;
|
|
79128
80054
|
connector?: wagmi0.Connector | undefined;
|
|
79129
80055
|
} | {
|
|
79130
|
-
abi:
|
|
80056
|
+
abi: abitype0.Abi;
|
|
79131
80057
|
functionName: string;
|
|
79132
80058
|
args?: readonly unknown[] | undefined;
|
|
79133
80059
|
address: Address;
|
|
@@ -79151,7 +80077,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79151
80077
|
chainId?: number | undefined;
|
|
79152
80078
|
connector?: wagmi0.Connector | undefined;
|
|
79153
80079
|
} | {
|
|
79154
|
-
abi:
|
|
80080
|
+
abi: abitype0.Abi;
|
|
79155
80081
|
functionName: string;
|
|
79156
80082
|
args?: readonly unknown[] | undefined;
|
|
79157
80083
|
address: Address;
|
|
@@ -79175,7 +80101,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79175
80101
|
chainId?: number | undefined;
|
|
79176
80102
|
connector?: wagmi0.Connector | undefined;
|
|
79177
80103
|
} | {
|
|
79178
|
-
abi:
|
|
80104
|
+
abi: abitype0.Abi;
|
|
79179
80105
|
functionName: string;
|
|
79180
80106
|
args?: readonly unknown[] | undefined;
|
|
79181
80107
|
address: Address;
|
|
@@ -79199,7 +80125,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79199
80125
|
chainId?: number | undefined;
|
|
79200
80126
|
connector?: wagmi0.Connector | undefined;
|
|
79201
80127
|
} | {
|
|
79202
|
-
abi:
|
|
80128
|
+
abi: abitype0.Abi;
|
|
79203
80129
|
functionName: string;
|
|
79204
80130
|
args?: readonly unknown[] | undefined;
|
|
79205
80131
|
address: Address;
|
|
@@ -79223,7 +80149,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79223
80149
|
chainId?: number | undefined;
|
|
79224
80150
|
connector?: wagmi0.Connector | undefined;
|
|
79225
80151
|
} | {
|
|
79226
|
-
abi:
|
|
80152
|
+
abi: abitype0.Abi;
|
|
79227
80153
|
functionName: string;
|
|
79228
80154
|
args?: readonly unknown[] | undefined;
|
|
79229
80155
|
address: Address;
|
|
@@ -79251,22 +80177,22 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79251
80177
|
reset: () => void;
|
|
79252
80178
|
context: unknown;
|
|
79253
80179
|
submittedAt: number;
|
|
79254
|
-
mutate:
|
|
79255
|
-
mutateAsync:
|
|
79256
|
-
writeContract:
|
|
80180
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80181
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
80182
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79257
80183
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
79258
80184
|
} | {
|
|
79259
80185
|
data: `0x${string}`;
|
|
79260
80186
|
error: null;
|
|
80187
|
+
status: "success";
|
|
79261
80188
|
isError: false;
|
|
79262
80189
|
isPending: false;
|
|
79263
80190
|
isSuccess: true;
|
|
79264
|
-
status: "success";
|
|
79265
80191
|
failureCount: number;
|
|
79266
|
-
failureReason:
|
|
80192
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
79267
80193
|
isPaused: boolean;
|
|
79268
80194
|
variables: {
|
|
79269
|
-
abi:
|
|
80195
|
+
abi: abitype0.Abi;
|
|
79270
80196
|
functionName: string;
|
|
79271
80197
|
args?: readonly unknown[] | undefined;
|
|
79272
80198
|
address: Address;
|
|
@@ -79290,7 +80216,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79290
80216
|
chainId?: number | undefined;
|
|
79291
80217
|
connector?: wagmi0.Connector | undefined;
|
|
79292
80218
|
} | {
|
|
79293
|
-
abi:
|
|
80219
|
+
abi: abitype0.Abi;
|
|
79294
80220
|
functionName: string;
|
|
79295
80221
|
args?: readonly unknown[] | undefined;
|
|
79296
80222
|
address: Address;
|
|
@@ -79314,7 +80240,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79314
80240
|
chainId?: number | undefined;
|
|
79315
80241
|
connector?: wagmi0.Connector | undefined;
|
|
79316
80242
|
} | {
|
|
79317
|
-
abi:
|
|
80243
|
+
abi: abitype0.Abi;
|
|
79318
80244
|
functionName: string;
|
|
79319
80245
|
args?: readonly unknown[] | undefined;
|
|
79320
80246
|
address: Address;
|
|
@@ -79338,7 +80264,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79338
80264
|
chainId?: number | undefined;
|
|
79339
80265
|
connector?: wagmi0.Connector | undefined;
|
|
79340
80266
|
} | {
|
|
79341
|
-
abi:
|
|
80267
|
+
abi: abitype0.Abi;
|
|
79342
80268
|
functionName: string;
|
|
79343
80269
|
args?: readonly unknown[] | undefined;
|
|
79344
80270
|
address: Address;
|
|
@@ -79362,7 +80288,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79362
80288
|
chainId?: number | undefined;
|
|
79363
80289
|
connector?: wagmi0.Connector | undefined;
|
|
79364
80290
|
} | {
|
|
79365
|
-
abi:
|
|
80291
|
+
abi: abitype0.Abi;
|
|
79366
80292
|
functionName: string;
|
|
79367
80293
|
args?: readonly unknown[] | undefined;
|
|
79368
80294
|
address: Address;
|
|
@@ -79386,7 +80312,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79386
80312
|
chainId?: number | undefined;
|
|
79387
80313
|
connector?: wagmi0.Connector | undefined;
|
|
79388
80314
|
} | {
|
|
79389
|
-
abi:
|
|
80315
|
+
abi: abitype0.Abi;
|
|
79390
80316
|
functionName: string;
|
|
79391
80317
|
args?: readonly unknown[] | undefined;
|
|
79392
80318
|
address: Address;
|
|
@@ -79414,9 +80340,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79414
80340
|
reset: () => void;
|
|
79415
80341
|
context: unknown;
|
|
79416
80342
|
submittedAt: number;
|
|
79417
|
-
mutate:
|
|
79418
|
-
mutateAsync:
|
|
79419
|
-
writeContract:
|
|
80343
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80344
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
80345
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79420
80346
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
79421
80347
|
};
|
|
79422
80348
|
//#endregion
|
|
@@ -79433,21 +80359,21 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
79433
80359
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
79434
80360
|
data: undefined;
|
|
79435
80361
|
error: null;
|
|
80362
|
+
status: "idle";
|
|
79436
80363
|
isError: false;
|
|
79437
80364
|
isPending: false;
|
|
79438
80365
|
isSuccess: false;
|
|
79439
|
-
status: "idle";
|
|
79440
80366
|
failureCount: number;
|
|
79441
|
-
failureReason:
|
|
80367
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
79442
80368
|
isPaused: boolean;
|
|
79443
80369
|
variables: undefined;
|
|
79444
80370
|
isIdle: true;
|
|
79445
80371
|
reset: () => void;
|
|
79446
80372
|
context: unknown;
|
|
79447
80373
|
submittedAt: number;
|
|
79448
|
-
mutate:
|
|
79449
|
-
mutateAsync:
|
|
79450
|
-
writeContract:
|
|
80374
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80375
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
80376
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79451
80377
|
updateMarketFees: (rates: {
|
|
79452
80378
|
openingFeeRate?: number;
|
|
79453
80379
|
baseFeeRate?: number;
|
|
@@ -79462,15 +80388,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79462
80388
|
} | {
|
|
79463
80389
|
data: undefined;
|
|
79464
80390
|
error: null;
|
|
80391
|
+
status: "pending";
|
|
79465
80392
|
isError: false;
|
|
79466
80393
|
isPending: true;
|
|
79467
80394
|
isSuccess: false;
|
|
79468
|
-
status: "pending";
|
|
79469
80395
|
failureCount: number;
|
|
79470
|
-
failureReason:
|
|
80396
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
79471
80397
|
isPaused: boolean;
|
|
79472
80398
|
variables: {
|
|
79473
|
-
abi:
|
|
80399
|
+
abi: abitype0.Abi;
|
|
79474
80400
|
functionName: string;
|
|
79475
80401
|
args?: readonly unknown[] | undefined;
|
|
79476
80402
|
address: Address;
|
|
@@ -79494,7 +80420,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79494
80420
|
chainId?: number | undefined;
|
|
79495
80421
|
connector?: wagmi0.Connector | undefined;
|
|
79496
80422
|
} | {
|
|
79497
|
-
abi:
|
|
80423
|
+
abi: abitype0.Abi;
|
|
79498
80424
|
functionName: string;
|
|
79499
80425
|
args?: readonly unknown[] | undefined;
|
|
79500
80426
|
address: Address;
|
|
@@ -79518,7 +80444,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79518
80444
|
chainId?: number | undefined;
|
|
79519
80445
|
connector?: wagmi0.Connector | undefined;
|
|
79520
80446
|
} | {
|
|
79521
|
-
abi:
|
|
80447
|
+
abi: abitype0.Abi;
|
|
79522
80448
|
functionName: string;
|
|
79523
80449
|
args?: readonly unknown[] | undefined;
|
|
79524
80450
|
address: Address;
|
|
@@ -79542,7 +80468,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79542
80468
|
chainId?: number | undefined;
|
|
79543
80469
|
connector?: wagmi0.Connector | undefined;
|
|
79544
80470
|
} | {
|
|
79545
|
-
abi:
|
|
80471
|
+
abi: abitype0.Abi;
|
|
79546
80472
|
functionName: string;
|
|
79547
80473
|
args?: readonly unknown[] | undefined;
|
|
79548
80474
|
address: Address;
|
|
@@ -79566,7 +80492,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79566
80492
|
chainId?: number | undefined;
|
|
79567
80493
|
connector?: wagmi0.Connector | undefined;
|
|
79568
80494
|
} | {
|
|
79569
|
-
abi:
|
|
80495
|
+
abi: abitype0.Abi;
|
|
79570
80496
|
functionName: string;
|
|
79571
80497
|
args?: readonly unknown[] | undefined;
|
|
79572
80498
|
address: Address;
|
|
@@ -79590,7 +80516,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79590
80516
|
chainId?: number | undefined;
|
|
79591
80517
|
connector?: wagmi0.Connector | undefined;
|
|
79592
80518
|
} | {
|
|
79593
|
-
abi:
|
|
80519
|
+
abi: abitype0.Abi;
|
|
79594
80520
|
functionName: string;
|
|
79595
80521
|
args?: readonly unknown[] | undefined;
|
|
79596
80522
|
address: Address;
|
|
@@ -79618,9 +80544,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79618
80544
|
reset: () => void;
|
|
79619
80545
|
context: unknown;
|
|
79620
80546
|
submittedAt: number;
|
|
79621
|
-
mutate:
|
|
79622
|
-
mutateAsync:
|
|
79623
|
-
writeContract:
|
|
80547
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80548
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
80549
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79624
80550
|
updateMarketFees: (rates: {
|
|
79625
80551
|
openingFeeRate?: number;
|
|
79626
80552
|
baseFeeRate?: number;
|
|
@@ -79634,16 +80560,16 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79634
80560
|
}>;
|
|
79635
80561
|
} | {
|
|
79636
80562
|
data: undefined;
|
|
79637
|
-
error:
|
|
80563
|
+
error: _wagmi_core27.WriteContractErrorType;
|
|
80564
|
+
status: "error";
|
|
79638
80565
|
isError: true;
|
|
79639
80566
|
isPending: false;
|
|
79640
80567
|
isSuccess: false;
|
|
79641
|
-
status: "error";
|
|
79642
80568
|
failureCount: number;
|
|
79643
|
-
failureReason:
|
|
80569
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
79644
80570
|
isPaused: boolean;
|
|
79645
80571
|
variables: {
|
|
79646
|
-
abi:
|
|
80572
|
+
abi: abitype0.Abi;
|
|
79647
80573
|
functionName: string;
|
|
79648
80574
|
args?: readonly unknown[] | undefined;
|
|
79649
80575
|
address: Address;
|
|
@@ -79667,7 +80593,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79667
80593
|
chainId?: number | undefined;
|
|
79668
80594
|
connector?: wagmi0.Connector | undefined;
|
|
79669
80595
|
} | {
|
|
79670
|
-
abi:
|
|
80596
|
+
abi: abitype0.Abi;
|
|
79671
80597
|
functionName: string;
|
|
79672
80598
|
args?: readonly unknown[] | undefined;
|
|
79673
80599
|
address: Address;
|
|
@@ -79691,7 +80617,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79691
80617
|
chainId?: number | undefined;
|
|
79692
80618
|
connector?: wagmi0.Connector | undefined;
|
|
79693
80619
|
} | {
|
|
79694
|
-
abi:
|
|
80620
|
+
abi: abitype0.Abi;
|
|
79695
80621
|
functionName: string;
|
|
79696
80622
|
args?: readonly unknown[] | undefined;
|
|
79697
80623
|
address: Address;
|
|
@@ -79715,7 +80641,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79715
80641
|
chainId?: number | undefined;
|
|
79716
80642
|
connector?: wagmi0.Connector | undefined;
|
|
79717
80643
|
} | {
|
|
79718
|
-
abi:
|
|
80644
|
+
abi: abitype0.Abi;
|
|
79719
80645
|
functionName: string;
|
|
79720
80646
|
args?: readonly unknown[] | undefined;
|
|
79721
80647
|
address: Address;
|
|
@@ -79739,7 +80665,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79739
80665
|
chainId?: number | undefined;
|
|
79740
80666
|
connector?: wagmi0.Connector | undefined;
|
|
79741
80667
|
} | {
|
|
79742
|
-
abi:
|
|
80668
|
+
abi: abitype0.Abi;
|
|
79743
80669
|
functionName: string;
|
|
79744
80670
|
args?: readonly unknown[] | undefined;
|
|
79745
80671
|
address: Address;
|
|
@@ -79763,7 +80689,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79763
80689
|
chainId?: number | undefined;
|
|
79764
80690
|
connector?: wagmi0.Connector | undefined;
|
|
79765
80691
|
} | {
|
|
79766
|
-
abi:
|
|
80692
|
+
abi: abitype0.Abi;
|
|
79767
80693
|
functionName: string;
|
|
79768
80694
|
args?: readonly unknown[] | undefined;
|
|
79769
80695
|
address: Address;
|
|
@@ -79791,9 +80717,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79791
80717
|
reset: () => void;
|
|
79792
80718
|
context: unknown;
|
|
79793
80719
|
submittedAt: number;
|
|
79794
|
-
mutate:
|
|
79795
|
-
mutateAsync:
|
|
79796
|
-
writeContract:
|
|
80720
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80721
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
80722
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79797
80723
|
updateMarketFees: (rates: {
|
|
79798
80724
|
openingFeeRate?: number;
|
|
79799
80725
|
baseFeeRate?: number;
|
|
@@ -79808,15 +80734,15 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79808
80734
|
} | {
|
|
79809
80735
|
data: `0x${string}`;
|
|
79810
80736
|
error: null;
|
|
80737
|
+
status: "success";
|
|
79811
80738
|
isError: false;
|
|
79812
80739
|
isPending: false;
|
|
79813
80740
|
isSuccess: true;
|
|
79814
|
-
status: "success";
|
|
79815
80741
|
failureCount: number;
|
|
79816
|
-
failureReason:
|
|
80742
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
79817
80743
|
isPaused: boolean;
|
|
79818
80744
|
variables: {
|
|
79819
|
-
abi:
|
|
80745
|
+
abi: abitype0.Abi;
|
|
79820
80746
|
functionName: string;
|
|
79821
80747
|
args?: readonly unknown[] | undefined;
|
|
79822
80748
|
address: Address;
|
|
@@ -79840,7 +80766,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79840
80766
|
chainId?: number | undefined;
|
|
79841
80767
|
connector?: wagmi0.Connector | undefined;
|
|
79842
80768
|
} | {
|
|
79843
|
-
abi:
|
|
80769
|
+
abi: abitype0.Abi;
|
|
79844
80770
|
functionName: string;
|
|
79845
80771
|
args?: readonly unknown[] | undefined;
|
|
79846
80772
|
address: Address;
|
|
@@ -79864,7 +80790,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79864
80790
|
chainId?: number | undefined;
|
|
79865
80791
|
connector?: wagmi0.Connector | undefined;
|
|
79866
80792
|
} | {
|
|
79867
|
-
abi:
|
|
80793
|
+
abi: abitype0.Abi;
|
|
79868
80794
|
functionName: string;
|
|
79869
80795
|
args?: readonly unknown[] | undefined;
|
|
79870
80796
|
address: Address;
|
|
@@ -79888,7 +80814,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79888
80814
|
chainId?: number | undefined;
|
|
79889
80815
|
connector?: wagmi0.Connector | undefined;
|
|
79890
80816
|
} | {
|
|
79891
|
-
abi:
|
|
80817
|
+
abi: abitype0.Abi;
|
|
79892
80818
|
functionName: string;
|
|
79893
80819
|
args?: readonly unknown[] | undefined;
|
|
79894
80820
|
address: Address;
|
|
@@ -79912,7 +80838,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79912
80838
|
chainId?: number | undefined;
|
|
79913
80839
|
connector?: wagmi0.Connector | undefined;
|
|
79914
80840
|
} | {
|
|
79915
|
-
abi:
|
|
80841
|
+
abi: abitype0.Abi;
|
|
79916
80842
|
functionName: string;
|
|
79917
80843
|
args?: readonly unknown[] | undefined;
|
|
79918
80844
|
address: Address;
|
|
@@ -79936,7 +80862,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79936
80862
|
chainId?: number | undefined;
|
|
79937
80863
|
connector?: wagmi0.Connector | undefined;
|
|
79938
80864
|
} | {
|
|
79939
|
-
abi:
|
|
80865
|
+
abi: abitype0.Abi;
|
|
79940
80866
|
functionName: string;
|
|
79941
80867
|
args?: readonly unknown[] | undefined;
|
|
79942
80868
|
address: Address;
|
|
@@ -79964,9 +80890,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
79964
80890
|
reset: () => void;
|
|
79965
80891
|
context: unknown;
|
|
79966
80892
|
submittedAt: number;
|
|
79967
|
-
mutate:
|
|
79968
|
-
mutateAsync:
|
|
79969
|
-
writeContract:
|
|
80893
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80894
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
80895
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79970
80896
|
updateMarketFees: (rates: {
|
|
79971
80897
|
openingFeeRate?: number;
|
|
79972
80898
|
baseFeeRate?: number;
|
|
@@ -80970,21 +81896,21 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
|
|
|
80970
81896
|
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
80971
81897
|
data: undefined;
|
|
80972
81898
|
error: null;
|
|
81899
|
+
status: "idle";
|
|
80973
81900
|
isError: false;
|
|
80974
81901
|
isPending: false;
|
|
80975
81902
|
isSuccess: false;
|
|
80976
|
-
status: "idle";
|
|
80977
81903
|
failureCount: number;
|
|
80978
|
-
failureReason:
|
|
81904
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
80979
81905
|
isPaused: boolean;
|
|
80980
81906
|
variables: undefined;
|
|
80981
81907
|
isIdle: true;
|
|
80982
81908
|
reset: () => void;
|
|
80983
81909
|
context: unknown;
|
|
80984
81910
|
submittedAt: number;
|
|
80985
|
-
mutate:
|
|
80986
|
-
writeContract:
|
|
80987
|
-
writeContractAsync:
|
|
81911
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
81912
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
81913
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
80988
81914
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
80989
81915
|
model: "static";
|
|
80990
81916
|
} : Partial<OptionPricingParams> & {
|
|
@@ -80997,15 +81923,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
80997
81923
|
} | {
|
|
80998
81924
|
data: undefined;
|
|
80999
81925
|
error: null;
|
|
81926
|
+
status: "pending";
|
|
81000
81927
|
isError: false;
|
|
81001
81928
|
isPending: true;
|
|
81002
81929
|
isSuccess: false;
|
|
81003
|
-
status: "pending";
|
|
81004
81930
|
failureCount: number;
|
|
81005
|
-
failureReason:
|
|
81931
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
81006
81932
|
isPaused: boolean;
|
|
81007
81933
|
variables: {
|
|
81008
|
-
abi:
|
|
81934
|
+
abi: abitype0.Abi;
|
|
81009
81935
|
functionName: string;
|
|
81010
81936
|
args?: readonly unknown[] | undefined;
|
|
81011
81937
|
address: Address;
|
|
@@ -81029,7 +81955,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81029
81955
|
chainId?: number | undefined;
|
|
81030
81956
|
connector?: wagmi0.Connector | undefined;
|
|
81031
81957
|
} | {
|
|
81032
|
-
abi:
|
|
81958
|
+
abi: abitype0.Abi;
|
|
81033
81959
|
functionName: string;
|
|
81034
81960
|
args?: readonly unknown[] | undefined;
|
|
81035
81961
|
address: Address;
|
|
@@ -81053,7 +81979,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81053
81979
|
chainId?: number | undefined;
|
|
81054
81980
|
connector?: wagmi0.Connector | undefined;
|
|
81055
81981
|
} | {
|
|
81056
|
-
abi:
|
|
81982
|
+
abi: abitype0.Abi;
|
|
81057
81983
|
functionName: string;
|
|
81058
81984
|
args?: readonly unknown[] | undefined;
|
|
81059
81985
|
address: Address;
|
|
@@ -81077,7 +82003,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81077
82003
|
chainId?: number | undefined;
|
|
81078
82004
|
connector?: wagmi0.Connector | undefined;
|
|
81079
82005
|
} | {
|
|
81080
|
-
abi:
|
|
82006
|
+
abi: abitype0.Abi;
|
|
81081
82007
|
functionName: string;
|
|
81082
82008
|
args?: readonly unknown[] | undefined;
|
|
81083
82009
|
address: Address;
|
|
@@ -81101,7 +82027,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81101
82027
|
chainId?: number | undefined;
|
|
81102
82028
|
connector?: wagmi0.Connector | undefined;
|
|
81103
82029
|
} | {
|
|
81104
|
-
abi:
|
|
82030
|
+
abi: abitype0.Abi;
|
|
81105
82031
|
functionName: string;
|
|
81106
82032
|
args?: readonly unknown[] | undefined;
|
|
81107
82033
|
address: Address;
|
|
@@ -81125,7 +82051,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81125
82051
|
chainId?: number | undefined;
|
|
81126
82052
|
connector?: wagmi0.Connector | undefined;
|
|
81127
82053
|
} | {
|
|
81128
|
-
abi:
|
|
82054
|
+
abi: abitype0.Abi;
|
|
81129
82055
|
functionName: string;
|
|
81130
82056
|
args?: readonly unknown[] | undefined;
|
|
81131
82057
|
address: Address;
|
|
@@ -81153,9 +82079,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81153
82079
|
reset: () => void;
|
|
81154
82080
|
context: unknown;
|
|
81155
82081
|
submittedAt: number;
|
|
81156
|
-
mutate:
|
|
81157
|
-
writeContract:
|
|
81158
|
-
writeContractAsync:
|
|
82082
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
82083
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
82084
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
81159
82085
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
81160
82086
|
model: "static";
|
|
81161
82087
|
} : Partial<OptionPricingParams> & {
|
|
@@ -81167,16 +82093,16 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81167
82093
|
}>;
|
|
81168
82094
|
} | {
|
|
81169
82095
|
data: undefined;
|
|
81170
|
-
error:
|
|
82096
|
+
error: _wagmi_core27.WriteContractErrorType;
|
|
82097
|
+
status: "error";
|
|
81171
82098
|
isError: true;
|
|
81172
82099
|
isPending: false;
|
|
81173
82100
|
isSuccess: false;
|
|
81174
|
-
status: "error";
|
|
81175
82101
|
failureCount: number;
|
|
81176
|
-
failureReason:
|
|
82102
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
81177
82103
|
isPaused: boolean;
|
|
81178
82104
|
variables: {
|
|
81179
|
-
abi:
|
|
82105
|
+
abi: abitype0.Abi;
|
|
81180
82106
|
functionName: string;
|
|
81181
82107
|
args?: readonly unknown[] | undefined;
|
|
81182
82108
|
address: Address;
|
|
@@ -81200,7 +82126,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81200
82126
|
chainId?: number | undefined;
|
|
81201
82127
|
connector?: wagmi0.Connector | undefined;
|
|
81202
82128
|
} | {
|
|
81203
|
-
abi:
|
|
82129
|
+
abi: abitype0.Abi;
|
|
81204
82130
|
functionName: string;
|
|
81205
82131
|
args?: readonly unknown[] | undefined;
|
|
81206
82132
|
address: Address;
|
|
@@ -81224,7 +82150,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81224
82150
|
chainId?: number | undefined;
|
|
81225
82151
|
connector?: wagmi0.Connector | undefined;
|
|
81226
82152
|
} | {
|
|
81227
|
-
abi:
|
|
82153
|
+
abi: abitype0.Abi;
|
|
81228
82154
|
functionName: string;
|
|
81229
82155
|
args?: readonly unknown[] | undefined;
|
|
81230
82156
|
address: Address;
|
|
@@ -81248,7 +82174,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81248
82174
|
chainId?: number | undefined;
|
|
81249
82175
|
connector?: wagmi0.Connector | undefined;
|
|
81250
82176
|
} | {
|
|
81251
|
-
abi:
|
|
82177
|
+
abi: abitype0.Abi;
|
|
81252
82178
|
functionName: string;
|
|
81253
82179
|
args?: readonly unknown[] | undefined;
|
|
81254
82180
|
address: Address;
|
|
@@ -81272,7 +82198,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81272
82198
|
chainId?: number | undefined;
|
|
81273
82199
|
connector?: wagmi0.Connector | undefined;
|
|
81274
82200
|
} | {
|
|
81275
|
-
abi:
|
|
82201
|
+
abi: abitype0.Abi;
|
|
81276
82202
|
functionName: string;
|
|
81277
82203
|
args?: readonly unknown[] | undefined;
|
|
81278
82204
|
address: Address;
|
|
@@ -81296,7 +82222,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81296
82222
|
chainId?: number | undefined;
|
|
81297
82223
|
connector?: wagmi0.Connector | undefined;
|
|
81298
82224
|
} | {
|
|
81299
|
-
abi:
|
|
82225
|
+
abi: abitype0.Abi;
|
|
81300
82226
|
functionName: string;
|
|
81301
82227
|
args?: readonly unknown[] | undefined;
|
|
81302
82228
|
address: Address;
|
|
@@ -81324,9 +82250,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81324
82250
|
reset: () => void;
|
|
81325
82251
|
context: unknown;
|
|
81326
82252
|
submittedAt: number;
|
|
81327
|
-
mutate:
|
|
81328
|
-
writeContract:
|
|
81329
|
-
writeContractAsync:
|
|
82253
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
82254
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
82255
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
81330
82256
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
81331
82257
|
model: "static";
|
|
81332
82258
|
} : Partial<OptionPricingParams> & {
|
|
@@ -81339,15 +82265,15 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81339
82265
|
} | {
|
|
81340
82266
|
data: `0x${string}`;
|
|
81341
82267
|
error: null;
|
|
82268
|
+
status: "success";
|
|
81342
82269
|
isError: false;
|
|
81343
82270
|
isPending: false;
|
|
81344
82271
|
isSuccess: true;
|
|
81345
|
-
status: "success";
|
|
81346
82272
|
failureCount: number;
|
|
81347
|
-
failureReason:
|
|
82273
|
+
failureReason: _wagmi_core27.WriteContractErrorType | null;
|
|
81348
82274
|
isPaused: boolean;
|
|
81349
82275
|
variables: {
|
|
81350
|
-
abi:
|
|
82276
|
+
abi: abitype0.Abi;
|
|
81351
82277
|
functionName: string;
|
|
81352
82278
|
args?: readonly unknown[] | undefined;
|
|
81353
82279
|
address: Address;
|
|
@@ -81371,7 +82297,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81371
82297
|
chainId?: number | undefined;
|
|
81372
82298
|
connector?: wagmi0.Connector | undefined;
|
|
81373
82299
|
} | {
|
|
81374
|
-
abi:
|
|
82300
|
+
abi: abitype0.Abi;
|
|
81375
82301
|
functionName: string;
|
|
81376
82302
|
args?: readonly unknown[] | undefined;
|
|
81377
82303
|
address: Address;
|
|
@@ -81395,7 +82321,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81395
82321
|
chainId?: number | undefined;
|
|
81396
82322
|
connector?: wagmi0.Connector | undefined;
|
|
81397
82323
|
} | {
|
|
81398
|
-
abi:
|
|
82324
|
+
abi: abitype0.Abi;
|
|
81399
82325
|
functionName: string;
|
|
81400
82326
|
args?: readonly unknown[] | undefined;
|
|
81401
82327
|
address: Address;
|
|
@@ -81419,7 +82345,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81419
82345
|
chainId?: number | undefined;
|
|
81420
82346
|
connector?: wagmi0.Connector | undefined;
|
|
81421
82347
|
} | {
|
|
81422
|
-
abi:
|
|
82348
|
+
abi: abitype0.Abi;
|
|
81423
82349
|
functionName: string;
|
|
81424
82350
|
args?: readonly unknown[] | undefined;
|
|
81425
82351
|
address: Address;
|
|
@@ -81443,7 +82369,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81443
82369
|
chainId?: number | undefined;
|
|
81444
82370
|
connector?: wagmi0.Connector | undefined;
|
|
81445
82371
|
} | {
|
|
81446
|
-
abi:
|
|
82372
|
+
abi: abitype0.Abi;
|
|
81447
82373
|
functionName: string;
|
|
81448
82374
|
args?: readonly unknown[] | undefined;
|
|
81449
82375
|
address: Address;
|
|
@@ -81467,7 +82393,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81467
82393
|
chainId?: number | undefined;
|
|
81468
82394
|
connector?: wagmi0.Connector | undefined;
|
|
81469
82395
|
} | {
|
|
81470
|
-
abi:
|
|
82396
|
+
abi: abitype0.Abi;
|
|
81471
82397
|
functionName: string;
|
|
81472
82398
|
args?: readonly unknown[] | undefined;
|
|
81473
82399
|
address: Address;
|
|
@@ -81495,9 +82421,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81495
82421
|
reset: () => void;
|
|
81496
82422
|
context: unknown;
|
|
81497
82423
|
submittedAt: number;
|
|
81498
|
-
mutate:
|
|
81499
|
-
writeContract:
|
|
81500
|
-
writeContractAsync:
|
|
82424
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
82425
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
82426
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
81501
82427
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
81502
82428
|
model: "static";
|
|
81503
82429
|
} : Partial<OptionPricingParams> & {
|
|
@@ -81516,5 +82442,5 @@ declare const useLens: () => {
|
|
|
81516
82442
|
quoter: Awaited<ReturnType<typeof getQuoter>> | undefined;
|
|
81517
82443
|
};
|
|
81518
82444
|
//#endregion
|
|
81519
|
-
export { roundTick as $,
|
|
81520
|
-
//# sourceMappingURL=client-
|
|
82445
|
+
export { roundTick as $, getTimelockLens as $t, getCurrentPrice as A, formatAmount as At, usePoolData as B, useMarketState as Bt, useLiquidityBlocks as C, useExerciseOption as Ct, PriceData as D, useMintOption as Dt, usePriceHistory as E, useClosedUserOptions as Et, useCurrentTicks as F, wrapAmountUnscaled as Ft, getNearestValidStrikeTick as G, useCurrentMarket as Gt, PRICE_PRECISION as H, useMarketData as Ht, useCurrentPrice as I, wrapPrice as It, getSqrtPriceX96AtPrice as J, TimelockMarket as Jt, getPriceAtSqrtPriceX96 as K, useTimelockConfig as Kt, useCurrentPrices as L, wrapPriceUnscaled as Lt, usePriceAtSqrtPriceX96 as M, formatUSD as Mt, usePriceAtTick as N, formatVagueAmount as Nt, PriceDataPoint as O, useMaxPositionSize as Ot, useCurrentTick as P, wrapAmount as Pt, liquiditiesToAmounts as Q, getStateView as Qt, PoolInput as R, zero as Rt, LiquidityBlockData as S, useOptionsPnlAtPrices as St, useMarketPriceHistory as T, useActiveUserOptions as Tt, PoolKey as U, useMarketsData as Ut, usePoolsData as V, MarketData as Vt, getAmountsFromLiquidity as W, TimelockProvider as Wt, liquiditiesToAmount0 as X, getErc20 as Xt, getTickAtPrice as Y, TimelockMarketData as Yt, liquiditiesToAmount1 as Z, getQuoter as Zt, useTokenData as _, useOptionTimeline as _t, OptionPricingParams as a, timelockFactories as an, useUserOperators as at, batchGetAmountsFromLiquidity as b, useOptionPnl as bt, usePricingParams as c, useClosedUserPerps as ct, usePauseMarketTrading as d, useClosePerp as dt, getTimelockMarket as en, token0ToToken1 as et, usePauseGlobalTrading as f, useMintPerp as ft, TokenData as g, OptionEvent as gt, useTokenBalance as h, MintOptionEvent as ht, useOptionPricingParams as i, swappers as in, useSetOperatorPerms as it, getPriceHistory as j, formatCondensed as jt, PriceResolution as k, Amount as kt, useUpdateMarketFees as l, useUserPerps as lt, useApproval as m, ExtendEvent as mt, useUpdateMarketPricing as n, stateViews as nn, token1ToToken0 as nt, PricingParams as o, timelockLenses as on, useOperatorPerms as ot, useGuardianGlobalState as p, ExerciseOptionEvent as pt, getPriceAtTick as q, TimelockLens as qt, useStaticPricingParams as r, swapRouters as rn, token1ToToken0AtTick as rt, StaticPricingParams as s, useActiveUserPerps as st, useLens as t, quoters as tn, token0ToToken1AtTick as tt, useFeeRates as u, usePerpsOperator as ut, useVaultTVL as v, useExtendOption as vt, useBurnLiquidity as w, OptionData as wt, useMintLiquidity as x, useOptionsPnl as xt, useVaultData as y, useOptionPremium as yt, UniswapPoolData as z, useMarketVolume as zt };
|
|
82446
|
+
//# sourceMappingURL=client-C59PyXoJ.d.ts.map
|