timelock-sdk 0.0.180 → 0.0.181
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/abis.cjs +16 -159
- package/dist/abis.cjs.map +1 -1
- package/dist/abis.d.cts +3 -134
- package/dist/abis.d.ts +3 -134
- package/dist/abis.js +5 -159
- package/dist/abis.js.map +1 -1
- package/dist/{client-B6hDR8n7.d.ts → client-B5bV235L.d.ts} +127 -127
- package/dist/{client-FUJWpXde.d.cts → client-DZo2o8pt.d.cts} +170 -170
- package/dist/client.cjs +1 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -2
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,15 +4,15 @@ import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem"
|
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query4 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
9
|
import * as wagmi0 from "wagmi";
|
|
10
10
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
11
11
|
import Big from "big.js";
|
|
12
12
|
import JSBI from "jsbi";
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
13
|
+
import * as _wagmi_core9 from "@wagmi/core";
|
|
14
|
+
import * as wagmi_query7 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 {
|
|
@@ -1502,7 +1502,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1502
1502
|
}];
|
|
1503
1503
|
readonly stateMutability: "nonpayable";
|
|
1504
1504
|
}], "approve", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
1505
|
-
|
|
1505
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
1506
1506
|
readonly type: "constructor";
|
|
1507
1507
|
readonly inputs: readonly [{
|
|
1508
1508
|
readonly name: "name_";
|
|
@@ -1680,8 +1680,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1680
1680
|
readonly internalType: "bool";
|
|
1681
1681
|
}];
|
|
1682
1682
|
readonly stateMutability: "nonpayable";
|
|
1683
|
-
}], "
|
|
1684
|
-
|
|
1683
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
1684
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
1685
1685
|
readonly type: "constructor";
|
|
1686
1686
|
readonly inputs: readonly [{
|
|
1687
1687
|
readonly name: "name_";
|
|
@@ -1859,8 +1859,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1859
1859
|
readonly internalType: "bool";
|
|
1860
1860
|
}];
|
|
1861
1861
|
readonly stateMutability: "nonpayable";
|
|
1862
|
-
}], "
|
|
1863
|
-
|
|
1862
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
1863
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
1864
1864
|
readonly type: "constructor";
|
|
1865
1865
|
readonly inputs: readonly [{
|
|
1866
1866
|
readonly name: "name_";
|
|
@@ -2038,8 +2038,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2038
2038
|
readonly internalType: "bool";
|
|
2039
2039
|
}];
|
|
2040
2040
|
readonly stateMutability: "nonpayable";
|
|
2041
|
-
}], "
|
|
2042
|
-
|
|
2041
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2042
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2043
2043
|
readonly type: "constructor";
|
|
2044
2044
|
readonly inputs: readonly [{
|
|
2045
2045
|
readonly name: "name_";
|
|
@@ -2217,7 +2217,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2217
2217
|
readonly internalType: "bool";
|
|
2218
2218
|
}];
|
|
2219
2219
|
readonly stateMutability: "nonpayable";
|
|
2220
|
-
}], "
|
|
2220
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2221
2221
|
} & {
|
|
2222
2222
|
approve: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2223
2223
|
readonly type: "constructor";
|
|
@@ -2398,7 +2398,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2398
2398
|
}];
|
|
2399
2399
|
readonly stateMutability: "nonpayable";
|
|
2400
2400
|
}], "approve", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2401
|
-
|
|
2401
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2402
2402
|
readonly type: "constructor";
|
|
2403
2403
|
readonly inputs: readonly [{
|
|
2404
2404
|
readonly name: "name_";
|
|
@@ -2576,8 +2576,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2576
2576
|
readonly internalType: "bool";
|
|
2577
2577
|
}];
|
|
2578
2578
|
readonly stateMutability: "nonpayable";
|
|
2579
|
-
}], "
|
|
2580
|
-
|
|
2579
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2580
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2581
2581
|
readonly type: "constructor";
|
|
2582
2582
|
readonly inputs: readonly [{
|
|
2583
2583
|
readonly name: "name_";
|
|
@@ -2755,8 +2755,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2755
2755
|
readonly internalType: "bool";
|
|
2756
2756
|
}];
|
|
2757
2757
|
readonly stateMutability: "nonpayable";
|
|
2758
|
-
}], "
|
|
2759
|
-
|
|
2758
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2759
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2760
2760
|
readonly type: "constructor";
|
|
2761
2761
|
readonly inputs: readonly [{
|
|
2762
2762
|
readonly name: "name_";
|
|
@@ -2934,8 +2934,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2934
2934
|
readonly internalType: "bool";
|
|
2935
2935
|
}];
|
|
2936
2936
|
readonly stateMutability: "nonpayable";
|
|
2937
|
-
}], "
|
|
2938
|
-
|
|
2937
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2938
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2939
2939
|
readonly type: "constructor";
|
|
2940
2940
|
readonly inputs: readonly [{
|
|
2941
2941
|
readonly name: "name_";
|
|
@@ -3113,7 +3113,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3113
3113
|
readonly internalType: "bool";
|
|
3114
3114
|
}];
|
|
3115
3115
|
readonly stateMutability: "nonpayable";
|
|
3116
|
-
}], "
|
|
3116
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
3117
3117
|
};
|
|
3118
3118
|
simulate: {
|
|
3119
3119
|
approve: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
@@ -3473,7 +3473,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3473
3473
|
}];
|
|
3474
3474
|
readonly stateMutability: "nonpayable";
|
|
3475
3475
|
}], "approve", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
3476
|
-
|
|
3476
|
+
transfer: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
3477
3477
|
readonly type: "constructor";
|
|
3478
3478
|
readonly inputs: readonly [{
|
|
3479
3479
|
readonly name: "name_";
|
|
@@ -3651,7 +3651,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3651
3651
|
readonly internalType: "bool";
|
|
3652
3652
|
}];
|
|
3653
3653
|
readonly stateMutability: "nonpayable";
|
|
3654
|
-
}], "
|
|
3654
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
3655
3655
|
readonly type: "constructor";
|
|
3656
3656
|
readonly inputs: readonly [{
|
|
3657
3657
|
readonly name: "name_";
|
|
@@ -3829,8 +3829,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3829
3829
|
readonly internalType: "bool";
|
|
3830
3830
|
}];
|
|
3831
3831
|
readonly stateMutability: "nonpayable";
|
|
3832
|
-
}], "
|
|
3833
|
-
|
|
3832
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
3833
|
+
transferFrom: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
3834
3834
|
readonly type: "constructor";
|
|
3835
3835
|
readonly inputs: readonly [{
|
|
3836
3836
|
readonly name: "name_";
|
|
@@ -4008,7 +4008,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4008
4008
|
readonly internalType: "bool";
|
|
4009
4009
|
}];
|
|
4010
4010
|
readonly stateMutability: "nonpayable";
|
|
4011
|
-
}], "
|
|
4011
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
4012
4012
|
readonly type: "constructor";
|
|
4013
4013
|
readonly inputs: readonly [{
|
|
4014
4014
|
readonly name: "name_";
|
|
@@ -4186,8 +4186,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4186
4186
|
readonly internalType: "bool";
|
|
4187
4187
|
}];
|
|
4188
4188
|
readonly stateMutability: "nonpayable";
|
|
4189
|
-
}], "
|
|
4190
|
-
|
|
4189
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
4190
|
+
decreaseAllowance: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
4191
4191
|
readonly type: "constructor";
|
|
4192
4192
|
readonly inputs: readonly [{
|
|
4193
4193
|
readonly name: "name_";
|
|
@@ -4365,7 +4365,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4365
4365
|
readonly internalType: "bool";
|
|
4366
4366
|
}];
|
|
4367
4367
|
readonly stateMutability: "nonpayable";
|
|
4368
|
-
}], "
|
|
4368
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
4369
4369
|
readonly type: "constructor";
|
|
4370
4370
|
readonly inputs: readonly [{
|
|
4371
4371
|
readonly name: "name_";
|
|
@@ -4543,8 +4543,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4543
4543
|
readonly internalType: "bool";
|
|
4544
4544
|
}];
|
|
4545
4545
|
readonly stateMutability: "nonpayable";
|
|
4546
|
-
}], "
|
|
4547
|
-
|
|
4546
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
4547
|
+
increaseAllowance: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
4548
4548
|
readonly type: "constructor";
|
|
4549
4549
|
readonly inputs: readonly [{
|
|
4550
4550
|
readonly name: "name_";
|
|
@@ -4722,7 +4722,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4722
4722
|
readonly internalType: "bool";
|
|
4723
4723
|
}];
|
|
4724
4724
|
readonly stateMutability: "nonpayable";
|
|
4725
|
-
}], "
|
|
4725
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
4726
4726
|
readonly type: "constructor";
|
|
4727
4727
|
readonly inputs: readonly [{
|
|
4728
4728
|
readonly name: "name_";
|
|
@@ -4900,7 +4900,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4900
4900
|
readonly internalType: "bool";
|
|
4901
4901
|
}];
|
|
4902
4902
|
readonly stateMutability: "nonpayable";
|
|
4903
|
-
}], "
|
|
4903
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
4904
4904
|
};
|
|
4905
4905
|
write: {
|
|
4906
4906
|
approve: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
@@ -5082,7 +5082,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5082
5082
|
}];
|
|
5083
5083
|
readonly stateMutability: "nonpayable";
|
|
5084
5084
|
}], "approve", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem491.WriteContractReturnType>;
|
|
5085
|
-
|
|
5085
|
+
transfer: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
5086
5086
|
readonly type: "constructor";
|
|
5087
5087
|
readonly inputs: readonly [{
|
|
5088
5088
|
readonly name: "name_";
|
|
@@ -5260,8 +5260,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5260
5260
|
readonly internalType: "bool";
|
|
5261
5261
|
}];
|
|
5262
5262
|
readonly stateMutability: "nonpayable";
|
|
5263
|
-
}], "
|
|
5264
|
-
|
|
5263
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem491.WriteContractReturnType>;
|
|
5264
|
+
transferFrom: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
5265
5265
|
readonly type: "constructor";
|
|
5266
5266
|
readonly inputs: readonly [{
|
|
5267
5267
|
readonly name: "name_";
|
|
@@ -5439,8 +5439,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5439
5439
|
readonly internalType: "bool";
|
|
5440
5440
|
}];
|
|
5441
5441
|
readonly stateMutability: "nonpayable";
|
|
5442
|
-
}], "
|
|
5443
|
-
|
|
5442
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem491.WriteContractReturnType>;
|
|
5443
|
+
decreaseAllowance: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
5444
5444
|
readonly type: "constructor";
|
|
5445
5445
|
readonly inputs: readonly [{
|
|
5446
5446
|
readonly name: "name_";
|
|
@@ -5618,8 +5618,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5618
5618
|
readonly internalType: "bool";
|
|
5619
5619
|
}];
|
|
5620
5620
|
readonly stateMutability: "nonpayable";
|
|
5621
|
-
}], "
|
|
5622
|
-
|
|
5621
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem491.WriteContractReturnType>;
|
|
5622
|
+
increaseAllowance: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
5623
5623
|
readonly type: "constructor";
|
|
5624
5624
|
readonly inputs: readonly [{
|
|
5625
5625
|
readonly name: "name_";
|
|
@@ -5797,7 +5797,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5797
5797
|
readonly internalType: "bool";
|
|
5798
5798
|
}];
|
|
5799
5799
|
readonly stateMutability: "nonpayable";
|
|
5800
|
-
}], "
|
|
5800
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem491.WriteContractReturnType>;
|
|
5801
5801
|
};
|
|
5802
5802
|
address: `0x${string}`;
|
|
5803
5803
|
abi: readonly [{
|
|
@@ -49152,7 +49152,7 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
49152
49152
|
}>;
|
|
49153
49153
|
//#endregion
|
|
49154
49154
|
//#region src/hooks/market/useMarketVolume.d.ts
|
|
49155
|
-
declare const useMarketVolume: (marketAddr: Address | undefined) =>
|
|
49155
|
+
declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query4.UseQueryResult<{
|
|
49156
49156
|
address: Address;
|
|
49157
49157
|
volume: bigint;
|
|
49158
49158
|
optionsCount: bigint;
|
|
@@ -49360,7 +49360,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49360
49360
|
};
|
|
49361
49361
|
//#endregion
|
|
49362
49362
|
//#region src/hooks/options/useMintOption.d.ts
|
|
49363
|
-
declare const useMintOption: (marketAddr: Address | undefined) =>
|
|
49363
|
+
declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query4.UseMutationResult<`0x${string}`, Error, {
|
|
49364
49364
|
optionType: "CALL" | "PUT";
|
|
49365
49365
|
amount: bigint;
|
|
49366
49366
|
duration: number;
|
|
@@ -49370,7 +49370,7 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
|
|
|
49370
49370
|
//#endregion
|
|
49371
49371
|
//#region src/hooks/options/useUserOptions.d.ts
|
|
49372
49372
|
type OptionData = NonUndefinedGuard<ReturnType<typeof useUserOptions>['data']>[number];
|
|
49373
|
-
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) =>
|
|
49373
|
+
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query4.UseQueryResult<{
|
|
49374
49374
|
optionId: bigint;
|
|
49375
49375
|
marketAddr: Address;
|
|
49376
49376
|
ownerAddr: Address;
|
|
@@ -49400,7 +49400,7 @@ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Addres
|
|
|
49400
49400
|
address: string;
|
|
49401
49401
|
} | null;
|
|
49402
49402
|
}[], Error>;
|
|
49403
|
-
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49403
|
+
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query4.UseQueryResult<{
|
|
49404
49404
|
optionId: bigint;
|
|
49405
49405
|
marketAddr: Address;
|
|
49406
49406
|
ownerAddr: Address;
|
|
@@ -49430,7 +49430,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49430
49430
|
address: string;
|
|
49431
49431
|
} | null;
|
|
49432
49432
|
}[], Error>;
|
|
49433
|
-
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49433
|
+
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query4.UseQueryResult<{
|
|
49434
49434
|
optionId: bigint;
|
|
49435
49435
|
marketAddr: Address;
|
|
49436
49436
|
ownerAddr: Address;
|
|
@@ -49462,7 +49462,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49462
49462
|
}[], Error>;
|
|
49463
49463
|
//#endregion
|
|
49464
49464
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
49465
|
-
declare const useExerciseOption: (marketAddr: Address | undefined) =>
|
|
49465
|
+
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query4.UseMutationResult<`0x${string}`, Error, {
|
|
49466
49466
|
option: OptionData;
|
|
49467
49467
|
liquidities: readonly bigint[];
|
|
49468
49468
|
}, unknown>;
|
|
@@ -49485,7 +49485,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
49485
49485
|
};
|
|
49486
49486
|
//#endregion
|
|
49487
49487
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
49488
|
-
declare const useExtendOption: (marketAddr: Address | undefined) =>
|
|
49488
|
+
declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query4.UseMutationResult<`0x${string}`, Error, {
|
|
49489
49489
|
option: OptionData;
|
|
49490
49490
|
duration: number;
|
|
49491
49491
|
}, unknown>;
|
|
@@ -49501,7 +49501,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
|
49501
49501
|
type ExtendEvent = Extract<OptionEvent, {
|
|
49502
49502
|
type: 'extend';
|
|
49503
49503
|
}>;
|
|
49504
|
-
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) =>
|
|
49504
|
+
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query4.UseQueryResult<({
|
|
49505
49505
|
type: "mint";
|
|
49506
49506
|
data: {
|
|
49507
49507
|
id: string;
|
|
@@ -49542,7 +49542,7 @@ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: big
|
|
|
49542
49542
|
})[], Error>;
|
|
49543
49543
|
//#endregion
|
|
49544
49544
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
49545
|
-
declare const useMintPerp: (marketAddr: Address | undefined) =>
|
|
49545
|
+
declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query4.UseMutationResult<void, Error, {
|
|
49546
49546
|
optionType: "CALL" | "PUT";
|
|
49547
49547
|
amount: bigint;
|
|
49548
49548
|
duration: number;
|
|
@@ -49550,17 +49550,17 @@ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_
|
|
|
49550
49550
|
}, unknown>;
|
|
49551
49551
|
//#endregion
|
|
49552
49552
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
49553
|
-
declare const useClosePerp: () =>
|
|
49553
|
+
declare const useClosePerp: () => _tanstack_react_query4.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
49554
49554
|
//#endregion
|
|
49555
49555
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
49556
49556
|
declare const usePerpsOperator: () => {
|
|
49557
49557
|
operator: PerpsOperator | undefined;
|
|
49558
49558
|
address: `0x${string}` | undefined;
|
|
49559
|
-
signMessage:
|
|
49559
|
+
signMessage: _tanstack_react_query4.UseMutationResult<void, Error, void, unknown>;
|
|
49560
49560
|
};
|
|
49561
49561
|
//#endregion
|
|
49562
49562
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
49563
|
-
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) =>
|
|
49563
|
+
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query4.UseQueryResult<{
|
|
49564
49564
|
optionId: bigint;
|
|
49565
49565
|
id: string;
|
|
49566
49566
|
ownerAddr: Address;
|
|
@@ -49569,7 +49569,7 @@ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address
|
|
|
49569
49569
|
expiresAt: number;
|
|
49570
49570
|
closed: boolean;
|
|
49571
49571
|
}[] | undefined, Error>;
|
|
49572
|
-
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49572
|
+
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query4.UseQueryResult<{
|
|
49573
49573
|
optionId: bigint;
|
|
49574
49574
|
id: string;
|
|
49575
49575
|
ownerAddr: Address;
|
|
@@ -49578,7 +49578,7 @@ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49578
49578
|
expiresAt: number;
|
|
49579
49579
|
closed: boolean;
|
|
49580
49580
|
}[] | undefined, Error>;
|
|
49581
|
-
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49581
|
+
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query4.UseQueryResult<{
|
|
49582
49582
|
optionId: bigint;
|
|
49583
49583
|
id: string;
|
|
49584
49584
|
ownerAddr: Address;
|
|
@@ -49802,7 +49802,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49802
49802
|
};
|
|
49803
49803
|
//#endregion
|
|
49804
49804
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
49805
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) =>
|
|
49805
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query4.UseQueryResult<{
|
|
49806
49806
|
spendingApproval: bigint;
|
|
49807
49807
|
operatorAddr: string;
|
|
49808
49808
|
__typename: "UserMarketOperator";
|
|
@@ -49818,7 +49818,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _t
|
|
|
49818
49818
|
}[] | undefined, Error>;
|
|
49819
49819
|
//#endregion
|
|
49820
49820
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
49821
|
-
declare const useSetOperatorPerms: (marketAddr: Address | undefined) =>
|
|
49821
|
+
declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query4.UseMutationResult<`0x${string}`, Error, {
|
|
49822
49822
|
operator: Address;
|
|
49823
49823
|
canExtend: boolean;
|
|
49824
49824
|
canExercise: boolean;
|
|
@@ -50744,8 +50744,8 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
|
|
|
50744
50744
|
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
|
|
50745
50745
|
//#endregion
|
|
50746
50746
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
50747
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
50748
|
-
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
50747
|
+
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query4.UseQueryResult<PriceDataPoint[], Error>;
|
|
50748
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query4.UseQueryResult<PriceDataPoint[], Error>;
|
|
50749
50749
|
//#endregion
|
|
50750
50750
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
50751
50751
|
interface BurnPosition {
|
|
@@ -50760,7 +50760,7 @@ declare const useBurnLiquidity: (vaultAddr: Address | undefined) => {
|
|
|
50760
50760
|
isPending: boolean;
|
|
50761
50761
|
isConfirming: boolean;
|
|
50762
50762
|
isSuccess: boolean;
|
|
50763
|
-
error:
|
|
50763
|
+
error: _wagmi_core9.WriteContractErrorType | null;
|
|
50764
50764
|
isLoading: boolean;
|
|
50765
50765
|
};
|
|
50766
50766
|
//#endregion
|
|
@@ -51164,7 +51164,7 @@ interface MintPositionParams {
|
|
|
51164
51164
|
tickUpper: number;
|
|
51165
51165
|
liquidity: bigint;
|
|
51166
51166
|
}
|
|
51167
|
-
declare const useMintLiquidity: (vaultAddr: Address | undefined) =>
|
|
51167
|
+
declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query4.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
51168
51168
|
//#endregion
|
|
51169
51169
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
51170
51170
|
declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
@@ -51384,7 +51384,7 @@ declare const useApproval: () => {
|
|
|
51384
51384
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
51385
51385
|
hash: `0x${string}` | undefined;
|
|
51386
51386
|
isPending: boolean;
|
|
51387
|
-
error:
|
|
51387
|
+
error: _wagmi_core9.WriteContractErrorType | null;
|
|
51388
51388
|
reset: () => void;
|
|
51389
51389
|
};
|
|
51390
51390
|
//#endregion
|
|
@@ -52354,14 +52354,14 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52354
52354
|
isPending: false;
|
|
52355
52355
|
isSuccess: false;
|
|
52356
52356
|
failureCount: number;
|
|
52357
|
-
failureReason:
|
|
52357
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
52358
52358
|
isPaused: boolean;
|
|
52359
52359
|
variables: undefined;
|
|
52360
52360
|
isIdle: true;
|
|
52361
52361
|
reset: () => void;
|
|
52362
52362
|
context: unknown;
|
|
52363
52363
|
submittedAt: number;
|
|
52364
|
-
writeContract:
|
|
52364
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52365
52365
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52366
52366
|
} | {
|
|
52367
52367
|
data: undefined;
|
|
@@ -52371,10 +52371,10 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52371
52371
|
isPending: true;
|
|
52372
52372
|
isSuccess: false;
|
|
52373
52373
|
failureCount: number;
|
|
52374
|
-
failureReason:
|
|
52374
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
52375
52375
|
isPaused: boolean;
|
|
52376
52376
|
variables: {
|
|
52377
|
-
abi:
|
|
52377
|
+
abi: abitype35.Abi;
|
|
52378
52378
|
functionName: string;
|
|
52379
52379
|
args?: readonly unknown[] | undefined;
|
|
52380
52380
|
address: Address;
|
|
@@ -52398,7 +52398,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52398
52398
|
chainId?: number | undefined;
|
|
52399
52399
|
connector?: wagmi0.Connector | undefined;
|
|
52400
52400
|
} | {
|
|
52401
|
-
abi:
|
|
52401
|
+
abi: abitype35.Abi;
|
|
52402
52402
|
functionName: string;
|
|
52403
52403
|
args?: readonly unknown[] | undefined;
|
|
52404
52404
|
address: Address;
|
|
@@ -52422,7 +52422,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52422
52422
|
chainId?: number | undefined;
|
|
52423
52423
|
connector?: wagmi0.Connector | undefined;
|
|
52424
52424
|
} | {
|
|
52425
|
-
abi:
|
|
52425
|
+
abi: abitype35.Abi;
|
|
52426
52426
|
functionName: string;
|
|
52427
52427
|
args?: readonly unknown[] | undefined;
|
|
52428
52428
|
address: Address;
|
|
@@ -52446,7 +52446,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52446
52446
|
chainId?: number | undefined;
|
|
52447
52447
|
connector?: wagmi0.Connector | undefined;
|
|
52448
52448
|
} | {
|
|
52449
|
-
abi:
|
|
52449
|
+
abi: abitype35.Abi;
|
|
52450
52450
|
functionName: string;
|
|
52451
52451
|
args?: readonly unknown[] | undefined;
|
|
52452
52452
|
address: Address;
|
|
@@ -52470,7 +52470,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52470
52470
|
chainId?: number | undefined;
|
|
52471
52471
|
connector?: wagmi0.Connector | undefined;
|
|
52472
52472
|
} | {
|
|
52473
|
-
abi:
|
|
52473
|
+
abi: abitype35.Abi;
|
|
52474
52474
|
functionName: string;
|
|
52475
52475
|
args?: readonly unknown[] | undefined;
|
|
52476
52476
|
address: Address;
|
|
@@ -52494,7 +52494,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52494
52494
|
chainId?: number | undefined;
|
|
52495
52495
|
connector?: wagmi0.Connector | undefined;
|
|
52496
52496
|
} | {
|
|
52497
|
-
abi:
|
|
52497
|
+
abi: abitype35.Abi;
|
|
52498
52498
|
functionName: string;
|
|
52499
52499
|
args?: readonly unknown[] | undefined;
|
|
52500
52500
|
address: Address;
|
|
@@ -52522,20 +52522,20 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52522
52522
|
reset: () => void;
|
|
52523
52523
|
context: unknown;
|
|
52524
52524
|
submittedAt: number;
|
|
52525
|
-
writeContract:
|
|
52525
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52526
52526
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52527
52527
|
} | {
|
|
52528
52528
|
data: undefined;
|
|
52529
|
-
error:
|
|
52529
|
+
error: _wagmi_core9.WriteContractErrorType;
|
|
52530
52530
|
status: "error";
|
|
52531
52531
|
isError: true;
|
|
52532
52532
|
isPending: false;
|
|
52533
52533
|
isSuccess: false;
|
|
52534
52534
|
failureCount: number;
|
|
52535
|
-
failureReason:
|
|
52535
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
52536
52536
|
isPaused: boolean;
|
|
52537
52537
|
variables: {
|
|
52538
|
-
abi:
|
|
52538
|
+
abi: abitype35.Abi;
|
|
52539
52539
|
functionName: string;
|
|
52540
52540
|
args?: readonly unknown[] | undefined;
|
|
52541
52541
|
address: Address;
|
|
@@ -52559,7 +52559,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52559
52559
|
chainId?: number | undefined;
|
|
52560
52560
|
connector?: wagmi0.Connector | undefined;
|
|
52561
52561
|
} | {
|
|
52562
|
-
abi:
|
|
52562
|
+
abi: abitype35.Abi;
|
|
52563
52563
|
functionName: string;
|
|
52564
52564
|
args?: readonly unknown[] | undefined;
|
|
52565
52565
|
address: Address;
|
|
@@ -52583,7 +52583,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52583
52583
|
chainId?: number | undefined;
|
|
52584
52584
|
connector?: wagmi0.Connector | undefined;
|
|
52585
52585
|
} | {
|
|
52586
|
-
abi:
|
|
52586
|
+
abi: abitype35.Abi;
|
|
52587
52587
|
functionName: string;
|
|
52588
52588
|
args?: readonly unknown[] | undefined;
|
|
52589
52589
|
address: Address;
|
|
@@ -52607,7 +52607,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52607
52607
|
chainId?: number | undefined;
|
|
52608
52608
|
connector?: wagmi0.Connector | undefined;
|
|
52609
52609
|
} | {
|
|
52610
|
-
abi:
|
|
52610
|
+
abi: abitype35.Abi;
|
|
52611
52611
|
functionName: string;
|
|
52612
52612
|
args?: readonly unknown[] | undefined;
|
|
52613
52613
|
address: Address;
|
|
@@ -52631,7 +52631,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52631
52631
|
chainId?: number | undefined;
|
|
52632
52632
|
connector?: wagmi0.Connector | undefined;
|
|
52633
52633
|
} | {
|
|
52634
|
-
abi:
|
|
52634
|
+
abi: abitype35.Abi;
|
|
52635
52635
|
functionName: string;
|
|
52636
52636
|
args?: readonly unknown[] | undefined;
|
|
52637
52637
|
address: Address;
|
|
@@ -52655,7 +52655,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52655
52655
|
chainId?: number | undefined;
|
|
52656
52656
|
connector?: wagmi0.Connector | undefined;
|
|
52657
52657
|
} | {
|
|
52658
|
-
abi:
|
|
52658
|
+
abi: abitype35.Abi;
|
|
52659
52659
|
functionName: string;
|
|
52660
52660
|
args?: readonly unknown[] | undefined;
|
|
52661
52661
|
address: Address;
|
|
@@ -52683,7 +52683,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52683
52683
|
reset: () => void;
|
|
52684
52684
|
context: unknown;
|
|
52685
52685
|
submittedAt: number;
|
|
52686
|
-
writeContract:
|
|
52686
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52687
52687
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52688
52688
|
} | {
|
|
52689
52689
|
data: `0x${string}`;
|
|
@@ -52693,10 +52693,10 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52693
52693
|
isPending: false;
|
|
52694
52694
|
isSuccess: true;
|
|
52695
52695
|
failureCount: number;
|
|
52696
|
-
failureReason:
|
|
52696
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
52697
52697
|
isPaused: boolean;
|
|
52698
52698
|
variables: {
|
|
52699
|
-
abi:
|
|
52699
|
+
abi: abitype35.Abi;
|
|
52700
52700
|
functionName: string;
|
|
52701
52701
|
args?: readonly unknown[] | undefined;
|
|
52702
52702
|
address: Address;
|
|
@@ -52720,7 +52720,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52720
52720
|
chainId?: number | undefined;
|
|
52721
52721
|
connector?: wagmi0.Connector | undefined;
|
|
52722
52722
|
} | {
|
|
52723
|
-
abi:
|
|
52723
|
+
abi: abitype35.Abi;
|
|
52724
52724
|
functionName: string;
|
|
52725
52725
|
args?: readonly unknown[] | undefined;
|
|
52726
52726
|
address: Address;
|
|
@@ -52744,7 +52744,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52744
52744
|
chainId?: number | undefined;
|
|
52745
52745
|
connector?: wagmi0.Connector | undefined;
|
|
52746
52746
|
} | {
|
|
52747
|
-
abi:
|
|
52747
|
+
abi: abitype35.Abi;
|
|
52748
52748
|
functionName: string;
|
|
52749
52749
|
args?: readonly unknown[] | undefined;
|
|
52750
52750
|
address: Address;
|
|
@@ -52768,7 +52768,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52768
52768
|
chainId?: number | undefined;
|
|
52769
52769
|
connector?: wagmi0.Connector | undefined;
|
|
52770
52770
|
} | {
|
|
52771
|
-
abi:
|
|
52771
|
+
abi: abitype35.Abi;
|
|
52772
52772
|
functionName: string;
|
|
52773
52773
|
args?: readonly unknown[] | undefined;
|
|
52774
52774
|
address: Address;
|
|
@@ -52792,7 +52792,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52792
52792
|
chainId?: number | undefined;
|
|
52793
52793
|
connector?: wagmi0.Connector | undefined;
|
|
52794
52794
|
} | {
|
|
52795
|
-
abi:
|
|
52795
|
+
abi: abitype35.Abi;
|
|
52796
52796
|
functionName: string;
|
|
52797
52797
|
args?: readonly unknown[] | undefined;
|
|
52798
52798
|
address: Address;
|
|
@@ -52816,7 +52816,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52816
52816
|
chainId?: number | undefined;
|
|
52817
52817
|
connector?: wagmi0.Connector | undefined;
|
|
52818
52818
|
} | {
|
|
52819
|
-
abi:
|
|
52819
|
+
abi: abitype35.Abi;
|
|
52820
52820
|
functionName: string;
|
|
52821
52821
|
args?: readonly unknown[] | undefined;
|
|
52822
52822
|
address: Address;
|
|
@@ -52844,7 +52844,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52844
52844
|
reset: () => void;
|
|
52845
52845
|
context: unknown;
|
|
52846
52846
|
submittedAt: number;
|
|
52847
|
-
writeContract:
|
|
52847
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52848
52848
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52849
52849
|
};
|
|
52850
52850
|
//#endregion
|
|
@@ -52857,14 +52857,14 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52857
52857
|
isPending: false;
|
|
52858
52858
|
isSuccess: false;
|
|
52859
52859
|
failureCount: number;
|
|
52860
|
-
failureReason:
|
|
52860
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
52861
52861
|
isPaused: boolean;
|
|
52862
52862
|
variables: undefined;
|
|
52863
52863
|
isIdle: true;
|
|
52864
52864
|
reset: () => void;
|
|
52865
52865
|
context: unknown;
|
|
52866
52866
|
submittedAt: number;
|
|
52867
|
-
writeContract:
|
|
52867
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52868
52868
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52869
52869
|
} | {
|
|
52870
52870
|
data: undefined;
|
|
@@ -52874,10 +52874,10 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52874
52874
|
isPending: true;
|
|
52875
52875
|
isSuccess: false;
|
|
52876
52876
|
failureCount: number;
|
|
52877
|
-
failureReason:
|
|
52877
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
52878
52878
|
isPaused: boolean;
|
|
52879
52879
|
variables: {
|
|
52880
|
-
abi:
|
|
52880
|
+
abi: abitype35.Abi;
|
|
52881
52881
|
functionName: string;
|
|
52882
52882
|
args?: readonly unknown[] | undefined;
|
|
52883
52883
|
address: Address;
|
|
@@ -52901,7 +52901,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52901
52901
|
chainId?: number | undefined;
|
|
52902
52902
|
connector?: wagmi0.Connector | undefined;
|
|
52903
52903
|
} | {
|
|
52904
|
-
abi:
|
|
52904
|
+
abi: abitype35.Abi;
|
|
52905
52905
|
functionName: string;
|
|
52906
52906
|
args?: readonly unknown[] | undefined;
|
|
52907
52907
|
address: Address;
|
|
@@ -52925,7 +52925,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52925
52925
|
chainId?: number | undefined;
|
|
52926
52926
|
connector?: wagmi0.Connector | undefined;
|
|
52927
52927
|
} | {
|
|
52928
|
-
abi:
|
|
52928
|
+
abi: abitype35.Abi;
|
|
52929
52929
|
functionName: string;
|
|
52930
52930
|
args?: readonly unknown[] | undefined;
|
|
52931
52931
|
address: Address;
|
|
@@ -52949,7 +52949,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52949
52949
|
chainId?: number | undefined;
|
|
52950
52950
|
connector?: wagmi0.Connector | undefined;
|
|
52951
52951
|
} | {
|
|
52952
|
-
abi:
|
|
52952
|
+
abi: abitype35.Abi;
|
|
52953
52953
|
functionName: string;
|
|
52954
52954
|
args?: readonly unknown[] | undefined;
|
|
52955
52955
|
address: Address;
|
|
@@ -52973,7 +52973,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52973
52973
|
chainId?: number | undefined;
|
|
52974
52974
|
connector?: wagmi0.Connector | undefined;
|
|
52975
52975
|
} | {
|
|
52976
|
-
abi:
|
|
52976
|
+
abi: abitype35.Abi;
|
|
52977
52977
|
functionName: string;
|
|
52978
52978
|
args?: readonly unknown[] | undefined;
|
|
52979
52979
|
address: Address;
|
|
@@ -52997,7 +52997,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52997
52997
|
chainId?: number | undefined;
|
|
52998
52998
|
connector?: wagmi0.Connector | undefined;
|
|
52999
52999
|
} | {
|
|
53000
|
-
abi:
|
|
53000
|
+
abi: abitype35.Abi;
|
|
53001
53001
|
functionName: string;
|
|
53002
53002
|
args?: readonly unknown[] | undefined;
|
|
53003
53003
|
address: Address;
|
|
@@ -53025,20 +53025,20 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53025
53025
|
reset: () => void;
|
|
53026
53026
|
context: unknown;
|
|
53027
53027
|
submittedAt: number;
|
|
53028
|
-
writeContract:
|
|
53028
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53029
53029
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53030
53030
|
} | {
|
|
53031
53031
|
data: undefined;
|
|
53032
|
-
error:
|
|
53032
|
+
error: _wagmi_core9.WriteContractErrorType;
|
|
53033
53033
|
status: "error";
|
|
53034
53034
|
isError: true;
|
|
53035
53035
|
isPending: false;
|
|
53036
53036
|
isSuccess: false;
|
|
53037
53037
|
failureCount: number;
|
|
53038
|
-
failureReason:
|
|
53038
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
53039
53039
|
isPaused: boolean;
|
|
53040
53040
|
variables: {
|
|
53041
|
-
abi:
|
|
53041
|
+
abi: abitype35.Abi;
|
|
53042
53042
|
functionName: string;
|
|
53043
53043
|
args?: readonly unknown[] | undefined;
|
|
53044
53044
|
address: Address;
|
|
@@ -53062,7 +53062,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53062
53062
|
chainId?: number | undefined;
|
|
53063
53063
|
connector?: wagmi0.Connector | undefined;
|
|
53064
53064
|
} | {
|
|
53065
|
-
abi:
|
|
53065
|
+
abi: abitype35.Abi;
|
|
53066
53066
|
functionName: string;
|
|
53067
53067
|
args?: readonly unknown[] | undefined;
|
|
53068
53068
|
address: Address;
|
|
@@ -53086,7 +53086,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53086
53086
|
chainId?: number | undefined;
|
|
53087
53087
|
connector?: wagmi0.Connector | undefined;
|
|
53088
53088
|
} | {
|
|
53089
|
-
abi:
|
|
53089
|
+
abi: abitype35.Abi;
|
|
53090
53090
|
functionName: string;
|
|
53091
53091
|
args?: readonly unknown[] | undefined;
|
|
53092
53092
|
address: Address;
|
|
@@ -53110,7 +53110,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53110
53110
|
chainId?: number | undefined;
|
|
53111
53111
|
connector?: wagmi0.Connector | undefined;
|
|
53112
53112
|
} | {
|
|
53113
|
-
abi:
|
|
53113
|
+
abi: abitype35.Abi;
|
|
53114
53114
|
functionName: string;
|
|
53115
53115
|
args?: readonly unknown[] | undefined;
|
|
53116
53116
|
address: Address;
|
|
@@ -53134,7 +53134,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53134
53134
|
chainId?: number | undefined;
|
|
53135
53135
|
connector?: wagmi0.Connector | undefined;
|
|
53136
53136
|
} | {
|
|
53137
|
-
abi:
|
|
53137
|
+
abi: abitype35.Abi;
|
|
53138
53138
|
functionName: string;
|
|
53139
53139
|
args?: readonly unknown[] | undefined;
|
|
53140
53140
|
address: Address;
|
|
@@ -53158,7 +53158,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53158
53158
|
chainId?: number | undefined;
|
|
53159
53159
|
connector?: wagmi0.Connector | undefined;
|
|
53160
53160
|
} | {
|
|
53161
|
-
abi:
|
|
53161
|
+
abi: abitype35.Abi;
|
|
53162
53162
|
functionName: string;
|
|
53163
53163
|
args?: readonly unknown[] | undefined;
|
|
53164
53164
|
address: Address;
|
|
@@ -53186,7 +53186,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53186
53186
|
reset: () => void;
|
|
53187
53187
|
context: unknown;
|
|
53188
53188
|
submittedAt: number;
|
|
53189
|
-
writeContract:
|
|
53189
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53190
53190
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53191
53191
|
} | {
|
|
53192
53192
|
data: `0x${string}`;
|
|
@@ -53196,10 +53196,10 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53196
53196
|
isPending: false;
|
|
53197
53197
|
isSuccess: true;
|
|
53198
53198
|
failureCount: number;
|
|
53199
|
-
failureReason:
|
|
53199
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
53200
53200
|
isPaused: boolean;
|
|
53201
53201
|
variables: {
|
|
53202
|
-
abi:
|
|
53202
|
+
abi: abitype35.Abi;
|
|
53203
53203
|
functionName: string;
|
|
53204
53204
|
args?: readonly unknown[] | undefined;
|
|
53205
53205
|
address: Address;
|
|
@@ -53223,7 +53223,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53223
53223
|
chainId?: number | undefined;
|
|
53224
53224
|
connector?: wagmi0.Connector | undefined;
|
|
53225
53225
|
} | {
|
|
53226
|
-
abi:
|
|
53226
|
+
abi: abitype35.Abi;
|
|
53227
53227
|
functionName: string;
|
|
53228
53228
|
args?: readonly unknown[] | undefined;
|
|
53229
53229
|
address: Address;
|
|
@@ -53247,7 +53247,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53247
53247
|
chainId?: number | undefined;
|
|
53248
53248
|
connector?: wagmi0.Connector | undefined;
|
|
53249
53249
|
} | {
|
|
53250
|
-
abi:
|
|
53250
|
+
abi: abitype35.Abi;
|
|
53251
53251
|
functionName: string;
|
|
53252
53252
|
args?: readonly unknown[] | undefined;
|
|
53253
53253
|
address: Address;
|
|
@@ -53271,7 +53271,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53271
53271
|
chainId?: number | undefined;
|
|
53272
53272
|
connector?: wagmi0.Connector | undefined;
|
|
53273
53273
|
} | {
|
|
53274
|
-
abi:
|
|
53274
|
+
abi: abitype35.Abi;
|
|
53275
53275
|
functionName: string;
|
|
53276
53276
|
args?: readonly unknown[] | undefined;
|
|
53277
53277
|
address: Address;
|
|
@@ -53295,7 +53295,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53295
53295
|
chainId?: number | undefined;
|
|
53296
53296
|
connector?: wagmi0.Connector | undefined;
|
|
53297
53297
|
} | {
|
|
53298
|
-
abi:
|
|
53298
|
+
abi: abitype35.Abi;
|
|
53299
53299
|
functionName: string;
|
|
53300
53300
|
args?: readonly unknown[] | undefined;
|
|
53301
53301
|
address: Address;
|
|
@@ -53319,7 +53319,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53319
53319
|
chainId?: number | undefined;
|
|
53320
53320
|
connector?: wagmi0.Connector | undefined;
|
|
53321
53321
|
} | {
|
|
53322
|
-
abi:
|
|
53322
|
+
abi: abitype35.Abi;
|
|
53323
53323
|
functionName: string;
|
|
53324
53324
|
args?: readonly unknown[] | undefined;
|
|
53325
53325
|
address: Address;
|
|
@@ -53347,7 +53347,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53347
53347
|
reset: () => void;
|
|
53348
53348
|
context: unknown;
|
|
53349
53349
|
submittedAt: number;
|
|
53350
|
-
writeContract:
|
|
53350
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53351
53351
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53352
53352
|
};
|
|
53353
53353
|
//#endregion
|
|
@@ -53369,14 +53369,14 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53369
53369
|
isPending: false;
|
|
53370
53370
|
isSuccess: false;
|
|
53371
53371
|
failureCount: number;
|
|
53372
|
-
failureReason:
|
|
53372
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
53373
53373
|
isPaused: boolean;
|
|
53374
53374
|
variables: undefined;
|
|
53375
53375
|
isIdle: true;
|
|
53376
53376
|
reset: () => void;
|
|
53377
53377
|
context: unknown;
|
|
53378
53378
|
submittedAt: number;
|
|
53379
|
-
writeContract:
|
|
53379
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53380
53380
|
updateMarketFees: (rates: {
|
|
53381
53381
|
openingFeeRate?: number;
|
|
53382
53382
|
baseFeeRate?: number;
|
|
@@ -53396,10 +53396,10 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53396
53396
|
isPending: true;
|
|
53397
53397
|
isSuccess: false;
|
|
53398
53398
|
failureCount: number;
|
|
53399
|
-
failureReason:
|
|
53399
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
53400
53400
|
isPaused: boolean;
|
|
53401
53401
|
variables: {
|
|
53402
|
-
abi:
|
|
53402
|
+
abi: abitype35.Abi;
|
|
53403
53403
|
functionName: string;
|
|
53404
53404
|
args?: readonly unknown[] | undefined;
|
|
53405
53405
|
address: Address;
|
|
@@ -53423,7 +53423,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53423
53423
|
chainId?: number | undefined;
|
|
53424
53424
|
connector?: wagmi0.Connector | undefined;
|
|
53425
53425
|
} | {
|
|
53426
|
-
abi:
|
|
53426
|
+
abi: abitype35.Abi;
|
|
53427
53427
|
functionName: string;
|
|
53428
53428
|
args?: readonly unknown[] | undefined;
|
|
53429
53429
|
address: Address;
|
|
@@ -53447,7 +53447,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53447
53447
|
chainId?: number | undefined;
|
|
53448
53448
|
connector?: wagmi0.Connector | undefined;
|
|
53449
53449
|
} | {
|
|
53450
|
-
abi:
|
|
53450
|
+
abi: abitype35.Abi;
|
|
53451
53451
|
functionName: string;
|
|
53452
53452
|
args?: readonly unknown[] | undefined;
|
|
53453
53453
|
address: Address;
|
|
@@ -53471,7 +53471,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53471
53471
|
chainId?: number | undefined;
|
|
53472
53472
|
connector?: wagmi0.Connector | undefined;
|
|
53473
53473
|
} | {
|
|
53474
|
-
abi:
|
|
53474
|
+
abi: abitype35.Abi;
|
|
53475
53475
|
functionName: string;
|
|
53476
53476
|
args?: readonly unknown[] | undefined;
|
|
53477
53477
|
address: Address;
|
|
@@ -53495,7 +53495,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53495
53495
|
chainId?: number | undefined;
|
|
53496
53496
|
connector?: wagmi0.Connector | undefined;
|
|
53497
53497
|
} | {
|
|
53498
|
-
abi:
|
|
53498
|
+
abi: abitype35.Abi;
|
|
53499
53499
|
functionName: string;
|
|
53500
53500
|
args?: readonly unknown[] | undefined;
|
|
53501
53501
|
address: Address;
|
|
@@ -53519,7 +53519,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53519
53519
|
chainId?: number | undefined;
|
|
53520
53520
|
connector?: wagmi0.Connector | undefined;
|
|
53521
53521
|
} | {
|
|
53522
|
-
abi:
|
|
53522
|
+
abi: abitype35.Abi;
|
|
53523
53523
|
functionName: string;
|
|
53524
53524
|
args?: readonly unknown[] | undefined;
|
|
53525
53525
|
address: Address;
|
|
@@ -53547,7 +53547,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53547
53547
|
reset: () => void;
|
|
53548
53548
|
context: unknown;
|
|
53549
53549
|
submittedAt: number;
|
|
53550
|
-
writeContract:
|
|
53550
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53551
53551
|
updateMarketFees: (rates: {
|
|
53552
53552
|
openingFeeRate?: number;
|
|
53553
53553
|
baseFeeRate?: number;
|
|
@@ -53561,16 +53561,16 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53561
53561
|
}>;
|
|
53562
53562
|
} | {
|
|
53563
53563
|
data: undefined;
|
|
53564
|
-
error:
|
|
53564
|
+
error: _wagmi_core9.WriteContractErrorType;
|
|
53565
53565
|
status: "error";
|
|
53566
53566
|
isError: true;
|
|
53567
53567
|
isPending: false;
|
|
53568
53568
|
isSuccess: false;
|
|
53569
53569
|
failureCount: number;
|
|
53570
|
-
failureReason:
|
|
53570
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
53571
53571
|
isPaused: boolean;
|
|
53572
53572
|
variables: {
|
|
53573
|
-
abi:
|
|
53573
|
+
abi: abitype35.Abi;
|
|
53574
53574
|
functionName: string;
|
|
53575
53575
|
args?: readonly unknown[] | undefined;
|
|
53576
53576
|
address: Address;
|
|
@@ -53594,7 +53594,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53594
53594
|
chainId?: number | undefined;
|
|
53595
53595
|
connector?: wagmi0.Connector | undefined;
|
|
53596
53596
|
} | {
|
|
53597
|
-
abi:
|
|
53597
|
+
abi: abitype35.Abi;
|
|
53598
53598
|
functionName: string;
|
|
53599
53599
|
args?: readonly unknown[] | undefined;
|
|
53600
53600
|
address: Address;
|
|
@@ -53618,7 +53618,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53618
53618
|
chainId?: number | undefined;
|
|
53619
53619
|
connector?: wagmi0.Connector | undefined;
|
|
53620
53620
|
} | {
|
|
53621
|
-
abi:
|
|
53621
|
+
abi: abitype35.Abi;
|
|
53622
53622
|
functionName: string;
|
|
53623
53623
|
args?: readonly unknown[] | undefined;
|
|
53624
53624
|
address: Address;
|
|
@@ -53642,7 +53642,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53642
53642
|
chainId?: number | undefined;
|
|
53643
53643
|
connector?: wagmi0.Connector | undefined;
|
|
53644
53644
|
} | {
|
|
53645
|
-
abi:
|
|
53645
|
+
abi: abitype35.Abi;
|
|
53646
53646
|
functionName: string;
|
|
53647
53647
|
args?: readonly unknown[] | undefined;
|
|
53648
53648
|
address: Address;
|
|
@@ -53666,7 +53666,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53666
53666
|
chainId?: number | undefined;
|
|
53667
53667
|
connector?: wagmi0.Connector | undefined;
|
|
53668
53668
|
} | {
|
|
53669
|
-
abi:
|
|
53669
|
+
abi: abitype35.Abi;
|
|
53670
53670
|
functionName: string;
|
|
53671
53671
|
args?: readonly unknown[] | undefined;
|
|
53672
53672
|
address: Address;
|
|
@@ -53690,7 +53690,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53690
53690
|
chainId?: number | undefined;
|
|
53691
53691
|
connector?: wagmi0.Connector | undefined;
|
|
53692
53692
|
} | {
|
|
53693
|
-
abi:
|
|
53693
|
+
abi: abitype35.Abi;
|
|
53694
53694
|
functionName: string;
|
|
53695
53695
|
args?: readonly unknown[] | undefined;
|
|
53696
53696
|
address: Address;
|
|
@@ -53718,7 +53718,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53718
53718
|
reset: () => void;
|
|
53719
53719
|
context: unknown;
|
|
53720
53720
|
submittedAt: number;
|
|
53721
|
-
writeContract:
|
|
53721
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53722
53722
|
updateMarketFees: (rates: {
|
|
53723
53723
|
openingFeeRate?: number;
|
|
53724
53724
|
baseFeeRate?: number;
|
|
@@ -53738,10 +53738,10 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53738
53738
|
isPending: false;
|
|
53739
53739
|
isSuccess: true;
|
|
53740
53740
|
failureCount: number;
|
|
53741
|
-
failureReason:
|
|
53741
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
53742
53742
|
isPaused: boolean;
|
|
53743
53743
|
variables: {
|
|
53744
|
-
abi:
|
|
53744
|
+
abi: abitype35.Abi;
|
|
53745
53745
|
functionName: string;
|
|
53746
53746
|
args?: readonly unknown[] | undefined;
|
|
53747
53747
|
address: Address;
|
|
@@ -53765,7 +53765,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53765
53765
|
chainId?: number | undefined;
|
|
53766
53766
|
connector?: wagmi0.Connector | undefined;
|
|
53767
53767
|
} | {
|
|
53768
|
-
abi:
|
|
53768
|
+
abi: abitype35.Abi;
|
|
53769
53769
|
functionName: string;
|
|
53770
53770
|
args?: readonly unknown[] | undefined;
|
|
53771
53771
|
address: Address;
|
|
@@ -53789,7 +53789,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53789
53789
|
chainId?: number | undefined;
|
|
53790
53790
|
connector?: wagmi0.Connector | undefined;
|
|
53791
53791
|
} | {
|
|
53792
|
-
abi:
|
|
53792
|
+
abi: abitype35.Abi;
|
|
53793
53793
|
functionName: string;
|
|
53794
53794
|
args?: readonly unknown[] | undefined;
|
|
53795
53795
|
address: Address;
|
|
@@ -53813,7 +53813,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53813
53813
|
chainId?: number | undefined;
|
|
53814
53814
|
connector?: wagmi0.Connector | undefined;
|
|
53815
53815
|
} | {
|
|
53816
|
-
abi:
|
|
53816
|
+
abi: abitype35.Abi;
|
|
53817
53817
|
functionName: string;
|
|
53818
53818
|
args?: readonly unknown[] | undefined;
|
|
53819
53819
|
address: Address;
|
|
@@ -53837,7 +53837,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53837
53837
|
chainId?: number | undefined;
|
|
53838
53838
|
connector?: wagmi0.Connector | undefined;
|
|
53839
53839
|
} | {
|
|
53840
|
-
abi:
|
|
53840
|
+
abi: abitype35.Abi;
|
|
53841
53841
|
functionName: string;
|
|
53842
53842
|
args?: readonly unknown[] | undefined;
|
|
53843
53843
|
address: Address;
|
|
@@ -53861,7 +53861,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53861
53861
|
chainId?: number | undefined;
|
|
53862
53862
|
connector?: wagmi0.Connector | undefined;
|
|
53863
53863
|
} | {
|
|
53864
|
-
abi:
|
|
53864
|
+
abi: abitype35.Abi;
|
|
53865
53865
|
functionName: string;
|
|
53866
53866
|
args?: readonly unknown[] | undefined;
|
|
53867
53867
|
address: Address;
|
|
@@ -53889,7 +53889,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53889
53889
|
reset: () => void;
|
|
53890
53890
|
context: unknown;
|
|
53891
53891
|
submittedAt: number;
|
|
53892
|
-
writeContract:
|
|
53892
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53893
53893
|
updateMarketFees: (rates: {
|
|
53894
53894
|
openingFeeRate?: number;
|
|
53895
53895
|
baseFeeRate?: number;
|
|
@@ -54882,14 +54882,14 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54882
54882
|
isPending: false;
|
|
54883
54883
|
isSuccess: false;
|
|
54884
54884
|
failureCount: number;
|
|
54885
|
-
failureReason:
|
|
54885
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
54886
54886
|
isPaused: boolean;
|
|
54887
54887
|
variables: undefined;
|
|
54888
54888
|
isIdle: true;
|
|
54889
54889
|
reset: () => void;
|
|
54890
54890
|
context: unknown;
|
|
54891
54891
|
submittedAt: number;
|
|
54892
|
-
writeContract:
|
|
54892
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54893
54893
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
54894
54894
|
model: "static";
|
|
54895
54895
|
} : Partial<OptionPricingParams> & {
|
|
@@ -54907,10 +54907,10 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54907
54907
|
isPending: true;
|
|
54908
54908
|
isSuccess: false;
|
|
54909
54909
|
failureCount: number;
|
|
54910
|
-
failureReason:
|
|
54910
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
54911
54911
|
isPaused: boolean;
|
|
54912
54912
|
variables: {
|
|
54913
|
-
abi:
|
|
54913
|
+
abi: abitype35.Abi;
|
|
54914
54914
|
functionName: string;
|
|
54915
54915
|
args?: readonly unknown[] | undefined;
|
|
54916
54916
|
address: Address;
|
|
@@ -54934,7 +54934,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54934
54934
|
chainId?: number | undefined;
|
|
54935
54935
|
connector?: wagmi0.Connector | undefined;
|
|
54936
54936
|
} | {
|
|
54937
|
-
abi:
|
|
54937
|
+
abi: abitype35.Abi;
|
|
54938
54938
|
functionName: string;
|
|
54939
54939
|
args?: readonly unknown[] | undefined;
|
|
54940
54940
|
address: Address;
|
|
@@ -54958,7 +54958,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54958
54958
|
chainId?: number | undefined;
|
|
54959
54959
|
connector?: wagmi0.Connector | undefined;
|
|
54960
54960
|
} | {
|
|
54961
|
-
abi:
|
|
54961
|
+
abi: abitype35.Abi;
|
|
54962
54962
|
functionName: string;
|
|
54963
54963
|
args?: readonly unknown[] | undefined;
|
|
54964
54964
|
address: Address;
|
|
@@ -54982,7 +54982,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54982
54982
|
chainId?: number | undefined;
|
|
54983
54983
|
connector?: wagmi0.Connector | undefined;
|
|
54984
54984
|
} | {
|
|
54985
|
-
abi:
|
|
54985
|
+
abi: abitype35.Abi;
|
|
54986
54986
|
functionName: string;
|
|
54987
54987
|
args?: readonly unknown[] | undefined;
|
|
54988
54988
|
address: Address;
|
|
@@ -55006,7 +55006,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55006
55006
|
chainId?: number | undefined;
|
|
55007
55007
|
connector?: wagmi0.Connector | undefined;
|
|
55008
55008
|
} | {
|
|
55009
|
-
abi:
|
|
55009
|
+
abi: abitype35.Abi;
|
|
55010
55010
|
functionName: string;
|
|
55011
55011
|
args?: readonly unknown[] | undefined;
|
|
55012
55012
|
address: Address;
|
|
@@ -55030,7 +55030,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55030
55030
|
chainId?: number | undefined;
|
|
55031
55031
|
connector?: wagmi0.Connector | undefined;
|
|
55032
55032
|
} | {
|
|
55033
|
-
abi:
|
|
55033
|
+
abi: abitype35.Abi;
|
|
55034
55034
|
functionName: string;
|
|
55035
55035
|
args?: readonly unknown[] | undefined;
|
|
55036
55036
|
address: Address;
|
|
@@ -55058,7 +55058,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55058
55058
|
reset: () => void;
|
|
55059
55059
|
context: unknown;
|
|
55060
55060
|
submittedAt: number;
|
|
55061
|
-
writeContract:
|
|
55061
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55062
55062
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55063
55063
|
model: "static";
|
|
55064
55064
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55070,16 +55070,16 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55070
55070
|
}>;
|
|
55071
55071
|
} | {
|
|
55072
55072
|
data: undefined;
|
|
55073
|
-
error:
|
|
55073
|
+
error: _wagmi_core9.WriteContractErrorType;
|
|
55074
55074
|
status: "error";
|
|
55075
55075
|
isError: true;
|
|
55076
55076
|
isPending: false;
|
|
55077
55077
|
isSuccess: false;
|
|
55078
55078
|
failureCount: number;
|
|
55079
|
-
failureReason:
|
|
55079
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
55080
55080
|
isPaused: boolean;
|
|
55081
55081
|
variables: {
|
|
55082
|
-
abi:
|
|
55082
|
+
abi: abitype35.Abi;
|
|
55083
55083
|
functionName: string;
|
|
55084
55084
|
args?: readonly unknown[] | undefined;
|
|
55085
55085
|
address: Address;
|
|
@@ -55103,7 +55103,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55103
55103
|
chainId?: number | undefined;
|
|
55104
55104
|
connector?: wagmi0.Connector | undefined;
|
|
55105
55105
|
} | {
|
|
55106
|
-
abi:
|
|
55106
|
+
abi: abitype35.Abi;
|
|
55107
55107
|
functionName: string;
|
|
55108
55108
|
args?: readonly unknown[] | undefined;
|
|
55109
55109
|
address: Address;
|
|
@@ -55127,7 +55127,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55127
55127
|
chainId?: number | undefined;
|
|
55128
55128
|
connector?: wagmi0.Connector | undefined;
|
|
55129
55129
|
} | {
|
|
55130
|
-
abi:
|
|
55130
|
+
abi: abitype35.Abi;
|
|
55131
55131
|
functionName: string;
|
|
55132
55132
|
args?: readonly unknown[] | undefined;
|
|
55133
55133
|
address: Address;
|
|
@@ -55151,7 +55151,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55151
55151
|
chainId?: number | undefined;
|
|
55152
55152
|
connector?: wagmi0.Connector | undefined;
|
|
55153
55153
|
} | {
|
|
55154
|
-
abi:
|
|
55154
|
+
abi: abitype35.Abi;
|
|
55155
55155
|
functionName: string;
|
|
55156
55156
|
args?: readonly unknown[] | undefined;
|
|
55157
55157
|
address: Address;
|
|
@@ -55175,7 +55175,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55175
55175
|
chainId?: number | undefined;
|
|
55176
55176
|
connector?: wagmi0.Connector | undefined;
|
|
55177
55177
|
} | {
|
|
55178
|
-
abi:
|
|
55178
|
+
abi: abitype35.Abi;
|
|
55179
55179
|
functionName: string;
|
|
55180
55180
|
args?: readonly unknown[] | undefined;
|
|
55181
55181
|
address: Address;
|
|
@@ -55199,7 +55199,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55199
55199
|
chainId?: number | undefined;
|
|
55200
55200
|
connector?: wagmi0.Connector | undefined;
|
|
55201
55201
|
} | {
|
|
55202
|
-
abi:
|
|
55202
|
+
abi: abitype35.Abi;
|
|
55203
55203
|
functionName: string;
|
|
55204
55204
|
args?: readonly unknown[] | undefined;
|
|
55205
55205
|
address: Address;
|
|
@@ -55227,7 +55227,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55227
55227
|
reset: () => void;
|
|
55228
55228
|
context: unknown;
|
|
55229
55229
|
submittedAt: number;
|
|
55230
|
-
writeContract:
|
|
55230
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55231
55231
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55232
55232
|
model: "static";
|
|
55233
55233
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55245,10 +55245,10 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55245
55245
|
isPending: false;
|
|
55246
55246
|
isSuccess: true;
|
|
55247
55247
|
failureCount: number;
|
|
55248
|
-
failureReason:
|
|
55248
|
+
failureReason: _wagmi_core9.WriteContractErrorType | null;
|
|
55249
55249
|
isPaused: boolean;
|
|
55250
55250
|
variables: {
|
|
55251
|
-
abi:
|
|
55251
|
+
abi: abitype35.Abi;
|
|
55252
55252
|
functionName: string;
|
|
55253
55253
|
args?: readonly unknown[] | undefined;
|
|
55254
55254
|
address: Address;
|
|
@@ -55272,7 +55272,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55272
55272
|
chainId?: number | undefined;
|
|
55273
55273
|
connector?: wagmi0.Connector | undefined;
|
|
55274
55274
|
} | {
|
|
55275
|
-
abi:
|
|
55275
|
+
abi: abitype35.Abi;
|
|
55276
55276
|
functionName: string;
|
|
55277
55277
|
args?: readonly unknown[] | undefined;
|
|
55278
55278
|
address: Address;
|
|
@@ -55296,7 +55296,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55296
55296
|
chainId?: number | undefined;
|
|
55297
55297
|
connector?: wagmi0.Connector | undefined;
|
|
55298
55298
|
} | {
|
|
55299
|
-
abi:
|
|
55299
|
+
abi: abitype35.Abi;
|
|
55300
55300
|
functionName: string;
|
|
55301
55301
|
args?: readonly unknown[] | undefined;
|
|
55302
55302
|
address: Address;
|
|
@@ -55320,7 +55320,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55320
55320
|
chainId?: number | undefined;
|
|
55321
55321
|
connector?: wagmi0.Connector | undefined;
|
|
55322
55322
|
} | {
|
|
55323
|
-
abi:
|
|
55323
|
+
abi: abitype35.Abi;
|
|
55324
55324
|
functionName: string;
|
|
55325
55325
|
args?: readonly unknown[] | undefined;
|
|
55326
55326
|
address: Address;
|
|
@@ -55344,7 +55344,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55344
55344
|
chainId?: number | undefined;
|
|
55345
55345
|
connector?: wagmi0.Connector | undefined;
|
|
55346
55346
|
} | {
|
|
55347
|
-
abi:
|
|
55347
|
+
abi: abitype35.Abi;
|
|
55348
55348
|
functionName: string;
|
|
55349
55349
|
args?: readonly unknown[] | undefined;
|
|
55350
55350
|
address: Address;
|
|
@@ -55368,7 +55368,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55368
55368
|
chainId?: number | undefined;
|
|
55369
55369
|
connector?: wagmi0.Connector | undefined;
|
|
55370
55370
|
} | {
|
|
55371
|
-
abi:
|
|
55371
|
+
abi: abitype35.Abi;
|
|
55372
55372
|
functionName: string;
|
|
55373
55373
|
args?: readonly unknown[] | undefined;
|
|
55374
55374
|
address: Address;
|
|
@@ -55396,7 +55396,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55396
55396
|
reset: () => void;
|
|
55397
55397
|
context: unknown;
|
|
55398
55398
|
submittedAt: number;
|
|
55399
|
-
writeContract:
|
|
55399
|
+
writeContract: wagmi_query7.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55400
55400
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55401
55401
|
model: "static";
|
|
55402
55402
|
} : Partial<OptionPricingParams> & {
|
|
@@ -97537,4 +97537,4 @@ declare const useLens: () => {
|
|
|
97537
97537
|
};
|
|
97538
97538
|
//#endregion
|
|
97539
97539
|
export { PriceResolution as $, swapRouters as $t, useCurrentPrice as A, scaleAmount as At, getPriceAtTick as B, useMarketState as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatCondensed as Dt, usePriceHistory as E, formatAmount as Et, getPayoutAtTick as F, wrapAmountUnscaled as Ft, liquiditiesToAmounts as G, TimelockLens as Gt, getTickAtPrice as H, TimelockProvider as Ht, PRICE_PRECISION as I, wrapPrice as It, token0ToToken1AtTick as J, getErc20 as Jt, roundTick as K, TimelockMarket as Kt, getAmountsFromLiquidity as L, wrapPriceUnscaled as Lt, UniswapPoolData as M, unscaleAmount as Mt, usePoolData as N, unscalePrice as Nt, usePriceAtTick as O, formatUSD as Ot, getPayoutAtPrice as P, wrapAmount as Pt, PriceDataPoint as Q, stateViews as Qt, getNearestValidStrikeTick as R, zero as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, useCurrentMarket as Ut, getSqrtPriceX96AtPrice as V, useMarketData as Vt, liquiditiesToAmount1 as W, useTimelockConfig as Wt, token1ToToken0AtTick as X, getTimelockLens as Xt, token1ToToken0 as Y, getStateView as Yt, PriceData as Z, getTimelockMarket 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, swappers 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, scalePrice as jt, useCurrentTick as k, formatVagueAmount as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockLenses as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarketData as qt, useStaticPricingParams as r, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, timelockFactories 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, useMarketVolume as zt };
|
|
97540
|
-
//# sourceMappingURL=client-
|
|
97540
|
+
//# sourceMappingURL=client-DZo2o8pt.d.cts.map
|