timelock-sdk 0.0.163 → 0.0.164
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-DqVrd4kQ.d.ts → client-Di1eoh5l.d.cts} +209 -1135
- package/dist/{client-CoeY1yLm.d.cts → client-Dp-YTEVp.d.ts} +294 -1220
- package/dist/client.cjs +73 -60
- 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 +73 -60
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-
|
|
1
|
+
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-2HZ-p_dl.js";
|
|
2
2
|
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
5
|
+
import JSBI from "jsbi";
|
|
4
6
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
8
|
+
import * as wagmi0 from "wagmi";
|
|
9
|
+
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
10
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import JSBI from "jsbi";
|
|
11
|
+
import "graphql";
|
|
12
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
12
13
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
|
-
import * as wagmi0 from "wagmi";
|
|
14
14
|
import * as wagmi_query0 from "wagmi/query";
|
|
15
15
|
import * as abitype0 from "abitype";
|
|
16
16
|
|
|
@@ -426,7 +426,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
426
426
|
}];
|
|
427
427
|
readonly stateMutability: "nonpayable";
|
|
428
428
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
429
|
-
|
|
429
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
430
430
|
readonly type: "constructor";
|
|
431
431
|
readonly inputs: readonly [{
|
|
432
432
|
readonly name: "name_";
|
|
@@ -604,8 +604,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
604
604
|
readonly internalType: "bool";
|
|
605
605
|
}];
|
|
606
606
|
readonly stateMutability: "nonpayable";
|
|
607
|
-
}], "
|
|
608
|
-
|
|
607
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
608
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
609
609
|
readonly type: "constructor";
|
|
610
610
|
readonly inputs: readonly [{
|
|
611
611
|
readonly name: "name_";
|
|
@@ -783,8 +783,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
783
783
|
readonly internalType: "bool";
|
|
784
784
|
}];
|
|
785
785
|
readonly stateMutability: "nonpayable";
|
|
786
|
-
}], "
|
|
787
|
-
|
|
786
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
787
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
788
788
|
readonly type: "constructor";
|
|
789
789
|
readonly inputs: readonly [{
|
|
790
790
|
readonly name: "name_";
|
|
@@ -962,8 +962,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
962
962
|
readonly internalType: "bool";
|
|
963
963
|
}];
|
|
964
964
|
readonly stateMutability: "nonpayable";
|
|
965
|
-
}], "
|
|
966
|
-
|
|
965
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
966
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
967
967
|
readonly type: "constructor";
|
|
968
968
|
readonly inputs: readonly [{
|
|
969
969
|
readonly name: "name_";
|
|
@@ -1141,7 +1141,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1141
1141
|
readonly internalType: "bool";
|
|
1142
1142
|
}];
|
|
1143
1143
|
readonly stateMutability: "nonpayable";
|
|
1144
|
-
}], "
|
|
1144
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1145
1145
|
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1146
1146
|
readonly type: "constructor";
|
|
1147
1147
|
readonly inputs: readonly [{
|
|
@@ -48234,20 +48234,20 @@ declare const useMarketState: (marketAddr?: Address) => {
|
|
|
48234
48234
|
isRefetching: boolean;
|
|
48235
48235
|
isStale: boolean;
|
|
48236
48236
|
isEnabled: boolean;
|
|
48237
|
-
refetch: (options?:
|
|
48237
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48238
48238
|
optionsCount: bigint;
|
|
48239
48239
|
optionPricing: `0x${string}`;
|
|
48240
48240
|
feeStrategy: `0x${string}`;
|
|
48241
48241
|
owner: `0x${string}`;
|
|
48242
48242
|
}, viem0.ReadContractErrorType>>;
|
|
48243
|
-
fetchStatus:
|
|
48243
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48244
48244
|
promise: Promise<{
|
|
48245
48245
|
optionsCount: bigint;
|
|
48246
48246
|
optionPricing: `0x${string}`;
|
|
48247
48247
|
feeStrategy: `0x${string}`;
|
|
48248
48248
|
owner: `0x${string}`;
|
|
48249
48249
|
}>;
|
|
48250
|
-
queryKey:
|
|
48250
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48251
48251
|
data: Partial<NonUndefinedGuard<{
|
|
48252
48252
|
optionsCount: bigint;
|
|
48253
48253
|
optionPricing: `0x${string}`;
|
|
@@ -48277,20 +48277,20 @@ declare const useMarketState: (marketAddr?: Address) => {
|
|
|
48277
48277
|
isRefetching: boolean;
|
|
48278
48278
|
isStale: boolean;
|
|
48279
48279
|
isEnabled: boolean;
|
|
48280
|
-
refetch: (options?:
|
|
48280
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48281
48281
|
optionsCount: bigint;
|
|
48282
48282
|
optionPricing: `0x${string}`;
|
|
48283
48283
|
feeStrategy: `0x${string}`;
|
|
48284
48284
|
owner: `0x${string}`;
|
|
48285
48285
|
}, viem0.ReadContractErrorType>>;
|
|
48286
|
-
fetchStatus:
|
|
48286
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48287
48287
|
promise: Promise<{
|
|
48288
48288
|
optionsCount: bigint;
|
|
48289
48289
|
optionPricing: `0x${string}`;
|
|
48290
48290
|
feeStrategy: `0x${string}`;
|
|
48291
48291
|
owner: `0x${string}`;
|
|
48292
48292
|
}>;
|
|
48293
|
-
queryKey:
|
|
48293
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48294
48294
|
data: Partial<NonUndefinedGuard<{
|
|
48295
48295
|
optionsCount: bigint;
|
|
48296
48296
|
optionPricing: `0x${string}`;
|
|
@@ -48320,20 +48320,20 @@ declare const useMarketState: (marketAddr?: Address) => {
|
|
|
48320
48320
|
isRefetching: boolean;
|
|
48321
48321
|
isStale: boolean;
|
|
48322
48322
|
isEnabled: boolean;
|
|
48323
|
-
refetch: (options?:
|
|
48323
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48324
48324
|
optionsCount: bigint;
|
|
48325
48325
|
optionPricing: `0x${string}`;
|
|
48326
48326
|
feeStrategy: `0x${string}`;
|
|
48327
48327
|
owner: `0x${string}`;
|
|
48328
48328
|
}, viem0.ReadContractErrorType>>;
|
|
48329
|
-
fetchStatus:
|
|
48329
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48330
48330
|
promise: Promise<{
|
|
48331
48331
|
optionsCount: bigint;
|
|
48332
48332
|
optionPricing: `0x${string}`;
|
|
48333
48333
|
feeStrategy: `0x${string}`;
|
|
48334
48334
|
owner: `0x${string}`;
|
|
48335
48335
|
}>;
|
|
48336
|
-
queryKey:
|
|
48336
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48337
48337
|
data: Partial<NonUndefinedGuard<{
|
|
48338
48338
|
optionsCount: bigint;
|
|
48339
48339
|
optionPricing: `0x${string}`;
|
|
@@ -48363,20 +48363,20 @@ declare const useMarketState: (marketAddr?: Address) => {
|
|
|
48363
48363
|
isRefetching: boolean;
|
|
48364
48364
|
isStale: boolean;
|
|
48365
48365
|
isEnabled: boolean;
|
|
48366
|
-
refetch: (options?:
|
|
48366
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48367
48367
|
optionsCount: bigint;
|
|
48368
48368
|
optionPricing: `0x${string}`;
|
|
48369
48369
|
feeStrategy: `0x${string}`;
|
|
48370
48370
|
owner: `0x${string}`;
|
|
48371
48371
|
}, viem0.ReadContractErrorType>>;
|
|
48372
|
-
fetchStatus:
|
|
48372
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48373
48373
|
promise: Promise<{
|
|
48374
48374
|
optionsCount: bigint;
|
|
48375
48375
|
optionPricing: `0x${string}`;
|
|
48376
48376
|
feeStrategy: `0x${string}`;
|
|
48377
48377
|
owner: `0x${string}`;
|
|
48378
48378
|
}>;
|
|
48379
|
-
queryKey:
|
|
48379
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48380
48380
|
data: Partial<NonUndefinedGuard<{
|
|
48381
48381
|
optionsCount: bigint;
|
|
48382
48382
|
optionPricing: `0x${string}`;
|
|
@@ -48406,20 +48406,20 @@ declare const useMarketState: (marketAddr?: Address) => {
|
|
|
48406
48406
|
isRefetching: boolean;
|
|
48407
48407
|
isStale: boolean;
|
|
48408
48408
|
isEnabled: boolean;
|
|
48409
|
-
refetch: (options?:
|
|
48409
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48410
48410
|
optionsCount: bigint;
|
|
48411
48411
|
optionPricing: `0x${string}`;
|
|
48412
48412
|
feeStrategy: `0x${string}`;
|
|
48413
48413
|
owner: `0x${string}`;
|
|
48414
48414
|
}, viem0.ReadContractErrorType>>;
|
|
48415
|
-
fetchStatus:
|
|
48415
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48416
48416
|
promise: Promise<{
|
|
48417
48417
|
optionsCount: bigint;
|
|
48418
48418
|
optionPricing: `0x${string}`;
|
|
48419
48419
|
feeStrategy: `0x${string}`;
|
|
48420
48420
|
owner: `0x${string}`;
|
|
48421
48421
|
}>;
|
|
48422
|
-
queryKey:
|
|
48422
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48423
48423
|
data: Partial<NonUndefinedGuard<{
|
|
48424
48424
|
optionsCount: bigint;
|
|
48425
48425
|
optionPricing: `0x${string}`;
|
|
@@ -48449,20 +48449,20 @@ declare const useMarketState: (marketAddr?: Address) => {
|
|
|
48449
48449
|
isRefetching: boolean;
|
|
48450
48450
|
isStale: boolean;
|
|
48451
48451
|
isEnabled: boolean;
|
|
48452
|
-
refetch: (options?:
|
|
48452
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48453
48453
|
optionsCount: bigint;
|
|
48454
48454
|
optionPricing: `0x${string}`;
|
|
48455
48455
|
feeStrategy: `0x${string}`;
|
|
48456
48456
|
owner: `0x${string}`;
|
|
48457
48457
|
}, viem0.ReadContractErrorType>>;
|
|
48458
|
-
fetchStatus:
|
|
48458
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48459
48459
|
promise: Promise<{
|
|
48460
48460
|
optionsCount: bigint;
|
|
48461
48461
|
optionPricing: `0x${string}`;
|
|
48462
48462
|
feeStrategy: `0x${string}`;
|
|
48463
48463
|
owner: `0x${string}`;
|
|
48464
48464
|
}>;
|
|
48465
|
-
queryKey:
|
|
48465
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48466
48466
|
data: Partial<NonUndefinedGuard<{
|
|
48467
48467
|
optionsCount: bigint;
|
|
48468
48468
|
optionPricing: `0x${string}`;
|
|
@@ -48495,7 +48495,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48495
48495
|
isRefetching: boolean;
|
|
48496
48496
|
isStale: boolean;
|
|
48497
48497
|
isEnabled: boolean;
|
|
48498
|
-
refetch: (options?:
|
|
48498
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48499
48499
|
address: Address;
|
|
48500
48500
|
volume: bigint;
|
|
48501
48501
|
optionsCount: bigint;
|
|
@@ -48503,7 +48503,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48503
48503
|
__typename: "TimelockMarket";
|
|
48504
48504
|
id: string;
|
|
48505
48505
|
}, Error>>;
|
|
48506
|
-
fetchStatus:
|
|
48506
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48507
48507
|
promise: Promise<{
|
|
48508
48508
|
address: Address;
|
|
48509
48509
|
volume: bigint;
|
|
@@ -48543,7 +48543,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48543
48543
|
isRefetching: boolean;
|
|
48544
48544
|
isStale: boolean;
|
|
48545
48545
|
isEnabled: boolean;
|
|
48546
|
-
refetch: (options?:
|
|
48546
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48547
48547
|
address: Address;
|
|
48548
48548
|
volume: bigint;
|
|
48549
48549
|
optionsCount: bigint;
|
|
@@ -48551,7 +48551,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48551
48551
|
__typename: "TimelockMarket";
|
|
48552
48552
|
id: string;
|
|
48553
48553
|
}, Error>>;
|
|
48554
|
-
fetchStatus:
|
|
48554
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48555
48555
|
promise: Promise<{
|
|
48556
48556
|
address: Address;
|
|
48557
48557
|
volume: bigint;
|
|
@@ -48591,7 +48591,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48591
48591
|
isRefetching: boolean;
|
|
48592
48592
|
isStale: boolean;
|
|
48593
48593
|
isEnabled: boolean;
|
|
48594
|
-
refetch: (options?:
|
|
48594
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48595
48595
|
address: Address;
|
|
48596
48596
|
volume: bigint;
|
|
48597
48597
|
optionsCount: bigint;
|
|
@@ -48599,7 +48599,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48599
48599
|
__typename: "TimelockMarket";
|
|
48600
48600
|
id: string;
|
|
48601
48601
|
}, Error>>;
|
|
48602
|
-
fetchStatus:
|
|
48602
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48603
48603
|
promise: Promise<{
|
|
48604
48604
|
address: Address;
|
|
48605
48605
|
volume: bigint;
|
|
@@ -48639,7 +48639,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48639
48639
|
isRefetching: boolean;
|
|
48640
48640
|
isStale: boolean;
|
|
48641
48641
|
isEnabled: boolean;
|
|
48642
|
-
refetch: (options?:
|
|
48642
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48643
48643
|
address: Address;
|
|
48644
48644
|
volume: bigint;
|
|
48645
48645
|
optionsCount: bigint;
|
|
@@ -48647,7 +48647,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48647
48647
|
__typename: "TimelockMarket";
|
|
48648
48648
|
id: string;
|
|
48649
48649
|
}, Error>>;
|
|
48650
|
-
fetchStatus:
|
|
48650
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48651
48651
|
promise: Promise<{
|
|
48652
48652
|
address: Address;
|
|
48653
48653
|
volume: bigint;
|
|
@@ -48687,7 +48687,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48687
48687
|
isRefetching: boolean;
|
|
48688
48688
|
isStale: boolean;
|
|
48689
48689
|
isEnabled: boolean;
|
|
48690
|
-
refetch: (options?:
|
|
48690
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48691
48691
|
address: Address;
|
|
48692
48692
|
volume: bigint;
|
|
48693
48693
|
optionsCount: bigint;
|
|
@@ -48695,7 +48695,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48695
48695
|
__typename: "TimelockMarket";
|
|
48696
48696
|
id: string;
|
|
48697
48697
|
}, Error>>;
|
|
48698
|
-
fetchStatus:
|
|
48698
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48699
48699
|
promise: Promise<{
|
|
48700
48700
|
address: Address;
|
|
48701
48701
|
volume: bigint;
|
|
@@ -48735,7 +48735,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48735
48735
|
isRefetching: boolean;
|
|
48736
48736
|
isStale: boolean;
|
|
48737
48737
|
isEnabled: boolean;
|
|
48738
|
-
refetch: (options?:
|
|
48738
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48739
48739
|
address: Address;
|
|
48740
48740
|
volume: bigint;
|
|
48741
48741
|
optionsCount: bigint;
|
|
@@ -48743,7 +48743,7 @@ declare const useMarketVolume: (marketAddr?: Address) => {
|
|
|
48743
48743
|
__typename: "TimelockMarket";
|
|
48744
48744
|
id: string;
|
|
48745
48745
|
}, Error>>;
|
|
48746
|
-
fetchStatus:
|
|
48746
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48747
48747
|
promise: Promise<{
|
|
48748
48748
|
address: Address;
|
|
48749
48749
|
volume: bigint;
|
|
@@ -48808,10 +48808,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
48808
48808
|
isRefetching: boolean;
|
|
48809
48809
|
isStale: boolean;
|
|
48810
48810
|
isEnabled: boolean;
|
|
48811
|
-
refetch: (options?:
|
|
48812
|
-
fetchStatus:
|
|
48811
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
48812
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48813
48813
|
promise: Promise<never>;
|
|
48814
|
-
queryKey:
|
|
48814
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48815
48815
|
maxCallSize: Amount | undefined;
|
|
48816
48816
|
maxPutSize: Amount | undefined;
|
|
48817
48817
|
} | {
|
|
@@ -48837,10 +48837,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
48837
48837
|
isRefetching: boolean;
|
|
48838
48838
|
isStale: boolean;
|
|
48839
48839
|
isEnabled: boolean;
|
|
48840
|
-
refetch: (options?:
|
|
48841
|
-
fetchStatus:
|
|
48840
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
48841
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48842
48842
|
promise: Promise<never>;
|
|
48843
|
-
queryKey:
|
|
48843
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48844
48844
|
maxCallSize: Amount | undefined;
|
|
48845
48845
|
maxPutSize: Amount | undefined;
|
|
48846
48846
|
} | {
|
|
@@ -48866,10 +48866,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
48866
48866
|
isRefetching: boolean;
|
|
48867
48867
|
isStale: boolean;
|
|
48868
48868
|
isEnabled: boolean;
|
|
48869
|
-
refetch: (options?:
|
|
48870
|
-
fetchStatus:
|
|
48869
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
48870
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48871
48871
|
promise: Promise<never>;
|
|
48872
|
-
queryKey:
|
|
48872
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48873
48873
|
maxCallSize: Amount | undefined;
|
|
48874
48874
|
maxPutSize: Amount | undefined;
|
|
48875
48875
|
} | {
|
|
@@ -48895,10 +48895,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
48895
48895
|
isRefetching: boolean;
|
|
48896
48896
|
isStale: boolean;
|
|
48897
48897
|
isEnabled: boolean;
|
|
48898
|
-
refetch: (options?:
|
|
48899
|
-
fetchStatus:
|
|
48898
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
48899
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48900
48900
|
promise: Promise<never>;
|
|
48901
|
-
queryKey:
|
|
48901
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48902
48902
|
maxCallSize: Amount | undefined;
|
|
48903
48903
|
maxPutSize: Amount | undefined;
|
|
48904
48904
|
} | {
|
|
@@ -48924,10 +48924,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
48924
48924
|
isRefetching: boolean;
|
|
48925
48925
|
isStale: boolean;
|
|
48926
48926
|
isEnabled: boolean;
|
|
48927
|
-
refetch: (options?:
|
|
48928
|
-
fetchStatus:
|
|
48927
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
48928
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48929
48929
|
promise: Promise<never>;
|
|
48930
|
-
queryKey:
|
|
48930
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48931
48931
|
maxCallSize: Amount | undefined;
|
|
48932
48932
|
maxPutSize: Amount | undefined;
|
|
48933
48933
|
} | {
|
|
@@ -48953,16 +48953,16 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
48953
48953
|
isRefetching: boolean;
|
|
48954
48954
|
isStale: boolean;
|
|
48955
48955
|
isEnabled: boolean;
|
|
48956
|
-
refetch: (options?:
|
|
48957
|
-
fetchStatus:
|
|
48956
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
48957
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
48958
48958
|
promise: Promise<never>;
|
|
48959
|
-
queryKey:
|
|
48959
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
48960
48960
|
maxCallSize: Amount | undefined;
|
|
48961
48961
|
maxPutSize: Amount | undefined;
|
|
48962
48962
|
};
|
|
48963
48963
|
//#endregion
|
|
48964
48964
|
//#region src/hooks/options/useMintOption.d.ts
|
|
48965
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
48965
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
48966
48966
|
optionType: "CALL" | "PUT";
|
|
48967
48967
|
amount: bigint;
|
|
48968
48968
|
duration: number;
|
|
@@ -48995,7 +48995,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
48995
48995
|
isRefetching: boolean;
|
|
48996
48996
|
isStale: boolean;
|
|
48997
48997
|
isEnabled: boolean;
|
|
48998
|
-
refetch: (options?:
|
|
48998
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
48999
48999
|
optionId: bigint;
|
|
49000
49000
|
marketAddr: Address;
|
|
49001
49001
|
ownerAddr: Address;
|
|
@@ -49025,7 +49025,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49025
49025
|
address: string;
|
|
49026
49026
|
} | null;
|
|
49027
49027
|
}[], Error>>;
|
|
49028
|
-
fetchStatus:
|
|
49028
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49029
49029
|
promise: Promise<{
|
|
49030
49030
|
optionId: bigint;
|
|
49031
49031
|
marketAddr: Address;
|
|
@@ -49109,7 +49109,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49109
49109
|
isRefetching: boolean;
|
|
49110
49110
|
isStale: boolean;
|
|
49111
49111
|
isEnabled: boolean;
|
|
49112
|
-
refetch: (options?:
|
|
49112
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
49113
49113
|
optionId: bigint;
|
|
49114
49114
|
marketAddr: Address;
|
|
49115
49115
|
ownerAddr: Address;
|
|
@@ -49139,7 +49139,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49139
49139
|
address: string;
|
|
49140
49140
|
} | null;
|
|
49141
49141
|
}[], Error>>;
|
|
49142
|
-
fetchStatus:
|
|
49142
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49143
49143
|
promise: Promise<{
|
|
49144
49144
|
optionId: bigint;
|
|
49145
49145
|
marketAddr: Address;
|
|
@@ -49223,7 +49223,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49223
49223
|
isRefetching: boolean;
|
|
49224
49224
|
isStale: boolean;
|
|
49225
49225
|
isEnabled: boolean;
|
|
49226
|
-
refetch: (options?:
|
|
49226
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
49227
49227
|
optionId: bigint;
|
|
49228
49228
|
marketAddr: Address;
|
|
49229
49229
|
ownerAddr: Address;
|
|
@@ -49253,7 +49253,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49253
49253
|
address: string;
|
|
49254
49254
|
} | null;
|
|
49255
49255
|
}[], Error>>;
|
|
49256
|
-
fetchStatus:
|
|
49256
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49257
49257
|
promise: Promise<{
|
|
49258
49258
|
optionId: bigint;
|
|
49259
49259
|
marketAddr: Address;
|
|
@@ -49337,7 +49337,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49337
49337
|
isRefetching: boolean;
|
|
49338
49338
|
isStale: boolean;
|
|
49339
49339
|
isEnabled: boolean;
|
|
49340
|
-
refetch: (options?:
|
|
49340
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
49341
49341
|
optionId: bigint;
|
|
49342
49342
|
marketAddr: Address;
|
|
49343
49343
|
ownerAddr: Address;
|
|
@@ -49367,7 +49367,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49367
49367
|
address: string;
|
|
49368
49368
|
} | null;
|
|
49369
49369
|
}[], Error>>;
|
|
49370
|
-
fetchStatus:
|
|
49370
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49371
49371
|
promise: Promise<{
|
|
49372
49372
|
optionId: bigint;
|
|
49373
49373
|
marketAddr: Address;
|
|
@@ -49451,7 +49451,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49451
49451
|
isRefetching: boolean;
|
|
49452
49452
|
isStale: boolean;
|
|
49453
49453
|
isEnabled: boolean;
|
|
49454
|
-
refetch: (options?:
|
|
49454
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
49455
49455
|
optionId: bigint;
|
|
49456
49456
|
marketAddr: Address;
|
|
49457
49457
|
ownerAddr: Address;
|
|
@@ -49481,7 +49481,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49481
49481
|
address: string;
|
|
49482
49482
|
} | null;
|
|
49483
49483
|
}[], Error>>;
|
|
49484
|
-
fetchStatus:
|
|
49484
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49485
49485
|
promise: Promise<{
|
|
49486
49486
|
optionId: bigint;
|
|
49487
49487
|
marketAddr: Address;
|
|
@@ -49565,7 +49565,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49565
49565
|
isRefetching: boolean;
|
|
49566
49566
|
isStale: boolean;
|
|
49567
49567
|
isEnabled: boolean;
|
|
49568
|
-
refetch: (options?:
|
|
49568
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
49569
49569
|
optionId: bigint;
|
|
49570
49570
|
marketAddr: Address;
|
|
49571
49571
|
ownerAddr: Address;
|
|
@@ -49595,7 +49595,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
49595
49595
|
address: string;
|
|
49596
49596
|
} | null;
|
|
49597
49597
|
}[], Error>>;
|
|
49598
|
-
fetchStatus:
|
|
49598
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49599
49599
|
promise: Promise<{
|
|
49600
49600
|
optionId: bigint;
|
|
49601
49601
|
marketAddr: Address;
|
|
@@ -49680,7 +49680,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49680
49680
|
isRefetching: boolean;
|
|
49681
49681
|
isStale: boolean;
|
|
49682
49682
|
isEnabled: boolean;
|
|
49683
|
-
refetch: (options?:
|
|
49683
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
49684
49684
|
optionId: bigint;
|
|
49685
49685
|
marketAddr: Address;
|
|
49686
49686
|
ownerAddr: Address;
|
|
@@ -49710,7 +49710,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49710
49710
|
address: string;
|
|
49711
49711
|
} | null;
|
|
49712
49712
|
}[], Error>>;
|
|
49713
|
-
fetchStatus:
|
|
49713
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49714
49714
|
promise: Promise<{
|
|
49715
49715
|
optionId: bigint;
|
|
49716
49716
|
marketAddr: Address;
|
|
@@ -49794,7 +49794,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49794
49794
|
isRefetching: boolean;
|
|
49795
49795
|
isStale: boolean;
|
|
49796
49796
|
isEnabled: boolean;
|
|
49797
|
-
refetch: (options?:
|
|
49797
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
49798
49798
|
optionId: bigint;
|
|
49799
49799
|
marketAddr: Address;
|
|
49800
49800
|
ownerAddr: Address;
|
|
@@ -49824,7 +49824,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49824
49824
|
address: string;
|
|
49825
49825
|
} | null;
|
|
49826
49826
|
}[], Error>>;
|
|
49827
|
-
fetchStatus:
|
|
49827
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49828
49828
|
promise: Promise<{
|
|
49829
49829
|
optionId: bigint;
|
|
49830
49830
|
marketAddr: Address;
|
|
@@ -49908,7 +49908,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49908
49908
|
isRefetching: boolean;
|
|
49909
49909
|
isStale: boolean;
|
|
49910
49910
|
isEnabled: boolean;
|
|
49911
|
-
refetch: (options?:
|
|
49911
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
49912
49912
|
optionId: bigint;
|
|
49913
49913
|
marketAddr: Address;
|
|
49914
49914
|
ownerAddr: Address;
|
|
@@ -49938,7 +49938,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49938
49938
|
address: string;
|
|
49939
49939
|
} | null;
|
|
49940
49940
|
}[], Error>>;
|
|
49941
|
-
fetchStatus:
|
|
49941
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49942
49942
|
promise: Promise<{
|
|
49943
49943
|
optionId: bigint;
|
|
49944
49944
|
marketAddr: Address;
|
|
@@ -50022,7 +50022,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50022
50022
|
isRefetching: boolean;
|
|
50023
50023
|
isStale: boolean;
|
|
50024
50024
|
isEnabled: boolean;
|
|
50025
|
-
refetch: (options?:
|
|
50025
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50026
50026
|
optionId: bigint;
|
|
50027
50027
|
marketAddr: Address;
|
|
50028
50028
|
ownerAddr: Address;
|
|
@@ -50052,7 +50052,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50052
50052
|
address: string;
|
|
50053
50053
|
} | null;
|
|
50054
50054
|
}[], Error>>;
|
|
50055
|
-
fetchStatus:
|
|
50055
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50056
50056
|
promise: Promise<{
|
|
50057
50057
|
optionId: bigint;
|
|
50058
50058
|
marketAddr: Address;
|
|
@@ -50136,7 +50136,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50136
50136
|
isRefetching: boolean;
|
|
50137
50137
|
isStale: boolean;
|
|
50138
50138
|
isEnabled: boolean;
|
|
50139
|
-
refetch: (options?:
|
|
50139
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50140
50140
|
optionId: bigint;
|
|
50141
50141
|
marketAddr: Address;
|
|
50142
50142
|
ownerAddr: Address;
|
|
@@ -50166,7 +50166,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50166
50166
|
address: string;
|
|
50167
50167
|
} | null;
|
|
50168
50168
|
}[], Error>>;
|
|
50169
|
-
fetchStatus:
|
|
50169
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50170
50170
|
promise: Promise<{
|
|
50171
50171
|
optionId: bigint;
|
|
50172
50172
|
marketAddr: Address;
|
|
@@ -50250,7 +50250,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50250
50250
|
isRefetching: boolean;
|
|
50251
50251
|
isStale: boolean;
|
|
50252
50252
|
isEnabled: boolean;
|
|
50253
|
-
refetch: (options?:
|
|
50253
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50254
50254
|
optionId: bigint;
|
|
50255
50255
|
marketAddr: Address;
|
|
50256
50256
|
ownerAddr: Address;
|
|
@@ -50280,7 +50280,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50280
50280
|
address: string;
|
|
50281
50281
|
} | null;
|
|
50282
50282
|
}[], Error>>;
|
|
50283
|
-
fetchStatus:
|
|
50283
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50284
50284
|
promise: Promise<{
|
|
50285
50285
|
optionId: bigint;
|
|
50286
50286
|
marketAddr: Address;
|
|
@@ -50365,7 +50365,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50365
50365
|
isRefetching: boolean;
|
|
50366
50366
|
isStale: boolean;
|
|
50367
50367
|
isEnabled: boolean;
|
|
50368
|
-
refetch: (options?:
|
|
50368
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50369
50369
|
optionId: bigint;
|
|
50370
50370
|
marketAddr: Address;
|
|
50371
50371
|
ownerAddr: Address;
|
|
@@ -50395,7 +50395,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50395
50395
|
address: string;
|
|
50396
50396
|
} | null;
|
|
50397
50397
|
}[], Error>>;
|
|
50398
|
-
fetchStatus:
|
|
50398
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50399
50399
|
promise: Promise<{
|
|
50400
50400
|
optionId: bigint;
|
|
50401
50401
|
marketAddr: Address;
|
|
@@ -50479,7 +50479,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50479
50479
|
isRefetching: boolean;
|
|
50480
50480
|
isStale: boolean;
|
|
50481
50481
|
isEnabled: boolean;
|
|
50482
|
-
refetch: (options?:
|
|
50482
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50483
50483
|
optionId: bigint;
|
|
50484
50484
|
marketAddr: Address;
|
|
50485
50485
|
ownerAddr: Address;
|
|
@@ -50509,7 +50509,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50509
50509
|
address: string;
|
|
50510
50510
|
} | null;
|
|
50511
50511
|
}[], Error>>;
|
|
50512
|
-
fetchStatus:
|
|
50512
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50513
50513
|
promise: Promise<{
|
|
50514
50514
|
optionId: bigint;
|
|
50515
50515
|
marketAddr: Address;
|
|
@@ -50593,7 +50593,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50593
50593
|
isRefetching: boolean;
|
|
50594
50594
|
isStale: boolean;
|
|
50595
50595
|
isEnabled: boolean;
|
|
50596
|
-
refetch: (options?:
|
|
50596
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50597
50597
|
optionId: bigint;
|
|
50598
50598
|
marketAddr: Address;
|
|
50599
50599
|
ownerAddr: Address;
|
|
@@ -50623,7 +50623,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50623
50623
|
address: string;
|
|
50624
50624
|
} | null;
|
|
50625
50625
|
}[], Error>>;
|
|
50626
|
-
fetchStatus:
|
|
50626
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50627
50627
|
promise: Promise<{
|
|
50628
50628
|
optionId: bigint;
|
|
50629
50629
|
marketAddr: Address;
|
|
@@ -50707,7 +50707,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50707
50707
|
isRefetching: boolean;
|
|
50708
50708
|
isStale: boolean;
|
|
50709
50709
|
isEnabled: boolean;
|
|
50710
|
-
refetch: (options?:
|
|
50710
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50711
50711
|
optionId: bigint;
|
|
50712
50712
|
marketAddr: Address;
|
|
50713
50713
|
ownerAddr: Address;
|
|
@@ -50737,7 +50737,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50737
50737
|
address: string;
|
|
50738
50738
|
} | null;
|
|
50739
50739
|
}[], Error>>;
|
|
50740
|
-
fetchStatus:
|
|
50740
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50741
50741
|
promise: Promise<{
|
|
50742
50742
|
optionId: bigint;
|
|
50743
50743
|
marketAddr: Address;
|
|
@@ -50821,7 +50821,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50821
50821
|
isRefetching: boolean;
|
|
50822
50822
|
isStale: boolean;
|
|
50823
50823
|
isEnabled: boolean;
|
|
50824
|
-
refetch: (options?:
|
|
50824
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50825
50825
|
optionId: bigint;
|
|
50826
50826
|
marketAddr: Address;
|
|
50827
50827
|
ownerAddr: Address;
|
|
@@ -50851,7 +50851,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50851
50851
|
address: string;
|
|
50852
50852
|
} | null;
|
|
50853
50853
|
}[], Error>>;
|
|
50854
|
-
fetchStatus:
|
|
50854
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50855
50855
|
promise: Promise<{
|
|
50856
50856
|
optionId: bigint;
|
|
50857
50857
|
marketAddr: Address;
|
|
@@ -50935,7 +50935,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50935
50935
|
isRefetching: boolean;
|
|
50936
50936
|
isStale: boolean;
|
|
50937
50937
|
isEnabled: boolean;
|
|
50938
|
-
refetch: (options?:
|
|
50938
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
50939
50939
|
optionId: bigint;
|
|
50940
50940
|
marketAddr: Address;
|
|
50941
50941
|
ownerAddr: Address;
|
|
@@ -50965,7 +50965,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
50965
50965
|
address: string;
|
|
50966
50966
|
} | null;
|
|
50967
50967
|
}[], Error>>;
|
|
50968
|
-
fetchStatus:
|
|
50968
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50969
50969
|
promise: Promise<{
|
|
50970
50970
|
optionId: bigint;
|
|
50971
50971
|
marketAddr: Address;
|
|
@@ -51029,7 +51029,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
51029
51029
|
};
|
|
51030
51030
|
//#endregion
|
|
51031
51031
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
51032
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
51032
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
51033
51033
|
option: OptionData;
|
|
51034
51034
|
liquidities: readonly bigint[];
|
|
51035
51035
|
}, unknown>;
|
|
@@ -51052,7 +51052,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
51052
51052
|
};
|
|
51053
51053
|
//#endregion
|
|
51054
51054
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
51055
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
51055
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
51056
51056
|
option: OptionData;
|
|
51057
51057
|
duration: number;
|
|
51058
51058
|
}, unknown>;
|
|
@@ -51091,7 +51091,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51091
51091
|
isRefetching: boolean;
|
|
51092
51092
|
isStale: boolean;
|
|
51093
51093
|
isEnabled: boolean;
|
|
51094
|
-
refetch: (options?:
|
|
51094
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
51095
51095
|
type: "mint";
|
|
51096
51096
|
data: {
|
|
51097
51097
|
id: string;
|
|
@@ -51130,7 +51130,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51130
51130
|
transactionHash: string;
|
|
51131
51131
|
};
|
|
51132
51132
|
})[], Error>>;
|
|
51133
|
-
fetchStatus:
|
|
51133
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51134
51134
|
promise: Promise<({
|
|
51135
51135
|
type: "mint";
|
|
51136
51136
|
data: {
|
|
@@ -51232,7 +51232,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51232
51232
|
isRefetching: boolean;
|
|
51233
51233
|
isStale: boolean;
|
|
51234
51234
|
isEnabled: boolean;
|
|
51235
|
-
refetch: (options?:
|
|
51235
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
51236
51236
|
type: "mint";
|
|
51237
51237
|
data: {
|
|
51238
51238
|
id: string;
|
|
@@ -51271,7 +51271,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51271
51271
|
transactionHash: string;
|
|
51272
51272
|
};
|
|
51273
51273
|
})[], Error>>;
|
|
51274
|
-
fetchStatus:
|
|
51274
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51275
51275
|
promise: Promise<({
|
|
51276
51276
|
type: "mint";
|
|
51277
51277
|
data: {
|
|
@@ -51373,7 +51373,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51373
51373
|
isRefetching: boolean;
|
|
51374
51374
|
isStale: boolean;
|
|
51375
51375
|
isEnabled: boolean;
|
|
51376
|
-
refetch: (options?:
|
|
51376
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
51377
51377
|
type: "mint";
|
|
51378
51378
|
data: {
|
|
51379
51379
|
id: string;
|
|
@@ -51412,7 +51412,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51412
51412
|
transactionHash: string;
|
|
51413
51413
|
};
|
|
51414
51414
|
})[], Error>>;
|
|
51415
|
-
fetchStatus:
|
|
51415
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51416
51416
|
promise: Promise<({
|
|
51417
51417
|
type: "mint";
|
|
51418
51418
|
data: {
|
|
@@ -51514,7 +51514,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51514
51514
|
isRefetching: boolean;
|
|
51515
51515
|
isStale: boolean;
|
|
51516
51516
|
isEnabled: boolean;
|
|
51517
|
-
refetch: (options?:
|
|
51517
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
51518
51518
|
type: "mint";
|
|
51519
51519
|
data: {
|
|
51520
51520
|
id: string;
|
|
@@ -51553,7 +51553,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51553
51553
|
transactionHash: string;
|
|
51554
51554
|
};
|
|
51555
51555
|
})[], Error>>;
|
|
51556
|
-
fetchStatus:
|
|
51556
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51557
51557
|
promise: Promise<({
|
|
51558
51558
|
type: "mint";
|
|
51559
51559
|
data: {
|
|
@@ -51655,7 +51655,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51655
51655
|
isRefetching: boolean;
|
|
51656
51656
|
isStale: boolean;
|
|
51657
51657
|
isEnabled: boolean;
|
|
51658
|
-
refetch: (options?:
|
|
51658
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
51659
51659
|
type: "mint";
|
|
51660
51660
|
data: {
|
|
51661
51661
|
id: string;
|
|
@@ -51694,7 +51694,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51694
51694
|
transactionHash: string;
|
|
51695
51695
|
};
|
|
51696
51696
|
})[], Error>>;
|
|
51697
|
-
fetchStatus:
|
|
51697
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51698
51698
|
promise: Promise<({
|
|
51699
51699
|
type: "mint";
|
|
51700
51700
|
data: {
|
|
@@ -51796,7 +51796,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51796
51796
|
isRefetching: boolean;
|
|
51797
51797
|
isStale: boolean;
|
|
51798
51798
|
isEnabled: boolean;
|
|
51799
|
-
refetch: (options?:
|
|
51799
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
51800
51800
|
type: "mint";
|
|
51801
51801
|
data: {
|
|
51802
51802
|
id: string;
|
|
@@ -51835,7 +51835,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51835
51835
|
transactionHash: string;
|
|
51836
51836
|
};
|
|
51837
51837
|
})[], Error>>;
|
|
51838
|
-
fetchStatus:
|
|
51838
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51839
51839
|
promise: Promise<({
|
|
51840
51840
|
type: "mint";
|
|
51841
51841
|
data: {
|
|
@@ -51917,7 +51917,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51917
51917
|
};
|
|
51918
51918
|
//#endregion
|
|
51919
51919
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
51920
|
-
declare const useMintPerp: (marketAddr?: Address) =>
|
|
51920
|
+
declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, {
|
|
51921
51921
|
optionType: "CALL" | "PUT";
|
|
51922
51922
|
amount: bigint;
|
|
51923
51923
|
duration: number;
|
|
@@ -51925,13 +51925,13 @@ declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query7.UseM
|
|
|
51925
51925
|
}, unknown>;
|
|
51926
51926
|
//#endregion
|
|
51927
51927
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
51928
|
-
declare const useClosePerp: () =>
|
|
51928
|
+
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
51929
51929
|
//#endregion
|
|
51930
51930
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
51931
51931
|
declare const usePerpsOperator: () => {
|
|
51932
51932
|
operator: PerpsOperator | undefined;
|
|
51933
51933
|
address: `0x${string}` | undefined;
|
|
51934
|
-
signMessage:
|
|
51934
|
+
signMessage: _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
|
|
51935
51935
|
};
|
|
51936
51936
|
//#endregion
|
|
51937
51937
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
@@ -51958,7 +51958,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
51958
51958
|
isRefetching: boolean;
|
|
51959
51959
|
isStale: boolean;
|
|
51960
51960
|
isEnabled: boolean;
|
|
51961
|
-
refetch: (options?:
|
|
51961
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
51962
51962
|
optionId: bigint;
|
|
51963
51963
|
id: string;
|
|
51964
51964
|
ownerAddr: Address;
|
|
@@ -51967,7 +51967,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
51967
51967
|
expiresAt: number;
|
|
51968
51968
|
closed: boolean;
|
|
51969
51969
|
}[] | undefined, Error>>;
|
|
51970
|
-
fetchStatus:
|
|
51970
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51971
51971
|
promise: Promise<{
|
|
51972
51972
|
optionId: bigint;
|
|
51973
51973
|
id: string;
|
|
@@ -52009,7 +52009,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52009
52009
|
isRefetching: boolean;
|
|
52010
52010
|
isStale: boolean;
|
|
52011
52011
|
isEnabled: boolean;
|
|
52012
|
-
refetch: (options?:
|
|
52012
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52013
52013
|
optionId: bigint;
|
|
52014
52014
|
id: string;
|
|
52015
52015
|
ownerAddr: Address;
|
|
@@ -52018,7 +52018,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52018
52018
|
expiresAt: number;
|
|
52019
52019
|
closed: boolean;
|
|
52020
52020
|
}[] | undefined, Error>>;
|
|
52021
|
-
fetchStatus:
|
|
52021
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52022
52022
|
promise: Promise<{
|
|
52023
52023
|
optionId: bigint;
|
|
52024
52024
|
id: string;
|
|
@@ -52060,7 +52060,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52060
52060
|
isRefetching: boolean;
|
|
52061
52061
|
isStale: boolean;
|
|
52062
52062
|
isEnabled: boolean;
|
|
52063
|
-
refetch: (options?:
|
|
52063
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52064
52064
|
optionId: bigint;
|
|
52065
52065
|
id: string;
|
|
52066
52066
|
ownerAddr: Address;
|
|
@@ -52069,7 +52069,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52069
52069
|
expiresAt: number;
|
|
52070
52070
|
closed: boolean;
|
|
52071
52071
|
}[] | undefined, Error>>;
|
|
52072
|
-
fetchStatus:
|
|
52072
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52073
52073
|
promise: Promise<{
|
|
52074
52074
|
optionId: bigint;
|
|
52075
52075
|
id: string;
|
|
@@ -52111,7 +52111,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52111
52111
|
isRefetching: boolean;
|
|
52112
52112
|
isStale: boolean;
|
|
52113
52113
|
isEnabled: boolean;
|
|
52114
|
-
refetch: (options?:
|
|
52114
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52115
52115
|
optionId: bigint;
|
|
52116
52116
|
id: string;
|
|
52117
52117
|
ownerAddr: Address;
|
|
@@ -52120,7 +52120,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52120
52120
|
expiresAt: number;
|
|
52121
52121
|
closed: boolean;
|
|
52122
52122
|
}[] | undefined, Error>>;
|
|
52123
|
-
fetchStatus:
|
|
52123
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52124
52124
|
promise: Promise<{
|
|
52125
52125
|
optionId: bigint;
|
|
52126
52126
|
id: string;
|
|
@@ -52162,7 +52162,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52162
52162
|
isRefetching: boolean;
|
|
52163
52163
|
isStale: boolean;
|
|
52164
52164
|
isEnabled: boolean;
|
|
52165
|
-
refetch: (options?:
|
|
52165
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52166
52166
|
optionId: bigint;
|
|
52167
52167
|
id: string;
|
|
52168
52168
|
ownerAddr: Address;
|
|
@@ -52171,7 +52171,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52171
52171
|
expiresAt: number;
|
|
52172
52172
|
closed: boolean;
|
|
52173
52173
|
}[] | undefined, Error>>;
|
|
52174
|
-
fetchStatus:
|
|
52174
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52175
52175
|
promise: Promise<{
|
|
52176
52176
|
optionId: bigint;
|
|
52177
52177
|
id: string;
|
|
@@ -52213,7 +52213,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52213
52213
|
isRefetching: boolean;
|
|
52214
52214
|
isStale: boolean;
|
|
52215
52215
|
isEnabled: boolean;
|
|
52216
|
-
refetch: (options?:
|
|
52216
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52217
52217
|
optionId: bigint;
|
|
52218
52218
|
id: string;
|
|
52219
52219
|
ownerAddr: Address;
|
|
@@ -52222,7 +52222,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52222
52222
|
expiresAt: number;
|
|
52223
52223
|
closed: boolean;
|
|
52224
52224
|
}[] | undefined, Error>>;
|
|
52225
|
-
fetchStatus:
|
|
52225
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52226
52226
|
promise: Promise<{
|
|
52227
52227
|
optionId: bigint;
|
|
52228
52228
|
id: string;
|
|
@@ -52265,7 +52265,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52265
52265
|
isRefetching: boolean;
|
|
52266
52266
|
isStale: boolean;
|
|
52267
52267
|
isEnabled: boolean;
|
|
52268
|
-
refetch: (options?:
|
|
52268
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52269
52269
|
optionId: bigint;
|
|
52270
52270
|
id: string;
|
|
52271
52271
|
ownerAddr: Address;
|
|
@@ -52274,7 +52274,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52274
52274
|
expiresAt: number;
|
|
52275
52275
|
closed: boolean;
|
|
52276
52276
|
}[] | undefined, Error>>;
|
|
52277
|
-
fetchStatus:
|
|
52277
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52278
52278
|
promise: Promise<{
|
|
52279
52279
|
optionId: bigint;
|
|
52280
52280
|
id: string;
|
|
@@ -52316,7 +52316,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52316
52316
|
isRefetching: boolean;
|
|
52317
52317
|
isStale: boolean;
|
|
52318
52318
|
isEnabled: boolean;
|
|
52319
|
-
refetch: (options?:
|
|
52319
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52320
52320
|
optionId: bigint;
|
|
52321
52321
|
id: string;
|
|
52322
52322
|
ownerAddr: Address;
|
|
@@ -52325,7 +52325,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52325
52325
|
expiresAt: number;
|
|
52326
52326
|
closed: boolean;
|
|
52327
52327
|
}[] | undefined, Error>>;
|
|
52328
|
-
fetchStatus:
|
|
52328
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52329
52329
|
promise: Promise<{
|
|
52330
52330
|
optionId: bigint;
|
|
52331
52331
|
id: string;
|
|
@@ -52367,7 +52367,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52367
52367
|
isRefetching: boolean;
|
|
52368
52368
|
isStale: boolean;
|
|
52369
52369
|
isEnabled: boolean;
|
|
52370
|
-
refetch: (options?:
|
|
52370
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52371
52371
|
optionId: bigint;
|
|
52372
52372
|
id: string;
|
|
52373
52373
|
ownerAddr: Address;
|
|
@@ -52376,7 +52376,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52376
52376
|
expiresAt: number;
|
|
52377
52377
|
closed: boolean;
|
|
52378
52378
|
}[] | undefined, Error>>;
|
|
52379
|
-
fetchStatus:
|
|
52379
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52380
52380
|
promise: Promise<{
|
|
52381
52381
|
optionId: bigint;
|
|
52382
52382
|
id: string;
|
|
@@ -52418,7 +52418,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52418
52418
|
isRefetching: boolean;
|
|
52419
52419
|
isStale: boolean;
|
|
52420
52420
|
isEnabled: boolean;
|
|
52421
|
-
refetch: (options?:
|
|
52421
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52422
52422
|
optionId: bigint;
|
|
52423
52423
|
id: string;
|
|
52424
52424
|
ownerAddr: Address;
|
|
@@ -52427,7 +52427,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52427
52427
|
expiresAt: number;
|
|
52428
52428
|
closed: boolean;
|
|
52429
52429
|
}[] | undefined, Error>>;
|
|
52430
|
-
fetchStatus:
|
|
52430
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52431
52431
|
promise: Promise<{
|
|
52432
52432
|
optionId: bigint;
|
|
52433
52433
|
id: string;
|
|
@@ -52469,7 +52469,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52469
52469
|
isRefetching: boolean;
|
|
52470
52470
|
isStale: boolean;
|
|
52471
52471
|
isEnabled: boolean;
|
|
52472
|
-
refetch: (options?:
|
|
52472
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52473
52473
|
optionId: bigint;
|
|
52474
52474
|
id: string;
|
|
52475
52475
|
ownerAddr: Address;
|
|
@@ -52478,7 +52478,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52478
52478
|
expiresAt: number;
|
|
52479
52479
|
closed: boolean;
|
|
52480
52480
|
}[] | undefined, Error>>;
|
|
52481
|
-
fetchStatus:
|
|
52481
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52482
52482
|
promise: Promise<{
|
|
52483
52483
|
optionId: bigint;
|
|
52484
52484
|
id: string;
|
|
@@ -52520,7 +52520,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52520
52520
|
isRefetching: boolean;
|
|
52521
52521
|
isStale: boolean;
|
|
52522
52522
|
isEnabled: boolean;
|
|
52523
|
-
refetch: (options?:
|
|
52523
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52524
52524
|
optionId: bigint;
|
|
52525
52525
|
id: string;
|
|
52526
52526
|
ownerAddr: Address;
|
|
@@ -52529,7 +52529,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52529
52529
|
expiresAt: number;
|
|
52530
52530
|
closed: boolean;
|
|
52531
52531
|
}[] | undefined, Error>>;
|
|
52532
|
-
fetchStatus:
|
|
52532
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52533
52533
|
promise: Promise<{
|
|
52534
52534
|
optionId: bigint;
|
|
52535
52535
|
id: string;
|
|
@@ -52572,7 +52572,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52572
52572
|
isRefetching: boolean;
|
|
52573
52573
|
isStale: boolean;
|
|
52574
52574
|
isEnabled: boolean;
|
|
52575
|
-
refetch: (options?:
|
|
52575
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52576
52576
|
optionId: bigint;
|
|
52577
52577
|
id: string;
|
|
52578
52578
|
ownerAddr: Address;
|
|
@@ -52581,7 +52581,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52581
52581
|
expiresAt: number;
|
|
52582
52582
|
closed: boolean;
|
|
52583
52583
|
}[] | undefined, Error>>;
|
|
52584
|
-
fetchStatus:
|
|
52584
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52585
52585
|
promise: Promise<{
|
|
52586
52586
|
optionId: bigint;
|
|
52587
52587
|
id: string;
|
|
@@ -52623,7 +52623,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52623
52623
|
isRefetching: boolean;
|
|
52624
52624
|
isStale: boolean;
|
|
52625
52625
|
isEnabled: boolean;
|
|
52626
|
-
refetch: (options?:
|
|
52626
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52627
52627
|
optionId: bigint;
|
|
52628
52628
|
id: string;
|
|
52629
52629
|
ownerAddr: Address;
|
|
@@ -52632,7 +52632,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52632
52632
|
expiresAt: number;
|
|
52633
52633
|
closed: boolean;
|
|
52634
52634
|
}[] | undefined, Error>>;
|
|
52635
|
-
fetchStatus:
|
|
52635
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52636
52636
|
promise: Promise<{
|
|
52637
52637
|
optionId: bigint;
|
|
52638
52638
|
id: string;
|
|
@@ -52674,7 +52674,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52674
52674
|
isRefetching: boolean;
|
|
52675
52675
|
isStale: boolean;
|
|
52676
52676
|
isEnabled: boolean;
|
|
52677
|
-
refetch: (options?:
|
|
52677
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52678
52678
|
optionId: bigint;
|
|
52679
52679
|
id: string;
|
|
52680
52680
|
ownerAddr: Address;
|
|
@@ -52683,7 +52683,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52683
52683
|
expiresAt: number;
|
|
52684
52684
|
closed: boolean;
|
|
52685
52685
|
}[] | undefined, Error>>;
|
|
52686
|
-
fetchStatus:
|
|
52686
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52687
52687
|
promise: Promise<{
|
|
52688
52688
|
optionId: bigint;
|
|
52689
52689
|
id: string;
|
|
@@ -52725,7 +52725,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52725
52725
|
isRefetching: boolean;
|
|
52726
52726
|
isStale: boolean;
|
|
52727
52727
|
isEnabled: boolean;
|
|
52728
|
-
refetch: (options?:
|
|
52728
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52729
52729
|
optionId: bigint;
|
|
52730
52730
|
id: string;
|
|
52731
52731
|
ownerAddr: Address;
|
|
@@ -52734,7 +52734,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52734
52734
|
expiresAt: number;
|
|
52735
52735
|
closed: boolean;
|
|
52736
52736
|
}[] | undefined, Error>>;
|
|
52737
|
-
fetchStatus:
|
|
52737
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52738
52738
|
promise: Promise<{
|
|
52739
52739
|
optionId: bigint;
|
|
52740
52740
|
id: string;
|
|
@@ -52776,7 +52776,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52776
52776
|
isRefetching: boolean;
|
|
52777
52777
|
isStale: boolean;
|
|
52778
52778
|
isEnabled: boolean;
|
|
52779
|
-
refetch: (options?:
|
|
52779
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52780
52780
|
optionId: bigint;
|
|
52781
52781
|
id: string;
|
|
52782
52782
|
ownerAddr: Address;
|
|
@@ -52785,7 +52785,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52785
52785
|
expiresAt: number;
|
|
52786
52786
|
closed: boolean;
|
|
52787
52787
|
}[] | undefined, Error>>;
|
|
52788
|
-
fetchStatus:
|
|
52788
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52789
52789
|
promise: Promise<{
|
|
52790
52790
|
optionId: bigint;
|
|
52791
52791
|
id: string;
|
|
@@ -52827,7 +52827,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52827
52827
|
isRefetching: boolean;
|
|
52828
52828
|
isStale: boolean;
|
|
52829
52829
|
isEnabled: boolean;
|
|
52830
|
-
refetch: (options?:
|
|
52830
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
52831
52831
|
optionId: bigint;
|
|
52832
52832
|
id: string;
|
|
52833
52833
|
ownerAddr: Address;
|
|
@@ -52836,7 +52836,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52836
52836
|
expiresAt: number;
|
|
52837
52837
|
closed: boolean;
|
|
52838
52838
|
}[] | undefined, Error>>;
|
|
52839
|
-
fetchStatus:
|
|
52839
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52840
52840
|
promise: Promise<{
|
|
52841
52841
|
optionId: bigint;
|
|
52842
52842
|
id: string;
|
|
@@ -52881,10 +52881,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
52881
52881
|
isRefetching: boolean;
|
|
52882
52882
|
isStale: boolean;
|
|
52883
52883
|
isEnabled: boolean;
|
|
52884
|
-
refetch: (options?:
|
|
52885
|
-
fetchStatus:
|
|
52884
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
52885
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52886
52886
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
52887
|
-
queryKey:
|
|
52887
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
52888
52888
|
data: {
|
|
52889
52889
|
canExtend: boolean | undefined;
|
|
52890
52890
|
canExercise: boolean | undefined;
|
|
@@ -52916,10 +52916,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
52916
52916
|
isRefetching: boolean;
|
|
52917
52917
|
isStale: boolean;
|
|
52918
52918
|
isEnabled: boolean;
|
|
52919
|
-
refetch: (options?:
|
|
52920
|
-
fetchStatus:
|
|
52919
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
52920
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52921
52921
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
52922
|
-
queryKey:
|
|
52922
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
52923
52923
|
data: {
|
|
52924
52924
|
canExtend: boolean | undefined;
|
|
52925
52925
|
canExercise: boolean | undefined;
|
|
@@ -52951,10 +52951,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
52951
52951
|
isRefetching: boolean;
|
|
52952
52952
|
isStale: boolean;
|
|
52953
52953
|
isEnabled: boolean;
|
|
52954
|
-
refetch: (options?:
|
|
52955
|
-
fetchStatus:
|
|
52954
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
52955
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52956
52956
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
52957
|
-
queryKey:
|
|
52957
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
52958
52958
|
data: {
|
|
52959
52959
|
canExtend: boolean | undefined;
|
|
52960
52960
|
canExercise: boolean | undefined;
|
|
@@ -52986,10 +52986,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
52986
52986
|
isRefetching: boolean;
|
|
52987
52987
|
isStale: boolean;
|
|
52988
52988
|
isEnabled: boolean;
|
|
52989
|
-
refetch: (options?:
|
|
52990
|
-
fetchStatus:
|
|
52989
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
52990
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
52991
52991
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
52992
|
-
queryKey:
|
|
52992
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
52993
52993
|
data: {
|
|
52994
52994
|
canExtend: boolean | undefined;
|
|
52995
52995
|
canExercise: boolean | undefined;
|
|
@@ -53021,10 +53021,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
53021
53021
|
isRefetching: boolean;
|
|
53022
53022
|
isStale: boolean;
|
|
53023
53023
|
isEnabled: boolean;
|
|
53024
|
-
refetch: (options?:
|
|
53025
|
-
fetchStatus:
|
|
53024
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
53025
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53026
53026
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
53027
|
-
queryKey:
|
|
53027
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53028
53028
|
data: {
|
|
53029
53029
|
canExtend: boolean | undefined;
|
|
53030
53030
|
canExercise: boolean | undefined;
|
|
@@ -53056,10 +53056,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
53056
53056
|
isRefetching: boolean;
|
|
53057
53057
|
isStale: boolean;
|
|
53058
53058
|
isEnabled: boolean;
|
|
53059
|
-
refetch: (options?:
|
|
53060
|
-
fetchStatus:
|
|
53059
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
53060
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53061
53061
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
53062
|
-
queryKey:
|
|
53062
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53063
53063
|
data: {
|
|
53064
53064
|
canExtend: boolean | undefined;
|
|
53065
53065
|
canExercise: boolean | undefined;
|
|
@@ -53108,7 +53108,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53108
53108
|
isRefetching: boolean;
|
|
53109
53109
|
isStale: boolean;
|
|
53110
53110
|
isEnabled: boolean;
|
|
53111
|
-
refetch: (options?:
|
|
53111
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53112
53112
|
spendingApproval: bigint;
|
|
53113
53113
|
operatorAddr: string;
|
|
53114
53114
|
__typename: "UserMarketOperator";
|
|
@@ -53122,7 +53122,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53122
53122
|
address: string;
|
|
53123
53123
|
} | null;
|
|
53124
53124
|
}[] | undefined, Error>>;
|
|
53125
|
-
fetchStatus:
|
|
53125
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53126
53126
|
promise: Promise<{
|
|
53127
53127
|
spendingApproval: bigint;
|
|
53128
53128
|
operatorAddr: string;
|
|
@@ -53174,7 +53174,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53174
53174
|
isRefetching: boolean;
|
|
53175
53175
|
isStale: boolean;
|
|
53176
53176
|
isEnabled: boolean;
|
|
53177
|
-
refetch: (options?:
|
|
53177
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53178
53178
|
spendingApproval: bigint;
|
|
53179
53179
|
operatorAddr: string;
|
|
53180
53180
|
__typename: "UserMarketOperator";
|
|
@@ -53188,7 +53188,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53188
53188
|
address: string;
|
|
53189
53189
|
} | null;
|
|
53190
53190
|
}[] | undefined, Error>>;
|
|
53191
|
-
fetchStatus:
|
|
53191
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53192
53192
|
promise: Promise<{
|
|
53193
53193
|
spendingApproval: bigint;
|
|
53194
53194
|
operatorAddr: string;
|
|
@@ -53240,7 +53240,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53240
53240
|
isRefetching: boolean;
|
|
53241
53241
|
isStale: boolean;
|
|
53242
53242
|
isEnabled: boolean;
|
|
53243
|
-
refetch: (options?:
|
|
53243
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53244
53244
|
spendingApproval: bigint;
|
|
53245
53245
|
operatorAddr: string;
|
|
53246
53246
|
__typename: "UserMarketOperator";
|
|
@@ -53254,7 +53254,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53254
53254
|
address: string;
|
|
53255
53255
|
} | null;
|
|
53256
53256
|
}[] | undefined, Error>>;
|
|
53257
|
-
fetchStatus:
|
|
53257
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53258
53258
|
promise: Promise<{
|
|
53259
53259
|
spendingApproval: bigint;
|
|
53260
53260
|
operatorAddr: string;
|
|
@@ -53306,7 +53306,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53306
53306
|
isRefetching: boolean;
|
|
53307
53307
|
isStale: boolean;
|
|
53308
53308
|
isEnabled: boolean;
|
|
53309
|
-
refetch: (options?:
|
|
53309
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53310
53310
|
spendingApproval: bigint;
|
|
53311
53311
|
operatorAddr: string;
|
|
53312
53312
|
__typename: "UserMarketOperator";
|
|
@@ -53320,7 +53320,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53320
53320
|
address: string;
|
|
53321
53321
|
} | null;
|
|
53322
53322
|
}[] | undefined, Error>>;
|
|
53323
|
-
fetchStatus:
|
|
53323
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53324
53324
|
promise: Promise<{
|
|
53325
53325
|
spendingApproval: bigint;
|
|
53326
53326
|
operatorAddr: string;
|
|
@@ -53372,7 +53372,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53372
53372
|
isRefetching: boolean;
|
|
53373
53373
|
isStale: boolean;
|
|
53374
53374
|
isEnabled: boolean;
|
|
53375
|
-
refetch: (options?:
|
|
53375
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53376
53376
|
spendingApproval: bigint;
|
|
53377
53377
|
operatorAddr: string;
|
|
53378
53378
|
__typename: "UserMarketOperator";
|
|
@@ -53386,7 +53386,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53386
53386
|
address: string;
|
|
53387
53387
|
} | null;
|
|
53388
53388
|
}[] | undefined, Error>>;
|
|
53389
|
-
fetchStatus:
|
|
53389
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53390
53390
|
promise: Promise<{
|
|
53391
53391
|
spendingApproval: bigint;
|
|
53392
53392
|
operatorAddr: string;
|
|
@@ -53438,7 +53438,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53438
53438
|
isRefetching: boolean;
|
|
53439
53439
|
isStale: boolean;
|
|
53440
53440
|
isEnabled: boolean;
|
|
53441
|
-
refetch: (options?:
|
|
53441
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53442
53442
|
spendingApproval: bigint;
|
|
53443
53443
|
operatorAddr: string;
|
|
53444
53444
|
__typename: "UserMarketOperator";
|
|
@@ -53452,7 +53452,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53452
53452
|
address: string;
|
|
53453
53453
|
} | null;
|
|
53454
53454
|
}[] | undefined, Error>>;
|
|
53455
|
-
fetchStatus:
|
|
53455
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53456
53456
|
promise: Promise<{
|
|
53457
53457
|
spendingApproval: bigint;
|
|
53458
53458
|
operatorAddr: string;
|
|
@@ -53470,7 +53470,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53470
53470
|
};
|
|
53471
53471
|
//#endregion
|
|
53472
53472
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
53473
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
53473
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
53474
53474
|
operator: Address;
|
|
53475
53475
|
canExtend: boolean;
|
|
53476
53476
|
canExercise: boolean;
|
|
@@ -53571,18 +53571,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
53571
53571
|
isRefetching: boolean;
|
|
53572
53572
|
isStale: boolean;
|
|
53573
53573
|
isEnabled: boolean;
|
|
53574
|
-
refetch: (options?:
|
|
53574
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53575
53575
|
exact: number;
|
|
53576
53576
|
rounded: number | undefined;
|
|
53577
53577
|
sqrtPriceX96: bigint;
|
|
53578
53578
|
}, viem0.ReadContractErrorType>>;
|
|
53579
|
-
fetchStatus:
|
|
53579
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53580
53580
|
promise: Promise<{
|
|
53581
53581
|
exact: number;
|
|
53582
53582
|
rounded: number | undefined;
|
|
53583
53583
|
sqrtPriceX96: bigint;
|
|
53584
53584
|
}>;
|
|
53585
|
-
queryKey:
|
|
53585
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53586
53586
|
exact: number | undefined;
|
|
53587
53587
|
rounded: number | undefined;
|
|
53588
53588
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -53609,18 +53609,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
53609
53609
|
isRefetching: boolean;
|
|
53610
53610
|
isStale: boolean;
|
|
53611
53611
|
isEnabled: boolean;
|
|
53612
|
-
refetch: (options?:
|
|
53612
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53613
53613
|
exact: number;
|
|
53614
53614
|
rounded: number | undefined;
|
|
53615
53615
|
sqrtPriceX96: bigint;
|
|
53616
53616
|
}, viem0.ReadContractErrorType>>;
|
|
53617
|
-
fetchStatus:
|
|
53617
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53618
53618
|
promise: Promise<{
|
|
53619
53619
|
exact: number;
|
|
53620
53620
|
rounded: number | undefined;
|
|
53621
53621
|
sqrtPriceX96: bigint;
|
|
53622
53622
|
}>;
|
|
53623
|
-
queryKey:
|
|
53623
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53624
53624
|
exact: number | undefined;
|
|
53625
53625
|
rounded: number | undefined;
|
|
53626
53626
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -53647,18 +53647,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
53647
53647
|
isRefetching: boolean;
|
|
53648
53648
|
isStale: boolean;
|
|
53649
53649
|
isEnabled: boolean;
|
|
53650
|
-
refetch: (options?:
|
|
53650
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53651
53651
|
exact: number;
|
|
53652
53652
|
rounded: number | undefined;
|
|
53653
53653
|
sqrtPriceX96: bigint;
|
|
53654
53654
|
}, viem0.ReadContractErrorType>>;
|
|
53655
|
-
fetchStatus:
|
|
53655
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53656
53656
|
promise: Promise<{
|
|
53657
53657
|
exact: number;
|
|
53658
53658
|
rounded: number | undefined;
|
|
53659
53659
|
sqrtPriceX96: bigint;
|
|
53660
53660
|
}>;
|
|
53661
|
-
queryKey:
|
|
53661
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53662
53662
|
exact: number | undefined;
|
|
53663
53663
|
rounded: number | undefined;
|
|
53664
53664
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -53685,18 +53685,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
53685
53685
|
isRefetching: boolean;
|
|
53686
53686
|
isStale: boolean;
|
|
53687
53687
|
isEnabled: boolean;
|
|
53688
|
-
refetch: (options?:
|
|
53688
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53689
53689
|
exact: number;
|
|
53690
53690
|
rounded: number | undefined;
|
|
53691
53691
|
sqrtPriceX96: bigint;
|
|
53692
53692
|
}, viem0.ReadContractErrorType>>;
|
|
53693
|
-
fetchStatus:
|
|
53693
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53694
53694
|
promise: Promise<{
|
|
53695
53695
|
exact: number;
|
|
53696
53696
|
rounded: number | undefined;
|
|
53697
53697
|
sqrtPriceX96: bigint;
|
|
53698
53698
|
}>;
|
|
53699
|
-
queryKey:
|
|
53699
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53700
53700
|
exact: number | undefined;
|
|
53701
53701
|
rounded: number | undefined;
|
|
53702
53702
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -53723,18 +53723,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
53723
53723
|
isRefetching: boolean;
|
|
53724
53724
|
isStale: boolean;
|
|
53725
53725
|
isEnabled: boolean;
|
|
53726
|
-
refetch: (options?:
|
|
53726
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53727
53727
|
exact: number;
|
|
53728
53728
|
rounded: number | undefined;
|
|
53729
53729
|
sqrtPriceX96: bigint;
|
|
53730
53730
|
}, viem0.ReadContractErrorType>>;
|
|
53731
|
-
fetchStatus:
|
|
53731
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53732
53732
|
promise: Promise<{
|
|
53733
53733
|
exact: number;
|
|
53734
53734
|
rounded: number | undefined;
|
|
53735
53735
|
sqrtPriceX96: bigint;
|
|
53736
53736
|
}>;
|
|
53737
|
-
queryKey:
|
|
53737
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53738
53738
|
exact: number | undefined;
|
|
53739
53739
|
rounded: number | undefined;
|
|
53740
53740
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -53761,18 +53761,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
53761
53761
|
isRefetching: boolean;
|
|
53762
53762
|
isStale: boolean;
|
|
53763
53763
|
isEnabled: boolean;
|
|
53764
|
-
refetch: (options?:
|
|
53764
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
53765
53765
|
exact: number;
|
|
53766
53766
|
rounded: number | undefined;
|
|
53767
53767
|
sqrtPriceX96: bigint;
|
|
53768
53768
|
}, viem0.ReadContractErrorType>>;
|
|
53769
|
-
fetchStatus:
|
|
53769
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53770
53770
|
promise: Promise<{
|
|
53771
53771
|
exact: number;
|
|
53772
53772
|
rounded: number | undefined;
|
|
53773
53773
|
sqrtPriceX96: bigint;
|
|
53774
53774
|
}>;
|
|
53775
|
-
queryKey:
|
|
53775
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53776
53776
|
exact: number | undefined;
|
|
53777
53777
|
rounded: number | undefined;
|
|
53778
53778
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -53783,8 +53783,8 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
|
|
|
53783
53783
|
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
|
|
53784
53784
|
//#endregion
|
|
53785
53785
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
53786
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
53787
|
-
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
53786
|
+
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
53787
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
53788
53788
|
//#endregion
|
|
53789
53789
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
53790
53790
|
interface BurnPosition {
|
|
@@ -53828,7 +53828,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53828
53828
|
isRefetching: boolean;
|
|
53829
53829
|
isStale: boolean;
|
|
53830
53830
|
isEnabled: boolean;
|
|
53831
|
-
refetch: (options?:
|
|
53831
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
53832
53832
|
tickLower: number;
|
|
53833
53833
|
tickUpper: number;
|
|
53834
53834
|
prevTickLower: number;
|
|
@@ -53841,7 +53841,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53841
53841
|
borrowedAmount0: bigint;
|
|
53842
53842
|
borrowedAmount1: bigint;
|
|
53843
53843
|
}[], viem0.ReadContractErrorType>>;
|
|
53844
|
-
fetchStatus:
|
|
53844
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53845
53845
|
promise: Promise<readonly {
|
|
53846
53846
|
tickLower: number;
|
|
53847
53847
|
tickUpper: number;
|
|
@@ -53855,7 +53855,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53855
53855
|
borrowedAmount0: bigint;
|
|
53856
53856
|
borrowedAmount1: bigint;
|
|
53857
53857
|
}[]>;
|
|
53858
|
-
queryKey:
|
|
53858
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53859
53859
|
data: readonly {
|
|
53860
53860
|
tickLower: number;
|
|
53861
53861
|
tickUpper: number;
|
|
@@ -53892,7 +53892,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53892
53892
|
isRefetching: boolean;
|
|
53893
53893
|
isStale: boolean;
|
|
53894
53894
|
isEnabled: boolean;
|
|
53895
|
-
refetch: (options?:
|
|
53895
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
53896
53896
|
tickLower: number;
|
|
53897
53897
|
tickUpper: number;
|
|
53898
53898
|
prevTickLower: number;
|
|
@@ -53905,7 +53905,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53905
53905
|
borrowedAmount0: bigint;
|
|
53906
53906
|
borrowedAmount1: bigint;
|
|
53907
53907
|
}[], viem0.ReadContractErrorType>>;
|
|
53908
|
-
fetchStatus:
|
|
53908
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53909
53909
|
promise: Promise<readonly {
|
|
53910
53910
|
tickLower: number;
|
|
53911
53911
|
tickUpper: number;
|
|
@@ -53919,7 +53919,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53919
53919
|
borrowedAmount0: bigint;
|
|
53920
53920
|
borrowedAmount1: bigint;
|
|
53921
53921
|
}[]>;
|
|
53922
|
-
queryKey:
|
|
53922
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53923
53923
|
data: readonly {
|
|
53924
53924
|
tickLower: number;
|
|
53925
53925
|
tickUpper: number;
|
|
@@ -53956,7 +53956,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53956
53956
|
isRefetching: boolean;
|
|
53957
53957
|
isStale: boolean;
|
|
53958
53958
|
isEnabled: boolean;
|
|
53959
|
-
refetch: (options?:
|
|
53959
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
53960
53960
|
tickLower: number;
|
|
53961
53961
|
tickUpper: number;
|
|
53962
53962
|
prevTickLower: number;
|
|
@@ -53969,7 +53969,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53969
53969
|
borrowedAmount0: bigint;
|
|
53970
53970
|
borrowedAmount1: bigint;
|
|
53971
53971
|
}[], viem0.ReadContractErrorType>>;
|
|
53972
|
-
fetchStatus:
|
|
53972
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
53973
53973
|
promise: Promise<readonly {
|
|
53974
53974
|
tickLower: number;
|
|
53975
53975
|
tickUpper: number;
|
|
@@ -53983,7 +53983,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
53983
53983
|
borrowedAmount0: bigint;
|
|
53984
53984
|
borrowedAmount1: bigint;
|
|
53985
53985
|
}[]>;
|
|
53986
|
-
queryKey:
|
|
53986
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
53987
53987
|
data: readonly {
|
|
53988
53988
|
tickLower: number;
|
|
53989
53989
|
tickUpper: number;
|
|
@@ -54020,7 +54020,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54020
54020
|
isRefetching: boolean;
|
|
54021
54021
|
isStale: boolean;
|
|
54022
54022
|
isEnabled: boolean;
|
|
54023
|
-
refetch: (options?:
|
|
54023
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
54024
54024
|
tickLower: number;
|
|
54025
54025
|
tickUpper: number;
|
|
54026
54026
|
prevTickLower: number;
|
|
@@ -54033,7 +54033,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54033
54033
|
borrowedAmount0: bigint;
|
|
54034
54034
|
borrowedAmount1: bigint;
|
|
54035
54035
|
}[], viem0.ReadContractErrorType>>;
|
|
54036
|
-
fetchStatus:
|
|
54036
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54037
54037
|
promise: Promise<readonly {
|
|
54038
54038
|
tickLower: number;
|
|
54039
54039
|
tickUpper: number;
|
|
@@ -54047,7 +54047,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54047
54047
|
borrowedAmount0: bigint;
|
|
54048
54048
|
borrowedAmount1: bigint;
|
|
54049
54049
|
}[]>;
|
|
54050
|
-
queryKey:
|
|
54050
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54051
54051
|
data: readonly {
|
|
54052
54052
|
tickLower: number;
|
|
54053
54053
|
tickUpper: number;
|
|
@@ -54084,7 +54084,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54084
54084
|
isRefetching: boolean;
|
|
54085
54085
|
isStale: boolean;
|
|
54086
54086
|
isEnabled: boolean;
|
|
54087
|
-
refetch: (options?:
|
|
54087
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
54088
54088
|
tickLower: number;
|
|
54089
54089
|
tickUpper: number;
|
|
54090
54090
|
prevTickLower: number;
|
|
@@ -54097,7 +54097,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54097
54097
|
borrowedAmount0: bigint;
|
|
54098
54098
|
borrowedAmount1: bigint;
|
|
54099
54099
|
}[], viem0.ReadContractErrorType>>;
|
|
54100
|
-
fetchStatus:
|
|
54100
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54101
54101
|
promise: Promise<readonly {
|
|
54102
54102
|
tickLower: number;
|
|
54103
54103
|
tickUpper: number;
|
|
@@ -54111,7 +54111,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54111
54111
|
borrowedAmount0: bigint;
|
|
54112
54112
|
borrowedAmount1: bigint;
|
|
54113
54113
|
}[]>;
|
|
54114
|
-
queryKey:
|
|
54114
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54115
54115
|
data: readonly {
|
|
54116
54116
|
tickLower: number;
|
|
54117
54117
|
tickUpper: number;
|
|
@@ -54148,7 +54148,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54148
54148
|
isRefetching: boolean;
|
|
54149
54149
|
isStale: boolean;
|
|
54150
54150
|
isEnabled: boolean;
|
|
54151
|
-
refetch: (options?:
|
|
54151
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
54152
54152
|
tickLower: number;
|
|
54153
54153
|
tickUpper: number;
|
|
54154
54154
|
prevTickLower: number;
|
|
@@ -54161,7 +54161,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54161
54161
|
borrowedAmount0: bigint;
|
|
54162
54162
|
borrowedAmount1: bigint;
|
|
54163
54163
|
}[], viem0.ReadContractErrorType>>;
|
|
54164
|
-
fetchStatus:
|
|
54164
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54165
54165
|
promise: Promise<readonly {
|
|
54166
54166
|
tickLower: number;
|
|
54167
54167
|
tickUpper: number;
|
|
@@ -54175,7 +54175,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
54175
54175
|
borrowedAmount0: bigint;
|
|
54176
54176
|
borrowedAmount1: bigint;
|
|
54177
54177
|
}[]>;
|
|
54178
|
-
queryKey:
|
|
54178
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54179
54179
|
data: readonly {
|
|
54180
54180
|
tickLower: number;
|
|
54181
54181
|
tickUpper: number;
|
|
@@ -54203,7 +54203,7 @@ interface MintPositionParams {
|
|
|
54203
54203
|
tickUpper: number;
|
|
54204
54204
|
liquidity: bigint;
|
|
54205
54205
|
}
|
|
54206
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
54206
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
54207
54207
|
//#endregion
|
|
54208
54208
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
54209
54209
|
declare const useVaultData: (vaultAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
@@ -54236,7 +54236,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
54236
54236
|
borrowed0: Amount;
|
|
54237
54237
|
borrowed1: Amount;
|
|
54238
54238
|
blocksCount: bigint;
|
|
54239
|
-
refetch: (options?:
|
|
54239
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
54240
54240
|
};
|
|
54241
54241
|
//#endregion
|
|
54242
54242
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
@@ -54271,10 +54271,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
54271
54271
|
isRefetching: boolean;
|
|
54272
54272
|
isStale: boolean;
|
|
54273
54273
|
isEnabled: boolean;
|
|
54274
|
-
refetch: (options?:
|
|
54275
|
-
fetchStatus:
|
|
54274
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
54275
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54276
54276
|
promise: Promise<bigint>;
|
|
54277
|
-
queryKey:
|
|
54277
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54278
54278
|
data: Amount | undefined;
|
|
54279
54279
|
} | {
|
|
54280
54280
|
error: null;
|
|
@@ -54299,10 +54299,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
54299
54299
|
isRefetching: boolean;
|
|
54300
54300
|
isStale: boolean;
|
|
54301
54301
|
isEnabled: boolean;
|
|
54302
|
-
refetch: (options?:
|
|
54303
|
-
fetchStatus:
|
|
54302
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
54303
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54304
54304
|
promise: Promise<bigint>;
|
|
54305
|
-
queryKey:
|
|
54305
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54306
54306
|
data: Amount | undefined;
|
|
54307
54307
|
} | {
|
|
54308
54308
|
error: viem0.ReadContractErrorType;
|
|
@@ -54327,10 +54327,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
54327
54327
|
isRefetching: boolean;
|
|
54328
54328
|
isStale: boolean;
|
|
54329
54329
|
isEnabled: boolean;
|
|
54330
|
-
refetch: (options?:
|
|
54331
|
-
fetchStatus:
|
|
54330
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
54331
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54332
54332
|
promise: Promise<bigint>;
|
|
54333
|
-
queryKey:
|
|
54333
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54334
54334
|
data: Amount | undefined;
|
|
54335
54335
|
} | {
|
|
54336
54336
|
error: null;
|
|
@@ -54355,10 +54355,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
54355
54355
|
isRefetching: boolean;
|
|
54356
54356
|
isStale: boolean;
|
|
54357
54357
|
isEnabled: boolean;
|
|
54358
|
-
refetch: (options?:
|
|
54359
|
-
fetchStatus:
|
|
54358
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
54359
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54360
54360
|
promise: Promise<bigint>;
|
|
54361
|
-
queryKey:
|
|
54361
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54362
54362
|
data: Amount | undefined;
|
|
54363
54363
|
} | {
|
|
54364
54364
|
error: null;
|
|
@@ -54383,10 +54383,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
54383
54383
|
isRefetching: boolean;
|
|
54384
54384
|
isStale: boolean;
|
|
54385
54385
|
isEnabled: boolean;
|
|
54386
|
-
refetch: (options?:
|
|
54387
|
-
fetchStatus:
|
|
54386
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
54387
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54388
54388
|
promise: Promise<bigint>;
|
|
54389
|
-
queryKey:
|
|
54389
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54390
54390
|
data: Amount | undefined;
|
|
54391
54391
|
} | {
|
|
54392
54392
|
isError: false;
|
|
@@ -54411,10 +54411,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
54411
54411
|
isRefetching: boolean;
|
|
54412
54412
|
isStale: boolean;
|
|
54413
54413
|
isEnabled: boolean;
|
|
54414
|
-
refetch: (options?:
|
|
54415
|
-
fetchStatus:
|
|
54414
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
54415
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54416
54416
|
promise: Promise<bigint>;
|
|
54417
|
-
queryKey:
|
|
54417
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54418
54418
|
data: Amount | undefined;
|
|
54419
54419
|
};
|
|
54420
54420
|
//#endregion
|
|
@@ -54451,7 +54451,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54451
54451
|
isRefetching: boolean;
|
|
54452
54452
|
isStale: boolean;
|
|
54453
54453
|
isEnabled: boolean;
|
|
54454
|
-
refetch: (options?:
|
|
54454
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
54455
54455
|
globalMintPaused: {
|
|
54456
54456
|
paused: boolean;
|
|
54457
54457
|
updatedAt: bigint;
|
|
@@ -54468,7 +54468,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54468
54468
|
senderIsAdmin: boolean;
|
|
54469
54469
|
senderIsPauser: boolean;
|
|
54470
54470
|
}, viem0.ReadContractErrorType>>;
|
|
54471
|
-
fetchStatus:
|
|
54471
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54472
54472
|
promise: Promise<{
|
|
54473
54473
|
globalMintPaused: {
|
|
54474
54474
|
paused: boolean;
|
|
@@ -54486,7 +54486,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54486
54486
|
senderIsAdmin: boolean;
|
|
54487
54487
|
senderIsPauser: boolean;
|
|
54488
54488
|
}>;
|
|
54489
|
-
queryKey:
|
|
54489
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54490
54490
|
data: Partial<NonUndefinedGuard<{
|
|
54491
54491
|
globalMintPaused: {
|
|
54492
54492
|
paused: boolean;
|
|
@@ -54527,7 +54527,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54527
54527
|
isRefetching: boolean;
|
|
54528
54528
|
isStale: boolean;
|
|
54529
54529
|
isEnabled: boolean;
|
|
54530
|
-
refetch: (options?:
|
|
54530
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
54531
54531
|
globalMintPaused: {
|
|
54532
54532
|
paused: boolean;
|
|
54533
54533
|
updatedAt: bigint;
|
|
@@ -54544,7 +54544,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54544
54544
|
senderIsAdmin: boolean;
|
|
54545
54545
|
senderIsPauser: boolean;
|
|
54546
54546
|
}, viem0.ReadContractErrorType>>;
|
|
54547
|
-
fetchStatus:
|
|
54547
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54548
54548
|
promise: Promise<{
|
|
54549
54549
|
globalMintPaused: {
|
|
54550
54550
|
paused: boolean;
|
|
@@ -54562,7 +54562,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54562
54562
|
senderIsAdmin: boolean;
|
|
54563
54563
|
senderIsPauser: boolean;
|
|
54564
54564
|
}>;
|
|
54565
|
-
queryKey:
|
|
54565
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54566
54566
|
data: Partial<NonUndefinedGuard<{
|
|
54567
54567
|
globalMintPaused: {
|
|
54568
54568
|
paused: boolean;
|
|
@@ -54603,7 +54603,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54603
54603
|
isRefetching: boolean;
|
|
54604
54604
|
isStale: boolean;
|
|
54605
54605
|
isEnabled: boolean;
|
|
54606
|
-
refetch: (options?:
|
|
54606
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
54607
54607
|
globalMintPaused: {
|
|
54608
54608
|
paused: boolean;
|
|
54609
54609
|
updatedAt: bigint;
|
|
@@ -54620,7 +54620,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54620
54620
|
senderIsAdmin: boolean;
|
|
54621
54621
|
senderIsPauser: boolean;
|
|
54622
54622
|
}, viem0.ReadContractErrorType>>;
|
|
54623
|
-
fetchStatus:
|
|
54623
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54624
54624
|
promise: Promise<{
|
|
54625
54625
|
globalMintPaused: {
|
|
54626
54626
|
paused: boolean;
|
|
@@ -54638,7 +54638,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54638
54638
|
senderIsAdmin: boolean;
|
|
54639
54639
|
senderIsPauser: boolean;
|
|
54640
54640
|
}>;
|
|
54641
|
-
queryKey:
|
|
54641
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54642
54642
|
data: Partial<NonUndefinedGuard<{
|
|
54643
54643
|
globalMintPaused: {
|
|
54644
54644
|
paused: boolean;
|
|
@@ -54679,7 +54679,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54679
54679
|
isRefetching: boolean;
|
|
54680
54680
|
isStale: boolean;
|
|
54681
54681
|
isEnabled: boolean;
|
|
54682
|
-
refetch: (options?:
|
|
54682
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
54683
54683
|
globalMintPaused: {
|
|
54684
54684
|
paused: boolean;
|
|
54685
54685
|
updatedAt: bigint;
|
|
@@ -54696,7 +54696,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54696
54696
|
senderIsAdmin: boolean;
|
|
54697
54697
|
senderIsPauser: boolean;
|
|
54698
54698
|
}, viem0.ReadContractErrorType>>;
|
|
54699
|
-
fetchStatus:
|
|
54699
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54700
54700
|
promise: Promise<{
|
|
54701
54701
|
globalMintPaused: {
|
|
54702
54702
|
paused: boolean;
|
|
@@ -54714,7 +54714,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54714
54714
|
senderIsAdmin: boolean;
|
|
54715
54715
|
senderIsPauser: boolean;
|
|
54716
54716
|
}>;
|
|
54717
|
-
queryKey:
|
|
54717
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54718
54718
|
data: Partial<NonUndefinedGuard<{
|
|
54719
54719
|
globalMintPaused: {
|
|
54720
54720
|
paused: boolean;
|
|
@@ -54755,7 +54755,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54755
54755
|
isRefetching: boolean;
|
|
54756
54756
|
isStale: boolean;
|
|
54757
54757
|
isEnabled: boolean;
|
|
54758
|
-
refetch: (options?:
|
|
54758
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
54759
54759
|
globalMintPaused: {
|
|
54760
54760
|
paused: boolean;
|
|
54761
54761
|
updatedAt: bigint;
|
|
@@ -54772,7 +54772,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54772
54772
|
senderIsAdmin: boolean;
|
|
54773
54773
|
senderIsPauser: boolean;
|
|
54774
54774
|
}, viem0.ReadContractErrorType>>;
|
|
54775
|
-
fetchStatus:
|
|
54775
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54776
54776
|
promise: Promise<{
|
|
54777
54777
|
globalMintPaused: {
|
|
54778
54778
|
paused: boolean;
|
|
@@ -54790,7 +54790,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54790
54790
|
senderIsAdmin: boolean;
|
|
54791
54791
|
senderIsPauser: boolean;
|
|
54792
54792
|
}>;
|
|
54793
|
-
queryKey:
|
|
54793
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54794
54794
|
data: Partial<NonUndefinedGuard<{
|
|
54795
54795
|
globalMintPaused: {
|
|
54796
54796
|
paused: boolean;
|
|
@@ -54831,7 +54831,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54831
54831
|
isRefetching: boolean;
|
|
54832
54832
|
isStale: boolean;
|
|
54833
54833
|
isEnabled: boolean;
|
|
54834
|
-
refetch: (options?:
|
|
54834
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
54835
54835
|
globalMintPaused: {
|
|
54836
54836
|
paused: boolean;
|
|
54837
54837
|
updatedAt: bigint;
|
|
@@ -54848,7 +54848,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54848
54848
|
senderIsAdmin: boolean;
|
|
54849
54849
|
senderIsPauser: boolean;
|
|
54850
54850
|
}, viem0.ReadContractErrorType>>;
|
|
54851
|
-
fetchStatus:
|
|
54851
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
54852
54852
|
promise: Promise<{
|
|
54853
54853
|
globalMintPaused: {
|
|
54854
54854
|
paused: boolean;
|
|
@@ -54866,7 +54866,7 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54866
54866
|
senderIsAdmin: boolean;
|
|
54867
54867
|
senderIsPauser: boolean;
|
|
54868
54868
|
}>;
|
|
54869
|
-
queryKey:
|
|
54869
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
54870
54870
|
data: Partial<NonUndefinedGuard<{
|
|
54871
54871
|
globalMintPaused: {
|
|
54872
54872
|
paused: boolean;
|
|
@@ -54892,9 +54892,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
54892
54892
|
}: {
|
|
54893
54893
|
marketAddr?: Address;
|
|
54894
54894
|
}) => {
|
|
54895
|
+
error: null;
|
|
54895
54896
|
data: undefined;
|
|
54896
54897
|
status: "idle";
|
|
54897
|
-
error: null;
|
|
54898
54898
|
isError: false;
|
|
54899
54899
|
isPending: false;
|
|
54900
54900
|
isSuccess: false;
|
|
@@ -54909,9 +54909,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
54909
54909
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54910
54910
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
54911
54911
|
} | {
|
|
54912
|
+
error: null;
|
|
54912
54913
|
data: undefined;
|
|
54913
54914
|
status: "pending";
|
|
54914
|
-
error: null;
|
|
54915
54915
|
isError: false;
|
|
54916
54916
|
isPending: true;
|
|
54917
54917
|
isSuccess: false;
|
|
@@ -55070,9 +55070,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
55070
55070
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55071
55071
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55072
55072
|
} | {
|
|
55073
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
55073
55074
|
data: undefined;
|
|
55074
55075
|
status: "error";
|
|
55075
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
55076
55076
|
isError: true;
|
|
55077
55077
|
isPending: false;
|
|
55078
55078
|
isSuccess: false;
|
|
@@ -55231,9 +55231,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
55231
55231
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55232
55232
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55233
55233
|
} | {
|
|
55234
|
+
error: null;
|
|
55234
55235
|
data: `0x${string}`;
|
|
55235
55236
|
status: "success";
|
|
55236
|
-
error: null;
|
|
55237
55237
|
isError: false;
|
|
55238
55238
|
isPending: false;
|
|
55239
55239
|
isSuccess: true;
|
|
@@ -55399,9 +55399,9 @@ declare const usePauseMarketTrading: ({
|
|
|
55399
55399
|
}: {
|
|
55400
55400
|
marketAddr?: Address;
|
|
55401
55401
|
}) => {
|
|
55402
|
+
error: null;
|
|
55402
55403
|
data: undefined;
|
|
55403
55404
|
status: "idle";
|
|
55404
|
-
error: null;
|
|
55405
55405
|
isError: false;
|
|
55406
55406
|
isPending: false;
|
|
55407
55407
|
isSuccess: false;
|
|
@@ -55416,9 +55416,9 @@ declare const usePauseMarketTrading: ({
|
|
|
55416
55416
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55417
55417
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55418
55418
|
} | {
|
|
55419
|
+
error: null;
|
|
55419
55420
|
data: undefined;
|
|
55420
55421
|
status: "pending";
|
|
55421
|
-
error: null;
|
|
55422
55422
|
isError: false;
|
|
55423
55423
|
isPending: true;
|
|
55424
55424
|
isSuccess: false;
|
|
@@ -55577,9 +55577,9 @@ declare const usePauseMarketTrading: ({
|
|
|
55577
55577
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55578
55578
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55579
55579
|
} | {
|
|
55580
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
55580
55581
|
data: undefined;
|
|
55581
55582
|
status: "error";
|
|
55582
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
55583
55583
|
isError: true;
|
|
55584
55584
|
isPending: false;
|
|
55585
55585
|
isSuccess: false;
|
|
@@ -55738,9 +55738,9 @@ declare const usePauseMarketTrading: ({
|
|
|
55738
55738
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55739
55739
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55740
55740
|
} | {
|
|
55741
|
+
error: null;
|
|
55741
55742
|
data: `0x${string}`;
|
|
55742
55743
|
status: "success";
|
|
55743
|
-
error: null;
|
|
55744
55744
|
isError: false;
|
|
55745
55745
|
isPending: false;
|
|
55746
55746
|
isSuccess: true;
|
|
@@ -55911,9 +55911,9 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
55911
55911
|
//#endregion
|
|
55912
55912
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
55913
55913
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
55914
|
+
error: null;
|
|
55914
55915
|
data: undefined;
|
|
55915
55916
|
status: "idle";
|
|
55916
|
-
error: null;
|
|
55917
55917
|
isError: false;
|
|
55918
55918
|
isPending: false;
|
|
55919
55919
|
isSuccess: false;
|
|
@@ -55938,9 +55938,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
55938
55938
|
newFeeStrategy: `0x${string}`;
|
|
55939
55939
|
}>;
|
|
55940
55940
|
} | {
|
|
55941
|
+
error: null;
|
|
55941
55942
|
data: undefined;
|
|
55942
55943
|
status: "pending";
|
|
55943
|
-
error: null;
|
|
55944
55944
|
isError: false;
|
|
55945
55945
|
isPending: true;
|
|
55946
55946
|
isSuccess: false;
|
|
@@ -56109,9 +56109,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
56109
56109
|
newFeeStrategy: `0x${string}`;
|
|
56110
56110
|
}>;
|
|
56111
56111
|
} | {
|
|
56112
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
56112
56113
|
data: undefined;
|
|
56113
56114
|
status: "error";
|
|
56114
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
56115
56115
|
isError: true;
|
|
56116
56116
|
isPending: false;
|
|
56117
56117
|
isSuccess: false;
|
|
@@ -56280,9 +56280,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
56280
56280
|
newFeeStrategy: `0x${string}`;
|
|
56281
56281
|
}>;
|
|
56282
56282
|
} | {
|
|
56283
|
+
error: null;
|
|
56283
56284
|
data: `0x${string}`;
|
|
56284
56285
|
status: "success";
|
|
56285
|
-
error: null;
|
|
56286
56286
|
isError: false;
|
|
56287
56287
|
isPending: false;
|
|
56288
56288
|
isSuccess: true;
|
|
@@ -56452,13 +56452,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
56452
56452
|
}>;
|
|
56453
56453
|
};
|
|
56454
56454
|
//#endregion
|
|
56455
|
-
//#region src/hooks/pricing/
|
|
56456
|
-
type
|
|
56455
|
+
//#region src/hooks/pricing/usePricingParams.d.ts
|
|
56456
|
+
type StaticPricingParams = {
|
|
56457
56457
|
model: 'static';
|
|
56458
56458
|
dailyFundingRate: number;
|
|
56459
56459
|
minFundingAmount: bigint;
|
|
56460
56460
|
};
|
|
56461
|
-
type
|
|
56461
|
+
type OptionPricingParams = {
|
|
56462
56462
|
model: 'option';
|
|
56463
56463
|
logicContract: Address;
|
|
56464
56464
|
iv: number;
|
|
@@ -56466,946 +56466,20 @@ type OptionPricingData = {
|
|
|
56466
56466
|
minPremiumDailyRate: number;
|
|
56467
56467
|
minPremiumAmount: bigint;
|
|
56468
56468
|
};
|
|
56469
|
-
type
|
|
56470
|
-
declare const
|
|
56471
|
-
readonly type: "function";
|
|
56472
|
-
readonly name: "batchGetRefTick";
|
|
56473
|
-
readonly inputs: readonly [{
|
|
56474
|
-
readonly name: "vault";
|
|
56475
|
-
readonly type: "address";
|
|
56476
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
56477
|
-
}, {
|
|
56478
|
-
readonly name: "tickLower";
|
|
56479
|
-
readonly type: "int24[]";
|
|
56480
|
-
readonly internalType: "int24[]";
|
|
56481
|
-
}];
|
|
56482
|
-
readonly outputs: readonly [{
|
|
56483
|
-
readonly name: "refTicks";
|
|
56484
|
-
readonly type: "int24[]";
|
|
56485
|
-
readonly internalType: "int24[]";
|
|
56486
|
-
}];
|
|
56487
|
-
readonly stateMutability: "view";
|
|
56488
|
-
}, {
|
|
56489
|
-
readonly type: "function";
|
|
56490
|
-
readonly name: "getAllBlocks";
|
|
56491
|
-
readonly inputs: readonly [{
|
|
56492
|
-
readonly name: "vault";
|
|
56493
|
-
readonly type: "address";
|
|
56494
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
56495
|
-
}];
|
|
56496
|
-
readonly outputs: readonly [{
|
|
56497
|
-
readonly name: "blocks";
|
|
56498
|
-
readonly type: "tuple[]";
|
|
56499
|
-
readonly internalType: "struct TimelockLens.LiquidityBlockData[]";
|
|
56500
|
-
readonly components: readonly [{
|
|
56501
|
-
readonly name: "tickLower";
|
|
56502
|
-
readonly type: "int24";
|
|
56503
|
-
readonly internalType: "int24";
|
|
56504
|
-
}, {
|
|
56505
|
-
readonly name: "tickUpper";
|
|
56506
|
-
readonly type: "int24";
|
|
56507
|
-
readonly internalType: "int24";
|
|
56508
|
-
}, {
|
|
56509
|
-
readonly name: "prevTickLower";
|
|
56510
|
-
readonly type: "int24";
|
|
56511
|
-
readonly internalType: "int24";
|
|
56512
|
-
}, {
|
|
56513
|
-
readonly name: "totalLiquidity";
|
|
56514
|
-
readonly type: "uint128";
|
|
56515
|
-
readonly internalType: "uint128";
|
|
56516
|
-
}, {
|
|
56517
|
-
readonly name: "borrowedLiquidity";
|
|
56518
|
-
readonly type: "uint128";
|
|
56519
|
-
readonly internalType: "uint128";
|
|
56520
|
-
}, {
|
|
56521
|
-
readonly name: "reservedLiquidity";
|
|
56522
|
-
readonly type: "uint128";
|
|
56523
|
-
readonly internalType: "uint128";
|
|
56524
|
-
}, {
|
|
56525
|
-
readonly name: "availableLiquidity";
|
|
56526
|
-
readonly type: "uint128";
|
|
56527
|
-
readonly internalType: "uint128";
|
|
56528
|
-
}, {
|
|
56529
|
-
readonly name: "totalAmount0";
|
|
56530
|
-
readonly type: "uint256";
|
|
56531
|
-
readonly internalType: "uint256";
|
|
56532
|
-
}, {
|
|
56533
|
-
readonly name: "totalAmount1";
|
|
56534
|
-
readonly type: "uint256";
|
|
56535
|
-
readonly internalType: "uint256";
|
|
56536
|
-
}, {
|
|
56537
|
-
readonly name: "borrowedAmount0";
|
|
56538
|
-
readonly type: "uint256";
|
|
56539
|
-
readonly internalType: "uint256";
|
|
56540
|
-
}, {
|
|
56541
|
-
readonly name: "borrowedAmount1";
|
|
56542
|
-
readonly type: "uint256";
|
|
56543
|
-
readonly internalType: "uint256";
|
|
56544
|
-
}];
|
|
56545
|
-
}];
|
|
56546
|
-
readonly stateMutability: "view";
|
|
56547
|
-
}, {
|
|
56548
|
-
readonly type: "function";
|
|
56549
|
-
readonly name: "getExpiredOptions";
|
|
56550
|
-
readonly inputs: readonly [{
|
|
56551
|
-
readonly name: "market";
|
|
56552
|
-
readonly type: "address";
|
|
56553
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
56554
|
-
}, {
|
|
56555
|
-
readonly name: "startId";
|
|
56556
|
-
readonly type: "uint256";
|
|
56557
|
-
readonly internalType: "uint256";
|
|
56558
|
-
}, {
|
|
56559
|
-
readonly name: "endId";
|
|
56560
|
-
readonly type: "uint256";
|
|
56561
|
-
readonly internalType: "uint256";
|
|
56562
|
-
}];
|
|
56563
|
-
readonly outputs: readonly [{
|
|
56564
|
-
readonly name: "expiredOptions";
|
|
56565
|
-
readonly type: "tuple[]";
|
|
56566
|
-
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
56567
|
-
readonly components: readonly [{
|
|
56568
|
-
readonly name: "optionId";
|
|
56569
|
-
readonly type: "uint256";
|
|
56570
|
-
readonly internalType: "uint256";
|
|
56571
|
-
}, {
|
|
56572
|
-
readonly name: "owner";
|
|
56573
|
-
readonly type: "address";
|
|
56574
|
-
readonly internalType: "address";
|
|
56575
|
-
}, {
|
|
56576
|
-
readonly name: "optionType";
|
|
56577
|
-
readonly type: "uint8";
|
|
56578
|
-
readonly internalType: "uint8";
|
|
56579
|
-
}, {
|
|
56580
|
-
readonly name: "startTick";
|
|
56581
|
-
readonly type: "int24";
|
|
56582
|
-
readonly internalType: "int24";
|
|
56583
|
-
}, {
|
|
56584
|
-
readonly name: "strikeTick";
|
|
56585
|
-
readonly type: "int24";
|
|
56586
|
-
readonly internalType: "int24";
|
|
56587
|
-
}, {
|
|
56588
|
-
readonly name: "strikePrice";
|
|
56589
|
-
readonly type: "uint256";
|
|
56590
|
-
readonly internalType: "uint256";
|
|
56591
|
-
}, {
|
|
56592
|
-
readonly name: "positionSize";
|
|
56593
|
-
readonly type: "uint256";
|
|
56594
|
-
readonly internalType: "uint256";
|
|
56595
|
-
}, {
|
|
56596
|
-
readonly name: "expiresAt";
|
|
56597
|
-
readonly type: "uint32";
|
|
56598
|
-
readonly internalType: "uint32";
|
|
56599
|
-
}, {
|
|
56600
|
-
readonly name: "liquidities";
|
|
56601
|
-
readonly type: "uint128[]";
|
|
56602
|
-
readonly internalType: "uint128[]";
|
|
56603
|
-
}];
|
|
56604
|
-
}];
|
|
56605
|
-
readonly stateMutability: "view";
|
|
56606
|
-
}, {
|
|
56607
|
-
readonly type: "function";
|
|
56608
|
-
readonly name: "getFeeRates";
|
|
56609
|
-
readonly inputs: readonly [{
|
|
56610
|
-
readonly name: "feeStrategy";
|
|
56611
|
-
readonly type: "address";
|
|
56612
|
-
readonly internalType: "contract FeeStrategy";
|
|
56613
|
-
}];
|
|
56614
|
-
readonly outputs: readonly [{
|
|
56615
|
-
readonly name: "rates";
|
|
56616
|
-
readonly type: "tuple";
|
|
56617
|
-
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
56618
|
-
readonly components: readonly [{
|
|
56619
|
-
readonly name: "openingFeeRate";
|
|
56620
|
-
readonly type: "uint32";
|
|
56621
|
-
readonly internalType: "uint32";
|
|
56622
|
-
}, {
|
|
56623
|
-
readonly name: "baseFeeRate";
|
|
56624
|
-
readonly type: "uint32";
|
|
56625
|
-
readonly internalType: "uint32";
|
|
56626
|
-
}, {
|
|
56627
|
-
readonly name: "minOpeningFee";
|
|
56628
|
-
readonly type: "uint128";
|
|
56629
|
-
readonly internalType: "uint128";
|
|
56630
|
-
}, {
|
|
56631
|
-
readonly name: "minBaseFee";
|
|
56632
|
-
readonly type: "uint128";
|
|
56633
|
-
readonly internalType: "uint128";
|
|
56634
|
-
}, {
|
|
56635
|
-
readonly name: "feeRecipient";
|
|
56636
|
-
readonly type: "address";
|
|
56637
|
-
readonly internalType: "address";
|
|
56638
|
-
}];
|
|
56639
|
-
}];
|
|
56640
|
-
readonly stateMutability: "view";
|
|
56641
|
-
}, {
|
|
56469
|
+
type PricingParams = StaticPricingParams | OptionPricingParams;
|
|
56470
|
+
declare const usePricingParams: (pricingAddr?: Address) => wagmi0.UseReadContractReturnType<readonly [{
|
|
56642
56471
|
readonly type: "function";
|
|
56643
|
-
readonly name: "
|
|
56644
|
-
readonly inputs: readonly [{
|
|
56645
|
-
readonly name: "guardian";
|
|
56646
|
-
readonly type: "address";
|
|
56647
|
-
readonly internalType: "contract TimelockGuardian";
|
|
56648
|
-
}];
|
|
56649
|
-
readonly outputs: readonly [{
|
|
56650
|
-
readonly name: "guardianState";
|
|
56651
|
-
readonly type: "tuple";
|
|
56652
|
-
readonly internalType: "struct TimelockLens.GuardianGlobalState";
|
|
56653
|
-
readonly components: readonly [{
|
|
56654
|
-
readonly name: "globalMintPaused";
|
|
56655
|
-
readonly type: "tuple";
|
|
56656
|
-
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
56657
|
-
readonly components: readonly [{
|
|
56658
|
-
readonly name: "paused";
|
|
56659
|
-
readonly type: "bool";
|
|
56660
|
-
readonly internalType: "bool";
|
|
56661
|
-
}, {
|
|
56662
|
-
readonly name: "updatedAt";
|
|
56663
|
-
readonly type: "uint64";
|
|
56664
|
-
readonly internalType: "uint64";
|
|
56665
|
-
}];
|
|
56666
|
-
}, {
|
|
56667
|
-
readonly name: "globalBurnPaused";
|
|
56668
|
-
readonly type: "tuple";
|
|
56669
|
-
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
56670
|
-
readonly components: readonly [{
|
|
56671
|
-
readonly name: "paused";
|
|
56672
|
-
readonly type: "bool";
|
|
56673
|
-
readonly internalType: "bool";
|
|
56674
|
-
}, {
|
|
56675
|
-
readonly name: "updatedAt";
|
|
56676
|
-
readonly type: "uint64";
|
|
56677
|
-
readonly internalType: "uint64";
|
|
56678
|
-
}];
|
|
56679
|
-
}, {
|
|
56680
|
-
readonly name: "globalTradingPaused";
|
|
56681
|
-
readonly type: "tuple";
|
|
56682
|
-
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
56683
|
-
readonly components: readonly [{
|
|
56684
|
-
readonly name: "paused";
|
|
56685
|
-
readonly type: "bool";
|
|
56686
|
-
readonly internalType: "bool";
|
|
56687
|
-
}, {
|
|
56688
|
-
readonly name: "updatedAt";
|
|
56689
|
-
readonly type: "uint64";
|
|
56690
|
-
readonly internalType: "uint64";
|
|
56691
|
-
}];
|
|
56692
|
-
}, {
|
|
56693
|
-
readonly name: "minWithdrawalInterval";
|
|
56694
|
-
readonly type: "uint256";
|
|
56695
|
-
readonly internalType: "uint256";
|
|
56696
|
-
}, {
|
|
56697
|
-
readonly name: "senderIsAdmin";
|
|
56698
|
-
readonly type: "bool";
|
|
56699
|
-
readonly internalType: "bool";
|
|
56700
|
-
}, {
|
|
56701
|
-
readonly name: "senderIsPauser";
|
|
56702
|
-
readonly type: "bool";
|
|
56703
|
-
readonly internalType: "bool";
|
|
56704
|
-
}];
|
|
56705
|
-
}];
|
|
56472
|
+
readonly name: "readState";
|
|
56706
56473
|
readonly stateMutability: "view";
|
|
56707
|
-
}, {
|
|
56708
|
-
readonly type: "function";
|
|
56709
|
-
readonly name: "getLiquidityAtTick";
|
|
56710
56474
|
readonly inputs: readonly [{
|
|
56711
|
-
readonly name: "
|
|
56475
|
+
readonly name: "target";
|
|
56712
56476
|
readonly type: "address";
|
|
56713
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
56714
|
-
}, {
|
|
56715
|
-
readonly name: "tickLower";
|
|
56716
|
-
readonly type: "int24";
|
|
56717
|
-
readonly internalType: "int24";
|
|
56718
|
-
}];
|
|
56719
|
-
readonly outputs: readonly [{
|
|
56720
|
-
readonly name: "totalLiquidity";
|
|
56721
|
-
readonly type: "uint128";
|
|
56722
|
-
readonly internalType: "uint128";
|
|
56723
|
-
}, {
|
|
56724
|
-
readonly name: "borrowedLiquidity";
|
|
56725
|
-
readonly type: "uint128";
|
|
56726
|
-
readonly internalType: "uint128";
|
|
56727
|
-
}];
|
|
56728
|
-
readonly stateMutability: "view";
|
|
56729
|
-
}, {
|
|
56730
|
-
readonly type: "function";
|
|
56731
|
-
readonly name: "getMarketData";
|
|
56732
|
-
readonly inputs: readonly [{
|
|
56733
|
-
readonly name: "market";
|
|
56734
|
-
readonly type: "address";
|
|
56735
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
56736
|
-
}];
|
|
56737
|
-
readonly outputs: readonly [{
|
|
56738
|
-
readonly name: "marketData";
|
|
56739
|
-
readonly type: "tuple";
|
|
56740
|
-
readonly internalType: "struct TimelockLens.TimelockMarketData";
|
|
56741
|
-
readonly components: readonly [{
|
|
56742
|
-
readonly name: "guardian";
|
|
56743
|
-
readonly type: "address";
|
|
56744
|
-
readonly internalType: "contract TimelockGuardian";
|
|
56745
|
-
}, {
|
|
56746
|
-
readonly name: "vault";
|
|
56747
|
-
readonly type: "address";
|
|
56748
|
-
readonly internalType: "contract ITimelockVault";
|
|
56749
|
-
}, {
|
|
56750
|
-
readonly name: "poolManager";
|
|
56751
|
-
readonly type: "address";
|
|
56752
|
-
readonly internalType: "contract IPoolManager";
|
|
56753
|
-
}, {
|
|
56754
|
-
readonly name: "poolKey";
|
|
56755
|
-
readonly type: "tuple";
|
|
56756
|
-
readonly internalType: "struct PoolKey";
|
|
56757
|
-
readonly components: readonly [{
|
|
56758
|
-
readonly name: "currency0";
|
|
56759
|
-
readonly type: "address";
|
|
56760
|
-
readonly internalType: "Currency";
|
|
56761
|
-
}, {
|
|
56762
|
-
readonly name: "currency1";
|
|
56763
|
-
readonly type: "address";
|
|
56764
|
-
readonly internalType: "Currency";
|
|
56765
|
-
}, {
|
|
56766
|
-
readonly name: "fee";
|
|
56767
|
-
readonly type: "uint24";
|
|
56768
|
-
readonly internalType: "uint24";
|
|
56769
|
-
}, {
|
|
56770
|
-
readonly name: "tickSpacing";
|
|
56771
|
-
readonly type: "int24";
|
|
56772
|
-
readonly internalType: "int24";
|
|
56773
|
-
}, {
|
|
56774
|
-
readonly name: "hooks";
|
|
56775
|
-
readonly type: "address";
|
|
56776
|
-
readonly internalType: "contract IHooks";
|
|
56777
|
-
}];
|
|
56778
|
-
}, {
|
|
56779
|
-
readonly name: "optionAssetIsToken0";
|
|
56780
|
-
readonly type: "bool";
|
|
56781
|
-
readonly internalType: "bool";
|
|
56782
|
-
}, {
|
|
56783
|
-
readonly name: "optionAsset";
|
|
56784
|
-
readonly type: "address";
|
|
56785
|
-
readonly internalType: "address";
|
|
56786
|
-
}, {
|
|
56787
|
-
readonly name: "payoutAsset";
|
|
56788
|
-
readonly type: "address";
|
|
56789
|
-
readonly internalType: "address";
|
|
56790
|
-
}, {
|
|
56791
|
-
readonly name: "optionAssetDecimals";
|
|
56792
|
-
readonly type: "uint8";
|
|
56793
|
-
readonly internalType: "uint8";
|
|
56794
|
-
}, {
|
|
56795
|
-
readonly name: "payoutAssetDecimals";
|
|
56796
|
-
readonly type: "uint8";
|
|
56797
|
-
readonly internalType: "uint8";
|
|
56798
|
-
}, {
|
|
56799
|
-
readonly name: "optionAssetSymbol";
|
|
56800
|
-
readonly type: "string";
|
|
56801
|
-
readonly internalType: "string";
|
|
56802
|
-
}, {
|
|
56803
|
-
readonly name: "payoutAssetSymbol";
|
|
56804
|
-
readonly type: "string";
|
|
56805
|
-
readonly internalType: "string";
|
|
56806
|
-
}, {
|
|
56807
|
-
readonly name: "optionAssetName";
|
|
56808
|
-
readonly type: "string";
|
|
56809
|
-
readonly internalType: "string";
|
|
56810
|
-
}, {
|
|
56811
|
-
readonly name: "payoutAssetName";
|
|
56812
|
-
readonly type: "string";
|
|
56813
|
-
readonly internalType: "string";
|
|
56814
|
-
}];
|
|
56815
|
-
}];
|
|
56816
|
-
readonly stateMutability: "view";
|
|
56817
|
-
}, {
|
|
56818
|
-
readonly type: "function";
|
|
56819
|
-
readonly name: "getMarketState";
|
|
56820
|
-
readonly inputs: readonly [{
|
|
56821
|
-
readonly name: "market";
|
|
56822
|
-
readonly type: "address";
|
|
56823
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
56824
|
-
}];
|
|
56825
|
-
readonly outputs: readonly [{
|
|
56826
|
-
readonly name: "marketState";
|
|
56827
|
-
readonly type: "tuple";
|
|
56828
|
-
readonly internalType: "struct TimelockLens.TimelockMarketState";
|
|
56829
|
-
readonly components: readonly [{
|
|
56830
|
-
readonly name: "optionsCount";
|
|
56831
|
-
readonly type: "uint256";
|
|
56832
|
-
readonly internalType: "uint256";
|
|
56833
|
-
}, {
|
|
56834
|
-
readonly name: "optionPricing";
|
|
56835
|
-
readonly type: "address";
|
|
56836
|
-
readonly internalType: "address";
|
|
56837
|
-
}, {
|
|
56838
|
-
readonly name: "feeStrategy";
|
|
56839
|
-
readonly type: "address";
|
|
56840
|
-
readonly internalType: "contract IFeeStrategy";
|
|
56841
|
-
}, {
|
|
56842
|
-
readonly name: "owner";
|
|
56843
|
-
readonly type: "address";
|
|
56844
|
-
readonly internalType: "address";
|
|
56845
|
-
}];
|
|
56846
|
-
}];
|
|
56847
|
-
readonly stateMutability: "view";
|
|
56848
|
-
}, {
|
|
56849
|
-
readonly type: "function";
|
|
56850
|
-
readonly name: "getMaxATMPositionSizes";
|
|
56851
|
-
readonly inputs: readonly [{
|
|
56852
|
-
readonly name: "market";
|
|
56853
|
-
readonly type: "address";
|
|
56854
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
56855
|
-
}, {
|
|
56856
|
-
readonly name: "maxSteps";
|
|
56857
|
-
readonly type: "int24";
|
|
56858
|
-
readonly internalType: "int24";
|
|
56859
|
-
}];
|
|
56860
|
-
readonly outputs: readonly [{
|
|
56861
|
-
readonly name: "maxCallSize";
|
|
56862
|
-
readonly type: "uint256";
|
|
56863
|
-
readonly internalType: "uint256";
|
|
56864
|
-
}, {
|
|
56865
|
-
readonly name: "maxPutSize";
|
|
56866
|
-
readonly type: "uint256";
|
|
56867
|
-
readonly internalType: "uint256";
|
|
56868
|
-
}];
|
|
56869
|
-
readonly stateMutability: "view";
|
|
56870
|
-
}, {
|
|
56871
|
-
readonly type: "function";
|
|
56872
|
-
readonly name: "getMaxBorrowable0";
|
|
56873
|
-
readonly inputs: readonly [{
|
|
56874
|
-
readonly name: "vault";
|
|
56875
|
-
readonly type: "address";
|
|
56876
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
56877
|
-
}, {
|
|
56878
|
-
readonly name: "strikeTick";
|
|
56879
|
-
readonly type: "int24";
|
|
56880
|
-
readonly internalType: "int24";
|
|
56881
|
-
}, {
|
|
56882
|
-
readonly name: "maxSteps";
|
|
56883
|
-
readonly type: "int24";
|
|
56884
|
-
readonly internalType: "int24";
|
|
56885
|
-
}];
|
|
56886
|
-
readonly outputs: readonly [{
|
|
56887
|
-
readonly name: "borrowable0";
|
|
56888
|
-
readonly type: "uint256";
|
|
56889
|
-
readonly internalType: "uint256";
|
|
56890
|
-
}];
|
|
56891
|
-
readonly stateMutability: "view";
|
|
56892
|
-
}, {
|
|
56893
|
-
readonly type: "function";
|
|
56894
|
-
readonly name: "getMaxBorrowable1";
|
|
56895
|
-
readonly inputs: readonly [{
|
|
56896
|
-
readonly name: "vault";
|
|
56897
|
-
readonly type: "address";
|
|
56898
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
56899
|
-
}, {
|
|
56900
|
-
readonly name: "strikeTick";
|
|
56901
|
-
readonly type: "int24";
|
|
56902
|
-
readonly internalType: "int24";
|
|
56903
|
-
}, {
|
|
56904
|
-
readonly name: "maxSteps";
|
|
56905
|
-
readonly type: "int24";
|
|
56906
|
-
readonly internalType: "int24";
|
|
56907
|
-
}];
|
|
56908
|
-
readonly outputs: readonly [{
|
|
56909
|
-
readonly name: "borrowable1";
|
|
56910
|
-
readonly type: "uint256";
|
|
56911
|
-
readonly internalType: "uint256";
|
|
56912
|
-
}];
|
|
56913
|
-
readonly stateMutability: "view";
|
|
56914
|
-
}, {
|
|
56915
|
-
readonly type: "function";
|
|
56916
|
-
readonly name: "getMaxPositionSizes";
|
|
56917
|
-
readonly inputs: readonly [{
|
|
56918
|
-
readonly name: "market";
|
|
56919
|
-
readonly type: "address";
|
|
56920
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
56921
|
-
}, {
|
|
56922
|
-
readonly name: "strikeTick";
|
|
56923
|
-
readonly type: "int24";
|
|
56924
|
-
readonly internalType: "int24";
|
|
56925
|
-
}, {
|
|
56926
|
-
readonly name: "maxSteps";
|
|
56927
|
-
readonly type: "int24";
|
|
56928
|
-
readonly internalType: "int24";
|
|
56929
|
-
}];
|
|
56930
|
-
readonly outputs: readonly [{
|
|
56931
|
-
readonly name: "maxCallSize";
|
|
56932
|
-
readonly type: "uint256";
|
|
56933
|
-
readonly internalType: "uint256";
|
|
56934
|
-
}, {
|
|
56935
|
-
readonly name: "maxPutSize";
|
|
56936
|
-
readonly type: "uint256";
|
|
56937
|
-
readonly internalType: "uint256";
|
|
56938
|
-
}];
|
|
56939
|
-
readonly stateMutability: "view";
|
|
56940
|
-
}, {
|
|
56941
|
-
readonly type: "function";
|
|
56942
|
-
readonly name: "getOptionData";
|
|
56943
|
-
readonly inputs: readonly [{
|
|
56944
|
-
readonly name: "market";
|
|
56945
|
-
readonly type: "address";
|
|
56946
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
56947
|
-
}, {
|
|
56948
|
-
readonly name: "optionId";
|
|
56949
|
-
readonly type: "uint256";
|
|
56950
|
-
readonly internalType: "uint256";
|
|
56951
56477
|
}];
|
|
56952
56478
|
readonly outputs: readonly [{
|
|
56953
56479
|
readonly name: "";
|
|
56954
|
-
readonly type: "tuple";
|
|
56955
|
-
readonly internalType: "struct TimelockLens.OptionData";
|
|
56956
|
-
readonly components: readonly [{
|
|
56957
|
-
readonly name: "optionId";
|
|
56958
|
-
readonly type: "uint256";
|
|
56959
|
-
readonly internalType: "uint256";
|
|
56960
|
-
}, {
|
|
56961
|
-
readonly name: "owner";
|
|
56962
|
-
readonly type: "address";
|
|
56963
|
-
readonly internalType: "address";
|
|
56964
|
-
}, {
|
|
56965
|
-
readonly name: "optionType";
|
|
56966
|
-
readonly type: "uint8";
|
|
56967
|
-
readonly internalType: "uint8";
|
|
56968
|
-
}, {
|
|
56969
|
-
readonly name: "startTick";
|
|
56970
|
-
readonly type: "int24";
|
|
56971
|
-
readonly internalType: "int24";
|
|
56972
|
-
}, {
|
|
56973
|
-
readonly name: "strikeTick";
|
|
56974
|
-
readonly type: "int24";
|
|
56975
|
-
readonly internalType: "int24";
|
|
56976
|
-
}, {
|
|
56977
|
-
readonly name: "strikePrice";
|
|
56978
|
-
readonly type: "uint256";
|
|
56979
|
-
readonly internalType: "uint256";
|
|
56980
|
-
}, {
|
|
56981
|
-
readonly name: "positionSize";
|
|
56982
|
-
readonly type: "uint256";
|
|
56983
|
-
readonly internalType: "uint256";
|
|
56984
|
-
}, {
|
|
56985
|
-
readonly name: "expiresAt";
|
|
56986
|
-
readonly type: "uint32";
|
|
56987
|
-
readonly internalType: "uint32";
|
|
56988
|
-
}, {
|
|
56989
|
-
readonly name: "liquidities";
|
|
56990
|
-
readonly type: "uint128[]";
|
|
56991
|
-
readonly internalType: "uint128[]";
|
|
56992
|
-
}];
|
|
56993
|
-
}];
|
|
56994
|
-
readonly stateMutability: "view";
|
|
56995
|
-
}, {
|
|
56996
|
-
readonly type: "function";
|
|
56997
|
-
readonly name: "getOptionPricingParams";
|
|
56998
|
-
readonly inputs: readonly [{
|
|
56999
|
-
readonly name: "pricing";
|
|
57000
|
-
readonly type: "address";
|
|
57001
|
-
readonly internalType: "contract OptionPricing";
|
|
57002
|
-
}];
|
|
57003
|
-
readonly outputs: readonly [{
|
|
57004
|
-
readonly name: "params";
|
|
57005
|
-
readonly type: "tuple";
|
|
57006
|
-
readonly internalType: "struct TimelockLens.OptionPricingParams";
|
|
57007
|
-
readonly components: readonly [{
|
|
57008
|
-
readonly name: "logicContract";
|
|
57009
|
-
readonly type: "address";
|
|
57010
|
-
readonly internalType: "contract StatelessOptionPricing";
|
|
57011
|
-
}, {
|
|
57012
|
-
readonly name: "iv";
|
|
57013
|
-
readonly type: "uint32";
|
|
57014
|
-
readonly internalType: "uint32";
|
|
57015
|
-
}, {
|
|
57016
|
-
readonly name: "riskFreeRate";
|
|
57017
|
-
readonly type: "uint32";
|
|
57018
|
-
readonly internalType: "uint32";
|
|
57019
|
-
}, {
|
|
57020
|
-
readonly name: "minPremiumDailyRate";
|
|
57021
|
-
readonly type: "uint32";
|
|
57022
|
-
readonly internalType: "uint32";
|
|
57023
|
-
}, {
|
|
57024
|
-
readonly name: "minPremiumAmount";
|
|
57025
|
-
readonly type: "uint256";
|
|
57026
|
-
readonly internalType: "uint256";
|
|
57027
|
-
}];
|
|
57028
|
-
}];
|
|
57029
|
-
readonly stateMutability: "view";
|
|
57030
|
-
}, {
|
|
57031
|
-
readonly type: "function";
|
|
57032
|
-
readonly name: "getOptionsData";
|
|
57033
|
-
readonly inputs: readonly [{
|
|
57034
|
-
readonly name: "market";
|
|
57035
|
-
readonly type: "address";
|
|
57036
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
57037
|
-
}, {
|
|
57038
|
-
readonly name: "optionIds";
|
|
57039
|
-
readonly type: "uint256[]";
|
|
57040
|
-
readonly internalType: "uint256[]";
|
|
57041
|
-
}];
|
|
57042
|
-
readonly outputs: readonly [{
|
|
57043
|
-
readonly name: "optionsData";
|
|
57044
|
-
readonly type: "tuple[]";
|
|
57045
|
-
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
57046
|
-
readonly components: readonly [{
|
|
57047
|
-
readonly name: "optionId";
|
|
57048
|
-
readonly type: "uint256";
|
|
57049
|
-
readonly internalType: "uint256";
|
|
57050
|
-
}, {
|
|
57051
|
-
readonly name: "owner";
|
|
57052
|
-
readonly type: "address";
|
|
57053
|
-
readonly internalType: "address";
|
|
57054
|
-
}, {
|
|
57055
|
-
readonly name: "optionType";
|
|
57056
|
-
readonly type: "uint8";
|
|
57057
|
-
readonly internalType: "uint8";
|
|
57058
|
-
}, {
|
|
57059
|
-
readonly name: "startTick";
|
|
57060
|
-
readonly type: "int24";
|
|
57061
|
-
readonly internalType: "int24";
|
|
57062
|
-
}, {
|
|
57063
|
-
readonly name: "strikeTick";
|
|
57064
|
-
readonly type: "int24";
|
|
57065
|
-
readonly internalType: "int24";
|
|
57066
|
-
}, {
|
|
57067
|
-
readonly name: "strikePrice";
|
|
57068
|
-
readonly type: "uint256";
|
|
57069
|
-
readonly internalType: "uint256";
|
|
57070
|
-
}, {
|
|
57071
|
-
readonly name: "positionSize";
|
|
57072
|
-
readonly type: "uint256";
|
|
57073
|
-
readonly internalType: "uint256";
|
|
57074
|
-
}, {
|
|
57075
|
-
readonly name: "expiresAt";
|
|
57076
|
-
readonly type: "uint32";
|
|
57077
|
-
readonly internalType: "uint32";
|
|
57078
|
-
}, {
|
|
57079
|
-
readonly name: "liquidities";
|
|
57080
|
-
readonly type: "uint128[]";
|
|
57081
|
-
readonly internalType: "uint128[]";
|
|
57082
|
-
}];
|
|
57083
|
-
}];
|
|
57084
|
-
readonly stateMutability: "view";
|
|
57085
|
-
}, {
|
|
57086
|
-
readonly type: "function";
|
|
57087
|
-
readonly name: "getPoolData";
|
|
57088
|
-
readonly inputs: readonly [{
|
|
57089
|
-
readonly name: "poolManager";
|
|
57090
|
-
readonly type: "address";
|
|
57091
|
-
readonly internalType: "contract IPoolManager";
|
|
57092
|
-
}, {
|
|
57093
|
-
readonly name: "poolKey";
|
|
57094
|
-
readonly type: "tuple";
|
|
57095
|
-
readonly internalType: "struct PoolKey";
|
|
57096
|
-
readonly components: readonly [{
|
|
57097
|
-
readonly name: "currency0";
|
|
57098
|
-
readonly type: "address";
|
|
57099
|
-
readonly internalType: "Currency";
|
|
57100
|
-
}, {
|
|
57101
|
-
readonly name: "currency1";
|
|
57102
|
-
readonly type: "address";
|
|
57103
|
-
readonly internalType: "Currency";
|
|
57104
|
-
}, {
|
|
57105
|
-
readonly name: "fee";
|
|
57106
|
-
readonly type: "uint24";
|
|
57107
|
-
readonly internalType: "uint24";
|
|
57108
|
-
}, {
|
|
57109
|
-
readonly name: "tickSpacing";
|
|
57110
|
-
readonly type: "int24";
|
|
57111
|
-
readonly internalType: "int24";
|
|
57112
|
-
}, {
|
|
57113
|
-
readonly name: "hooks";
|
|
57114
|
-
readonly type: "address";
|
|
57115
|
-
readonly internalType: "contract IHooks";
|
|
57116
|
-
}];
|
|
57117
|
-
}];
|
|
57118
|
-
readonly outputs: readonly [{
|
|
57119
|
-
readonly name: "poolData";
|
|
57120
|
-
readonly type: "tuple";
|
|
57121
|
-
readonly internalType: "struct TimelockLens.UniswapPoolData";
|
|
57122
|
-
readonly components: readonly [{
|
|
57123
|
-
readonly name: "token0";
|
|
57124
|
-
readonly type: "address";
|
|
57125
|
-
readonly internalType: "address";
|
|
57126
|
-
}, {
|
|
57127
|
-
readonly name: "token1";
|
|
57128
|
-
readonly type: "address";
|
|
57129
|
-
readonly internalType: "address";
|
|
57130
|
-
}, {
|
|
57131
|
-
readonly name: "token0Decimals";
|
|
57132
|
-
readonly type: "uint8";
|
|
57133
|
-
readonly internalType: "uint8";
|
|
57134
|
-
}, {
|
|
57135
|
-
readonly name: "token1Decimals";
|
|
57136
|
-
readonly type: "uint8";
|
|
57137
|
-
readonly internalType: "uint8";
|
|
57138
|
-
}, {
|
|
57139
|
-
readonly name: "token0Symbol";
|
|
57140
|
-
readonly type: "string";
|
|
57141
|
-
readonly internalType: "string";
|
|
57142
|
-
}, {
|
|
57143
|
-
readonly name: "token1Symbol";
|
|
57144
|
-
readonly type: "string";
|
|
57145
|
-
readonly internalType: "string";
|
|
57146
|
-
}, {
|
|
57147
|
-
readonly name: "token0Name";
|
|
57148
|
-
readonly type: "string";
|
|
57149
|
-
readonly internalType: "string";
|
|
57150
|
-
}, {
|
|
57151
|
-
readonly name: "token1Name";
|
|
57152
|
-
readonly type: "string";
|
|
57153
|
-
readonly internalType: "string";
|
|
57154
|
-
}, {
|
|
57155
|
-
readonly name: "tickSpacing";
|
|
57156
|
-
readonly type: "int24";
|
|
57157
|
-
readonly internalType: "int24";
|
|
57158
|
-
}, {
|
|
57159
|
-
readonly name: "fee";
|
|
57160
|
-
readonly type: "uint24";
|
|
57161
|
-
readonly internalType: "uint24";
|
|
57162
|
-
}];
|
|
57163
|
-
}];
|
|
57164
|
-
readonly stateMutability: "view";
|
|
57165
|
-
}, {
|
|
57166
|
-
readonly type: "function";
|
|
57167
|
-
readonly name: "getPricingParams";
|
|
57168
|
-
readonly inputs: readonly [{
|
|
57169
|
-
readonly name: "pricing";
|
|
57170
|
-
readonly type: "address";
|
|
57171
|
-
readonly internalType: "address";
|
|
57172
|
-
}];
|
|
57173
|
-
readonly outputs: readonly [{
|
|
57174
|
-
readonly name: "pricingModel";
|
|
57175
|
-
readonly type: "uint8";
|
|
57176
|
-
readonly internalType: "uint8";
|
|
57177
|
-
}, {
|
|
57178
|
-
readonly name: "data";
|
|
57179
56480
|
readonly type: "bytes";
|
|
57180
|
-
readonly internalType: "bytes";
|
|
57181
|
-
}];
|
|
57182
|
-
readonly stateMutability: "view";
|
|
57183
|
-
}, {
|
|
57184
|
-
readonly type: "function";
|
|
57185
|
-
readonly name: "getRefTick";
|
|
57186
|
-
readonly inputs: readonly [{
|
|
57187
|
-
readonly name: "vault";
|
|
57188
|
-
readonly type: "address";
|
|
57189
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
57190
|
-
}, {
|
|
57191
|
-
readonly name: "tickLower";
|
|
57192
|
-
readonly type: "int24";
|
|
57193
|
-
readonly internalType: "int24";
|
|
57194
|
-
}];
|
|
57195
|
-
readonly outputs: readonly [{
|
|
57196
|
-
readonly name: "refTick";
|
|
57197
|
-
readonly type: "int24";
|
|
57198
|
-
readonly internalType: "int24";
|
|
57199
|
-
}];
|
|
57200
|
-
readonly stateMutability: "view";
|
|
57201
|
-
}, {
|
|
57202
|
-
readonly type: "function";
|
|
57203
|
-
readonly name: "getStaticPricingParams";
|
|
57204
|
-
readonly inputs: readonly [{
|
|
57205
|
-
readonly name: "pricing";
|
|
57206
|
-
readonly type: "address";
|
|
57207
|
-
readonly internalType: "contract StaticPerpsPricing";
|
|
57208
|
-
}];
|
|
57209
|
-
readonly outputs: readonly [{
|
|
57210
|
-
readonly name: "params";
|
|
57211
|
-
readonly type: "tuple";
|
|
57212
|
-
readonly internalType: "struct TimelockLens.StaticPerpsPricingParams";
|
|
57213
|
-
readonly components: readonly [{
|
|
57214
|
-
readonly name: "dailyFundingRate";
|
|
57215
|
-
readonly type: "uint32";
|
|
57216
|
-
readonly internalType: "uint32";
|
|
57217
|
-
}, {
|
|
57218
|
-
readonly name: "minFundingAmount";
|
|
57219
|
-
readonly type: "uint128";
|
|
57220
|
-
readonly internalType: "uint128";
|
|
57221
|
-
}];
|
|
57222
|
-
}];
|
|
57223
|
-
readonly stateMutability: "view";
|
|
57224
|
-
}, {
|
|
57225
|
-
readonly type: "function";
|
|
57226
|
-
readonly name: "getTokenData";
|
|
57227
|
-
readonly inputs: readonly [{
|
|
57228
|
-
readonly name: "token";
|
|
57229
|
-
readonly type: "address";
|
|
57230
|
-
readonly internalType: "address";
|
|
57231
|
-
}];
|
|
57232
|
-
readonly outputs: readonly [{
|
|
57233
|
-
readonly name: "tokenData";
|
|
57234
|
-
readonly type: "tuple";
|
|
57235
|
-
readonly internalType: "struct TimelockLens.TokenData";
|
|
57236
|
-
readonly components: readonly [{
|
|
57237
|
-
readonly name: "decimals";
|
|
57238
|
-
readonly type: "uint8";
|
|
57239
|
-
readonly internalType: "uint8";
|
|
57240
|
-
}, {
|
|
57241
|
-
readonly name: "symbol";
|
|
57242
|
-
readonly type: "string";
|
|
57243
|
-
readonly internalType: "string";
|
|
57244
|
-
}, {
|
|
57245
|
-
readonly name: "name";
|
|
57246
|
-
readonly type: "string";
|
|
57247
|
-
readonly internalType: "string";
|
|
57248
|
-
}];
|
|
57249
|
-
}];
|
|
57250
|
-
readonly stateMutability: "view";
|
|
57251
|
-
}, {
|
|
57252
|
-
readonly type: "function";
|
|
57253
|
-
readonly name: "getUserOptions";
|
|
57254
|
-
readonly inputs: readonly [{
|
|
57255
|
-
readonly name: "market";
|
|
57256
|
-
readonly type: "address";
|
|
57257
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
57258
|
-
}, {
|
|
57259
|
-
readonly name: "user";
|
|
57260
|
-
readonly type: "address";
|
|
57261
|
-
readonly internalType: "address";
|
|
57262
|
-
}, {
|
|
57263
|
-
readonly name: "startId";
|
|
57264
|
-
readonly type: "uint256";
|
|
57265
|
-
readonly internalType: "uint256";
|
|
57266
|
-
}, {
|
|
57267
|
-
readonly name: "limit";
|
|
57268
|
-
readonly type: "uint256";
|
|
57269
|
-
readonly internalType: "uint256";
|
|
57270
|
-
}];
|
|
57271
|
-
readonly outputs: readonly [{
|
|
57272
|
-
readonly name: "userOptions";
|
|
57273
|
-
readonly type: "tuple[]";
|
|
57274
|
-
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
57275
|
-
readonly components: readonly [{
|
|
57276
|
-
readonly name: "optionId";
|
|
57277
|
-
readonly type: "uint256";
|
|
57278
|
-
readonly internalType: "uint256";
|
|
57279
|
-
}, {
|
|
57280
|
-
readonly name: "owner";
|
|
57281
|
-
readonly type: "address";
|
|
57282
|
-
readonly internalType: "address";
|
|
57283
|
-
}, {
|
|
57284
|
-
readonly name: "optionType";
|
|
57285
|
-
readonly type: "uint8";
|
|
57286
|
-
readonly internalType: "uint8";
|
|
57287
|
-
}, {
|
|
57288
|
-
readonly name: "startTick";
|
|
57289
|
-
readonly type: "int24";
|
|
57290
|
-
readonly internalType: "int24";
|
|
57291
|
-
}, {
|
|
57292
|
-
readonly name: "strikeTick";
|
|
57293
|
-
readonly type: "int24";
|
|
57294
|
-
readonly internalType: "int24";
|
|
57295
|
-
}, {
|
|
57296
|
-
readonly name: "strikePrice";
|
|
57297
|
-
readonly type: "uint256";
|
|
57298
|
-
readonly internalType: "uint256";
|
|
57299
|
-
}, {
|
|
57300
|
-
readonly name: "positionSize";
|
|
57301
|
-
readonly type: "uint256";
|
|
57302
|
-
readonly internalType: "uint256";
|
|
57303
|
-
}, {
|
|
57304
|
-
readonly name: "expiresAt";
|
|
57305
|
-
readonly type: "uint32";
|
|
57306
|
-
readonly internalType: "uint32";
|
|
57307
|
-
}, {
|
|
57308
|
-
readonly name: "liquidities";
|
|
57309
|
-
readonly type: "uint128[]";
|
|
57310
|
-
readonly internalType: "uint128[]";
|
|
57311
|
-
}];
|
|
57312
|
-
}, {
|
|
57313
|
-
readonly name: "nextStartId";
|
|
57314
|
-
readonly type: "uint256";
|
|
57315
|
-
readonly internalType: "uint256";
|
|
57316
|
-
}, {
|
|
57317
|
-
readonly name: "hasMore";
|
|
57318
|
-
readonly type: "bool";
|
|
57319
|
-
readonly internalType: "bool";
|
|
57320
|
-
}];
|
|
57321
|
-
readonly stateMutability: "view";
|
|
57322
|
-
}, {
|
|
57323
|
-
readonly type: "function";
|
|
57324
|
-
readonly name: "getVaultData";
|
|
57325
|
-
readonly inputs: readonly [{
|
|
57326
|
-
readonly name: "vault";
|
|
57327
|
-
readonly type: "address";
|
|
57328
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
57329
|
-
}];
|
|
57330
|
-
readonly outputs: readonly [{
|
|
57331
|
-
readonly name: "vaultData";
|
|
57332
|
-
readonly type: "tuple";
|
|
57333
|
-
readonly internalType: "struct TimelockLens.TimelockVaultData";
|
|
57334
|
-
readonly components: readonly [{
|
|
57335
|
-
readonly name: "poolManager";
|
|
57336
|
-
readonly type: "address";
|
|
57337
|
-
readonly internalType: "contract IPoolManager";
|
|
57338
|
-
}, {
|
|
57339
|
-
readonly name: "poolKey";
|
|
57340
|
-
readonly type: "tuple";
|
|
57341
|
-
readonly internalType: "struct PoolKey";
|
|
57342
|
-
readonly components: readonly [{
|
|
57343
|
-
readonly name: "currency0";
|
|
57344
|
-
readonly type: "address";
|
|
57345
|
-
readonly internalType: "Currency";
|
|
57346
|
-
}, {
|
|
57347
|
-
readonly name: "currency1";
|
|
57348
|
-
readonly type: "address";
|
|
57349
|
-
readonly internalType: "Currency";
|
|
57350
|
-
}, {
|
|
57351
|
-
readonly name: "fee";
|
|
57352
|
-
readonly type: "uint24";
|
|
57353
|
-
readonly internalType: "uint24";
|
|
57354
|
-
}, {
|
|
57355
|
-
readonly name: "tickSpacing";
|
|
57356
|
-
readonly type: "int24";
|
|
57357
|
-
readonly internalType: "int24";
|
|
57358
|
-
}, {
|
|
57359
|
-
readonly name: "hooks";
|
|
57360
|
-
readonly type: "address";
|
|
57361
|
-
readonly internalType: "contract IHooks";
|
|
57362
|
-
}];
|
|
57363
|
-
}, {
|
|
57364
|
-
readonly name: "owner";
|
|
57365
|
-
readonly type: "address";
|
|
57366
|
-
readonly internalType: "address";
|
|
57367
|
-
}];
|
|
57368
56481
|
}];
|
|
57369
|
-
|
|
57370
|
-
}, {
|
|
57371
|
-
readonly type: "function";
|
|
57372
|
-
readonly name: "getVaultTVL";
|
|
57373
|
-
readonly inputs: readonly [{
|
|
57374
|
-
readonly name: "vault";
|
|
57375
|
-
readonly type: "address";
|
|
57376
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
57377
|
-
}];
|
|
57378
|
-
readonly outputs: readonly [{
|
|
57379
|
-
readonly name: "total0";
|
|
57380
|
-
readonly type: "uint256";
|
|
57381
|
-
readonly internalType: "uint256";
|
|
57382
|
-
}, {
|
|
57383
|
-
readonly name: "total1";
|
|
57384
|
-
readonly type: "uint256";
|
|
57385
|
-
readonly internalType: "uint256";
|
|
57386
|
-
}, {
|
|
57387
|
-
readonly name: "borrowed0";
|
|
57388
|
-
readonly type: "uint256";
|
|
57389
|
-
readonly internalType: "uint256";
|
|
57390
|
-
}, {
|
|
57391
|
-
readonly name: "borrowed1";
|
|
57392
|
-
readonly type: "uint256";
|
|
57393
|
-
readonly internalType: "uint256";
|
|
57394
|
-
}, {
|
|
57395
|
-
readonly name: "tvlAs0";
|
|
57396
|
-
readonly type: "uint256";
|
|
57397
|
-
readonly internalType: "uint256";
|
|
57398
|
-
}, {
|
|
57399
|
-
readonly name: "tvlAs1";
|
|
57400
|
-
readonly type: "uint256";
|
|
57401
|
-
readonly internalType: "uint256";
|
|
57402
|
-
}, {
|
|
57403
|
-
readonly name: "blocksCount";
|
|
57404
|
-
readonly type: "uint256";
|
|
57405
|
-
readonly internalType: "uint256";
|
|
57406
|
-
}];
|
|
57407
|
-
readonly stateMutability: "view";
|
|
57408
|
-
}], "getPricingParams", readonly [`0x${string}`], MarketPricingData>;
|
|
56482
|
+
}], "readState", readonly [`0x${string}`], PricingParams>;
|
|
57409
56483
|
//#endregion
|
|
57410
56484
|
//#region src/hooks/pricing/useOptionPricingParams.d.ts
|
|
57411
56485
|
declare const useOptionPricingParams: (pricingAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
@@ -57424,9 +56498,9 @@ declare const useStaticPricingParams: (pricingAddr?: Address) => Partial<NonUnde
|
|
|
57424
56498
|
//#endregion
|
|
57425
56499
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
57426
56500
|
declare const useUpdateMarketPricing: (marketAddr: Address) => {
|
|
56501
|
+
error: null;
|
|
57427
56502
|
data: undefined;
|
|
57428
56503
|
status: "idle";
|
|
57429
|
-
error: null;
|
|
57430
56504
|
isError: false;
|
|
57431
56505
|
isPending: false;
|
|
57432
56506
|
isSuccess: false;
|
|
@@ -57439,9 +56513,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
|
|
|
57439
56513
|
context: unknown;
|
|
57440
56514
|
submittedAt: number;
|
|
57441
56515
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57442
|
-
updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<
|
|
56516
|
+
updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
57443
56517
|
model: "static";
|
|
57444
|
-
} : Partial<
|
|
56518
|
+
} : Partial<OptionPricingParams> & {
|
|
57445
56519
|
model: "option";
|
|
57446
56520
|
}) => Promise<{
|
|
57447
56521
|
deployHash: `0x${string}`;
|
|
@@ -57449,9 +56523,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
|
|
|
57449
56523
|
newPricingAddr: `0x${string}`;
|
|
57450
56524
|
}>;
|
|
57451
56525
|
} | {
|
|
56526
|
+
error: null;
|
|
57452
56527
|
data: undefined;
|
|
57453
56528
|
status: "pending";
|
|
57454
|
-
error: null;
|
|
57455
56529
|
isError: false;
|
|
57456
56530
|
isPending: true;
|
|
57457
56531
|
isSuccess: false;
|
|
@@ -57608,9 +56682,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
|
|
|
57608
56682
|
context: unknown;
|
|
57609
56683
|
submittedAt: number;
|
|
57610
56684
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57611
|
-
updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<
|
|
56685
|
+
updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
57612
56686
|
model: "static";
|
|
57613
|
-
} : Partial<
|
|
56687
|
+
} : Partial<OptionPricingParams> & {
|
|
57614
56688
|
model: "option";
|
|
57615
56689
|
}) => Promise<{
|
|
57616
56690
|
deployHash: `0x${string}`;
|
|
@@ -57618,9 +56692,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
|
|
|
57618
56692
|
newPricingAddr: `0x${string}`;
|
|
57619
56693
|
}>;
|
|
57620
56694
|
} | {
|
|
56695
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
57621
56696
|
data: undefined;
|
|
57622
56697
|
status: "error";
|
|
57623
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
57624
56698
|
isError: true;
|
|
57625
56699
|
isPending: false;
|
|
57626
56700
|
isSuccess: false;
|
|
@@ -57777,9 +56851,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
|
|
|
57777
56851
|
context: unknown;
|
|
57778
56852
|
submittedAt: number;
|
|
57779
56853
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57780
|
-
updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<
|
|
56854
|
+
updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
57781
56855
|
model: "static";
|
|
57782
|
-
} : Partial<
|
|
56856
|
+
} : Partial<OptionPricingParams> & {
|
|
57783
56857
|
model: "option";
|
|
57784
56858
|
}) => Promise<{
|
|
57785
56859
|
deployHash: `0x${string}`;
|
|
@@ -57787,9 +56861,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
|
|
|
57787
56861
|
newPricingAddr: `0x${string}`;
|
|
57788
56862
|
}>;
|
|
57789
56863
|
} | {
|
|
56864
|
+
error: null;
|
|
57790
56865
|
data: `0x${string}`;
|
|
57791
56866
|
status: "success";
|
|
57792
|
-
error: null;
|
|
57793
56867
|
isError: false;
|
|
57794
56868
|
isPending: false;
|
|
57795
56869
|
isSuccess: true;
|
|
@@ -57946,9 +57020,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
|
|
|
57946
57020
|
context: unknown;
|
|
57947
57021
|
submittedAt: number;
|
|
57948
57022
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57949
|
-
updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<
|
|
57023
|
+
updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
57950
57024
|
model: "static";
|
|
57951
|
-
} : Partial<
|
|
57025
|
+
} : Partial<OptionPricingParams> & {
|
|
57952
57026
|
model: "option";
|
|
57953
57027
|
}) => Promise<{
|
|
57954
57028
|
deployHash: `0x${string}`;
|
|
@@ -100090,5 +99164,5 @@ declare const useLens: () => {
|
|
|
100090
99164
|
} | undefined;
|
|
100091
99165
|
};
|
|
100092
99166
|
//#endregion
|
|
100093
|
-
export { PriceResolution as $, stateViews as $t, useCurrentPrice as A, formatVagueAmount as At, getPriceAtTick as B, useMarketVolume as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatAmount as Dt, usePriceHistory as E, EMPTY_ARRAY as Et, getPayoutAtTick as F, wrapAmount as Ft, liquiditiesToAmounts as G, useTimelockConfig as Gt, getTickAtPrice as H, useMarketData as Ht, PRICE_PRECISION as I, wrapAmountUnscaled as It, token0ToToken1AtTick as J, TimelockMarketData as Jt, roundTick as K, TimelockLens as Kt, getAmountsFromLiquidity as L, wrapPrice as Lt, UniswapPoolData as M, scalePrice as Mt, usePoolData as N, unscaleAmount as Nt, usePriceAtTick as O, formatCondensed as Ot, getPayoutAtPrice as P, unscalePrice as Pt, PriceDataPoint as Q, getTimelockMarket as Qt, getNearestValidStrikeTick as R, wrapPriceUnscaled as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, TimelockProvider as Ut, getSqrtPriceX96AtPrice as V, useMarketState as Vt, liquiditiesToAmount1 as W, useCurrentMarket as Wt, token1ToToken0AtTick as X, getStateView as Xt, token1ToToken0 as Y, getErc20 as Yt, PriceData as Z, getTimelockLens as Zt, useTokenData as _, useOptionPremium as _t,
|
|
100094
|
-
//# sourceMappingURL=client-
|
|
99167
|
+
export { PriceResolution as $, stateViews as $t, useCurrentPrice as A, formatVagueAmount as At, getPriceAtTick as B, useMarketVolume as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatAmount as Dt, usePriceHistory as E, EMPTY_ARRAY as Et, getPayoutAtTick as F, wrapAmount as Ft, liquiditiesToAmounts as G, useTimelockConfig as Gt, getTickAtPrice as H, useMarketData as Ht, PRICE_PRECISION as I, wrapAmountUnscaled as It, token0ToToken1AtTick as J, TimelockMarketData as Jt, roundTick as K, TimelockLens as Kt, getAmountsFromLiquidity as L, wrapPrice as Lt, UniswapPoolData as M, scalePrice as Mt, usePoolData as N, unscaleAmount as Nt, usePriceAtTick as O, formatCondensed as Ot, getPayoutAtPrice as P, unscalePrice as Pt, PriceDataPoint as Q, getTimelockMarket as Qt, getNearestValidStrikeTick as R, wrapPriceUnscaled as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, TimelockProvider as Ut, getSqrtPriceX96AtPrice as V, useMarketState as Vt, liquiditiesToAmount1 as W, useCurrentMarket as Wt, token1ToToken0AtTick as X, getStateView as Xt, token1ToToken0 as Y, getErc20 as Yt, PriceData as Z, getTimelockLens as Zt, useTokenData as _, useOptionPremium as _t, OptionPricingParams as a, useActiveUserPerps as at, batchGetAmountsFromLiquidity as b, OptionData as bt, usePricingParams as c, usePerpsOperator as ct, usePauseMarketTrading as d, ExerciseOptionEvent as dt, swapRouters as en, getCurrentPrice as et, usePauseGlobalTrading as f, ExtendEvent as ft, TokenData as g, useExtendOption as gt, useTokenBalance as h, useOptionTimeline as ht, useOptionPricingParams as i, useOperatorPerms as it, PoolKey as j, scaleAmount as jt, useCurrentTick as k, formatUSD as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockFactories as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarket as qt, useStaticPricingParams as r, timelockLenses as rn, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, swappers as tn, getPriceHistory as tt, useFeeRates as u, useMintPerp as ut, useVaultTVL as v, useOptionPnl as vt, useBurnLiquidity as w, useMaxPositionSize as wt, useMintLiquidity as x, useActiveUserOptions as xt, useVaultData as y, useExerciseOption as yt, getPriceAtSqrtPriceX96 as z, zero as zt };
|
|
99168
|
+
//# sourceMappingURL=client-Dp-YTEVp.d.ts.map
|