timelock-sdk 0.0.217 → 0.0.219
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-DfgGzIxt.d.cts → client-DKnl8HPJ.d.cts} +133 -1059
- package/dist/{client-C59PyXoJ.d.ts → client-DoyWYZT7.d.ts} +895 -1821
- package/dist/client.cjs +31 -158
- 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 +33 -158
- package/dist/client.js.map +1 -1
- package/dist/package.cjs +7 -31
- package/dist/package.cjs.map +1 -1
- package/dist/package.d.cts +3 -4
- package/dist/package.d.ts +3 -4
- package/dist/package.js +7 -31
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,9 +10,9 @@ import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
|
10
10
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
11
11
|
import * as wagmi0 from "wagmi";
|
|
12
12
|
import Big from "big.js";
|
|
13
|
-
import * as abitype0 from "abitype";
|
|
14
13
|
import JSBI from "jsbi";
|
|
15
|
-
import * as
|
|
14
|
+
import * as wagmi_query23 from "wagmi/query";
|
|
15
|
+
import * as abitype35 from "abitype";
|
|
16
16
|
|
|
17
17
|
//#region src/generated/graphql.d.ts
|
|
18
18
|
type Exact<T$1 extends {
|
|
@@ -428,7 +428,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
428
428
|
}];
|
|
429
429
|
readonly stateMutability: "nonpayable";
|
|
430
430
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
431
|
-
|
|
431
|
+
allowance: (args: readonly [owner: `0x${string}`, spender: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
432
432
|
readonly type: "constructor";
|
|
433
433
|
readonly inputs: readonly [{
|
|
434
434
|
readonly name: "name_";
|
|
@@ -606,8 +606,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
606
606
|
readonly internalType: "bool";
|
|
607
607
|
}];
|
|
608
608
|
readonly stateMutability: "nonpayable";
|
|
609
|
-
}], "
|
|
610
|
-
|
|
609
|
+
}], "allowance", readonly [owner: `0x${string}`, spender: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
610
|
+
balanceOf: (args: readonly [account: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
611
611
|
readonly type: "constructor";
|
|
612
612
|
readonly inputs: readonly [{
|
|
613
613
|
readonly name: "name_";
|
|
@@ -785,8 +785,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
785
785
|
readonly internalType: "bool";
|
|
786
786
|
}];
|
|
787
787
|
readonly stateMutability: "nonpayable";
|
|
788
|
-
}], "
|
|
789
|
-
|
|
788
|
+
}], "balanceOf", readonly [account: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
789
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
790
790
|
readonly type: "constructor";
|
|
791
791
|
readonly inputs: readonly [{
|
|
792
792
|
readonly name: "name_";
|
|
@@ -964,8 +964,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
964
964
|
readonly internalType: "bool";
|
|
965
965
|
}];
|
|
966
966
|
readonly stateMutability: "nonpayable";
|
|
967
|
-
}], "
|
|
968
|
-
|
|
967
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
968
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
969
969
|
readonly type: "constructor";
|
|
970
970
|
readonly inputs: readonly [{
|
|
971
971
|
readonly name: "name_";
|
|
@@ -1143,7 +1143,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1143
1143
|
readonly internalType: "bool";
|
|
1144
1144
|
}];
|
|
1145
1145
|
readonly stateMutability: "nonpayable";
|
|
1146
|
-
}], "
|
|
1146
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1147
1147
|
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1148
1148
|
readonly type: "constructor";
|
|
1149
1149
|
readonly inputs: readonly [{
|
|
@@ -74448,936 +74448,10 @@ declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_
|
|
|
74448
74448
|
}, unknown>;
|
|
74449
74449
|
//#endregion
|
|
74450
74450
|
//#region src/hooks/options/useOptionPnl.d.ts
|
|
74451
|
-
declare const useOptionPnl: (option
|
|
74451
|
+
declare const useOptionPnl: (option?: OptionData) => {
|
|
74452
74452
|
unrealizedPayout: Amount | undefined;
|
|
74453
74453
|
displayPnl: Amount | undefined;
|
|
74454
74454
|
};
|
|
74455
|
-
declare const useOptionsPnlAtPrices: (options: OptionData[], prices?: Amount[]) => {
|
|
74456
|
-
error: _wagmi_core0.ReadContractsErrorType;
|
|
74457
|
-
isError: true;
|
|
74458
|
-
isPending: false;
|
|
74459
|
-
isLoading: false;
|
|
74460
|
-
isLoadingError: false;
|
|
74461
|
-
isRefetchError: true;
|
|
74462
|
-
isSuccess: false;
|
|
74463
|
-
isPlaceholderData: false;
|
|
74464
|
-
status: "error";
|
|
74465
|
-
dataUpdatedAt: number;
|
|
74466
|
-
errorUpdatedAt: number;
|
|
74467
|
-
failureCount: number;
|
|
74468
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
74469
|
-
errorUpdateCount: number;
|
|
74470
|
-
isFetched: boolean;
|
|
74471
|
-
isFetchedAfterMount: boolean;
|
|
74472
|
-
isFetching: boolean;
|
|
74473
|
-
isInitialLoading: boolean;
|
|
74474
|
-
isPaused: boolean;
|
|
74475
|
-
isRefetching: boolean;
|
|
74476
|
-
isStale: boolean;
|
|
74477
|
-
isEnabled: boolean;
|
|
74478
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
74479
|
-
error: Error;
|
|
74480
|
-
result?: undefined;
|
|
74481
|
-
status: "failure";
|
|
74482
|
-
} | {
|
|
74483
|
-
error?: undefined;
|
|
74484
|
-
result: unknown;
|
|
74485
|
-
status: "success";
|
|
74486
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
74487
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
74488
|
-
promise: Promise<({
|
|
74489
|
-
error: Error;
|
|
74490
|
-
result?: undefined;
|
|
74491
|
-
status: "failure";
|
|
74492
|
-
} | {
|
|
74493
|
-
error?: undefined;
|
|
74494
|
-
result: unknown;
|
|
74495
|
-
status: "success";
|
|
74496
|
-
})[]>;
|
|
74497
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
74498
|
-
data: {
|
|
74499
|
-
option: {
|
|
74500
|
-
optionId: bigint;
|
|
74501
|
-
marketAddr: abitype0.Address;
|
|
74502
|
-
ownerAddr: abitype0.Address;
|
|
74503
|
-
optionType: "CALL" | "PUT";
|
|
74504
|
-
createdAt: Date;
|
|
74505
|
-
expiresAt: Date;
|
|
74506
|
-
premium: bigint;
|
|
74507
|
-
protocolFee: bigint;
|
|
74508
|
-
realizedPayout: bigint;
|
|
74509
|
-
liquiditiesAtOpen: bigint[];
|
|
74510
|
-
liquiditiesCurrent: bigint[];
|
|
74511
|
-
positionSizeAtOpen: bigint;
|
|
74512
|
-
positionSizeCurrent: bigint;
|
|
74513
|
-
strikePrice: bigint;
|
|
74514
|
-
entryPrice: bigint;
|
|
74515
|
-
__typename: "UserOption";
|
|
74516
|
-
id: string;
|
|
74517
|
-
strikeTick: number;
|
|
74518
|
-
startTick: number;
|
|
74519
|
-
fullyExercised: boolean;
|
|
74520
|
-
owner?: {
|
|
74521
|
-
__typename: "TimelockMarketUser";
|
|
74522
|
-
address: string;
|
|
74523
|
-
} | null;
|
|
74524
|
-
market?: {
|
|
74525
|
-
__typename: "TimelockMarket";
|
|
74526
|
-
address: string;
|
|
74527
|
-
} | null;
|
|
74528
|
-
};
|
|
74529
|
-
displayPnl: Amount;
|
|
74530
|
-
unrealizedPayout: Amount;
|
|
74531
|
-
}[] | undefined;
|
|
74532
|
-
} | {
|
|
74533
|
-
error: null;
|
|
74534
|
-
isError: false;
|
|
74535
|
-
isPending: false;
|
|
74536
|
-
isLoading: false;
|
|
74537
|
-
isLoadingError: false;
|
|
74538
|
-
isRefetchError: false;
|
|
74539
|
-
isSuccess: true;
|
|
74540
|
-
isPlaceholderData: false;
|
|
74541
|
-
status: "success";
|
|
74542
|
-
dataUpdatedAt: number;
|
|
74543
|
-
errorUpdatedAt: number;
|
|
74544
|
-
failureCount: number;
|
|
74545
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
74546
|
-
errorUpdateCount: number;
|
|
74547
|
-
isFetched: boolean;
|
|
74548
|
-
isFetchedAfterMount: boolean;
|
|
74549
|
-
isFetching: boolean;
|
|
74550
|
-
isInitialLoading: boolean;
|
|
74551
|
-
isPaused: boolean;
|
|
74552
|
-
isRefetching: boolean;
|
|
74553
|
-
isStale: boolean;
|
|
74554
|
-
isEnabled: boolean;
|
|
74555
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
74556
|
-
error: Error;
|
|
74557
|
-
result?: undefined;
|
|
74558
|
-
status: "failure";
|
|
74559
|
-
} | {
|
|
74560
|
-
error?: undefined;
|
|
74561
|
-
result: unknown;
|
|
74562
|
-
status: "success";
|
|
74563
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
74564
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
74565
|
-
promise: Promise<({
|
|
74566
|
-
error: Error;
|
|
74567
|
-
result?: undefined;
|
|
74568
|
-
status: "failure";
|
|
74569
|
-
} | {
|
|
74570
|
-
error?: undefined;
|
|
74571
|
-
result: unknown;
|
|
74572
|
-
status: "success";
|
|
74573
|
-
})[]>;
|
|
74574
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
74575
|
-
data: {
|
|
74576
|
-
option: {
|
|
74577
|
-
optionId: bigint;
|
|
74578
|
-
marketAddr: abitype0.Address;
|
|
74579
|
-
ownerAddr: abitype0.Address;
|
|
74580
|
-
optionType: "CALL" | "PUT";
|
|
74581
|
-
createdAt: Date;
|
|
74582
|
-
expiresAt: Date;
|
|
74583
|
-
premium: bigint;
|
|
74584
|
-
protocolFee: bigint;
|
|
74585
|
-
realizedPayout: bigint;
|
|
74586
|
-
liquiditiesAtOpen: bigint[];
|
|
74587
|
-
liquiditiesCurrent: bigint[];
|
|
74588
|
-
positionSizeAtOpen: bigint;
|
|
74589
|
-
positionSizeCurrent: bigint;
|
|
74590
|
-
strikePrice: bigint;
|
|
74591
|
-
entryPrice: bigint;
|
|
74592
|
-
__typename: "UserOption";
|
|
74593
|
-
id: string;
|
|
74594
|
-
strikeTick: number;
|
|
74595
|
-
startTick: number;
|
|
74596
|
-
fullyExercised: boolean;
|
|
74597
|
-
owner?: {
|
|
74598
|
-
__typename: "TimelockMarketUser";
|
|
74599
|
-
address: string;
|
|
74600
|
-
} | null;
|
|
74601
|
-
market?: {
|
|
74602
|
-
__typename: "TimelockMarket";
|
|
74603
|
-
address: string;
|
|
74604
|
-
} | null;
|
|
74605
|
-
};
|
|
74606
|
-
displayPnl: Amount;
|
|
74607
|
-
unrealizedPayout: Amount;
|
|
74608
|
-
}[] | undefined;
|
|
74609
|
-
} | {
|
|
74610
|
-
error: _wagmi_core0.ReadContractsErrorType;
|
|
74611
|
-
isError: true;
|
|
74612
|
-
isPending: false;
|
|
74613
|
-
isLoading: false;
|
|
74614
|
-
isLoadingError: true;
|
|
74615
|
-
isRefetchError: false;
|
|
74616
|
-
isSuccess: false;
|
|
74617
|
-
isPlaceholderData: false;
|
|
74618
|
-
status: "error";
|
|
74619
|
-
dataUpdatedAt: number;
|
|
74620
|
-
errorUpdatedAt: number;
|
|
74621
|
-
failureCount: number;
|
|
74622
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
74623
|
-
errorUpdateCount: number;
|
|
74624
|
-
isFetched: boolean;
|
|
74625
|
-
isFetchedAfterMount: boolean;
|
|
74626
|
-
isFetching: boolean;
|
|
74627
|
-
isInitialLoading: boolean;
|
|
74628
|
-
isPaused: boolean;
|
|
74629
|
-
isRefetching: boolean;
|
|
74630
|
-
isStale: boolean;
|
|
74631
|
-
isEnabled: boolean;
|
|
74632
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
74633
|
-
error: Error;
|
|
74634
|
-
result?: undefined;
|
|
74635
|
-
status: "failure";
|
|
74636
|
-
} | {
|
|
74637
|
-
error?: undefined;
|
|
74638
|
-
result: unknown;
|
|
74639
|
-
status: "success";
|
|
74640
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
74641
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
74642
|
-
promise: Promise<({
|
|
74643
|
-
error: Error;
|
|
74644
|
-
result?: undefined;
|
|
74645
|
-
status: "failure";
|
|
74646
|
-
} | {
|
|
74647
|
-
error?: undefined;
|
|
74648
|
-
result: unknown;
|
|
74649
|
-
status: "success";
|
|
74650
|
-
})[]>;
|
|
74651
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
74652
|
-
data: {
|
|
74653
|
-
option: {
|
|
74654
|
-
optionId: bigint;
|
|
74655
|
-
marketAddr: abitype0.Address;
|
|
74656
|
-
ownerAddr: abitype0.Address;
|
|
74657
|
-
optionType: "CALL" | "PUT";
|
|
74658
|
-
createdAt: Date;
|
|
74659
|
-
expiresAt: Date;
|
|
74660
|
-
premium: bigint;
|
|
74661
|
-
protocolFee: bigint;
|
|
74662
|
-
realizedPayout: bigint;
|
|
74663
|
-
liquiditiesAtOpen: bigint[];
|
|
74664
|
-
liquiditiesCurrent: bigint[];
|
|
74665
|
-
positionSizeAtOpen: bigint;
|
|
74666
|
-
positionSizeCurrent: bigint;
|
|
74667
|
-
strikePrice: bigint;
|
|
74668
|
-
entryPrice: bigint;
|
|
74669
|
-
__typename: "UserOption";
|
|
74670
|
-
id: string;
|
|
74671
|
-
strikeTick: number;
|
|
74672
|
-
startTick: number;
|
|
74673
|
-
fullyExercised: boolean;
|
|
74674
|
-
owner?: {
|
|
74675
|
-
__typename: "TimelockMarketUser";
|
|
74676
|
-
address: string;
|
|
74677
|
-
} | null;
|
|
74678
|
-
market?: {
|
|
74679
|
-
__typename: "TimelockMarket";
|
|
74680
|
-
address: string;
|
|
74681
|
-
} | null;
|
|
74682
|
-
};
|
|
74683
|
-
displayPnl: Amount;
|
|
74684
|
-
unrealizedPayout: Amount;
|
|
74685
|
-
}[] | undefined;
|
|
74686
|
-
} | {
|
|
74687
|
-
error: null;
|
|
74688
|
-
isError: false;
|
|
74689
|
-
isPending: true;
|
|
74690
|
-
isLoading: true;
|
|
74691
|
-
isLoadingError: false;
|
|
74692
|
-
isRefetchError: false;
|
|
74693
|
-
isSuccess: false;
|
|
74694
|
-
isPlaceholderData: false;
|
|
74695
|
-
status: "pending";
|
|
74696
|
-
dataUpdatedAt: number;
|
|
74697
|
-
errorUpdatedAt: number;
|
|
74698
|
-
failureCount: number;
|
|
74699
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
74700
|
-
errorUpdateCount: number;
|
|
74701
|
-
isFetched: boolean;
|
|
74702
|
-
isFetchedAfterMount: boolean;
|
|
74703
|
-
isFetching: boolean;
|
|
74704
|
-
isInitialLoading: boolean;
|
|
74705
|
-
isPaused: boolean;
|
|
74706
|
-
isRefetching: boolean;
|
|
74707
|
-
isStale: boolean;
|
|
74708
|
-
isEnabled: boolean;
|
|
74709
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
74710
|
-
error: Error;
|
|
74711
|
-
result?: undefined;
|
|
74712
|
-
status: "failure";
|
|
74713
|
-
} | {
|
|
74714
|
-
error?: undefined;
|
|
74715
|
-
result: unknown;
|
|
74716
|
-
status: "success";
|
|
74717
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
74718
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
74719
|
-
promise: Promise<({
|
|
74720
|
-
error: Error;
|
|
74721
|
-
result?: undefined;
|
|
74722
|
-
status: "failure";
|
|
74723
|
-
} | {
|
|
74724
|
-
error?: undefined;
|
|
74725
|
-
result: unknown;
|
|
74726
|
-
status: "success";
|
|
74727
|
-
})[]>;
|
|
74728
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
74729
|
-
data: {
|
|
74730
|
-
option: {
|
|
74731
|
-
optionId: bigint;
|
|
74732
|
-
marketAddr: abitype0.Address;
|
|
74733
|
-
ownerAddr: abitype0.Address;
|
|
74734
|
-
optionType: "CALL" | "PUT";
|
|
74735
|
-
createdAt: Date;
|
|
74736
|
-
expiresAt: Date;
|
|
74737
|
-
premium: bigint;
|
|
74738
|
-
protocolFee: bigint;
|
|
74739
|
-
realizedPayout: bigint;
|
|
74740
|
-
liquiditiesAtOpen: bigint[];
|
|
74741
|
-
liquiditiesCurrent: bigint[];
|
|
74742
|
-
positionSizeAtOpen: bigint;
|
|
74743
|
-
positionSizeCurrent: bigint;
|
|
74744
|
-
strikePrice: bigint;
|
|
74745
|
-
entryPrice: bigint;
|
|
74746
|
-
__typename: "UserOption";
|
|
74747
|
-
id: string;
|
|
74748
|
-
strikeTick: number;
|
|
74749
|
-
startTick: number;
|
|
74750
|
-
fullyExercised: boolean;
|
|
74751
|
-
owner?: {
|
|
74752
|
-
__typename: "TimelockMarketUser";
|
|
74753
|
-
address: string;
|
|
74754
|
-
} | null;
|
|
74755
|
-
market?: {
|
|
74756
|
-
__typename: "TimelockMarket";
|
|
74757
|
-
address: string;
|
|
74758
|
-
} | null;
|
|
74759
|
-
};
|
|
74760
|
-
displayPnl: Amount;
|
|
74761
|
-
unrealizedPayout: Amount;
|
|
74762
|
-
}[] | undefined;
|
|
74763
|
-
} | {
|
|
74764
|
-
error: null;
|
|
74765
|
-
isError: false;
|
|
74766
|
-
isPending: true;
|
|
74767
|
-
isLoadingError: false;
|
|
74768
|
-
isRefetchError: false;
|
|
74769
|
-
isSuccess: false;
|
|
74770
|
-
isPlaceholderData: false;
|
|
74771
|
-
status: "pending";
|
|
74772
|
-
dataUpdatedAt: number;
|
|
74773
|
-
errorUpdatedAt: number;
|
|
74774
|
-
failureCount: number;
|
|
74775
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
74776
|
-
errorUpdateCount: number;
|
|
74777
|
-
isFetched: boolean;
|
|
74778
|
-
isFetchedAfterMount: boolean;
|
|
74779
|
-
isFetching: boolean;
|
|
74780
|
-
isLoading: boolean;
|
|
74781
|
-
isInitialLoading: boolean;
|
|
74782
|
-
isPaused: boolean;
|
|
74783
|
-
isRefetching: boolean;
|
|
74784
|
-
isStale: boolean;
|
|
74785
|
-
isEnabled: boolean;
|
|
74786
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
74787
|
-
error: Error;
|
|
74788
|
-
result?: undefined;
|
|
74789
|
-
status: "failure";
|
|
74790
|
-
} | {
|
|
74791
|
-
error?: undefined;
|
|
74792
|
-
result: unknown;
|
|
74793
|
-
status: "success";
|
|
74794
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
74795
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
74796
|
-
promise: Promise<({
|
|
74797
|
-
error: Error;
|
|
74798
|
-
result?: undefined;
|
|
74799
|
-
status: "failure";
|
|
74800
|
-
} | {
|
|
74801
|
-
error?: undefined;
|
|
74802
|
-
result: unknown;
|
|
74803
|
-
status: "success";
|
|
74804
|
-
})[]>;
|
|
74805
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
74806
|
-
data: {
|
|
74807
|
-
option: {
|
|
74808
|
-
optionId: bigint;
|
|
74809
|
-
marketAddr: abitype0.Address;
|
|
74810
|
-
ownerAddr: abitype0.Address;
|
|
74811
|
-
optionType: "CALL" | "PUT";
|
|
74812
|
-
createdAt: Date;
|
|
74813
|
-
expiresAt: Date;
|
|
74814
|
-
premium: bigint;
|
|
74815
|
-
protocolFee: bigint;
|
|
74816
|
-
realizedPayout: bigint;
|
|
74817
|
-
liquiditiesAtOpen: bigint[];
|
|
74818
|
-
liquiditiesCurrent: bigint[];
|
|
74819
|
-
positionSizeAtOpen: bigint;
|
|
74820
|
-
positionSizeCurrent: bigint;
|
|
74821
|
-
strikePrice: bigint;
|
|
74822
|
-
entryPrice: bigint;
|
|
74823
|
-
__typename: "UserOption";
|
|
74824
|
-
id: string;
|
|
74825
|
-
strikeTick: number;
|
|
74826
|
-
startTick: number;
|
|
74827
|
-
fullyExercised: boolean;
|
|
74828
|
-
owner?: {
|
|
74829
|
-
__typename: "TimelockMarketUser";
|
|
74830
|
-
address: string;
|
|
74831
|
-
} | null;
|
|
74832
|
-
market?: {
|
|
74833
|
-
__typename: "TimelockMarket";
|
|
74834
|
-
address: string;
|
|
74835
|
-
} | null;
|
|
74836
|
-
};
|
|
74837
|
-
displayPnl: Amount;
|
|
74838
|
-
unrealizedPayout: Amount;
|
|
74839
|
-
}[] | undefined;
|
|
74840
|
-
} | {
|
|
74841
|
-
isError: false;
|
|
74842
|
-
error: null;
|
|
74843
|
-
isPending: false;
|
|
74844
|
-
isLoading: false;
|
|
74845
|
-
isLoadingError: false;
|
|
74846
|
-
isRefetchError: false;
|
|
74847
|
-
isSuccess: true;
|
|
74848
|
-
isPlaceholderData: true;
|
|
74849
|
-
status: "success";
|
|
74850
|
-
dataUpdatedAt: number;
|
|
74851
|
-
errorUpdatedAt: number;
|
|
74852
|
-
failureCount: number;
|
|
74853
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
74854
|
-
errorUpdateCount: number;
|
|
74855
|
-
isFetched: boolean;
|
|
74856
|
-
isFetchedAfterMount: boolean;
|
|
74857
|
-
isFetching: boolean;
|
|
74858
|
-
isInitialLoading: boolean;
|
|
74859
|
-
isPaused: boolean;
|
|
74860
|
-
isRefetching: boolean;
|
|
74861
|
-
isStale: boolean;
|
|
74862
|
-
isEnabled: boolean;
|
|
74863
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
74864
|
-
error: Error;
|
|
74865
|
-
result?: undefined;
|
|
74866
|
-
status: "failure";
|
|
74867
|
-
} | {
|
|
74868
|
-
error?: undefined;
|
|
74869
|
-
result: unknown;
|
|
74870
|
-
status: "success";
|
|
74871
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
74872
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
74873
|
-
promise: Promise<({
|
|
74874
|
-
error: Error;
|
|
74875
|
-
result?: undefined;
|
|
74876
|
-
status: "failure";
|
|
74877
|
-
} | {
|
|
74878
|
-
error?: undefined;
|
|
74879
|
-
result: unknown;
|
|
74880
|
-
status: "success";
|
|
74881
|
-
})[]>;
|
|
74882
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
74883
|
-
data: {
|
|
74884
|
-
option: {
|
|
74885
|
-
optionId: bigint;
|
|
74886
|
-
marketAddr: abitype0.Address;
|
|
74887
|
-
ownerAddr: abitype0.Address;
|
|
74888
|
-
optionType: "CALL" | "PUT";
|
|
74889
|
-
createdAt: Date;
|
|
74890
|
-
expiresAt: Date;
|
|
74891
|
-
premium: bigint;
|
|
74892
|
-
protocolFee: bigint;
|
|
74893
|
-
realizedPayout: bigint;
|
|
74894
|
-
liquiditiesAtOpen: bigint[];
|
|
74895
|
-
liquiditiesCurrent: bigint[];
|
|
74896
|
-
positionSizeAtOpen: bigint;
|
|
74897
|
-
positionSizeCurrent: bigint;
|
|
74898
|
-
strikePrice: bigint;
|
|
74899
|
-
entryPrice: bigint;
|
|
74900
|
-
__typename: "UserOption";
|
|
74901
|
-
id: string;
|
|
74902
|
-
strikeTick: number;
|
|
74903
|
-
startTick: number;
|
|
74904
|
-
fullyExercised: boolean;
|
|
74905
|
-
owner?: {
|
|
74906
|
-
__typename: "TimelockMarketUser";
|
|
74907
|
-
address: string;
|
|
74908
|
-
} | null;
|
|
74909
|
-
market?: {
|
|
74910
|
-
__typename: "TimelockMarket";
|
|
74911
|
-
address: string;
|
|
74912
|
-
} | null;
|
|
74913
|
-
};
|
|
74914
|
-
displayPnl: Amount;
|
|
74915
|
-
unrealizedPayout: Amount;
|
|
74916
|
-
}[] | undefined;
|
|
74917
|
-
};
|
|
74918
|
-
declare const useOptionsPnl: (options: OptionData[]) => {
|
|
74919
|
-
error: _wagmi_core0.ReadContractsErrorType;
|
|
74920
|
-
isError: true;
|
|
74921
|
-
isPending: false;
|
|
74922
|
-
isLoading: false;
|
|
74923
|
-
isLoadingError: false;
|
|
74924
|
-
isRefetchError: true;
|
|
74925
|
-
isSuccess: false;
|
|
74926
|
-
isPlaceholderData: false;
|
|
74927
|
-
status: "error";
|
|
74928
|
-
dataUpdatedAt: number;
|
|
74929
|
-
errorUpdatedAt: number;
|
|
74930
|
-
failureCount: number;
|
|
74931
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
74932
|
-
errorUpdateCount: number;
|
|
74933
|
-
isFetched: boolean;
|
|
74934
|
-
isFetchedAfterMount: boolean;
|
|
74935
|
-
isFetching: boolean;
|
|
74936
|
-
isInitialLoading: boolean;
|
|
74937
|
-
isPaused: boolean;
|
|
74938
|
-
isRefetching: boolean;
|
|
74939
|
-
isStale: boolean;
|
|
74940
|
-
isEnabled: boolean;
|
|
74941
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
74942
|
-
error: Error;
|
|
74943
|
-
result?: undefined;
|
|
74944
|
-
status: "failure";
|
|
74945
|
-
} | {
|
|
74946
|
-
error?: undefined;
|
|
74947
|
-
result: unknown;
|
|
74948
|
-
status: "success";
|
|
74949
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
74950
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
74951
|
-
promise: Promise<({
|
|
74952
|
-
error: Error;
|
|
74953
|
-
result?: undefined;
|
|
74954
|
-
status: "failure";
|
|
74955
|
-
} | {
|
|
74956
|
-
error?: undefined;
|
|
74957
|
-
result: unknown;
|
|
74958
|
-
status: "success";
|
|
74959
|
-
})[]>;
|
|
74960
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
74961
|
-
data: {
|
|
74962
|
-
option: {
|
|
74963
|
-
optionId: bigint;
|
|
74964
|
-
marketAddr: abitype0.Address;
|
|
74965
|
-
ownerAddr: abitype0.Address;
|
|
74966
|
-
optionType: "CALL" | "PUT";
|
|
74967
|
-
createdAt: Date;
|
|
74968
|
-
expiresAt: Date;
|
|
74969
|
-
premium: bigint;
|
|
74970
|
-
protocolFee: bigint;
|
|
74971
|
-
realizedPayout: bigint;
|
|
74972
|
-
liquiditiesAtOpen: bigint[];
|
|
74973
|
-
liquiditiesCurrent: bigint[];
|
|
74974
|
-
positionSizeAtOpen: bigint;
|
|
74975
|
-
positionSizeCurrent: bigint;
|
|
74976
|
-
strikePrice: bigint;
|
|
74977
|
-
entryPrice: bigint;
|
|
74978
|
-
__typename: "UserOption";
|
|
74979
|
-
id: string;
|
|
74980
|
-
strikeTick: number;
|
|
74981
|
-
startTick: number;
|
|
74982
|
-
fullyExercised: boolean;
|
|
74983
|
-
owner?: {
|
|
74984
|
-
__typename: "TimelockMarketUser";
|
|
74985
|
-
address: string;
|
|
74986
|
-
} | null;
|
|
74987
|
-
market?: {
|
|
74988
|
-
__typename: "TimelockMarket";
|
|
74989
|
-
address: string;
|
|
74990
|
-
} | null;
|
|
74991
|
-
};
|
|
74992
|
-
displayPnl: Amount;
|
|
74993
|
-
unrealizedPayout: Amount;
|
|
74994
|
-
}[] | undefined;
|
|
74995
|
-
} | {
|
|
74996
|
-
error: null;
|
|
74997
|
-
isError: false;
|
|
74998
|
-
isPending: false;
|
|
74999
|
-
isLoading: false;
|
|
75000
|
-
isLoadingError: false;
|
|
75001
|
-
isRefetchError: false;
|
|
75002
|
-
isSuccess: true;
|
|
75003
|
-
isPlaceholderData: false;
|
|
75004
|
-
status: "success";
|
|
75005
|
-
dataUpdatedAt: number;
|
|
75006
|
-
errorUpdatedAt: number;
|
|
75007
|
-
failureCount: number;
|
|
75008
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
75009
|
-
errorUpdateCount: number;
|
|
75010
|
-
isFetched: boolean;
|
|
75011
|
-
isFetchedAfterMount: boolean;
|
|
75012
|
-
isFetching: boolean;
|
|
75013
|
-
isInitialLoading: boolean;
|
|
75014
|
-
isPaused: boolean;
|
|
75015
|
-
isRefetching: boolean;
|
|
75016
|
-
isStale: boolean;
|
|
75017
|
-
isEnabled: boolean;
|
|
75018
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
75019
|
-
error: Error;
|
|
75020
|
-
result?: undefined;
|
|
75021
|
-
status: "failure";
|
|
75022
|
-
} | {
|
|
75023
|
-
error?: undefined;
|
|
75024
|
-
result: unknown;
|
|
75025
|
-
status: "success";
|
|
75026
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
75027
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
75028
|
-
promise: Promise<({
|
|
75029
|
-
error: Error;
|
|
75030
|
-
result?: undefined;
|
|
75031
|
-
status: "failure";
|
|
75032
|
-
} | {
|
|
75033
|
-
error?: undefined;
|
|
75034
|
-
result: unknown;
|
|
75035
|
-
status: "success";
|
|
75036
|
-
})[]>;
|
|
75037
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
75038
|
-
data: {
|
|
75039
|
-
option: {
|
|
75040
|
-
optionId: bigint;
|
|
75041
|
-
marketAddr: abitype0.Address;
|
|
75042
|
-
ownerAddr: abitype0.Address;
|
|
75043
|
-
optionType: "CALL" | "PUT";
|
|
75044
|
-
createdAt: Date;
|
|
75045
|
-
expiresAt: Date;
|
|
75046
|
-
premium: bigint;
|
|
75047
|
-
protocolFee: bigint;
|
|
75048
|
-
realizedPayout: bigint;
|
|
75049
|
-
liquiditiesAtOpen: bigint[];
|
|
75050
|
-
liquiditiesCurrent: bigint[];
|
|
75051
|
-
positionSizeAtOpen: bigint;
|
|
75052
|
-
positionSizeCurrent: bigint;
|
|
75053
|
-
strikePrice: bigint;
|
|
75054
|
-
entryPrice: bigint;
|
|
75055
|
-
__typename: "UserOption";
|
|
75056
|
-
id: string;
|
|
75057
|
-
strikeTick: number;
|
|
75058
|
-
startTick: number;
|
|
75059
|
-
fullyExercised: boolean;
|
|
75060
|
-
owner?: {
|
|
75061
|
-
__typename: "TimelockMarketUser";
|
|
75062
|
-
address: string;
|
|
75063
|
-
} | null;
|
|
75064
|
-
market?: {
|
|
75065
|
-
__typename: "TimelockMarket";
|
|
75066
|
-
address: string;
|
|
75067
|
-
} | null;
|
|
75068
|
-
};
|
|
75069
|
-
displayPnl: Amount;
|
|
75070
|
-
unrealizedPayout: Amount;
|
|
75071
|
-
}[] | undefined;
|
|
75072
|
-
} | {
|
|
75073
|
-
error: _wagmi_core0.ReadContractsErrorType;
|
|
75074
|
-
isError: true;
|
|
75075
|
-
isPending: false;
|
|
75076
|
-
isLoading: false;
|
|
75077
|
-
isLoadingError: true;
|
|
75078
|
-
isRefetchError: false;
|
|
75079
|
-
isSuccess: false;
|
|
75080
|
-
isPlaceholderData: false;
|
|
75081
|
-
status: "error";
|
|
75082
|
-
dataUpdatedAt: number;
|
|
75083
|
-
errorUpdatedAt: number;
|
|
75084
|
-
failureCount: number;
|
|
75085
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
75086
|
-
errorUpdateCount: number;
|
|
75087
|
-
isFetched: boolean;
|
|
75088
|
-
isFetchedAfterMount: boolean;
|
|
75089
|
-
isFetching: boolean;
|
|
75090
|
-
isInitialLoading: boolean;
|
|
75091
|
-
isPaused: boolean;
|
|
75092
|
-
isRefetching: boolean;
|
|
75093
|
-
isStale: boolean;
|
|
75094
|
-
isEnabled: boolean;
|
|
75095
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
75096
|
-
error: Error;
|
|
75097
|
-
result?: undefined;
|
|
75098
|
-
status: "failure";
|
|
75099
|
-
} | {
|
|
75100
|
-
error?: undefined;
|
|
75101
|
-
result: unknown;
|
|
75102
|
-
status: "success";
|
|
75103
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
75104
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
75105
|
-
promise: Promise<({
|
|
75106
|
-
error: Error;
|
|
75107
|
-
result?: undefined;
|
|
75108
|
-
status: "failure";
|
|
75109
|
-
} | {
|
|
75110
|
-
error?: undefined;
|
|
75111
|
-
result: unknown;
|
|
75112
|
-
status: "success";
|
|
75113
|
-
})[]>;
|
|
75114
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
75115
|
-
data: {
|
|
75116
|
-
option: {
|
|
75117
|
-
optionId: bigint;
|
|
75118
|
-
marketAddr: abitype0.Address;
|
|
75119
|
-
ownerAddr: abitype0.Address;
|
|
75120
|
-
optionType: "CALL" | "PUT";
|
|
75121
|
-
createdAt: Date;
|
|
75122
|
-
expiresAt: Date;
|
|
75123
|
-
premium: bigint;
|
|
75124
|
-
protocolFee: bigint;
|
|
75125
|
-
realizedPayout: bigint;
|
|
75126
|
-
liquiditiesAtOpen: bigint[];
|
|
75127
|
-
liquiditiesCurrent: bigint[];
|
|
75128
|
-
positionSizeAtOpen: bigint;
|
|
75129
|
-
positionSizeCurrent: bigint;
|
|
75130
|
-
strikePrice: bigint;
|
|
75131
|
-
entryPrice: bigint;
|
|
75132
|
-
__typename: "UserOption";
|
|
75133
|
-
id: string;
|
|
75134
|
-
strikeTick: number;
|
|
75135
|
-
startTick: number;
|
|
75136
|
-
fullyExercised: boolean;
|
|
75137
|
-
owner?: {
|
|
75138
|
-
__typename: "TimelockMarketUser";
|
|
75139
|
-
address: string;
|
|
75140
|
-
} | null;
|
|
75141
|
-
market?: {
|
|
75142
|
-
__typename: "TimelockMarket";
|
|
75143
|
-
address: string;
|
|
75144
|
-
} | null;
|
|
75145
|
-
};
|
|
75146
|
-
displayPnl: Amount;
|
|
75147
|
-
unrealizedPayout: Amount;
|
|
75148
|
-
}[] | undefined;
|
|
75149
|
-
} | {
|
|
75150
|
-
error: null;
|
|
75151
|
-
isError: false;
|
|
75152
|
-
isPending: true;
|
|
75153
|
-
isLoading: true;
|
|
75154
|
-
isLoadingError: false;
|
|
75155
|
-
isRefetchError: false;
|
|
75156
|
-
isSuccess: false;
|
|
75157
|
-
isPlaceholderData: false;
|
|
75158
|
-
status: "pending";
|
|
75159
|
-
dataUpdatedAt: number;
|
|
75160
|
-
errorUpdatedAt: number;
|
|
75161
|
-
failureCount: number;
|
|
75162
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
75163
|
-
errorUpdateCount: number;
|
|
75164
|
-
isFetched: boolean;
|
|
75165
|
-
isFetchedAfterMount: boolean;
|
|
75166
|
-
isFetching: boolean;
|
|
75167
|
-
isInitialLoading: boolean;
|
|
75168
|
-
isPaused: boolean;
|
|
75169
|
-
isRefetching: boolean;
|
|
75170
|
-
isStale: boolean;
|
|
75171
|
-
isEnabled: boolean;
|
|
75172
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
75173
|
-
error: Error;
|
|
75174
|
-
result?: undefined;
|
|
75175
|
-
status: "failure";
|
|
75176
|
-
} | {
|
|
75177
|
-
error?: undefined;
|
|
75178
|
-
result: unknown;
|
|
75179
|
-
status: "success";
|
|
75180
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
75181
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
75182
|
-
promise: Promise<({
|
|
75183
|
-
error: Error;
|
|
75184
|
-
result?: undefined;
|
|
75185
|
-
status: "failure";
|
|
75186
|
-
} | {
|
|
75187
|
-
error?: undefined;
|
|
75188
|
-
result: unknown;
|
|
75189
|
-
status: "success";
|
|
75190
|
-
})[]>;
|
|
75191
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
75192
|
-
data: {
|
|
75193
|
-
option: {
|
|
75194
|
-
optionId: bigint;
|
|
75195
|
-
marketAddr: abitype0.Address;
|
|
75196
|
-
ownerAddr: abitype0.Address;
|
|
75197
|
-
optionType: "CALL" | "PUT";
|
|
75198
|
-
createdAt: Date;
|
|
75199
|
-
expiresAt: Date;
|
|
75200
|
-
premium: bigint;
|
|
75201
|
-
protocolFee: bigint;
|
|
75202
|
-
realizedPayout: bigint;
|
|
75203
|
-
liquiditiesAtOpen: bigint[];
|
|
75204
|
-
liquiditiesCurrent: bigint[];
|
|
75205
|
-
positionSizeAtOpen: bigint;
|
|
75206
|
-
positionSizeCurrent: bigint;
|
|
75207
|
-
strikePrice: bigint;
|
|
75208
|
-
entryPrice: bigint;
|
|
75209
|
-
__typename: "UserOption";
|
|
75210
|
-
id: string;
|
|
75211
|
-
strikeTick: number;
|
|
75212
|
-
startTick: number;
|
|
75213
|
-
fullyExercised: boolean;
|
|
75214
|
-
owner?: {
|
|
75215
|
-
__typename: "TimelockMarketUser";
|
|
75216
|
-
address: string;
|
|
75217
|
-
} | null;
|
|
75218
|
-
market?: {
|
|
75219
|
-
__typename: "TimelockMarket";
|
|
75220
|
-
address: string;
|
|
75221
|
-
} | null;
|
|
75222
|
-
};
|
|
75223
|
-
displayPnl: Amount;
|
|
75224
|
-
unrealizedPayout: Amount;
|
|
75225
|
-
}[] | undefined;
|
|
75226
|
-
} | {
|
|
75227
|
-
error: null;
|
|
75228
|
-
isError: false;
|
|
75229
|
-
isPending: true;
|
|
75230
|
-
isLoadingError: false;
|
|
75231
|
-
isRefetchError: false;
|
|
75232
|
-
isSuccess: false;
|
|
75233
|
-
isPlaceholderData: false;
|
|
75234
|
-
status: "pending";
|
|
75235
|
-
dataUpdatedAt: number;
|
|
75236
|
-
errorUpdatedAt: number;
|
|
75237
|
-
failureCount: number;
|
|
75238
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
75239
|
-
errorUpdateCount: number;
|
|
75240
|
-
isFetched: boolean;
|
|
75241
|
-
isFetchedAfterMount: boolean;
|
|
75242
|
-
isFetching: boolean;
|
|
75243
|
-
isLoading: boolean;
|
|
75244
|
-
isInitialLoading: boolean;
|
|
75245
|
-
isPaused: boolean;
|
|
75246
|
-
isRefetching: boolean;
|
|
75247
|
-
isStale: boolean;
|
|
75248
|
-
isEnabled: boolean;
|
|
75249
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
75250
|
-
error: Error;
|
|
75251
|
-
result?: undefined;
|
|
75252
|
-
status: "failure";
|
|
75253
|
-
} | {
|
|
75254
|
-
error?: undefined;
|
|
75255
|
-
result: unknown;
|
|
75256
|
-
status: "success";
|
|
75257
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
75258
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
75259
|
-
promise: Promise<({
|
|
75260
|
-
error: Error;
|
|
75261
|
-
result?: undefined;
|
|
75262
|
-
status: "failure";
|
|
75263
|
-
} | {
|
|
75264
|
-
error?: undefined;
|
|
75265
|
-
result: unknown;
|
|
75266
|
-
status: "success";
|
|
75267
|
-
})[]>;
|
|
75268
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
75269
|
-
data: {
|
|
75270
|
-
option: {
|
|
75271
|
-
optionId: bigint;
|
|
75272
|
-
marketAddr: abitype0.Address;
|
|
75273
|
-
ownerAddr: abitype0.Address;
|
|
75274
|
-
optionType: "CALL" | "PUT";
|
|
75275
|
-
createdAt: Date;
|
|
75276
|
-
expiresAt: Date;
|
|
75277
|
-
premium: bigint;
|
|
75278
|
-
protocolFee: bigint;
|
|
75279
|
-
realizedPayout: bigint;
|
|
75280
|
-
liquiditiesAtOpen: bigint[];
|
|
75281
|
-
liquiditiesCurrent: bigint[];
|
|
75282
|
-
positionSizeAtOpen: bigint;
|
|
75283
|
-
positionSizeCurrent: bigint;
|
|
75284
|
-
strikePrice: bigint;
|
|
75285
|
-
entryPrice: bigint;
|
|
75286
|
-
__typename: "UserOption";
|
|
75287
|
-
id: string;
|
|
75288
|
-
strikeTick: number;
|
|
75289
|
-
startTick: number;
|
|
75290
|
-
fullyExercised: boolean;
|
|
75291
|
-
owner?: {
|
|
75292
|
-
__typename: "TimelockMarketUser";
|
|
75293
|
-
address: string;
|
|
75294
|
-
} | null;
|
|
75295
|
-
market?: {
|
|
75296
|
-
__typename: "TimelockMarket";
|
|
75297
|
-
address: string;
|
|
75298
|
-
} | null;
|
|
75299
|
-
};
|
|
75300
|
-
displayPnl: Amount;
|
|
75301
|
-
unrealizedPayout: Amount;
|
|
75302
|
-
}[] | undefined;
|
|
75303
|
-
} | {
|
|
75304
|
-
isError: false;
|
|
75305
|
-
error: null;
|
|
75306
|
-
isPending: false;
|
|
75307
|
-
isLoading: false;
|
|
75308
|
-
isLoadingError: false;
|
|
75309
|
-
isRefetchError: false;
|
|
75310
|
-
isSuccess: true;
|
|
75311
|
-
isPlaceholderData: true;
|
|
75312
|
-
status: "success";
|
|
75313
|
-
dataUpdatedAt: number;
|
|
75314
|
-
errorUpdatedAt: number;
|
|
75315
|
-
failureCount: number;
|
|
75316
|
-
failureReason: _wagmi_core0.ReadContractsErrorType | null;
|
|
75317
|
-
errorUpdateCount: number;
|
|
75318
|
-
isFetched: boolean;
|
|
75319
|
-
isFetchedAfterMount: boolean;
|
|
75320
|
-
isFetching: boolean;
|
|
75321
|
-
isInitialLoading: boolean;
|
|
75322
|
-
isPaused: boolean;
|
|
75323
|
-
isRefetching: boolean;
|
|
75324
|
-
isStale: boolean;
|
|
75325
|
-
isEnabled: boolean;
|
|
75326
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
75327
|
-
error: Error;
|
|
75328
|
-
result?: undefined;
|
|
75329
|
-
status: "failure";
|
|
75330
|
-
} | {
|
|
75331
|
-
error?: undefined;
|
|
75332
|
-
result: unknown;
|
|
75333
|
-
status: "success";
|
|
75334
|
-
})[], _wagmi_core0.ReadContractsErrorType>>;
|
|
75335
|
-
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
75336
|
-
promise: Promise<({
|
|
75337
|
-
error: Error;
|
|
75338
|
-
result?: undefined;
|
|
75339
|
-
status: "failure";
|
|
75340
|
-
} | {
|
|
75341
|
-
error?: undefined;
|
|
75342
|
-
result: unknown;
|
|
75343
|
-
status: "success";
|
|
75344
|
-
})[]>;
|
|
75345
|
-
queryKey: _tanstack_query_core0.QueryKey;
|
|
75346
|
-
data: {
|
|
75347
|
-
option: {
|
|
75348
|
-
optionId: bigint;
|
|
75349
|
-
marketAddr: abitype0.Address;
|
|
75350
|
-
ownerAddr: abitype0.Address;
|
|
75351
|
-
optionType: "CALL" | "PUT";
|
|
75352
|
-
createdAt: Date;
|
|
75353
|
-
expiresAt: Date;
|
|
75354
|
-
premium: bigint;
|
|
75355
|
-
protocolFee: bigint;
|
|
75356
|
-
realizedPayout: bigint;
|
|
75357
|
-
liquiditiesAtOpen: bigint[];
|
|
75358
|
-
liquiditiesCurrent: bigint[];
|
|
75359
|
-
positionSizeAtOpen: bigint;
|
|
75360
|
-
positionSizeCurrent: bigint;
|
|
75361
|
-
strikePrice: bigint;
|
|
75362
|
-
entryPrice: bigint;
|
|
75363
|
-
__typename: "UserOption";
|
|
75364
|
-
id: string;
|
|
75365
|
-
strikeTick: number;
|
|
75366
|
-
startTick: number;
|
|
75367
|
-
fullyExercised: boolean;
|
|
75368
|
-
owner?: {
|
|
75369
|
-
__typename: "TimelockMarketUser";
|
|
75370
|
-
address: string;
|
|
75371
|
-
} | null;
|
|
75372
|
-
market?: {
|
|
75373
|
-
__typename: "TimelockMarket";
|
|
75374
|
-
address: string;
|
|
75375
|
-
} | null;
|
|
75376
|
-
};
|
|
75377
|
-
displayPnl: Amount;
|
|
75378
|
-
unrealizedPayout: Amount;
|
|
75379
|
-
}[] | undefined;
|
|
75380
|
-
};
|
|
75381
74455
|
//#endregion
|
|
75382
74456
|
//#region src/hooks/options/useOptionPremium.d.ts
|
|
75383
74457
|
declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "CALL" | "PUT", optionAmount?: bigint, addedDuration?: number, remainingDuration?: number, strikeTick?: number) => {
|
|
@@ -79340,9 +78414,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79340
78414
|
reset: () => void;
|
|
79341
78415
|
context: unknown;
|
|
79342
78416
|
submittedAt: number;
|
|
79343
|
-
mutate:
|
|
79344
|
-
mutateAsync:
|
|
79345
|
-
writeContract:
|
|
78417
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78418
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
78419
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79346
78420
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
79347
78421
|
} | {
|
|
79348
78422
|
data: undefined;
|
|
@@ -79355,7 +78429,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79355
78429
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
79356
78430
|
isPaused: boolean;
|
|
79357
78431
|
variables: {
|
|
79358
|
-
abi:
|
|
78432
|
+
abi: abitype35.Abi;
|
|
79359
78433
|
functionName: string;
|
|
79360
78434
|
args?: readonly unknown[] | undefined;
|
|
79361
78435
|
address: Address;
|
|
@@ -79379,7 +78453,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79379
78453
|
chainId?: number | undefined;
|
|
79380
78454
|
connector?: wagmi0.Connector | undefined;
|
|
79381
78455
|
} | {
|
|
79382
|
-
abi:
|
|
78456
|
+
abi: abitype35.Abi;
|
|
79383
78457
|
functionName: string;
|
|
79384
78458
|
args?: readonly unknown[] | undefined;
|
|
79385
78459
|
address: Address;
|
|
@@ -79403,7 +78477,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79403
78477
|
chainId?: number | undefined;
|
|
79404
78478
|
connector?: wagmi0.Connector | undefined;
|
|
79405
78479
|
} | {
|
|
79406
|
-
abi:
|
|
78480
|
+
abi: abitype35.Abi;
|
|
79407
78481
|
functionName: string;
|
|
79408
78482
|
args?: readonly unknown[] | undefined;
|
|
79409
78483
|
address: Address;
|
|
@@ -79427,7 +78501,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79427
78501
|
chainId?: number | undefined;
|
|
79428
78502
|
connector?: wagmi0.Connector | undefined;
|
|
79429
78503
|
} | {
|
|
79430
|
-
abi:
|
|
78504
|
+
abi: abitype35.Abi;
|
|
79431
78505
|
functionName: string;
|
|
79432
78506
|
args?: readonly unknown[] | undefined;
|
|
79433
78507
|
address: Address;
|
|
@@ -79451,7 +78525,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79451
78525
|
chainId?: number | undefined;
|
|
79452
78526
|
connector?: wagmi0.Connector | undefined;
|
|
79453
78527
|
} | {
|
|
79454
|
-
abi:
|
|
78528
|
+
abi: abitype35.Abi;
|
|
79455
78529
|
functionName: string;
|
|
79456
78530
|
args?: readonly unknown[] | undefined;
|
|
79457
78531
|
address: Address;
|
|
@@ -79475,7 +78549,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79475
78549
|
chainId?: number | undefined;
|
|
79476
78550
|
connector?: wagmi0.Connector | undefined;
|
|
79477
78551
|
} | {
|
|
79478
|
-
abi:
|
|
78552
|
+
abi: abitype35.Abi;
|
|
79479
78553
|
functionName: string;
|
|
79480
78554
|
args?: readonly unknown[] | undefined;
|
|
79481
78555
|
address: Address;
|
|
@@ -79503,9 +78577,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79503
78577
|
reset: () => void;
|
|
79504
78578
|
context: unknown;
|
|
79505
78579
|
submittedAt: number;
|
|
79506
|
-
mutate:
|
|
79507
|
-
mutateAsync:
|
|
79508
|
-
writeContract:
|
|
78580
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78581
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
78582
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79509
78583
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
79510
78584
|
} | {
|
|
79511
78585
|
data: undefined;
|
|
@@ -79518,7 +78592,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79518
78592
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
79519
78593
|
isPaused: boolean;
|
|
79520
78594
|
variables: {
|
|
79521
|
-
abi:
|
|
78595
|
+
abi: abitype35.Abi;
|
|
79522
78596
|
functionName: string;
|
|
79523
78597
|
args?: readonly unknown[] | undefined;
|
|
79524
78598
|
address: Address;
|
|
@@ -79542,7 +78616,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79542
78616
|
chainId?: number | undefined;
|
|
79543
78617
|
connector?: wagmi0.Connector | undefined;
|
|
79544
78618
|
} | {
|
|
79545
|
-
abi:
|
|
78619
|
+
abi: abitype35.Abi;
|
|
79546
78620
|
functionName: string;
|
|
79547
78621
|
args?: readonly unknown[] | undefined;
|
|
79548
78622
|
address: Address;
|
|
@@ -79566,7 +78640,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79566
78640
|
chainId?: number | undefined;
|
|
79567
78641
|
connector?: wagmi0.Connector | undefined;
|
|
79568
78642
|
} | {
|
|
79569
|
-
abi:
|
|
78643
|
+
abi: abitype35.Abi;
|
|
79570
78644
|
functionName: string;
|
|
79571
78645
|
args?: readonly unknown[] | undefined;
|
|
79572
78646
|
address: Address;
|
|
@@ -79590,7 +78664,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79590
78664
|
chainId?: number | undefined;
|
|
79591
78665
|
connector?: wagmi0.Connector | undefined;
|
|
79592
78666
|
} | {
|
|
79593
|
-
abi:
|
|
78667
|
+
abi: abitype35.Abi;
|
|
79594
78668
|
functionName: string;
|
|
79595
78669
|
args?: readonly unknown[] | undefined;
|
|
79596
78670
|
address: Address;
|
|
@@ -79614,7 +78688,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79614
78688
|
chainId?: number | undefined;
|
|
79615
78689
|
connector?: wagmi0.Connector | undefined;
|
|
79616
78690
|
} | {
|
|
79617
|
-
abi:
|
|
78691
|
+
abi: abitype35.Abi;
|
|
79618
78692
|
functionName: string;
|
|
79619
78693
|
args?: readonly unknown[] | undefined;
|
|
79620
78694
|
address: Address;
|
|
@@ -79638,7 +78712,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79638
78712
|
chainId?: number | undefined;
|
|
79639
78713
|
connector?: wagmi0.Connector | undefined;
|
|
79640
78714
|
} | {
|
|
79641
|
-
abi:
|
|
78715
|
+
abi: abitype35.Abi;
|
|
79642
78716
|
functionName: string;
|
|
79643
78717
|
args?: readonly unknown[] | undefined;
|
|
79644
78718
|
address: Address;
|
|
@@ -79666,9 +78740,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79666
78740
|
reset: () => void;
|
|
79667
78741
|
context: unknown;
|
|
79668
78742
|
submittedAt: number;
|
|
79669
|
-
mutate:
|
|
79670
|
-
mutateAsync:
|
|
79671
|
-
writeContract:
|
|
78743
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78744
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
78745
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79672
78746
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
79673
78747
|
} | {
|
|
79674
78748
|
data: `0x${string}`;
|
|
@@ -79681,7 +78755,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79681
78755
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
79682
78756
|
isPaused: boolean;
|
|
79683
78757
|
variables: {
|
|
79684
|
-
abi:
|
|
78758
|
+
abi: abitype35.Abi;
|
|
79685
78759
|
functionName: string;
|
|
79686
78760
|
args?: readonly unknown[] | undefined;
|
|
79687
78761
|
address: Address;
|
|
@@ -79705,7 +78779,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79705
78779
|
chainId?: number | undefined;
|
|
79706
78780
|
connector?: wagmi0.Connector | undefined;
|
|
79707
78781
|
} | {
|
|
79708
|
-
abi:
|
|
78782
|
+
abi: abitype35.Abi;
|
|
79709
78783
|
functionName: string;
|
|
79710
78784
|
args?: readonly unknown[] | undefined;
|
|
79711
78785
|
address: Address;
|
|
@@ -79729,7 +78803,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79729
78803
|
chainId?: number | undefined;
|
|
79730
78804
|
connector?: wagmi0.Connector | undefined;
|
|
79731
78805
|
} | {
|
|
79732
|
-
abi:
|
|
78806
|
+
abi: abitype35.Abi;
|
|
79733
78807
|
functionName: string;
|
|
79734
78808
|
args?: readonly unknown[] | undefined;
|
|
79735
78809
|
address: Address;
|
|
@@ -79753,7 +78827,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79753
78827
|
chainId?: number | undefined;
|
|
79754
78828
|
connector?: wagmi0.Connector | undefined;
|
|
79755
78829
|
} | {
|
|
79756
|
-
abi:
|
|
78830
|
+
abi: abitype35.Abi;
|
|
79757
78831
|
functionName: string;
|
|
79758
78832
|
args?: readonly unknown[] | undefined;
|
|
79759
78833
|
address: Address;
|
|
@@ -79777,7 +78851,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79777
78851
|
chainId?: number | undefined;
|
|
79778
78852
|
connector?: wagmi0.Connector | undefined;
|
|
79779
78853
|
} | {
|
|
79780
|
-
abi:
|
|
78854
|
+
abi: abitype35.Abi;
|
|
79781
78855
|
functionName: string;
|
|
79782
78856
|
args?: readonly unknown[] | undefined;
|
|
79783
78857
|
address: Address;
|
|
@@ -79801,7 +78875,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79801
78875
|
chainId?: number | undefined;
|
|
79802
78876
|
connector?: wagmi0.Connector | undefined;
|
|
79803
78877
|
} | {
|
|
79804
|
-
abi:
|
|
78878
|
+
abi: abitype35.Abi;
|
|
79805
78879
|
functionName: string;
|
|
79806
78880
|
args?: readonly unknown[] | undefined;
|
|
79807
78881
|
address: Address;
|
|
@@ -79829,9 +78903,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
79829
78903
|
reset: () => void;
|
|
79830
78904
|
context: unknown;
|
|
79831
78905
|
submittedAt: number;
|
|
79832
|
-
mutate:
|
|
79833
|
-
mutateAsync:
|
|
79834
|
-
writeContract:
|
|
78906
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78907
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
78908
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79835
78909
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
79836
78910
|
};
|
|
79837
78911
|
//#endregion
|
|
@@ -79851,9 +78925,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79851
78925
|
reset: () => void;
|
|
79852
78926
|
context: unknown;
|
|
79853
78927
|
submittedAt: number;
|
|
79854
|
-
mutate:
|
|
79855
|
-
mutateAsync:
|
|
79856
|
-
writeContract:
|
|
78928
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
78929
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
78930
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79857
78931
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
79858
78932
|
} | {
|
|
79859
78933
|
data: undefined;
|
|
@@ -79866,7 +78940,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79866
78940
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
79867
78941
|
isPaused: boolean;
|
|
79868
78942
|
variables: {
|
|
79869
|
-
abi:
|
|
78943
|
+
abi: abitype35.Abi;
|
|
79870
78944
|
functionName: string;
|
|
79871
78945
|
args?: readonly unknown[] | undefined;
|
|
79872
78946
|
address: Address;
|
|
@@ -79890,7 +78964,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79890
78964
|
chainId?: number | undefined;
|
|
79891
78965
|
connector?: wagmi0.Connector | undefined;
|
|
79892
78966
|
} | {
|
|
79893
|
-
abi:
|
|
78967
|
+
abi: abitype35.Abi;
|
|
79894
78968
|
functionName: string;
|
|
79895
78969
|
args?: readonly unknown[] | undefined;
|
|
79896
78970
|
address: Address;
|
|
@@ -79914,7 +78988,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79914
78988
|
chainId?: number | undefined;
|
|
79915
78989
|
connector?: wagmi0.Connector | undefined;
|
|
79916
78990
|
} | {
|
|
79917
|
-
abi:
|
|
78991
|
+
abi: abitype35.Abi;
|
|
79918
78992
|
functionName: string;
|
|
79919
78993
|
args?: readonly unknown[] | undefined;
|
|
79920
78994
|
address: Address;
|
|
@@ -79938,7 +79012,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79938
79012
|
chainId?: number | undefined;
|
|
79939
79013
|
connector?: wagmi0.Connector | undefined;
|
|
79940
79014
|
} | {
|
|
79941
|
-
abi:
|
|
79015
|
+
abi: abitype35.Abi;
|
|
79942
79016
|
functionName: string;
|
|
79943
79017
|
args?: readonly unknown[] | undefined;
|
|
79944
79018
|
address: Address;
|
|
@@ -79962,7 +79036,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79962
79036
|
chainId?: number | undefined;
|
|
79963
79037
|
connector?: wagmi0.Connector | undefined;
|
|
79964
79038
|
} | {
|
|
79965
|
-
abi:
|
|
79039
|
+
abi: abitype35.Abi;
|
|
79966
79040
|
functionName: string;
|
|
79967
79041
|
args?: readonly unknown[] | undefined;
|
|
79968
79042
|
address: Address;
|
|
@@ -79986,7 +79060,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
79986
79060
|
chainId?: number | undefined;
|
|
79987
79061
|
connector?: wagmi0.Connector | undefined;
|
|
79988
79062
|
} | {
|
|
79989
|
-
abi:
|
|
79063
|
+
abi: abitype35.Abi;
|
|
79990
79064
|
functionName: string;
|
|
79991
79065
|
args?: readonly unknown[] | undefined;
|
|
79992
79066
|
address: Address;
|
|
@@ -80014,9 +79088,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80014
79088
|
reset: () => void;
|
|
80015
79089
|
context: unknown;
|
|
80016
79090
|
submittedAt: number;
|
|
80017
|
-
mutate:
|
|
80018
|
-
mutateAsync:
|
|
80019
|
-
writeContract:
|
|
79091
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79092
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79093
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80020
79094
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
80021
79095
|
} | {
|
|
80022
79096
|
data: undefined;
|
|
@@ -80029,7 +79103,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80029
79103
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
80030
79104
|
isPaused: boolean;
|
|
80031
79105
|
variables: {
|
|
80032
|
-
abi:
|
|
79106
|
+
abi: abitype35.Abi;
|
|
80033
79107
|
functionName: string;
|
|
80034
79108
|
args?: readonly unknown[] | undefined;
|
|
80035
79109
|
address: Address;
|
|
@@ -80053,7 +79127,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80053
79127
|
chainId?: number | undefined;
|
|
80054
79128
|
connector?: wagmi0.Connector | undefined;
|
|
80055
79129
|
} | {
|
|
80056
|
-
abi:
|
|
79130
|
+
abi: abitype35.Abi;
|
|
80057
79131
|
functionName: string;
|
|
80058
79132
|
args?: readonly unknown[] | undefined;
|
|
80059
79133
|
address: Address;
|
|
@@ -80077,7 +79151,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80077
79151
|
chainId?: number | undefined;
|
|
80078
79152
|
connector?: wagmi0.Connector | undefined;
|
|
80079
79153
|
} | {
|
|
80080
|
-
abi:
|
|
79154
|
+
abi: abitype35.Abi;
|
|
80081
79155
|
functionName: string;
|
|
80082
79156
|
args?: readonly unknown[] | undefined;
|
|
80083
79157
|
address: Address;
|
|
@@ -80101,7 +79175,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80101
79175
|
chainId?: number | undefined;
|
|
80102
79176
|
connector?: wagmi0.Connector | undefined;
|
|
80103
79177
|
} | {
|
|
80104
|
-
abi:
|
|
79178
|
+
abi: abitype35.Abi;
|
|
80105
79179
|
functionName: string;
|
|
80106
79180
|
args?: readonly unknown[] | undefined;
|
|
80107
79181
|
address: Address;
|
|
@@ -80125,7 +79199,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80125
79199
|
chainId?: number | undefined;
|
|
80126
79200
|
connector?: wagmi0.Connector | undefined;
|
|
80127
79201
|
} | {
|
|
80128
|
-
abi:
|
|
79202
|
+
abi: abitype35.Abi;
|
|
80129
79203
|
functionName: string;
|
|
80130
79204
|
args?: readonly unknown[] | undefined;
|
|
80131
79205
|
address: Address;
|
|
@@ -80149,7 +79223,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80149
79223
|
chainId?: number | undefined;
|
|
80150
79224
|
connector?: wagmi0.Connector | undefined;
|
|
80151
79225
|
} | {
|
|
80152
|
-
abi:
|
|
79226
|
+
abi: abitype35.Abi;
|
|
80153
79227
|
functionName: string;
|
|
80154
79228
|
args?: readonly unknown[] | undefined;
|
|
80155
79229
|
address: Address;
|
|
@@ -80177,9 +79251,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80177
79251
|
reset: () => void;
|
|
80178
79252
|
context: unknown;
|
|
80179
79253
|
submittedAt: number;
|
|
80180
|
-
mutate:
|
|
80181
|
-
mutateAsync:
|
|
80182
|
-
writeContract:
|
|
79254
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79255
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79256
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80183
79257
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
80184
79258
|
} | {
|
|
80185
79259
|
data: `0x${string}`;
|
|
@@ -80192,7 +79266,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80192
79266
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
80193
79267
|
isPaused: boolean;
|
|
80194
79268
|
variables: {
|
|
80195
|
-
abi:
|
|
79269
|
+
abi: abitype35.Abi;
|
|
80196
79270
|
functionName: string;
|
|
80197
79271
|
args?: readonly unknown[] | undefined;
|
|
80198
79272
|
address: Address;
|
|
@@ -80216,7 +79290,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80216
79290
|
chainId?: number | undefined;
|
|
80217
79291
|
connector?: wagmi0.Connector | undefined;
|
|
80218
79292
|
} | {
|
|
80219
|
-
abi:
|
|
79293
|
+
abi: abitype35.Abi;
|
|
80220
79294
|
functionName: string;
|
|
80221
79295
|
args?: readonly unknown[] | undefined;
|
|
80222
79296
|
address: Address;
|
|
@@ -80240,7 +79314,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80240
79314
|
chainId?: number | undefined;
|
|
80241
79315
|
connector?: wagmi0.Connector | undefined;
|
|
80242
79316
|
} | {
|
|
80243
|
-
abi:
|
|
79317
|
+
abi: abitype35.Abi;
|
|
80244
79318
|
functionName: string;
|
|
80245
79319
|
args?: readonly unknown[] | undefined;
|
|
80246
79320
|
address: Address;
|
|
@@ -80264,7 +79338,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80264
79338
|
chainId?: number | undefined;
|
|
80265
79339
|
connector?: wagmi0.Connector | undefined;
|
|
80266
79340
|
} | {
|
|
80267
|
-
abi:
|
|
79341
|
+
abi: abitype35.Abi;
|
|
80268
79342
|
functionName: string;
|
|
80269
79343
|
args?: readonly unknown[] | undefined;
|
|
80270
79344
|
address: Address;
|
|
@@ -80288,7 +79362,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80288
79362
|
chainId?: number | undefined;
|
|
80289
79363
|
connector?: wagmi0.Connector | undefined;
|
|
80290
79364
|
} | {
|
|
80291
|
-
abi:
|
|
79365
|
+
abi: abitype35.Abi;
|
|
80292
79366
|
functionName: string;
|
|
80293
79367
|
args?: readonly unknown[] | undefined;
|
|
80294
79368
|
address: Address;
|
|
@@ -80312,7 +79386,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80312
79386
|
chainId?: number | undefined;
|
|
80313
79387
|
connector?: wagmi0.Connector | undefined;
|
|
80314
79388
|
} | {
|
|
80315
|
-
abi:
|
|
79389
|
+
abi: abitype35.Abi;
|
|
80316
79390
|
functionName: string;
|
|
80317
79391
|
args?: readonly unknown[] | undefined;
|
|
80318
79392
|
address: Address;
|
|
@@ -80340,9 +79414,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
80340
79414
|
reset: () => void;
|
|
80341
79415
|
context: unknown;
|
|
80342
79416
|
submittedAt: number;
|
|
80343
|
-
mutate:
|
|
80344
|
-
mutateAsync:
|
|
80345
|
-
writeContract:
|
|
79417
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79418
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79419
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80346
79420
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
80347
79421
|
};
|
|
80348
79422
|
//#endregion
|
|
@@ -80371,9 +79445,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80371
79445
|
reset: () => void;
|
|
80372
79446
|
context: unknown;
|
|
80373
79447
|
submittedAt: number;
|
|
80374
|
-
mutate:
|
|
80375
|
-
mutateAsync:
|
|
80376
|
-
writeContract:
|
|
79448
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79449
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79450
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80377
79451
|
updateMarketFees: (rates: {
|
|
80378
79452
|
openingFeeRate?: number;
|
|
80379
79453
|
baseFeeRate?: number;
|
|
@@ -80396,7 +79470,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80396
79470
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
80397
79471
|
isPaused: boolean;
|
|
80398
79472
|
variables: {
|
|
80399
|
-
abi:
|
|
79473
|
+
abi: abitype35.Abi;
|
|
80400
79474
|
functionName: string;
|
|
80401
79475
|
args?: readonly unknown[] | undefined;
|
|
80402
79476
|
address: Address;
|
|
@@ -80420,7 +79494,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80420
79494
|
chainId?: number | undefined;
|
|
80421
79495
|
connector?: wagmi0.Connector | undefined;
|
|
80422
79496
|
} | {
|
|
80423
|
-
abi:
|
|
79497
|
+
abi: abitype35.Abi;
|
|
80424
79498
|
functionName: string;
|
|
80425
79499
|
args?: readonly unknown[] | undefined;
|
|
80426
79500
|
address: Address;
|
|
@@ -80444,7 +79518,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80444
79518
|
chainId?: number | undefined;
|
|
80445
79519
|
connector?: wagmi0.Connector | undefined;
|
|
80446
79520
|
} | {
|
|
80447
|
-
abi:
|
|
79521
|
+
abi: abitype35.Abi;
|
|
80448
79522
|
functionName: string;
|
|
80449
79523
|
args?: readonly unknown[] | undefined;
|
|
80450
79524
|
address: Address;
|
|
@@ -80468,7 +79542,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80468
79542
|
chainId?: number | undefined;
|
|
80469
79543
|
connector?: wagmi0.Connector | undefined;
|
|
80470
79544
|
} | {
|
|
80471
|
-
abi:
|
|
79545
|
+
abi: abitype35.Abi;
|
|
80472
79546
|
functionName: string;
|
|
80473
79547
|
args?: readonly unknown[] | undefined;
|
|
80474
79548
|
address: Address;
|
|
@@ -80492,7 +79566,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80492
79566
|
chainId?: number | undefined;
|
|
80493
79567
|
connector?: wagmi0.Connector | undefined;
|
|
80494
79568
|
} | {
|
|
80495
|
-
abi:
|
|
79569
|
+
abi: abitype35.Abi;
|
|
80496
79570
|
functionName: string;
|
|
80497
79571
|
args?: readonly unknown[] | undefined;
|
|
80498
79572
|
address: Address;
|
|
@@ -80516,7 +79590,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80516
79590
|
chainId?: number | undefined;
|
|
80517
79591
|
connector?: wagmi0.Connector | undefined;
|
|
80518
79592
|
} | {
|
|
80519
|
-
abi:
|
|
79593
|
+
abi: abitype35.Abi;
|
|
80520
79594
|
functionName: string;
|
|
80521
79595
|
args?: readonly unknown[] | undefined;
|
|
80522
79596
|
address: Address;
|
|
@@ -80544,9 +79618,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80544
79618
|
reset: () => void;
|
|
80545
79619
|
context: unknown;
|
|
80546
79620
|
submittedAt: number;
|
|
80547
|
-
mutate:
|
|
80548
|
-
mutateAsync:
|
|
80549
|
-
writeContract:
|
|
79621
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79622
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79623
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80550
79624
|
updateMarketFees: (rates: {
|
|
80551
79625
|
openingFeeRate?: number;
|
|
80552
79626
|
baseFeeRate?: number;
|
|
@@ -80569,7 +79643,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80569
79643
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
80570
79644
|
isPaused: boolean;
|
|
80571
79645
|
variables: {
|
|
80572
|
-
abi:
|
|
79646
|
+
abi: abitype35.Abi;
|
|
80573
79647
|
functionName: string;
|
|
80574
79648
|
args?: readonly unknown[] | undefined;
|
|
80575
79649
|
address: Address;
|
|
@@ -80593,7 +79667,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80593
79667
|
chainId?: number | undefined;
|
|
80594
79668
|
connector?: wagmi0.Connector | undefined;
|
|
80595
79669
|
} | {
|
|
80596
|
-
abi:
|
|
79670
|
+
abi: abitype35.Abi;
|
|
80597
79671
|
functionName: string;
|
|
80598
79672
|
args?: readonly unknown[] | undefined;
|
|
80599
79673
|
address: Address;
|
|
@@ -80617,7 +79691,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80617
79691
|
chainId?: number | undefined;
|
|
80618
79692
|
connector?: wagmi0.Connector | undefined;
|
|
80619
79693
|
} | {
|
|
80620
|
-
abi:
|
|
79694
|
+
abi: abitype35.Abi;
|
|
80621
79695
|
functionName: string;
|
|
80622
79696
|
args?: readonly unknown[] | undefined;
|
|
80623
79697
|
address: Address;
|
|
@@ -80641,7 +79715,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80641
79715
|
chainId?: number | undefined;
|
|
80642
79716
|
connector?: wagmi0.Connector | undefined;
|
|
80643
79717
|
} | {
|
|
80644
|
-
abi:
|
|
79718
|
+
abi: abitype35.Abi;
|
|
80645
79719
|
functionName: string;
|
|
80646
79720
|
args?: readonly unknown[] | undefined;
|
|
80647
79721
|
address: Address;
|
|
@@ -80665,7 +79739,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80665
79739
|
chainId?: number | undefined;
|
|
80666
79740
|
connector?: wagmi0.Connector | undefined;
|
|
80667
79741
|
} | {
|
|
80668
|
-
abi:
|
|
79742
|
+
abi: abitype35.Abi;
|
|
80669
79743
|
functionName: string;
|
|
80670
79744
|
args?: readonly unknown[] | undefined;
|
|
80671
79745
|
address: Address;
|
|
@@ -80689,7 +79763,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80689
79763
|
chainId?: number | undefined;
|
|
80690
79764
|
connector?: wagmi0.Connector | undefined;
|
|
80691
79765
|
} | {
|
|
80692
|
-
abi:
|
|
79766
|
+
abi: abitype35.Abi;
|
|
80693
79767
|
functionName: string;
|
|
80694
79768
|
args?: readonly unknown[] | undefined;
|
|
80695
79769
|
address: Address;
|
|
@@ -80717,9 +79791,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80717
79791
|
reset: () => void;
|
|
80718
79792
|
context: unknown;
|
|
80719
79793
|
submittedAt: number;
|
|
80720
|
-
mutate:
|
|
80721
|
-
mutateAsync:
|
|
80722
|
-
writeContract:
|
|
79794
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79795
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79796
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80723
79797
|
updateMarketFees: (rates: {
|
|
80724
79798
|
openingFeeRate?: number;
|
|
80725
79799
|
baseFeeRate?: number;
|
|
@@ -80742,7 +79816,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80742
79816
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
80743
79817
|
isPaused: boolean;
|
|
80744
79818
|
variables: {
|
|
80745
|
-
abi:
|
|
79819
|
+
abi: abitype35.Abi;
|
|
80746
79820
|
functionName: string;
|
|
80747
79821
|
args?: readonly unknown[] | undefined;
|
|
80748
79822
|
address: Address;
|
|
@@ -80766,7 +79840,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80766
79840
|
chainId?: number | undefined;
|
|
80767
79841
|
connector?: wagmi0.Connector | undefined;
|
|
80768
79842
|
} | {
|
|
80769
|
-
abi:
|
|
79843
|
+
abi: abitype35.Abi;
|
|
80770
79844
|
functionName: string;
|
|
80771
79845
|
args?: readonly unknown[] | undefined;
|
|
80772
79846
|
address: Address;
|
|
@@ -80790,7 +79864,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80790
79864
|
chainId?: number | undefined;
|
|
80791
79865
|
connector?: wagmi0.Connector | undefined;
|
|
80792
79866
|
} | {
|
|
80793
|
-
abi:
|
|
79867
|
+
abi: abitype35.Abi;
|
|
80794
79868
|
functionName: string;
|
|
80795
79869
|
args?: readonly unknown[] | undefined;
|
|
80796
79870
|
address: Address;
|
|
@@ -80814,7 +79888,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80814
79888
|
chainId?: number | undefined;
|
|
80815
79889
|
connector?: wagmi0.Connector | undefined;
|
|
80816
79890
|
} | {
|
|
80817
|
-
abi:
|
|
79891
|
+
abi: abitype35.Abi;
|
|
80818
79892
|
functionName: string;
|
|
80819
79893
|
args?: readonly unknown[] | undefined;
|
|
80820
79894
|
address: Address;
|
|
@@ -80838,7 +79912,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80838
79912
|
chainId?: number | undefined;
|
|
80839
79913
|
connector?: wagmi0.Connector | undefined;
|
|
80840
79914
|
} | {
|
|
80841
|
-
abi:
|
|
79915
|
+
abi: abitype35.Abi;
|
|
80842
79916
|
functionName: string;
|
|
80843
79917
|
args?: readonly unknown[] | undefined;
|
|
80844
79918
|
address: Address;
|
|
@@ -80862,7 +79936,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80862
79936
|
chainId?: number | undefined;
|
|
80863
79937
|
connector?: wagmi0.Connector | undefined;
|
|
80864
79938
|
} | {
|
|
80865
|
-
abi:
|
|
79939
|
+
abi: abitype35.Abi;
|
|
80866
79940
|
functionName: string;
|
|
80867
79941
|
args?: readonly unknown[] | undefined;
|
|
80868
79942
|
address: Address;
|
|
@@ -80890,9 +79964,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
80890
79964
|
reset: () => void;
|
|
80891
79965
|
context: unknown;
|
|
80892
79966
|
submittedAt: number;
|
|
80893
|
-
mutate:
|
|
80894
|
-
mutateAsync:
|
|
80895
|
-
writeContract:
|
|
79967
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
79968
|
+
mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
79969
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80896
79970
|
updateMarketFees: (rates: {
|
|
80897
79971
|
openingFeeRate?: number;
|
|
80898
79972
|
baseFeeRate?: number;
|
|
@@ -81908,9 +80982,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81908
80982
|
reset: () => void;
|
|
81909
80983
|
context: unknown;
|
|
81910
80984
|
submittedAt: number;
|
|
81911
|
-
mutate:
|
|
81912
|
-
writeContract:
|
|
81913
|
-
writeContractAsync:
|
|
80985
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80986
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
80987
|
+
writeContractAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
81914
80988
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
81915
80989
|
model: "static";
|
|
81916
80990
|
} : Partial<OptionPricingParams> & {
|
|
@@ -81931,7 +81005,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81931
81005
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
81932
81006
|
isPaused: boolean;
|
|
81933
81007
|
variables: {
|
|
81934
|
-
abi:
|
|
81008
|
+
abi: abitype35.Abi;
|
|
81935
81009
|
functionName: string;
|
|
81936
81010
|
args?: readonly unknown[] | undefined;
|
|
81937
81011
|
address: Address;
|
|
@@ -81955,7 +81029,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81955
81029
|
chainId?: number | undefined;
|
|
81956
81030
|
connector?: wagmi0.Connector | undefined;
|
|
81957
81031
|
} | {
|
|
81958
|
-
abi:
|
|
81032
|
+
abi: abitype35.Abi;
|
|
81959
81033
|
functionName: string;
|
|
81960
81034
|
args?: readonly unknown[] | undefined;
|
|
81961
81035
|
address: Address;
|
|
@@ -81979,7 +81053,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
81979
81053
|
chainId?: number | undefined;
|
|
81980
81054
|
connector?: wagmi0.Connector | undefined;
|
|
81981
81055
|
} | {
|
|
81982
|
-
abi:
|
|
81056
|
+
abi: abitype35.Abi;
|
|
81983
81057
|
functionName: string;
|
|
81984
81058
|
args?: readonly unknown[] | undefined;
|
|
81985
81059
|
address: Address;
|
|
@@ -82003,7 +81077,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82003
81077
|
chainId?: number | undefined;
|
|
82004
81078
|
connector?: wagmi0.Connector | undefined;
|
|
82005
81079
|
} | {
|
|
82006
|
-
abi:
|
|
81080
|
+
abi: abitype35.Abi;
|
|
82007
81081
|
functionName: string;
|
|
82008
81082
|
args?: readonly unknown[] | undefined;
|
|
82009
81083
|
address: Address;
|
|
@@ -82027,7 +81101,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82027
81101
|
chainId?: number | undefined;
|
|
82028
81102
|
connector?: wagmi0.Connector | undefined;
|
|
82029
81103
|
} | {
|
|
82030
|
-
abi:
|
|
81104
|
+
abi: abitype35.Abi;
|
|
82031
81105
|
functionName: string;
|
|
82032
81106
|
args?: readonly unknown[] | undefined;
|
|
82033
81107
|
address: Address;
|
|
@@ -82051,7 +81125,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82051
81125
|
chainId?: number | undefined;
|
|
82052
81126
|
connector?: wagmi0.Connector | undefined;
|
|
82053
81127
|
} | {
|
|
82054
|
-
abi:
|
|
81128
|
+
abi: abitype35.Abi;
|
|
82055
81129
|
functionName: string;
|
|
82056
81130
|
args?: readonly unknown[] | undefined;
|
|
82057
81131
|
address: Address;
|
|
@@ -82079,9 +81153,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82079
81153
|
reset: () => void;
|
|
82080
81154
|
context: unknown;
|
|
82081
81155
|
submittedAt: number;
|
|
82082
|
-
mutate:
|
|
82083
|
-
writeContract:
|
|
82084
|
-
writeContractAsync:
|
|
81156
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
81157
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
81158
|
+
writeContractAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
82085
81159
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
82086
81160
|
model: "static";
|
|
82087
81161
|
} : Partial<OptionPricingParams> & {
|
|
@@ -82102,7 +81176,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82102
81176
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
82103
81177
|
isPaused: boolean;
|
|
82104
81178
|
variables: {
|
|
82105
|
-
abi:
|
|
81179
|
+
abi: abitype35.Abi;
|
|
82106
81180
|
functionName: string;
|
|
82107
81181
|
args?: readonly unknown[] | undefined;
|
|
82108
81182
|
address: Address;
|
|
@@ -82126,7 +81200,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82126
81200
|
chainId?: number | undefined;
|
|
82127
81201
|
connector?: wagmi0.Connector | undefined;
|
|
82128
81202
|
} | {
|
|
82129
|
-
abi:
|
|
81203
|
+
abi: abitype35.Abi;
|
|
82130
81204
|
functionName: string;
|
|
82131
81205
|
args?: readonly unknown[] | undefined;
|
|
82132
81206
|
address: Address;
|
|
@@ -82150,7 +81224,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82150
81224
|
chainId?: number | undefined;
|
|
82151
81225
|
connector?: wagmi0.Connector | undefined;
|
|
82152
81226
|
} | {
|
|
82153
|
-
abi:
|
|
81227
|
+
abi: abitype35.Abi;
|
|
82154
81228
|
functionName: string;
|
|
82155
81229
|
args?: readonly unknown[] | undefined;
|
|
82156
81230
|
address: Address;
|
|
@@ -82174,7 +81248,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82174
81248
|
chainId?: number | undefined;
|
|
82175
81249
|
connector?: wagmi0.Connector | undefined;
|
|
82176
81250
|
} | {
|
|
82177
|
-
abi:
|
|
81251
|
+
abi: abitype35.Abi;
|
|
82178
81252
|
functionName: string;
|
|
82179
81253
|
args?: readonly unknown[] | undefined;
|
|
82180
81254
|
address: Address;
|
|
@@ -82198,7 +81272,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82198
81272
|
chainId?: number | undefined;
|
|
82199
81273
|
connector?: wagmi0.Connector | undefined;
|
|
82200
81274
|
} | {
|
|
82201
|
-
abi:
|
|
81275
|
+
abi: abitype35.Abi;
|
|
82202
81276
|
functionName: string;
|
|
82203
81277
|
args?: readonly unknown[] | undefined;
|
|
82204
81278
|
address: Address;
|
|
@@ -82222,7 +81296,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82222
81296
|
chainId?: number | undefined;
|
|
82223
81297
|
connector?: wagmi0.Connector | undefined;
|
|
82224
81298
|
} | {
|
|
82225
|
-
abi:
|
|
81299
|
+
abi: abitype35.Abi;
|
|
82226
81300
|
functionName: string;
|
|
82227
81301
|
args?: readonly unknown[] | undefined;
|
|
82228
81302
|
address: Address;
|
|
@@ -82250,9 +81324,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82250
81324
|
reset: () => void;
|
|
82251
81325
|
context: unknown;
|
|
82252
81326
|
submittedAt: number;
|
|
82253
|
-
mutate:
|
|
82254
|
-
writeContract:
|
|
82255
|
-
writeContractAsync:
|
|
81327
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
81328
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
81329
|
+
writeContractAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
82256
81330
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
82257
81331
|
model: "static";
|
|
82258
81332
|
} : Partial<OptionPricingParams> & {
|
|
@@ -82273,7 +81347,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82273
81347
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
82274
81348
|
isPaused: boolean;
|
|
82275
81349
|
variables: {
|
|
82276
|
-
abi:
|
|
81350
|
+
abi: abitype35.Abi;
|
|
82277
81351
|
functionName: string;
|
|
82278
81352
|
args?: readonly unknown[] | undefined;
|
|
82279
81353
|
address: Address;
|
|
@@ -82297,7 +81371,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82297
81371
|
chainId?: number | undefined;
|
|
82298
81372
|
connector?: wagmi0.Connector | undefined;
|
|
82299
81373
|
} | {
|
|
82300
|
-
abi:
|
|
81374
|
+
abi: abitype35.Abi;
|
|
82301
81375
|
functionName: string;
|
|
82302
81376
|
args?: readonly unknown[] | undefined;
|
|
82303
81377
|
address: Address;
|
|
@@ -82321,7 +81395,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82321
81395
|
chainId?: number | undefined;
|
|
82322
81396
|
connector?: wagmi0.Connector | undefined;
|
|
82323
81397
|
} | {
|
|
82324
|
-
abi:
|
|
81398
|
+
abi: abitype35.Abi;
|
|
82325
81399
|
functionName: string;
|
|
82326
81400
|
args?: readonly unknown[] | undefined;
|
|
82327
81401
|
address: Address;
|
|
@@ -82345,7 +81419,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82345
81419
|
chainId?: number | undefined;
|
|
82346
81420
|
connector?: wagmi0.Connector | undefined;
|
|
82347
81421
|
} | {
|
|
82348
|
-
abi:
|
|
81422
|
+
abi: abitype35.Abi;
|
|
82349
81423
|
functionName: string;
|
|
82350
81424
|
args?: readonly unknown[] | undefined;
|
|
82351
81425
|
address: Address;
|
|
@@ -82369,7 +81443,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82369
81443
|
chainId?: number | undefined;
|
|
82370
81444
|
connector?: wagmi0.Connector | undefined;
|
|
82371
81445
|
} | {
|
|
82372
|
-
abi:
|
|
81446
|
+
abi: abitype35.Abi;
|
|
82373
81447
|
functionName: string;
|
|
82374
81448
|
args?: readonly unknown[] | undefined;
|
|
82375
81449
|
address: Address;
|
|
@@ -82393,7 +81467,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82393
81467
|
chainId?: number | undefined;
|
|
82394
81468
|
connector?: wagmi0.Connector | undefined;
|
|
82395
81469
|
} | {
|
|
82396
|
-
abi:
|
|
81470
|
+
abi: abitype35.Abi;
|
|
82397
81471
|
functionName: string;
|
|
82398
81472
|
args?: readonly unknown[] | undefined;
|
|
82399
81473
|
address: Address;
|
|
@@ -82421,9 +81495,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
82421
81495
|
reset: () => void;
|
|
82422
81496
|
context: unknown;
|
|
82423
81497
|
submittedAt: number;
|
|
82424
|
-
mutate:
|
|
82425
|
-
writeContract:
|
|
82426
|
-
writeContractAsync:
|
|
81498
|
+
mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
81499
|
+
writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
|
|
81500
|
+
writeContractAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
82427
81501
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
82428
81502
|
model: "static";
|
|
82429
81503
|
} : Partial<OptionPricingParams> & {
|
|
@@ -82442,5 +81516,5 @@ declare const useLens: () => {
|
|
|
82442
81516
|
quoter: Awaited<ReturnType<typeof getQuoter>> | undefined;
|
|
82443
81517
|
};
|
|
82444
81518
|
//#endregion
|
|
82445
|
-
export { roundTick as $,
|
|
82446
|
-
//# sourceMappingURL=client-
|
|
81519
|
+
export { roundTick as $, quoters as $t, getCurrentPrice as A, formatUSD as At, usePoolData as B, useMarketData as Bt, useLiquidityBlocks as C, useActiveUserOptions as Ct, PriceData as D, Amount as Dt, usePriceHistory as E, useMaxPositionSize as Et, useCurrentTicks as F, wrapPriceUnscaled as Ft, getNearestValidStrikeTick as G, TimelockLens as Gt, PRICE_PRECISION as H, TimelockProvider as Ht, useCurrentPrice as I, zero as It, getSqrtPriceX96AtPrice as J, getErc20 as Jt, getPriceAtSqrtPriceX96 as K, TimelockMarket as Kt, useCurrentPrices as L, useMarketVolume as Lt, usePriceAtSqrtPriceX96 as M, wrapAmount as Mt, usePriceAtTick as N, wrapAmountUnscaled as Nt, PriceDataPoint as O, formatAmount as Ot, useCurrentTick as P, wrapPrice as Pt, liquiditiesToAmounts as Q, getTimelockMarket as Qt, PoolInput as R, useMarketState as Rt, LiquidityBlockData as S, OptionData as St, useMarketPriceHistory as T, useMintOption as Tt, PoolKey as U, useCurrentMarket as Ut, usePoolsData as V, useMarketsData as Vt, getAmountsFromLiquidity as W, useTimelockConfig as Wt, liquiditiesToAmount0 as X, getStateView as Xt, getTickAtPrice as Y, getQuoter as Yt, liquiditiesToAmount1 as Z, getTimelockLens as Zt, useTokenData as _, useOptionTimeline as _t, OptionPricingParams as a, useUserOperators as at, batchGetAmountsFromLiquidity as b, useOptionPnl as bt, usePricingParams as c, useClosedUserPerps as ct, usePauseMarketTrading as d, useClosePerp as dt, stateViews as en, token0ToToken1 as et, usePauseGlobalTrading as f, useMintPerp as ft, TokenData as g, OptionEvent as gt, useTokenBalance as h, MintOptionEvent as ht, useOptionPricingParams as i, timelockLenses as in, useSetOperatorPerms as it, getPriceHistory as j, formatVagueAmount as jt, PriceResolution as k, formatCondensed as kt, useUpdateMarketFees as l, useUserPerps as lt, useApproval as m, ExtendEvent as mt, useUpdateMarketPricing as n, swappers as nn, token1ToToken0 as nt, PricingParams as o, useOperatorPerms as ot, useGuardianGlobalState as p, ExerciseOptionEvent as pt, getPriceAtTick as q, TimelockMarketData as qt, useStaticPricingParams as r, timelockFactories as rn, token1ToToken0AtTick as rt, StaticPricingParams as s, useActiveUserPerps as st, useLens as t, swapRouters as tn, token0ToToken1AtTick as tt, useFeeRates as u, usePerpsOperator as ut, useVaultTVL as v, useExtendOption as vt, useBurnLiquidity as w, useClosedUserOptions as wt, useMintLiquidity as x, useExerciseOption as xt, useVaultData as y, useOptionPremium as yt, UniswapPoolData as z, MarketData as zt };
|
|
81520
|
+
//# sourceMappingURL=client-DKnl8HPJ.d.cts.map
|