timelock-sdk 0.0.190 → 0.0.192
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-DyoqV6dM.d.cts → client-DiPQ92xm.d.ts} +245 -241
- package/dist/{client-BX2dCGNQ.d.ts → client-i-S2ZmAZ.d.cts} +803 -799
- package/dist/client.cjs +7 -3
- 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 +7 -3
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-BjPxfPAz.js → optionUtils-96oUNrzV.js} +2 -3
- package/dist/optionUtils-96oUNrzV.js.map +1 -0
- package/dist/{optionUtils-Dj9hOtZo.cjs → optionUtils-DsqMIDm1.cjs} +2 -3
- package/dist/optionUtils-DsqMIDm1.cjs.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +1 -1
- package/package.json +1 -1
- package/dist/optionUtils-BjPxfPAz.js.map +0 -1
- package/dist/optionUtils-Dj9hOtZo.cjs.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-B0Om62Sk.cjs";
|
|
2
|
+
import * as viem491 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
-
import Big from "big.js";
|
|
5
|
-
import JSBI from "jsbi";
|
|
6
4
|
import React, { ReactNode } from "react";
|
|
5
|
+
import "graphql";
|
|
7
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
9
|
import * as wagmi0 from "wagmi";
|
|
11
|
-
import "
|
|
12
|
-
import
|
|
10
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
11
|
+
import Big from "big.js";
|
|
12
|
+
import JSBI from "jsbi";
|
|
13
13
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
14
|
+
import * as wagmi_query11 from "wagmi/query";
|
|
15
|
+
import * as abitype17 from "abitype";
|
|
16
16
|
|
|
17
17
|
//#region src/generated/graphql.d.ts
|
|
18
18
|
type Exact<T$1 extends {
|
|
@@ -162,7 +162,9 @@ type GetMarketVolumeQuery = {
|
|
|
162
162
|
address: string;
|
|
163
163
|
optionsCount: any;
|
|
164
164
|
tradersCount: any;
|
|
165
|
-
|
|
165
|
+
totalVolume: any;
|
|
166
|
+
totalPremium: any;
|
|
167
|
+
totalProfit: any;
|
|
166
168
|
}>;
|
|
167
169
|
};
|
|
168
170
|
type GetUserMarketOperatorsQueryVariables = Exact<{
|
|
@@ -247,7 +249,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
247
249
|
};
|
|
248
250
|
declare const getErc20: (address: Address, client: Client) => {
|
|
249
251
|
read: {
|
|
250
|
-
symbol: (options?:
|
|
252
|
+
symbol: (options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
251
253
|
readonly type: "constructor";
|
|
252
254
|
readonly inputs: readonly [{
|
|
253
255
|
readonly name: "name_";
|
|
@@ -426,7 +428,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
426
428
|
}];
|
|
427
429
|
readonly stateMutability: "nonpayable";
|
|
428
430
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
429
|
-
|
|
431
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
430
432
|
readonly type: "constructor";
|
|
431
433
|
readonly inputs: readonly [{
|
|
432
434
|
readonly name: "name_";
|
|
@@ -604,8 +606,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
604
606
|
readonly internalType: "bool";
|
|
605
607
|
}];
|
|
606
608
|
readonly stateMutability: "nonpayable";
|
|
607
|
-
}], "
|
|
608
|
-
|
|
609
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
610
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
609
611
|
readonly type: "constructor";
|
|
610
612
|
readonly inputs: readonly [{
|
|
611
613
|
readonly name: "name_";
|
|
@@ -783,8 +785,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
783
785
|
readonly internalType: "bool";
|
|
784
786
|
}];
|
|
785
787
|
readonly stateMutability: "nonpayable";
|
|
786
|
-
}], "
|
|
787
|
-
|
|
788
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
789
|
+
decimals: (options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
788
790
|
readonly type: "constructor";
|
|
789
791
|
readonly inputs: readonly [{
|
|
790
792
|
readonly name: "name_";
|
|
@@ -962,8 +964,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
962
964
|
readonly internalType: "bool";
|
|
963
965
|
}];
|
|
964
966
|
readonly stateMutability: "nonpayable";
|
|
965
|
-
}], "
|
|
966
|
-
|
|
967
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
968
|
+
name: (options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
967
969
|
readonly type: "constructor";
|
|
968
970
|
readonly inputs: readonly [{
|
|
969
971
|
readonly name: "name_";
|
|
@@ -1141,8 +1143,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1141
1143
|
readonly internalType: "bool";
|
|
1142
1144
|
}];
|
|
1143
1145
|
readonly stateMutability: "nonpayable";
|
|
1144
|
-
}], "
|
|
1145
|
-
totalSupply: (options?:
|
|
1146
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1147
|
+
totalSupply: (options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
1146
1148
|
readonly type: "constructor";
|
|
1147
1149
|
readonly inputs: readonly [{
|
|
1148
1150
|
readonly name: "name_";
|
|
@@ -1323,7 +1325,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1323
1325
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1324
1326
|
};
|
|
1325
1327
|
estimateGas: {
|
|
1326
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1328
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
1327
1329
|
readonly type: "constructor";
|
|
1328
1330
|
readonly inputs: readonly [{
|
|
1329
1331
|
readonly name: "name_";
|
|
@@ -1501,8 +1503,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1501
1503
|
readonly internalType: "bool";
|
|
1502
1504
|
}];
|
|
1503
1505
|
readonly stateMutability: "nonpayable";
|
|
1504
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1505
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1506
|
+
}], "approve", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
1507
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
1506
1508
|
readonly type: "constructor";
|
|
1507
1509
|
readonly inputs: readonly [{
|
|
1508
1510
|
readonly name: "name_";
|
|
@@ -1680,8 +1682,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1680
1682
|
readonly internalType: "bool";
|
|
1681
1683
|
}];
|
|
1682
1684
|
readonly stateMutability: "nonpayable";
|
|
1683
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1684
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1685
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
1686
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
1685
1687
|
readonly type: "constructor";
|
|
1686
1688
|
readonly inputs: readonly [{
|
|
1687
1689
|
readonly name: "name_";
|
|
@@ -1859,8 +1861,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1859
1861
|
readonly internalType: "bool";
|
|
1860
1862
|
}];
|
|
1861
1863
|
readonly stateMutability: "nonpayable";
|
|
1862
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1863
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1864
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
1865
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
1864
1866
|
readonly type: "constructor";
|
|
1865
1867
|
readonly inputs: readonly [{
|
|
1866
1868
|
readonly name: "name_";
|
|
@@ -2038,8 +2040,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2038
2040
|
readonly internalType: "bool";
|
|
2039
2041
|
}];
|
|
2040
2042
|
readonly stateMutability: "nonpayable";
|
|
2041
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2042
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2043
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2044
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2043
2045
|
readonly type: "constructor";
|
|
2044
2046
|
readonly inputs: readonly [{
|
|
2045
2047
|
readonly name: "name_";
|
|
@@ -2217,9 +2219,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2217
2219
|
readonly internalType: "bool";
|
|
2218
2220
|
}];
|
|
2219
2221
|
readonly stateMutability: "nonpayable";
|
|
2220
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2222
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2221
2223
|
} & {
|
|
2222
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2224
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2223
2225
|
readonly type: "constructor";
|
|
2224
2226
|
readonly inputs: readonly [{
|
|
2225
2227
|
readonly name: "name_";
|
|
@@ -2397,8 +2399,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2397
2399
|
readonly internalType: "bool";
|
|
2398
2400
|
}];
|
|
2399
2401
|
readonly stateMutability: "nonpayable";
|
|
2400
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2401
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2402
|
+
}], "approve", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2403
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2402
2404
|
readonly type: "constructor";
|
|
2403
2405
|
readonly inputs: readonly [{
|
|
2404
2406
|
readonly name: "name_";
|
|
@@ -2576,8 +2578,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2576
2578
|
readonly internalType: "bool";
|
|
2577
2579
|
}];
|
|
2578
2580
|
readonly stateMutability: "nonpayable";
|
|
2579
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2580
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2581
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2582
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2581
2583
|
readonly type: "constructor";
|
|
2582
2584
|
readonly inputs: readonly [{
|
|
2583
2585
|
readonly name: "name_";
|
|
@@ -2755,8 +2757,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2755
2757
|
readonly internalType: "bool";
|
|
2756
2758
|
}];
|
|
2757
2759
|
readonly stateMutability: "nonpayable";
|
|
2758
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2759
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2760
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2761
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2760
2762
|
readonly type: "constructor";
|
|
2761
2763
|
readonly inputs: readonly [{
|
|
2762
2764
|
readonly name: "name_";
|
|
@@ -2934,8 +2936,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2934
2936
|
readonly internalType: "bool";
|
|
2935
2937
|
}];
|
|
2936
2938
|
readonly stateMutability: "nonpayable";
|
|
2937
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2938
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2939
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
2940
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem491.Prettify<viem491.UnionOmit<viem491.EstimateContractGasParameters<readonly [{
|
|
2939
2941
|
readonly type: "constructor";
|
|
2940
2942
|
readonly inputs: readonly [{
|
|
2941
2943
|
readonly name: "name_";
|
|
@@ -3113,10 +3115,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3113
3115
|
readonly internalType: "bool";
|
|
3114
3116
|
}];
|
|
3115
3117
|
readonly stateMutability: "nonpayable";
|
|
3116
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3118
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem491.EstimateContractGasReturnType>;
|
|
3117
3119
|
};
|
|
3118
3120
|
simulate: {
|
|
3119
|
-
approve: <chainOverride extends
|
|
3121
|
+
approve: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
3120
3122
|
readonly type: "constructor";
|
|
3121
3123
|
readonly inputs: readonly [{
|
|
3122
3124
|
readonly name: "name_";
|
|
@@ -3294,7 +3296,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3294
3296
|
readonly internalType: "bool";
|
|
3295
3297
|
}];
|
|
3296
3298
|
readonly stateMutability: "nonpayable";
|
|
3297
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3299
|
+
}], "approve", readonly [`0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
3298
3300
|
readonly type: "constructor";
|
|
3299
3301
|
readonly inputs: readonly [{
|
|
3300
3302
|
readonly name: "name_";
|
|
@@ -3472,8 +3474,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3472
3474
|
readonly internalType: "bool";
|
|
3473
3475
|
}];
|
|
3474
3476
|
readonly stateMutability: "nonpayable";
|
|
3475
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3476
|
-
decreaseAllowance: <chainOverride extends
|
|
3477
|
+
}], "approve", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
3478
|
+
decreaseAllowance: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
3477
3479
|
readonly type: "constructor";
|
|
3478
3480
|
readonly inputs: readonly [{
|
|
3479
3481
|
readonly name: "name_";
|
|
@@ -3651,7 +3653,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3651
3653
|
readonly internalType: "bool";
|
|
3652
3654
|
}];
|
|
3653
3655
|
readonly stateMutability: "nonpayable";
|
|
3654
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3656
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
3655
3657
|
readonly type: "constructor";
|
|
3656
3658
|
readonly inputs: readonly [{
|
|
3657
3659
|
readonly name: "name_";
|
|
@@ -3829,8 +3831,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3829
3831
|
readonly internalType: "bool";
|
|
3830
3832
|
}];
|
|
3831
3833
|
readonly stateMutability: "nonpayable";
|
|
3832
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3833
|
-
increaseAllowance: <chainOverride extends
|
|
3834
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
3835
|
+
increaseAllowance: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
3834
3836
|
readonly type: "constructor";
|
|
3835
3837
|
readonly inputs: readonly [{
|
|
3836
3838
|
readonly name: "name_";
|
|
@@ -4008,7 +4010,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4008
4010
|
readonly internalType: "bool";
|
|
4009
4011
|
}];
|
|
4010
4012
|
readonly stateMutability: "nonpayable";
|
|
4011
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4013
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
4012
4014
|
readonly type: "constructor";
|
|
4013
4015
|
readonly inputs: readonly [{
|
|
4014
4016
|
readonly name: "name_";
|
|
@@ -4186,8 +4188,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4186
4188
|
readonly internalType: "bool";
|
|
4187
4189
|
}];
|
|
4188
4190
|
readonly stateMutability: "nonpayable";
|
|
4189
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4190
|
-
transfer: <chainOverride extends
|
|
4191
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
4192
|
+
transfer: <chainOverride extends viem491.Chain | undefined = undefined, accountOverride extends viem491.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem491.SimulateContractParameters<readonly [{
|
|
4191
4193
|
readonly type: "constructor";
|
|
4192
4194
|
readonly inputs: readonly [{
|
|
4193
4195
|
readonly name: "name_";
|
|
@@ -4365,7 +4367,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4365
4367
|
readonly internalType: "bool";
|
|
4366
4368
|
}];
|
|
4367
4369
|
readonly stateMutability: "nonpayable";
|
|
4368
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4370
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
4369
4371
|
readonly type: "constructor";
|
|
4370
4372
|
readonly inputs: readonly [{
|
|
4371
4373
|
readonly name: "name_";
|
|
@@ -4543,8 +4545,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4543
4545
|
readonly internalType: "bool";
|
|
4544
4546
|
}];
|
|
4545
4547
|
readonly stateMutability: "nonpayable";
|
|
4546
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4547
|
-
transferFrom: <chainOverride extends
|
|
4548
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
4549
|
+
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 [{
|
|
4548
4550
|
readonly type: "constructor";
|
|
4549
4551
|
readonly inputs: readonly [{
|
|
4550
4552
|
readonly name: "name_";
|
|
@@ -4722,7 +4724,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4722
4724
|
readonly internalType: "bool";
|
|
4723
4725
|
}];
|
|
4724
4726
|
readonly stateMutability: "nonpayable";
|
|
4725
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4727
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem491.SimulateContractReturnType<readonly [{
|
|
4726
4728
|
readonly type: "constructor";
|
|
4727
4729
|
readonly inputs: readonly [{
|
|
4728
4730
|
readonly name: "name_";
|
|
@@ -4900,10 +4902,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4900
4902
|
readonly internalType: "bool";
|
|
4901
4903
|
}];
|
|
4902
4904
|
readonly stateMutability: "nonpayable";
|
|
4903
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4905
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem491.Chain | undefined, viem491.Account | undefined, chainOverride, accountOverride>>;
|
|
4904
4906
|
};
|
|
4905
4907
|
write: {
|
|
4906
|
-
approve: <chainOverride extends
|
|
4908
|
+
approve: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
4907
4909
|
readonly type: "constructor";
|
|
4908
4910
|
readonly inputs: readonly [{
|
|
4909
4911
|
readonly name: "name_";
|
|
@@ -5081,8 +5083,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5081
5083
|
readonly internalType: "bool";
|
|
5082
5084
|
}];
|
|
5083
5085
|
readonly stateMutability: "nonpayable";
|
|
5084
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5085
|
-
decreaseAllowance: <chainOverride extends
|
|
5086
|
+
}], "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>;
|
|
5087
|
+
decreaseAllowance: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
5086
5088
|
readonly type: "constructor";
|
|
5087
5089
|
readonly inputs: readonly [{
|
|
5088
5090
|
readonly name: "name_";
|
|
@@ -5260,8 +5262,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5260
5262
|
readonly internalType: "bool";
|
|
5261
5263
|
}];
|
|
5262
5264
|
readonly stateMutability: "nonpayable";
|
|
5263
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5264
|
-
increaseAllowance: <chainOverride extends
|
|
5265
|
+
}], "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>;
|
|
5266
|
+
increaseAllowance: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
5265
5267
|
readonly type: "constructor";
|
|
5266
5268
|
readonly inputs: readonly [{
|
|
5267
5269
|
readonly name: "name_";
|
|
@@ -5439,8 +5441,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5439
5441
|
readonly internalType: "bool";
|
|
5440
5442
|
}];
|
|
5441
5443
|
readonly stateMutability: "nonpayable";
|
|
5442
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5443
|
-
transfer: <chainOverride extends
|
|
5444
|
+
}], "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>;
|
|
5445
|
+
transfer: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
5444
5446
|
readonly type: "constructor";
|
|
5445
5447
|
readonly inputs: readonly [{
|
|
5446
5448
|
readonly name: "name_";
|
|
@@ -5618,8 +5620,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5618
5620
|
readonly internalType: "bool";
|
|
5619
5621
|
}];
|
|
5620
5622
|
readonly stateMutability: "nonpayable";
|
|
5621
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5622
|
-
transferFrom: <chainOverride extends
|
|
5623
|
+
}], "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>;
|
|
5624
|
+
transferFrom: <chainOverride extends viem491.Chain | undefined, options extends (viem491.UnionOmit<viem491.WriteContractParameters<readonly [{
|
|
5623
5625
|
readonly type: "constructor";
|
|
5624
5626
|
readonly inputs: readonly [{
|
|
5625
5627
|
readonly name: "name_";
|
|
@@ -5797,7 +5799,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5797
5799
|
readonly internalType: "bool";
|
|
5798
5800
|
}];
|
|
5799
5801
|
readonly stateMutability: "nonpayable";
|
|
5800
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5802
|
+
}], "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>;
|
|
5801
5803
|
};
|
|
5802
5804
|
address: `0x${string}`;
|
|
5803
5805
|
abi: readonly [{
|
|
@@ -5983,7 +5985,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5983
5985
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5984
5986
|
declare const getStateView: (client: PublicClient, address?: Address) => Promise<{
|
|
5985
5987
|
read: {
|
|
5986
|
-
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
5988
|
+
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
5987
5989
|
readonly type: "function";
|
|
5988
5990
|
readonly name: "getFeeGrowthGlobals";
|
|
5989
5991
|
readonly inputs: readonly [{
|
|
@@ -6830,7 +6832,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
6830
6832
|
fee: number;
|
|
6831
6833
|
tickSpacing: number;
|
|
6832
6834
|
hooks: `0x${string}`;
|
|
6833
|
-
}], options?:
|
|
6835
|
+
}], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
6834
6836
|
readonly type: "function";
|
|
6835
6837
|
readonly name: "getFeeGrowthGlobals";
|
|
6836
6838
|
readonly inputs: readonly [{
|
|
@@ -7672,7 +7674,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
7672
7674
|
tickSpacing: number;
|
|
7673
7675
|
hooks: `0x${string}`;
|
|
7674
7676
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
7675
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?:
|
|
7677
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
7676
7678
|
readonly type: "function";
|
|
7677
7679
|
readonly name: "getFeeGrowthGlobals";
|
|
7678
7680
|
readonly inputs: readonly [{
|
|
@@ -8519,7 +8521,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
8519
8521
|
fee: number;
|
|
8520
8522
|
tickSpacing: number;
|
|
8521
8523
|
hooks: `0x${string}`;
|
|
8522
|
-
}, number, number], options?:
|
|
8524
|
+
}, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
8523
8525
|
readonly type: "function";
|
|
8524
8526
|
readonly name: "getFeeGrowthGlobals";
|
|
8525
8527
|
readonly inputs: readonly [{
|
|
@@ -9361,7 +9363,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
9361
9363
|
tickSpacing: number;
|
|
9362
9364
|
hooks: `0x${string}`;
|
|
9363
9365
|
}, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
9364
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
9366
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
9365
9367
|
readonly type: "function";
|
|
9366
9368
|
readonly name: "getFeeGrowthGlobals";
|
|
9367
9369
|
readonly inputs: readonly [{
|
|
@@ -10208,7 +10210,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
10208
10210
|
fee: number;
|
|
10209
10211
|
tickSpacing: number;
|
|
10210
10212
|
hooks: `0x${string}`;
|
|
10211
|
-
}], options?:
|
|
10213
|
+
}], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
10212
10214
|
readonly type: "function";
|
|
10213
10215
|
readonly name: "getFeeGrowthGlobals";
|
|
10214
10216
|
readonly inputs: readonly [{
|
|
@@ -11050,7 +11052,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
11050
11052
|
tickSpacing: number;
|
|
11051
11053
|
hooks: `0x${string}`;
|
|
11052
11054
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
11053
|
-
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
11055
|
+
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
11054
11056
|
readonly type: "function";
|
|
11055
11057
|
readonly name: "getFeeGrowthGlobals";
|
|
11056
11058
|
readonly inputs: readonly [{
|
|
@@ -11897,7 +11899,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
11897
11899
|
fee: number;
|
|
11898
11900
|
tickSpacing: number;
|
|
11899
11901
|
hooks: `0x${string}`;
|
|
11900
|
-
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?:
|
|
11902
|
+
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
11901
11903
|
readonly type: "function";
|
|
11902
11904
|
readonly name: "getFeeGrowthGlobals";
|
|
11903
11905
|
readonly inputs: readonly [{
|
|
@@ -12750,7 +12752,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
12750
12752
|
fee: number;
|
|
12751
12753
|
tickSpacing: number;
|
|
12752
12754
|
hooks: `0x${string}`;
|
|
12753
|
-
}, `0x${string}`], options?:
|
|
12755
|
+
}, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
12754
12756
|
readonly type: "function";
|
|
12755
12757
|
readonly name: "getFeeGrowthGlobals";
|
|
12756
12758
|
readonly inputs: readonly [{
|
|
@@ -13603,7 +13605,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
13603
13605
|
fee: number;
|
|
13604
13606
|
tickSpacing: number;
|
|
13605
13607
|
hooks: `0x${string}`;
|
|
13606
|
-
}, `0x${string}`, number, number, `0x${string}`], options?:
|
|
13608
|
+
}, `0x${string}`, number, number, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
13607
13609
|
readonly type: "function";
|
|
13608
13610
|
readonly name: "getFeeGrowthGlobals";
|
|
13609
13611
|
readonly inputs: readonly [{
|
|
@@ -14451,7 +14453,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
14451
14453
|
tickSpacing: number;
|
|
14452
14454
|
hooks: `0x${string}`;
|
|
14453
14455
|
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
14454
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
14456
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
14455
14457
|
readonly type: "function";
|
|
14456
14458
|
readonly name: "getFeeGrowthGlobals";
|
|
14457
14459
|
readonly inputs: readonly [{
|
|
@@ -15298,7 +15300,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
15298
15300
|
fee: number;
|
|
15299
15301
|
tickSpacing: number;
|
|
15300
15302
|
hooks: `0x${string}`;
|
|
15301
|
-
}, `0x${string}`], options?:
|
|
15303
|
+
}, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
15302
15304
|
readonly type: "function";
|
|
15303
15305
|
readonly name: "getFeeGrowthGlobals";
|
|
15304
15306
|
readonly inputs: readonly [{
|
|
@@ -16146,7 +16148,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
16146
16148
|
fee: number;
|
|
16147
16149
|
tickSpacing: number;
|
|
16148
16150
|
hooks: `0x${string}`;
|
|
16149
|
-
}], options?:
|
|
16151
|
+
}], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
16150
16152
|
readonly type: "function";
|
|
16151
16153
|
readonly name: "getFeeGrowthGlobals";
|
|
16152
16154
|
readonly inputs: readonly [{
|
|
@@ -16988,7 +16990,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
16988
16990
|
tickSpacing: number;
|
|
16989
16991
|
hooks: `0x${string}`;
|
|
16990
16992
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
|
|
16991
|
-
getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
16993
|
+
getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
16992
16994
|
readonly type: "function";
|
|
16993
16995
|
readonly name: "getFeeGrowthGlobals";
|
|
16994
16996
|
readonly inputs: readonly [{
|
|
@@ -17824,7 +17826,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
17824
17826
|
}];
|
|
17825
17827
|
readonly stateMutability: "view";
|
|
17826
17828
|
}], "getSlot0FromId", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
|
|
17827
|
-
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
17829
|
+
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
17828
17830
|
readonly type: "function";
|
|
17829
17831
|
readonly name: "getFeeGrowthGlobals";
|
|
17830
17832
|
readonly inputs: readonly [{
|
|
@@ -18671,7 +18673,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
18671
18673
|
fee: number;
|
|
18672
18674
|
tickSpacing: number;
|
|
18673
18675
|
hooks: `0x${string}`;
|
|
18674
|
-
}, number], options?:
|
|
18676
|
+
}, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
18675
18677
|
readonly type: "function";
|
|
18676
18678
|
readonly name: "getFeeGrowthGlobals";
|
|
18677
18679
|
readonly inputs: readonly [{
|
|
@@ -19513,7 +19515,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
19513
19515
|
tickSpacing: number;
|
|
19514
19516
|
hooks: `0x${string}`;
|
|
19515
19517
|
}, number] | readonly [`0x${string}`, `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
19516
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
19518
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
19517
19519
|
readonly type: "function";
|
|
19518
19520
|
readonly name: "getFeeGrowthGlobals";
|
|
19519
19521
|
readonly inputs: readonly [{
|
|
@@ -20360,7 +20362,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
20360
20362
|
fee: number;
|
|
20361
20363
|
tickSpacing: number;
|
|
20362
20364
|
hooks: `0x${string}`;
|
|
20363
|
-
}, number], options?:
|
|
20365
|
+
}, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
20364
20366
|
readonly type: "function";
|
|
20365
20367
|
readonly name: "getFeeGrowthGlobals";
|
|
20366
20368
|
readonly inputs: readonly [{
|
|
@@ -21202,7 +21204,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
21202
21204
|
tickSpacing: number;
|
|
21203
21205
|
hooks: `0x${string}`;
|
|
21204
21206
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
21205
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
21207
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
21206
21208
|
readonly type: "function";
|
|
21207
21209
|
readonly name: "getFeeGrowthGlobals";
|
|
21208
21210
|
readonly inputs: readonly [{
|
|
@@ -22049,7 +22051,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
22049
22051
|
fee: number;
|
|
22050
22052
|
tickSpacing: number;
|
|
22051
22053
|
hooks: `0x${string}`;
|
|
22052
|
-
}, number], options?:
|
|
22054
|
+
}, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
22053
22055
|
readonly type: "function";
|
|
22054
22056
|
readonly name: "getFeeGrowthGlobals";
|
|
22055
22057
|
readonly inputs: readonly [{
|
|
@@ -22891,7 +22893,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
22891
22893
|
tickSpacing: number;
|
|
22892
22894
|
hooks: `0x${string}`;
|
|
22893
22895
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
22894
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
22896
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
22895
22897
|
readonly type: "function";
|
|
22896
22898
|
readonly name: "getFeeGrowthGlobals";
|
|
22897
22899
|
readonly inputs: readonly [{
|
|
@@ -23738,7 +23740,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
23738
23740
|
fee: number;
|
|
23739
23741
|
tickSpacing: number;
|
|
23740
23742
|
hooks: `0x${string}`;
|
|
23741
|
-
}, number], options?:
|
|
23743
|
+
}, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
23742
23744
|
readonly type: "function";
|
|
23743
23745
|
readonly name: "getFeeGrowthGlobals";
|
|
23744
23746
|
readonly inputs: readonly [{
|
|
@@ -25421,7 +25423,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
25421
25423
|
}>;
|
|
25422
25424
|
declare const getTimelockLens: (client: PublicClient, address?: Address) => Promise<{
|
|
25423
25425
|
read: {
|
|
25424
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
25426
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
25425
25427
|
readonly type: "function";
|
|
25426
25428
|
readonly name: "batchGetRefTick";
|
|
25427
25429
|
readonly inputs: readonly [{
|
|
@@ -26364,7 +26366,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
26364
26366
|
}];
|
|
26365
26367
|
readonly stateMutability: "view";
|
|
26366
26368
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
26367
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
26369
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
26368
26370
|
readonly type: "function";
|
|
26369
26371
|
readonly name: "batchGetRefTick";
|
|
26370
26372
|
readonly inputs: readonly [{
|
|
@@ -27319,7 +27321,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
27319
27321
|
borrowedAmount0: bigint;
|
|
27320
27322
|
borrowedAmount1: bigint;
|
|
27321
27323
|
}[]>;
|
|
27322
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
27324
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
27323
27325
|
readonly type: "function";
|
|
27324
27326
|
readonly name: "batchGetRefTick";
|
|
27325
27327
|
readonly inputs: readonly [{
|
|
@@ -28272,7 +28274,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
28272
28274
|
expiresAt: number;
|
|
28273
28275
|
liquidities: readonly bigint[];
|
|
28274
28276
|
}[]>;
|
|
28275
|
-
getFeeRates: (args: readonly [`0x${string}`], options?:
|
|
28277
|
+
getFeeRates: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
28276
28278
|
readonly type: "function";
|
|
28277
28279
|
readonly name: "batchGetRefTick";
|
|
28278
28280
|
readonly inputs: readonly [{
|
|
@@ -29221,7 +29223,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
29221
29223
|
minBaseFee: bigint;
|
|
29222
29224
|
feeRecipient: `0x${string}`;
|
|
29223
29225
|
}>;
|
|
29224
|
-
getGlobalGuardianState: (args: readonly [`0x${string}`], options?:
|
|
29226
|
+
getGlobalGuardianState: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
29225
29227
|
readonly type: "function";
|
|
29226
29228
|
readonly name: "batchGetRefTick";
|
|
29227
29229
|
readonly inputs: readonly [{
|
|
@@ -30180,7 +30182,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
30180
30182
|
senderIsAdmin: boolean;
|
|
30181
30183
|
senderIsPauser: boolean;
|
|
30182
30184
|
}>;
|
|
30183
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
30185
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
30184
30186
|
readonly type: "function";
|
|
30185
30187
|
readonly name: "batchGetRefTick";
|
|
30186
30188
|
readonly inputs: readonly [{
|
|
@@ -31123,7 +31125,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
31123
31125
|
}];
|
|
31124
31126
|
readonly stateMutability: "view";
|
|
31125
31127
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
31126
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
31128
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
31127
31129
|
readonly type: "function";
|
|
31128
31130
|
readonly name: "batchGetRefTick";
|
|
31129
31131
|
readonly inputs: readonly [{
|
|
@@ -32087,7 +32089,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
32087
32089
|
optionAssetName: string;
|
|
32088
32090
|
payoutAssetName: string;
|
|
32089
32091
|
}>;
|
|
32090
|
-
getMarketState: (args: readonly [`0x${string}`], options?:
|
|
32092
|
+
getMarketState: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
32091
32093
|
readonly type: "function";
|
|
32092
32094
|
readonly name: "batchGetRefTick";
|
|
32093
32095
|
readonly inputs: readonly [{
|
|
@@ -33035,7 +33037,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
33035
33037
|
feeStrategy: `0x${string}`;
|
|
33036
33038
|
owner: `0x${string}`;
|
|
33037
33039
|
}>;
|
|
33038
|
-
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?:
|
|
33040
|
+
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
33039
33041
|
readonly type: "function";
|
|
33040
33042
|
readonly name: "batchGetRefTick";
|
|
33041
33043
|
readonly inputs: readonly [{
|
|
@@ -33978,7 +33980,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
33978
33980
|
}];
|
|
33979
33981
|
readonly stateMutability: "view";
|
|
33980
33982
|
}], "getMaxATMPositionSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
33981
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
33983
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
33982
33984
|
readonly type: "function";
|
|
33983
33985
|
readonly name: "batchGetRefTick";
|
|
33984
33986
|
readonly inputs: readonly [{
|
|
@@ -34921,7 +34923,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
34921
34923
|
}];
|
|
34922
34924
|
readonly stateMutability: "view";
|
|
34923
34925
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
34924
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
34926
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
34925
34927
|
readonly type: "function";
|
|
34926
34928
|
readonly name: "batchGetRefTick";
|
|
34927
34929
|
readonly inputs: readonly [{
|
|
@@ -35864,7 +35866,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
35864
35866
|
}];
|
|
35865
35867
|
readonly stateMutability: "view";
|
|
35866
35868
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
35867
|
-
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?:
|
|
35869
|
+
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
35868
35870
|
readonly type: "function";
|
|
35869
35871
|
readonly name: "batchGetRefTick";
|
|
35870
35872
|
readonly inputs: readonly [{
|
|
@@ -36807,7 +36809,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
36807
36809
|
}];
|
|
36808
36810
|
readonly stateMutability: "view";
|
|
36809
36811
|
}], "getMaxPositionSizes", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
36810
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
36812
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
36811
36813
|
readonly type: "function";
|
|
36812
36814
|
readonly name: "batchGetRefTick";
|
|
36813
36815
|
readonly inputs: readonly [{
|
|
@@ -37760,7 +37762,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
37760
37762
|
expiresAt: number;
|
|
37761
37763
|
liquidities: readonly bigint[];
|
|
37762
37764
|
}>;
|
|
37763
|
-
getOptionPricingParams: (args: readonly [`0x${string}`], options?:
|
|
37765
|
+
getOptionPricingParams: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
37764
37766
|
readonly type: "function";
|
|
37765
37767
|
readonly name: "batchGetRefTick";
|
|
37766
37768
|
readonly inputs: readonly [{
|
|
@@ -38709,7 +38711,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
38709
38711
|
minPremiumDailyRate: number;
|
|
38710
38712
|
minPremiumAmount: bigint;
|
|
38711
38713
|
}>;
|
|
38712
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
38714
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
38713
38715
|
readonly type: "function";
|
|
38714
38716
|
readonly name: "batchGetRefTick";
|
|
38715
38717
|
readonly inputs: readonly [{
|
|
@@ -39668,7 +39670,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
39668
39670
|
fee: number;
|
|
39669
39671
|
tickSpacing: number;
|
|
39670
39672
|
hooks: `0x${string}`;
|
|
39671
|
-
}], options?:
|
|
39673
|
+
}], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
39672
39674
|
readonly type: "function";
|
|
39673
39675
|
readonly name: "batchGetRefTick";
|
|
39674
39676
|
readonly inputs: readonly [{
|
|
@@ -40628,7 +40630,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
40628
40630
|
tickSpacing: number;
|
|
40629
40631
|
fee: number;
|
|
40630
40632
|
}>;
|
|
40631
|
-
getPricingParams: (args: readonly [`0x${string}`], options?:
|
|
40633
|
+
getPricingParams: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
40632
40634
|
readonly type: "function";
|
|
40633
40635
|
readonly name: "batchGetRefTick";
|
|
40634
40636
|
readonly inputs: readonly [{
|
|
@@ -41571,7 +41573,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
41571
41573
|
}];
|
|
41572
41574
|
readonly stateMutability: "view";
|
|
41573
41575
|
}], "getPricingParams", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [number, `0x${string}`]>;
|
|
41574
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
41576
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
41575
41577
|
readonly type: "function";
|
|
41576
41578
|
readonly name: "batchGetRefTick";
|
|
41577
41579
|
readonly inputs: readonly [{
|
|
@@ -42514,7 +42516,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
42514
42516
|
}];
|
|
42515
42517
|
readonly stateMutability: "view";
|
|
42516
42518
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
42517
|
-
getStaticPricingParams: (args: readonly [`0x${string}`], options?:
|
|
42519
|
+
getStaticPricingParams: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
42518
42520
|
readonly type: "function";
|
|
42519
42521
|
readonly name: "batchGetRefTick";
|
|
42520
42522
|
readonly inputs: readonly [{
|
|
@@ -43460,7 +43462,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
43460
43462
|
dailyFundingRate: number;
|
|
43461
43463
|
minFundingAmount: bigint;
|
|
43462
43464
|
}>;
|
|
43463
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
43465
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
43464
43466
|
readonly type: "function";
|
|
43465
43467
|
readonly name: "batchGetRefTick";
|
|
43466
43468
|
readonly inputs: readonly [{
|
|
@@ -44407,7 +44409,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
44407
44409
|
symbol: string;
|
|
44408
44410
|
name: string;
|
|
44409
44411
|
}>;
|
|
44410
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44412
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
44411
44413
|
readonly type: "function";
|
|
44412
44414
|
readonly name: "batchGetRefTick";
|
|
44413
44415
|
readonly inputs: readonly [{
|
|
@@ -45360,7 +45362,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
45360
45362
|
expiresAt: number;
|
|
45361
45363
|
liquidities: readonly bigint[];
|
|
45362
45364
|
}[], bigint, boolean]>;
|
|
45363
|
-
getVaultData: (args: readonly [`0x${string}`], options?:
|
|
45365
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
45364
45366
|
readonly type: "function";
|
|
45365
45367
|
readonly name: "batchGetRefTick";
|
|
45366
45368
|
readonly inputs: readonly [{
|
|
@@ -46313,7 +46315,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
46313
46315
|
};
|
|
46314
46316
|
poolId: `0x${string}`;
|
|
46315
46317
|
}>;
|
|
46316
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
46318
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
46317
46319
|
readonly type: "function";
|
|
46318
46320
|
readonly name: "batchGetRefTick";
|
|
46319
46321
|
readonly inputs: readonly [{
|
|
@@ -49254,9 +49256,11 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
49254
49256
|
}>;
|
|
49255
49257
|
//#endregion
|
|
49256
49258
|
//#region src/hooks/market/useMarketVolume.d.ts
|
|
49257
|
-
declare const useMarketVolume: (marketAddr: Address | undefined) =>
|
|
49259
|
+
declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
|
|
49258
49260
|
address: Address;
|
|
49259
|
-
|
|
49261
|
+
totalVolume: bigint;
|
|
49262
|
+
totalPremium: bigint;
|
|
49263
|
+
totalProfit: bigint;
|
|
49260
49264
|
optionsCount: bigint;
|
|
49261
49265
|
tradersCount: bigint;
|
|
49262
49266
|
__typename: "TimelockMarket";
|
|
@@ -49286,7 +49290,7 @@ declare const formatUSD: (value: Big | string | number) => string;
|
|
|
49286
49290
|
//#endregion
|
|
49287
49291
|
//#region src/hooks/options/useMaxPositionSize.d.ts
|
|
49288
49292
|
declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?: number, maxSteps?: number) => {
|
|
49289
|
-
error:
|
|
49293
|
+
error: viem491.ReadContractErrorType;
|
|
49290
49294
|
isError: true;
|
|
49291
49295
|
isPending: false;
|
|
49292
49296
|
isLoading: false;
|
|
@@ -49298,7 +49302,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49298
49302
|
dataUpdatedAt: number;
|
|
49299
49303
|
errorUpdatedAt: number;
|
|
49300
49304
|
failureCount: number;
|
|
49301
|
-
failureReason:
|
|
49305
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49302
49306
|
errorUpdateCount: number;
|
|
49303
49307
|
isFetched: boolean;
|
|
49304
49308
|
isFetchedAfterMount: boolean;
|
|
@@ -49308,10 +49312,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49308
49312
|
isRefetching: boolean;
|
|
49309
49313
|
isStale: boolean;
|
|
49310
49314
|
isEnabled: boolean;
|
|
49311
|
-
refetch: (options?:
|
|
49312
|
-
fetchStatus:
|
|
49315
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem491.ReadContractErrorType>>;
|
|
49316
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49313
49317
|
promise: Promise<never>;
|
|
49314
|
-
queryKey:
|
|
49318
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49315
49319
|
maxCallSize: Amount | undefined;
|
|
49316
49320
|
maxPutSize: Amount | undefined;
|
|
49317
49321
|
} | {
|
|
@@ -49327,7 +49331,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49327
49331
|
dataUpdatedAt: number;
|
|
49328
49332
|
errorUpdatedAt: number;
|
|
49329
49333
|
failureCount: number;
|
|
49330
|
-
failureReason:
|
|
49334
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49331
49335
|
errorUpdateCount: number;
|
|
49332
49336
|
isFetched: boolean;
|
|
49333
49337
|
isFetchedAfterMount: boolean;
|
|
@@ -49337,14 +49341,14 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49337
49341
|
isRefetching: boolean;
|
|
49338
49342
|
isStale: boolean;
|
|
49339
49343
|
isEnabled: boolean;
|
|
49340
|
-
refetch: (options?:
|
|
49341
|
-
fetchStatus:
|
|
49344
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem491.ReadContractErrorType>>;
|
|
49345
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49342
49346
|
promise: Promise<never>;
|
|
49343
|
-
queryKey:
|
|
49347
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49344
49348
|
maxCallSize: Amount | undefined;
|
|
49345
49349
|
maxPutSize: Amount | undefined;
|
|
49346
49350
|
} | {
|
|
49347
|
-
error:
|
|
49351
|
+
error: viem491.ReadContractErrorType;
|
|
49348
49352
|
isError: true;
|
|
49349
49353
|
isPending: false;
|
|
49350
49354
|
isLoading: false;
|
|
@@ -49356,7 +49360,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49356
49360
|
dataUpdatedAt: number;
|
|
49357
49361
|
errorUpdatedAt: number;
|
|
49358
49362
|
failureCount: number;
|
|
49359
|
-
failureReason:
|
|
49363
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49360
49364
|
errorUpdateCount: number;
|
|
49361
49365
|
isFetched: boolean;
|
|
49362
49366
|
isFetchedAfterMount: boolean;
|
|
@@ -49366,10 +49370,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49366
49370
|
isRefetching: boolean;
|
|
49367
49371
|
isStale: boolean;
|
|
49368
49372
|
isEnabled: boolean;
|
|
49369
|
-
refetch: (options?:
|
|
49370
|
-
fetchStatus:
|
|
49373
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem491.ReadContractErrorType>>;
|
|
49374
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49371
49375
|
promise: Promise<never>;
|
|
49372
|
-
queryKey:
|
|
49376
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49373
49377
|
maxCallSize: Amount | undefined;
|
|
49374
49378
|
maxPutSize: Amount | undefined;
|
|
49375
49379
|
} | {
|
|
@@ -49385,7 +49389,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49385
49389
|
dataUpdatedAt: number;
|
|
49386
49390
|
errorUpdatedAt: number;
|
|
49387
49391
|
failureCount: number;
|
|
49388
|
-
failureReason:
|
|
49392
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49389
49393
|
errorUpdateCount: number;
|
|
49390
49394
|
isFetched: boolean;
|
|
49391
49395
|
isFetchedAfterMount: boolean;
|
|
@@ -49395,10 +49399,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49395
49399
|
isRefetching: boolean;
|
|
49396
49400
|
isStale: boolean;
|
|
49397
49401
|
isEnabled: boolean;
|
|
49398
|
-
refetch: (options?:
|
|
49399
|
-
fetchStatus:
|
|
49402
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem491.ReadContractErrorType>>;
|
|
49403
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49400
49404
|
promise: Promise<never>;
|
|
49401
|
-
queryKey:
|
|
49405
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49402
49406
|
maxCallSize: Amount | undefined;
|
|
49403
49407
|
maxPutSize: Amount | undefined;
|
|
49404
49408
|
} | {
|
|
@@ -49413,7 +49417,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49413
49417
|
dataUpdatedAt: number;
|
|
49414
49418
|
errorUpdatedAt: number;
|
|
49415
49419
|
failureCount: number;
|
|
49416
|
-
failureReason:
|
|
49420
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49417
49421
|
errorUpdateCount: number;
|
|
49418
49422
|
isFetched: boolean;
|
|
49419
49423
|
isFetchedAfterMount: boolean;
|
|
@@ -49424,10 +49428,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49424
49428
|
isRefetching: boolean;
|
|
49425
49429
|
isStale: boolean;
|
|
49426
49430
|
isEnabled: boolean;
|
|
49427
|
-
refetch: (options?:
|
|
49428
|
-
fetchStatus:
|
|
49431
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem491.ReadContractErrorType>>;
|
|
49432
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49429
49433
|
promise: Promise<never>;
|
|
49430
|
-
queryKey:
|
|
49434
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49431
49435
|
maxCallSize: Amount | undefined;
|
|
49432
49436
|
maxPutSize: Amount | undefined;
|
|
49433
49437
|
} | {
|
|
@@ -49443,7 +49447,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49443
49447
|
dataUpdatedAt: number;
|
|
49444
49448
|
errorUpdatedAt: number;
|
|
49445
49449
|
failureCount: number;
|
|
49446
|
-
failureReason:
|
|
49450
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49447
49451
|
errorUpdateCount: number;
|
|
49448
49452
|
isFetched: boolean;
|
|
49449
49453
|
isFetchedAfterMount: boolean;
|
|
@@ -49453,16 +49457,16 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49453
49457
|
isRefetching: boolean;
|
|
49454
49458
|
isStale: boolean;
|
|
49455
49459
|
isEnabled: boolean;
|
|
49456
|
-
refetch: (options?:
|
|
49457
|
-
fetchStatus:
|
|
49460
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem491.ReadContractErrorType>>;
|
|
49461
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49458
49462
|
promise: Promise<never>;
|
|
49459
|
-
queryKey:
|
|
49463
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49460
49464
|
maxCallSize: Amount | undefined;
|
|
49461
49465
|
maxPutSize: Amount | undefined;
|
|
49462
49466
|
};
|
|
49463
49467
|
//#endregion
|
|
49464
49468
|
//#region src/hooks/options/useMintOption.d.ts
|
|
49465
|
-
declare const useMintOption: (marketAddr: Address | undefined) =>
|
|
49469
|
+
declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
49466
49470
|
optionType: "CALL" | "PUT";
|
|
49467
49471
|
amount: bigint;
|
|
49468
49472
|
duration: number;
|
|
@@ -49472,7 +49476,7 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
|
|
|
49472
49476
|
//#endregion
|
|
49473
49477
|
//#region src/hooks/options/useUserOptions.d.ts
|
|
49474
49478
|
type OptionData = NonUndefinedGuard<ReturnType<typeof useUserOptions>['data']>[number];
|
|
49475
|
-
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) =>
|
|
49479
|
+
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query0.UseQueryResult<{
|
|
49476
49480
|
optionId: bigint;
|
|
49477
49481
|
marketAddr: Address;
|
|
49478
49482
|
ownerAddr: Address;
|
|
@@ -49502,7 +49506,7 @@ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Addres
|
|
|
49502
49506
|
address: string;
|
|
49503
49507
|
} | null;
|
|
49504
49508
|
}[], Error>;
|
|
49505
|
-
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49509
|
+
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.UseQueryResult<{
|
|
49506
49510
|
optionId: bigint;
|
|
49507
49511
|
marketAddr: Address;
|
|
49508
49512
|
ownerAddr: Address;
|
|
@@ -49532,7 +49536,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49532
49536
|
address: string;
|
|
49533
49537
|
} | null;
|
|
49534
49538
|
}[], Error>;
|
|
49535
|
-
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49539
|
+
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.UseQueryResult<{
|
|
49536
49540
|
optionId: bigint;
|
|
49537
49541
|
marketAddr: Address;
|
|
49538
49542
|
ownerAddr: Address;
|
|
@@ -49564,7 +49568,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49564
49568
|
}[], Error>;
|
|
49565
49569
|
//#endregion
|
|
49566
49570
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
49567
|
-
declare const useExerciseOption: (marketAddr: Address | undefined) =>
|
|
49571
|
+
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
49568
49572
|
option: OptionData;
|
|
49569
49573
|
liquidities: readonly bigint[];
|
|
49570
49574
|
}, unknown>;
|
|
@@ -49587,7 +49591,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
49587
49591
|
};
|
|
49588
49592
|
//#endregion
|
|
49589
49593
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
49590
|
-
declare const useExtendOption: (marketAddr: Address | undefined) =>
|
|
49594
|
+
declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
49591
49595
|
option: OptionData;
|
|
49592
49596
|
duration: number;
|
|
49593
49597
|
}, unknown>;
|
|
@@ -49603,7 +49607,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
|
49603
49607
|
type ExtendEvent = Extract<OptionEvent, {
|
|
49604
49608
|
type: 'extend';
|
|
49605
49609
|
}>;
|
|
49606
|
-
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) =>
|
|
49610
|
+
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query0.UseQueryResult<({
|
|
49607
49611
|
type: "mint";
|
|
49608
49612
|
data: {
|
|
49609
49613
|
id: string;
|
|
@@ -49644,7 +49648,7 @@ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: big
|
|
|
49644
49648
|
})[], Error>;
|
|
49645
49649
|
//#endregion
|
|
49646
49650
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
49647
|
-
declare const useMintPerp: (marketAddr: Address | undefined) =>
|
|
49651
|
+
declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<void, Error, {
|
|
49648
49652
|
optionType: "CALL" | "PUT";
|
|
49649
49653
|
amount: bigint;
|
|
49650
49654
|
duration: number;
|
|
@@ -49652,17 +49656,17 @@ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_
|
|
|
49652
49656
|
}, unknown>;
|
|
49653
49657
|
//#endregion
|
|
49654
49658
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
49655
|
-
declare const useClosePerp: () =>
|
|
49659
|
+
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
49656
49660
|
//#endregion
|
|
49657
49661
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
49658
49662
|
declare const usePerpsOperator: () => {
|
|
49659
49663
|
operator: PerpsOperator | undefined;
|
|
49660
49664
|
address: `0x${string}` | undefined;
|
|
49661
|
-
signMessage:
|
|
49665
|
+
signMessage: _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
|
|
49662
49666
|
};
|
|
49663
49667
|
//#endregion
|
|
49664
49668
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
49665
|
-
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) =>
|
|
49669
|
+
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query0.UseQueryResult<{
|
|
49666
49670
|
optionId: bigint;
|
|
49667
49671
|
id: string;
|
|
49668
49672
|
ownerAddr: Address;
|
|
@@ -49671,7 +49675,7 @@ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address
|
|
|
49671
49675
|
expiresAt: number;
|
|
49672
49676
|
closed: boolean;
|
|
49673
49677
|
}[] | undefined, Error>;
|
|
49674
|
-
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49678
|
+
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
|
|
49675
49679
|
optionId: bigint;
|
|
49676
49680
|
id: string;
|
|
49677
49681
|
ownerAddr: Address;
|
|
@@ -49680,7 +49684,7 @@ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49680
49684
|
expiresAt: number;
|
|
49681
49685
|
closed: boolean;
|
|
49682
49686
|
}[] | undefined, Error>;
|
|
49683
|
-
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49687
|
+
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
|
|
49684
49688
|
optionId: bigint;
|
|
49685
49689
|
id: string;
|
|
49686
49690
|
ownerAddr: Address;
|
|
@@ -49692,7 +49696,7 @@ declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49692
49696
|
//#endregion
|
|
49693
49697
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
49694
49698
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
49695
|
-
error:
|
|
49699
|
+
error: viem491.ReadContractErrorType;
|
|
49696
49700
|
isError: true;
|
|
49697
49701
|
isPending: false;
|
|
49698
49702
|
isLoading: false;
|
|
@@ -49704,7 +49708,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49704
49708
|
dataUpdatedAt: number;
|
|
49705
49709
|
errorUpdatedAt: number;
|
|
49706
49710
|
failureCount: number;
|
|
49707
|
-
failureReason:
|
|
49711
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49708
49712
|
errorUpdateCount: number;
|
|
49709
49713
|
isFetched: boolean;
|
|
49710
49714
|
isFetchedAfterMount: boolean;
|
|
@@ -49714,10 +49718,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49714
49718
|
isRefetching: boolean;
|
|
49715
49719
|
isStale: boolean;
|
|
49716
49720
|
isEnabled: boolean;
|
|
49717
|
-
refetch: (options?:
|
|
49718
|
-
fetchStatus:
|
|
49721
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem491.ReadContractErrorType>>;
|
|
49722
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49719
49723
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49720
|
-
queryKey:
|
|
49724
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49721
49725
|
data: {
|
|
49722
49726
|
canExtend: boolean | undefined;
|
|
49723
49727
|
canExercise: boolean | undefined;
|
|
@@ -49739,7 +49743,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49739
49743
|
dataUpdatedAt: number;
|
|
49740
49744
|
errorUpdatedAt: number;
|
|
49741
49745
|
failureCount: number;
|
|
49742
|
-
failureReason:
|
|
49746
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49743
49747
|
errorUpdateCount: number;
|
|
49744
49748
|
isFetched: boolean;
|
|
49745
49749
|
isFetchedAfterMount: boolean;
|
|
@@ -49749,10 +49753,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49749
49753
|
isRefetching: boolean;
|
|
49750
49754
|
isStale: boolean;
|
|
49751
49755
|
isEnabled: boolean;
|
|
49752
|
-
refetch: (options?:
|
|
49753
|
-
fetchStatus:
|
|
49756
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem491.ReadContractErrorType>>;
|
|
49757
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49754
49758
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49755
|
-
queryKey:
|
|
49759
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49756
49760
|
data: {
|
|
49757
49761
|
canExtend: boolean | undefined;
|
|
49758
49762
|
canExercise: boolean | undefined;
|
|
@@ -49762,7 +49766,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49762
49766
|
effectiveApproval: bigint;
|
|
49763
49767
|
};
|
|
49764
49768
|
} | {
|
|
49765
|
-
error:
|
|
49769
|
+
error: viem491.ReadContractErrorType;
|
|
49766
49770
|
isError: true;
|
|
49767
49771
|
isPending: false;
|
|
49768
49772
|
isLoading: false;
|
|
@@ -49774,7 +49778,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49774
49778
|
dataUpdatedAt: number;
|
|
49775
49779
|
errorUpdatedAt: number;
|
|
49776
49780
|
failureCount: number;
|
|
49777
|
-
failureReason:
|
|
49781
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49778
49782
|
errorUpdateCount: number;
|
|
49779
49783
|
isFetched: boolean;
|
|
49780
49784
|
isFetchedAfterMount: boolean;
|
|
@@ -49784,10 +49788,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49784
49788
|
isRefetching: boolean;
|
|
49785
49789
|
isStale: boolean;
|
|
49786
49790
|
isEnabled: boolean;
|
|
49787
|
-
refetch: (options?:
|
|
49788
|
-
fetchStatus:
|
|
49791
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem491.ReadContractErrorType>>;
|
|
49792
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49789
49793
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49790
|
-
queryKey:
|
|
49794
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49791
49795
|
data: {
|
|
49792
49796
|
canExtend: boolean | undefined;
|
|
49793
49797
|
canExercise: boolean | undefined;
|
|
@@ -49809,7 +49813,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49809
49813
|
dataUpdatedAt: number;
|
|
49810
49814
|
errorUpdatedAt: number;
|
|
49811
49815
|
failureCount: number;
|
|
49812
|
-
failureReason:
|
|
49816
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49813
49817
|
errorUpdateCount: number;
|
|
49814
49818
|
isFetched: boolean;
|
|
49815
49819
|
isFetchedAfterMount: boolean;
|
|
@@ -49819,10 +49823,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49819
49823
|
isRefetching: boolean;
|
|
49820
49824
|
isStale: boolean;
|
|
49821
49825
|
isEnabled: boolean;
|
|
49822
|
-
refetch: (options?:
|
|
49823
|
-
fetchStatus:
|
|
49826
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem491.ReadContractErrorType>>;
|
|
49827
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49824
49828
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49825
|
-
queryKey:
|
|
49829
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49826
49830
|
data: {
|
|
49827
49831
|
canExtend: boolean | undefined;
|
|
49828
49832
|
canExercise: boolean | undefined;
|
|
@@ -49843,7 +49847,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49843
49847
|
dataUpdatedAt: number;
|
|
49844
49848
|
errorUpdatedAt: number;
|
|
49845
49849
|
failureCount: number;
|
|
49846
|
-
failureReason:
|
|
49850
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49847
49851
|
errorUpdateCount: number;
|
|
49848
49852
|
isFetched: boolean;
|
|
49849
49853
|
isFetchedAfterMount: boolean;
|
|
@@ -49854,10 +49858,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49854
49858
|
isRefetching: boolean;
|
|
49855
49859
|
isStale: boolean;
|
|
49856
49860
|
isEnabled: boolean;
|
|
49857
|
-
refetch: (options?:
|
|
49858
|
-
fetchStatus:
|
|
49861
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem491.ReadContractErrorType>>;
|
|
49862
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49859
49863
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49860
|
-
queryKey:
|
|
49864
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49861
49865
|
data: {
|
|
49862
49866
|
canExtend: boolean | undefined;
|
|
49863
49867
|
canExercise: boolean | undefined;
|
|
@@ -49879,7 +49883,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49879
49883
|
dataUpdatedAt: number;
|
|
49880
49884
|
errorUpdatedAt: number;
|
|
49881
49885
|
failureCount: number;
|
|
49882
|
-
failureReason:
|
|
49886
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
49883
49887
|
errorUpdateCount: number;
|
|
49884
49888
|
isFetched: boolean;
|
|
49885
49889
|
isFetchedAfterMount: boolean;
|
|
@@ -49889,10 +49893,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49889
49893
|
isRefetching: boolean;
|
|
49890
49894
|
isStale: boolean;
|
|
49891
49895
|
isEnabled: boolean;
|
|
49892
|
-
refetch: (options?:
|
|
49893
|
-
fetchStatus:
|
|
49896
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem491.ReadContractErrorType>>;
|
|
49897
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49894
49898
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49895
|
-
queryKey:
|
|
49899
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
49896
49900
|
data: {
|
|
49897
49901
|
canExtend: boolean | undefined;
|
|
49898
49902
|
canExercise: boolean | undefined;
|
|
@@ -49904,7 +49908,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49904
49908
|
};
|
|
49905
49909
|
//#endregion
|
|
49906
49910
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
49907
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) =>
|
|
49911
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query0.UseQueryResult<{
|
|
49908
49912
|
spendingApproval: bigint;
|
|
49909
49913
|
operatorAddr: string;
|
|
49910
49914
|
__typename: "UserMarketOperator";
|
|
@@ -49920,7 +49924,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _t
|
|
|
49920
49924
|
}[] | undefined, Error>;
|
|
49921
49925
|
//#endregion
|
|
49922
49926
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
49923
|
-
declare const useSetOperatorPerms: (marketAddr: Address | undefined) =>
|
|
49927
|
+
declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
49924
49928
|
operator: Address;
|
|
49925
49929
|
canExtend: boolean;
|
|
49926
49930
|
canExercise: boolean;
|
|
@@ -50846,8 +50850,8 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
|
|
|
50846
50850
|
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
|
|
50847
50851
|
//#endregion
|
|
50848
50852
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
50849
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
50850
|
-
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
50853
|
+
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
50854
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
50851
50855
|
//#endregion
|
|
50852
50856
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
50853
50857
|
interface BurnPosition {
|
|
@@ -50869,7 +50873,7 @@ declare const useBurnLiquidity: (vaultAddr: Address | undefined) => {
|
|
|
50869
50873
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
50870
50874
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
50871
50875
|
declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
50872
|
-
error:
|
|
50876
|
+
error: viem491.ReadContractErrorType;
|
|
50873
50877
|
isError: true;
|
|
50874
50878
|
isPending: false;
|
|
50875
50879
|
isLoading: false;
|
|
@@ -50881,7 +50885,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50881
50885
|
dataUpdatedAt: number;
|
|
50882
50886
|
errorUpdatedAt: number;
|
|
50883
50887
|
failureCount: number;
|
|
50884
|
-
failureReason:
|
|
50888
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
50885
50889
|
errorUpdateCount: number;
|
|
50886
50890
|
isFetched: boolean;
|
|
50887
50891
|
isFetchedAfterMount: boolean;
|
|
@@ -50891,7 +50895,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50891
50895
|
isRefetching: boolean;
|
|
50892
50896
|
isStale: boolean;
|
|
50893
50897
|
isEnabled: boolean;
|
|
50894
|
-
refetch: (options?:
|
|
50898
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
50895
50899
|
tickLower: number;
|
|
50896
50900
|
tickUpper: number;
|
|
50897
50901
|
prevTickLower: number;
|
|
@@ -50903,8 +50907,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50903
50907
|
totalAmount1: bigint;
|
|
50904
50908
|
borrowedAmount0: bigint;
|
|
50905
50909
|
borrowedAmount1: bigint;
|
|
50906
|
-
}[],
|
|
50907
|
-
fetchStatus:
|
|
50910
|
+
}[], viem491.ReadContractErrorType>>;
|
|
50911
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50908
50912
|
promise: Promise<readonly {
|
|
50909
50913
|
tickLower: number;
|
|
50910
50914
|
tickUpper: number;
|
|
@@ -50918,7 +50922,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50918
50922
|
borrowedAmount0: bigint;
|
|
50919
50923
|
borrowedAmount1: bigint;
|
|
50920
50924
|
}[]>;
|
|
50921
|
-
queryKey:
|
|
50925
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
50922
50926
|
data: readonly {
|
|
50923
50927
|
tickLower: number;
|
|
50924
50928
|
tickUpper: number;
|
|
@@ -50945,7 +50949,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50945
50949
|
dataUpdatedAt: number;
|
|
50946
50950
|
errorUpdatedAt: number;
|
|
50947
50951
|
failureCount: number;
|
|
50948
|
-
failureReason:
|
|
50952
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
50949
50953
|
errorUpdateCount: number;
|
|
50950
50954
|
isFetched: boolean;
|
|
50951
50955
|
isFetchedAfterMount: boolean;
|
|
@@ -50955,7 +50959,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50955
50959
|
isRefetching: boolean;
|
|
50956
50960
|
isStale: boolean;
|
|
50957
50961
|
isEnabled: boolean;
|
|
50958
|
-
refetch: (options?:
|
|
50962
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
50959
50963
|
tickLower: number;
|
|
50960
50964
|
tickUpper: number;
|
|
50961
50965
|
prevTickLower: number;
|
|
@@ -50967,8 +50971,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50967
50971
|
totalAmount1: bigint;
|
|
50968
50972
|
borrowedAmount0: bigint;
|
|
50969
50973
|
borrowedAmount1: bigint;
|
|
50970
|
-
}[],
|
|
50971
|
-
fetchStatus:
|
|
50974
|
+
}[], viem491.ReadContractErrorType>>;
|
|
50975
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50972
50976
|
promise: Promise<readonly {
|
|
50973
50977
|
tickLower: number;
|
|
50974
50978
|
tickUpper: number;
|
|
@@ -50982,7 +50986,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50982
50986
|
borrowedAmount0: bigint;
|
|
50983
50987
|
borrowedAmount1: bigint;
|
|
50984
50988
|
}[]>;
|
|
50985
|
-
queryKey:
|
|
50989
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
50986
50990
|
data: readonly {
|
|
50987
50991
|
tickLower: number;
|
|
50988
50992
|
tickUpper: number;
|
|
@@ -50997,7 +51001,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50997
51001
|
borrowedAmount1: bigint;
|
|
50998
51002
|
}[];
|
|
50999
51003
|
} | {
|
|
51000
|
-
error:
|
|
51004
|
+
error: viem491.ReadContractErrorType;
|
|
51001
51005
|
isError: true;
|
|
51002
51006
|
isPending: false;
|
|
51003
51007
|
isLoading: false;
|
|
@@ -51009,7 +51013,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51009
51013
|
dataUpdatedAt: number;
|
|
51010
51014
|
errorUpdatedAt: number;
|
|
51011
51015
|
failureCount: number;
|
|
51012
|
-
failureReason:
|
|
51016
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51013
51017
|
errorUpdateCount: number;
|
|
51014
51018
|
isFetched: boolean;
|
|
51015
51019
|
isFetchedAfterMount: boolean;
|
|
@@ -51019,7 +51023,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51019
51023
|
isRefetching: boolean;
|
|
51020
51024
|
isStale: boolean;
|
|
51021
51025
|
isEnabled: boolean;
|
|
51022
|
-
refetch: (options?:
|
|
51026
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
51023
51027
|
tickLower: number;
|
|
51024
51028
|
tickUpper: number;
|
|
51025
51029
|
prevTickLower: number;
|
|
@@ -51031,8 +51035,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51031
51035
|
totalAmount1: bigint;
|
|
51032
51036
|
borrowedAmount0: bigint;
|
|
51033
51037
|
borrowedAmount1: bigint;
|
|
51034
|
-
}[],
|
|
51035
|
-
fetchStatus:
|
|
51038
|
+
}[], viem491.ReadContractErrorType>>;
|
|
51039
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51036
51040
|
promise: Promise<readonly {
|
|
51037
51041
|
tickLower: number;
|
|
51038
51042
|
tickUpper: number;
|
|
@@ -51046,7 +51050,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51046
51050
|
borrowedAmount0: bigint;
|
|
51047
51051
|
borrowedAmount1: bigint;
|
|
51048
51052
|
}[]>;
|
|
51049
|
-
queryKey:
|
|
51053
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51050
51054
|
data: readonly {
|
|
51051
51055
|
tickLower: number;
|
|
51052
51056
|
tickUpper: number;
|
|
@@ -51073,7 +51077,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51073
51077
|
dataUpdatedAt: number;
|
|
51074
51078
|
errorUpdatedAt: number;
|
|
51075
51079
|
failureCount: number;
|
|
51076
|
-
failureReason:
|
|
51080
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51077
51081
|
errorUpdateCount: number;
|
|
51078
51082
|
isFetched: boolean;
|
|
51079
51083
|
isFetchedAfterMount: boolean;
|
|
@@ -51083,7 +51087,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51083
51087
|
isRefetching: boolean;
|
|
51084
51088
|
isStale: boolean;
|
|
51085
51089
|
isEnabled: boolean;
|
|
51086
|
-
refetch: (options?:
|
|
51090
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
51087
51091
|
tickLower: number;
|
|
51088
51092
|
tickUpper: number;
|
|
51089
51093
|
prevTickLower: number;
|
|
@@ -51095,8 +51099,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51095
51099
|
totalAmount1: bigint;
|
|
51096
51100
|
borrowedAmount0: bigint;
|
|
51097
51101
|
borrowedAmount1: bigint;
|
|
51098
|
-
}[],
|
|
51099
|
-
fetchStatus:
|
|
51102
|
+
}[], viem491.ReadContractErrorType>>;
|
|
51103
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51100
51104
|
promise: Promise<readonly {
|
|
51101
51105
|
tickLower: number;
|
|
51102
51106
|
tickUpper: number;
|
|
@@ -51110,7 +51114,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51110
51114
|
borrowedAmount0: bigint;
|
|
51111
51115
|
borrowedAmount1: bigint;
|
|
51112
51116
|
}[]>;
|
|
51113
|
-
queryKey:
|
|
51117
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51114
51118
|
data: readonly {
|
|
51115
51119
|
tickLower: number;
|
|
51116
51120
|
tickUpper: number;
|
|
@@ -51136,7 +51140,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51136
51140
|
dataUpdatedAt: number;
|
|
51137
51141
|
errorUpdatedAt: number;
|
|
51138
51142
|
failureCount: number;
|
|
51139
|
-
failureReason:
|
|
51143
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51140
51144
|
errorUpdateCount: number;
|
|
51141
51145
|
isFetched: boolean;
|
|
51142
51146
|
isFetchedAfterMount: boolean;
|
|
@@ -51147,7 +51151,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51147
51151
|
isRefetching: boolean;
|
|
51148
51152
|
isStale: boolean;
|
|
51149
51153
|
isEnabled: boolean;
|
|
51150
|
-
refetch: (options?:
|
|
51154
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
51151
51155
|
tickLower: number;
|
|
51152
51156
|
tickUpper: number;
|
|
51153
51157
|
prevTickLower: number;
|
|
@@ -51159,8 +51163,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51159
51163
|
totalAmount1: bigint;
|
|
51160
51164
|
borrowedAmount0: bigint;
|
|
51161
51165
|
borrowedAmount1: bigint;
|
|
51162
|
-
}[],
|
|
51163
|
-
fetchStatus:
|
|
51166
|
+
}[], viem491.ReadContractErrorType>>;
|
|
51167
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51164
51168
|
promise: Promise<readonly {
|
|
51165
51169
|
tickLower: number;
|
|
51166
51170
|
tickUpper: number;
|
|
@@ -51174,7 +51178,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51174
51178
|
borrowedAmount0: bigint;
|
|
51175
51179
|
borrowedAmount1: bigint;
|
|
51176
51180
|
}[]>;
|
|
51177
|
-
queryKey:
|
|
51181
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51178
51182
|
data: readonly {
|
|
51179
51183
|
tickLower: number;
|
|
51180
51184
|
tickUpper: number;
|
|
@@ -51201,7 +51205,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51201
51205
|
dataUpdatedAt: number;
|
|
51202
51206
|
errorUpdatedAt: number;
|
|
51203
51207
|
failureCount: number;
|
|
51204
|
-
failureReason:
|
|
51208
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51205
51209
|
errorUpdateCount: number;
|
|
51206
51210
|
isFetched: boolean;
|
|
51207
51211
|
isFetchedAfterMount: boolean;
|
|
@@ -51211,7 +51215,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51211
51215
|
isRefetching: boolean;
|
|
51212
51216
|
isStale: boolean;
|
|
51213
51217
|
isEnabled: boolean;
|
|
51214
|
-
refetch: (options?:
|
|
51218
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
51215
51219
|
tickLower: number;
|
|
51216
51220
|
tickUpper: number;
|
|
51217
51221
|
prevTickLower: number;
|
|
@@ -51223,8 +51227,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51223
51227
|
totalAmount1: bigint;
|
|
51224
51228
|
borrowedAmount0: bigint;
|
|
51225
51229
|
borrowedAmount1: bigint;
|
|
51226
|
-
}[],
|
|
51227
|
-
fetchStatus:
|
|
51230
|
+
}[], viem491.ReadContractErrorType>>;
|
|
51231
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51228
51232
|
promise: Promise<readonly {
|
|
51229
51233
|
tickLower: number;
|
|
51230
51234
|
tickUpper: number;
|
|
@@ -51238,7 +51242,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51238
51242
|
borrowedAmount0: bigint;
|
|
51239
51243
|
borrowedAmount1: bigint;
|
|
51240
51244
|
}[]>;
|
|
51241
|
-
queryKey:
|
|
51245
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51242
51246
|
data: readonly {
|
|
51243
51247
|
tickLower: number;
|
|
51244
51248
|
tickUpper: number;
|
|
@@ -51266,7 +51270,7 @@ interface MintPositionParams {
|
|
|
51266
51270
|
tickUpper: number;
|
|
51267
51271
|
liquidity: bigint;
|
|
51268
51272
|
}
|
|
51269
|
-
declare const useMintLiquidity: (vaultAddr: Address | undefined) =>
|
|
51273
|
+
declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
51270
51274
|
//#endregion
|
|
51271
51275
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
51272
51276
|
declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
@@ -51299,7 +51303,7 @@ declare const useVaultTVL: (vaultAddr: Address | undefined) => {
|
|
|
51299
51303
|
borrowed0: Amount;
|
|
51300
51304
|
borrowed1: Amount;
|
|
51301
51305
|
blocksCount: bigint;
|
|
51302
|
-
refetch: (options?:
|
|
51306
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem491.ReadContractErrorType>>;
|
|
51303
51307
|
};
|
|
51304
51308
|
//#endregion
|
|
51305
51309
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
@@ -51312,7 +51316,7 @@ declare const useTokenData: (tokenAddr: Address | undefined) => Partial<NonUndef
|
|
|
51312
51316
|
//#endregion
|
|
51313
51317
|
//#region src/hooks/tokens/useTokenBalance.d.ts
|
|
51314
51318
|
declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
51315
|
-
error:
|
|
51319
|
+
error: viem491.ReadContractErrorType;
|
|
51316
51320
|
isError: true;
|
|
51317
51321
|
isPending: false;
|
|
51318
51322
|
isLoading: false;
|
|
@@ -51324,7 +51328,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51324
51328
|
dataUpdatedAt: number;
|
|
51325
51329
|
errorUpdatedAt: number;
|
|
51326
51330
|
failureCount: number;
|
|
51327
|
-
failureReason:
|
|
51331
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51328
51332
|
errorUpdateCount: number;
|
|
51329
51333
|
isFetched: boolean;
|
|
51330
51334
|
isFetchedAfterMount: boolean;
|
|
@@ -51334,10 +51338,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51334
51338
|
isRefetching: boolean;
|
|
51335
51339
|
isStale: boolean;
|
|
51336
51340
|
isEnabled: boolean;
|
|
51337
|
-
refetch: (options?:
|
|
51338
|
-
fetchStatus:
|
|
51341
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem491.ReadContractErrorType>>;
|
|
51342
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51339
51343
|
promise: Promise<bigint>;
|
|
51340
|
-
queryKey:
|
|
51344
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51341
51345
|
data: Amount | undefined;
|
|
51342
51346
|
} | {
|
|
51343
51347
|
error: null;
|
|
@@ -51352,7 +51356,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51352
51356
|
dataUpdatedAt: number;
|
|
51353
51357
|
errorUpdatedAt: number;
|
|
51354
51358
|
failureCount: number;
|
|
51355
|
-
failureReason:
|
|
51359
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51356
51360
|
errorUpdateCount: number;
|
|
51357
51361
|
isFetched: boolean;
|
|
51358
51362
|
isFetchedAfterMount: boolean;
|
|
@@ -51362,13 +51366,13 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51362
51366
|
isRefetching: boolean;
|
|
51363
51367
|
isStale: boolean;
|
|
51364
51368
|
isEnabled: boolean;
|
|
51365
|
-
refetch: (options?:
|
|
51366
|
-
fetchStatus:
|
|
51369
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem491.ReadContractErrorType>>;
|
|
51370
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51367
51371
|
promise: Promise<bigint>;
|
|
51368
|
-
queryKey:
|
|
51372
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51369
51373
|
data: Amount | undefined;
|
|
51370
51374
|
} | {
|
|
51371
|
-
error:
|
|
51375
|
+
error: viem491.ReadContractErrorType;
|
|
51372
51376
|
isError: true;
|
|
51373
51377
|
isPending: false;
|
|
51374
51378
|
isLoading: false;
|
|
@@ -51380,7 +51384,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51380
51384
|
dataUpdatedAt: number;
|
|
51381
51385
|
errorUpdatedAt: number;
|
|
51382
51386
|
failureCount: number;
|
|
51383
|
-
failureReason:
|
|
51387
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51384
51388
|
errorUpdateCount: number;
|
|
51385
51389
|
isFetched: boolean;
|
|
51386
51390
|
isFetchedAfterMount: boolean;
|
|
@@ -51390,10 +51394,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51390
51394
|
isRefetching: boolean;
|
|
51391
51395
|
isStale: boolean;
|
|
51392
51396
|
isEnabled: boolean;
|
|
51393
|
-
refetch: (options?:
|
|
51394
|
-
fetchStatus:
|
|
51397
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem491.ReadContractErrorType>>;
|
|
51398
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51395
51399
|
promise: Promise<bigint>;
|
|
51396
|
-
queryKey:
|
|
51400
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51397
51401
|
data: Amount | undefined;
|
|
51398
51402
|
} | {
|
|
51399
51403
|
error: null;
|
|
@@ -51408,7 +51412,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51408
51412
|
dataUpdatedAt: number;
|
|
51409
51413
|
errorUpdatedAt: number;
|
|
51410
51414
|
failureCount: number;
|
|
51411
|
-
failureReason:
|
|
51415
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51412
51416
|
errorUpdateCount: number;
|
|
51413
51417
|
isFetched: boolean;
|
|
51414
51418
|
isFetchedAfterMount: boolean;
|
|
@@ -51418,10 +51422,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51418
51422
|
isRefetching: boolean;
|
|
51419
51423
|
isStale: boolean;
|
|
51420
51424
|
isEnabled: boolean;
|
|
51421
|
-
refetch: (options?:
|
|
51422
|
-
fetchStatus:
|
|
51425
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem491.ReadContractErrorType>>;
|
|
51426
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51423
51427
|
promise: Promise<bigint>;
|
|
51424
|
-
queryKey:
|
|
51428
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51425
51429
|
data: Amount | undefined;
|
|
51426
51430
|
} | {
|
|
51427
51431
|
error: null;
|
|
@@ -51435,7 +51439,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51435
51439
|
dataUpdatedAt: number;
|
|
51436
51440
|
errorUpdatedAt: number;
|
|
51437
51441
|
failureCount: number;
|
|
51438
|
-
failureReason:
|
|
51442
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51439
51443
|
errorUpdateCount: number;
|
|
51440
51444
|
isFetched: boolean;
|
|
51441
51445
|
isFetchedAfterMount: boolean;
|
|
@@ -51446,10 +51450,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51446
51450
|
isRefetching: boolean;
|
|
51447
51451
|
isStale: boolean;
|
|
51448
51452
|
isEnabled: boolean;
|
|
51449
|
-
refetch: (options?:
|
|
51450
|
-
fetchStatus:
|
|
51453
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem491.ReadContractErrorType>>;
|
|
51454
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51451
51455
|
promise: Promise<bigint>;
|
|
51452
|
-
queryKey:
|
|
51456
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51453
51457
|
data: Amount | undefined;
|
|
51454
51458
|
} | {
|
|
51455
51459
|
isError: false;
|
|
@@ -51464,7 +51468,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51464
51468
|
dataUpdatedAt: number;
|
|
51465
51469
|
errorUpdatedAt: number;
|
|
51466
51470
|
failureCount: number;
|
|
51467
|
-
failureReason:
|
|
51471
|
+
failureReason: viem491.ReadContractErrorType | null;
|
|
51468
51472
|
errorUpdateCount: number;
|
|
51469
51473
|
isFetched: boolean;
|
|
51470
51474
|
isFetchedAfterMount: boolean;
|
|
@@ -51474,10 +51478,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51474
51478
|
isRefetching: boolean;
|
|
51475
51479
|
isStale: boolean;
|
|
51476
51480
|
isEnabled: boolean;
|
|
51477
|
-
refetch: (options?:
|
|
51478
|
-
fetchStatus:
|
|
51481
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem491.ReadContractErrorType>>;
|
|
51482
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51479
51483
|
promise: Promise<bigint>;
|
|
51480
|
-
queryKey:
|
|
51484
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
51481
51485
|
data: Amount | undefined;
|
|
51482
51486
|
};
|
|
51483
51487
|
//#endregion
|
|
@@ -52453,35 +52457,41 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
52453
52457
|
//#endregion
|
|
52454
52458
|
//#region src/hooks/guardian/usePauseGlobalTrading.d.ts
|
|
52455
52459
|
declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
52456
|
-
data: undefined;
|
|
52457
52460
|
error: null;
|
|
52461
|
+
data: undefined;
|
|
52458
52462
|
status: "idle";
|
|
52459
|
-
variables: undefined;
|
|
52460
52463
|
isError: false;
|
|
52461
|
-
isIdle: true;
|
|
52462
52464
|
isPending: false;
|
|
52463
52465
|
isSuccess: false;
|
|
52464
|
-
reset: () => void;
|
|
52465
|
-
context: unknown;
|
|
52466
52466
|
failureCount: number;
|
|
52467
52467
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52468
52468
|
isPaused: boolean;
|
|
52469
|
+
variables: undefined;
|
|
52470
|
+
isIdle: true;
|
|
52471
|
+
reset: () => void;
|
|
52472
|
+
context: unknown;
|
|
52469
52473
|
submittedAt: number;
|
|
52470
|
-
mutate:
|
|
52471
|
-
mutateAsync:
|
|
52472
|
-
writeContract:
|
|
52474
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52475
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52476
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52473
52477
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52474
52478
|
} | {
|
|
52475
|
-
data: undefined;
|
|
52476
52479
|
error: null;
|
|
52480
|
+
data: undefined;
|
|
52477
52481
|
status: "pending";
|
|
52482
|
+
isError: false;
|
|
52483
|
+
isPending: true;
|
|
52484
|
+
isSuccess: false;
|
|
52485
|
+
failureCount: number;
|
|
52486
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52487
|
+
isPaused: boolean;
|
|
52478
52488
|
variables: {
|
|
52479
|
-
abi:
|
|
52489
|
+
abi: abitype17.Abi;
|
|
52480
52490
|
functionName: string;
|
|
52481
52491
|
args?: readonly unknown[] | undefined;
|
|
52482
52492
|
address: Address;
|
|
52483
|
-
chain?:
|
|
52484
|
-
account?: `0x${string}` |
|
|
52493
|
+
chain?: viem491.Chain | null | undefined;
|
|
52494
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52485
52495
|
value?: bigint | undefined;
|
|
52486
52496
|
dataSuffix?: `0x${string}` | undefined;
|
|
52487
52497
|
type?: "legacy" | undefined;
|
|
@@ -52500,12 +52510,12 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52500
52510
|
chainId?: number | undefined;
|
|
52501
52511
|
connector?: wagmi0.Connector | undefined;
|
|
52502
52512
|
} | {
|
|
52503
|
-
abi:
|
|
52513
|
+
abi: abitype17.Abi;
|
|
52504
52514
|
functionName: string;
|
|
52505
52515
|
args?: readonly unknown[] | undefined;
|
|
52506
52516
|
address: Address;
|
|
52507
|
-
chain?:
|
|
52508
|
-
account?: `0x${string}` |
|
|
52517
|
+
chain?: viem491.Chain | null | undefined;
|
|
52518
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52509
52519
|
value?: bigint | undefined;
|
|
52510
52520
|
dataSuffix?: `0x${string}` | undefined;
|
|
52511
52521
|
type?: "eip2930" | undefined;
|
|
@@ -52518,18 +52528,18 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52518
52528
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52519
52529
|
maxFeePerGas?: undefined | undefined;
|
|
52520
52530
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
52521
|
-
accessList?:
|
|
52531
|
+
accessList?: viem491.AccessList | undefined;
|
|
52522
52532
|
sidecars?: undefined;
|
|
52523
52533
|
authorizationList?: undefined;
|
|
52524
52534
|
chainId?: number | undefined;
|
|
52525
52535
|
connector?: wagmi0.Connector | undefined;
|
|
52526
52536
|
} | {
|
|
52527
|
-
abi:
|
|
52537
|
+
abi: abitype17.Abi;
|
|
52528
52538
|
functionName: string;
|
|
52529
52539
|
args?: readonly unknown[] | undefined;
|
|
52530
52540
|
address: Address;
|
|
52531
|
-
chain?:
|
|
52532
|
-
account?: `0x${string}` |
|
|
52541
|
+
chain?: viem491.Chain | null | undefined;
|
|
52542
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52533
52543
|
value?: bigint | undefined;
|
|
52534
52544
|
dataSuffix?: `0x${string}` | undefined;
|
|
52535
52545
|
type?: "eip1559" | undefined;
|
|
@@ -52542,66 +52552,66 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52542
52552
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52543
52553
|
maxFeePerGas?: bigint | undefined;
|
|
52544
52554
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52545
|
-
accessList?:
|
|
52555
|
+
accessList?: viem491.AccessList | undefined;
|
|
52546
52556
|
sidecars?: undefined;
|
|
52547
52557
|
authorizationList?: undefined;
|
|
52548
52558
|
chainId?: number | undefined;
|
|
52549
52559
|
connector?: wagmi0.Connector | undefined;
|
|
52550
52560
|
} | {
|
|
52551
|
-
abi:
|
|
52561
|
+
abi: abitype17.Abi;
|
|
52552
52562
|
functionName: string;
|
|
52553
52563
|
args?: readonly unknown[] | undefined;
|
|
52554
52564
|
address: Address;
|
|
52555
|
-
chain?:
|
|
52556
|
-
account?: `0x${string}` |
|
|
52565
|
+
chain?: viem491.Chain | null | undefined;
|
|
52566
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52557
52567
|
value?: bigint | undefined;
|
|
52558
52568
|
dataSuffix?: `0x${string}` | undefined;
|
|
52559
52569
|
type?: "eip4844" | undefined;
|
|
52560
52570
|
gas?: bigint | undefined;
|
|
52561
52571
|
nonce?: number | undefined;
|
|
52562
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
52563
|
-
blobVersionedHashes: readonly
|
|
52572
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
52573
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
52564
52574
|
kzg?: undefined;
|
|
52565
52575
|
gasPrice?: undefined | undefined;
|
|
52566
52576
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52567
52577
|
maxFeePerGas?: bigint | undefined;
|
|
52568
52578
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52569
|
-
accessList?:
|
|
52570
|
-
sidecars?: readonly
|
|
52579
|
+
accessList?: viem491.AccessList | undefined;
|
|
52580
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52571
52581
|
authorizationList?: undefined;
|
|
52572
52582
|
chainId?: number | undefined;
|
|
52573
52583
|
connector?: wagmi0.Connector | undefined;
|
|
52574
52584
|
} | {
|
|
52575
|
-
abi:
|
|
52585
|
+
abi: abitype17.Abi;
|
|
52576
52586
|
functionName: string;
|
|
52577
52587
|
args?: readonly unknown[] | undefined;
|
|
52578
52588
|
address: Address;
|
|
52579
|
-
chain?:
|
|
52580
|
-
account?: `0x${string}` |
|
|
52589
|
+
chain?: viem491.Chain | null | undefined;
|
|
52590
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52581
52591
|
value?: bigint | undefined;
|
|
52582
52592
|
dataSuffix?: `0x${string}` | undefined;
|
|
52583
52593
|
type?: "eip4844" | undefined;
|
|
52584
52594
|
gas?: bigint | undefined;
|
|
52585
52595
|
nonce?: number | undefined;
|
|
52586
|
-
blobs: readonly
|
|
52596
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
52587
52597
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52588
|
-
kzg?:
|
|
52598
|
+
kzg?: viem491.Kzg | undefined;
|
|
52589
52599
|
gasPrice?: undefined | undefined;
|
|
52590
52600
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52591
52601
|
maxFeePerGas?: bigint | undefined;
|
|
52592
52602
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52593
|
-
accessList?:
|
|
52594
|
-
sidecars?: readonly
|
|
52603
|
+
accessList?: viem491.AccessList | undefined;
|
|
52604
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52595
52605
|
authorizationList?: undefined;
|
|
52596
52606
|
chainId?: number | undefined;
|
|
52597
52607
|
connector?: wagmi0.Connector | undefined;
|
|
52598
52608
|
} | {
|
|
52599
|
-
abi:
|
|
52609
|
+
abi: abitype17.Abi;
|
|
52600
52610
|
functionName: string;
|
|
52601
52611
|
args?: readonly unknown[] | undefined;
|
|
52602
52612
|
address: Address;
|
|
52603
|
-
chain?:
|
|
52604
|
-
account?: `0x${string}` |
|
|
52613
|
+
chain?: viem491.Chain | null | undefined;
|
|
52614
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52605
52615
|
value?: bigint | undefined;
|
|
52606
52616
|
dataSuffix?: `0x${string}` | undefined;
|
|
52607
52617
|
type?: "eip7702" | undefined;
|
|
@@ -52614,37 +52624,37 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52614
52624
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52615
52625
|
maxFeePerGas?: bigint | undefined;
|
|
52616
52626
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52617
|
-
accessList?:
|
|
52627
|
+
accessList?: viem491.AccessList | undefined;
|
|
52618
52628
|
sidecars?: undefined;
|
|
52619
|
-
authorizationList?:
|
|
52629
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
52620
52630
|
chainId?: number | undefined;
|
|
52621
52631
|
connector?: wagmi0.Connector | undefined;
|
|
52622
52632
|
};
|
|
52623
|
-
isError: false;
|
|
52624
52633
|
isIdle: false;
|
|
52625
|
-
isPending: true;
|
|
52626
|
-
isSuccess: false;
|
|
52627
52634
|
reset: () => void;
|
|
52628
52635
|
context: unknown;
|
|
52629
|
-
failureCount: number;
|
|
52630
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52631
|
-
isPaused: boolean;
|
|
52632
52636
|
submittedAt: number;
|
|
52633
|
-
mutate:
|
|
52634
|
-
mutateAsync:
|
|
52635
|
-
writeContract:
|
|
52637
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52638
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52639
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52636
52640
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52637
52641
|
} | {
|
|
52638
|
-
data: undefined;
|
|
52639
52642
|
error: _wagmi_core0.WriteContractErrorType;
|
|
52643
|
+
data: undefined;
|
|
52640
52644
|
status: "error";
|
|
52645
|
+
isError: true;
|
|
52646
|
+
isPending: false;
|
|
52647
|
+
isSuccess: false;
|
|
52648
|
+
failureCount: number;
|
|
52649
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52650
|
+
isPaused: boolean;
|
|
52641
52651
|
variables: {
|
|
52642
|
-
abi:
|
|
52652
|
+
abi: abitype17.Abi;
|
|
52643
52653
|
functionName: string;
|
|
52644
52654
|
args?: readonly unknown[] | undefined;
|
|
52645
52655
|
address: Address;
|
|
52646
|
-
chain?:
|
|
52647
|
-
account?: `0x${string}` |
|
|
52656
|
+
chain?: viem491.Chain | null | undefined;
|
|
52657
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52648
52658
|
value?: bigint | undefined;
|
|
52649
52659
|
dataSuffix?: `0x${string}` | undefined;
|
|
52650
52660
|
type?: "legacy" | undefined;
|
|
@@ -52663,12 +52673,12 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52663
52673
|
chainId?: number | undefined;
|
|
52664
52674
|
connector?: wagmi0.Connector | undefined;
|
|
52665
52675
|
} | {
|
|
52666
|
-
abi:
|
|
52676
|
+
abi: abitype17.Abi;
|
|
52667
52677
|
functionName: string;
|
|
52668
52678
|
args?: readonly unknown[] | undefined;
|
|
52669
52679
|
address: Address;
|
|
52670
|
-
chain?:
|
|
52671
|
-
account?: `0x${string}` |
|
|
52680
|
+
chain?: viem491.Chain | null | undefined;
|
|
52681
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52672
52682
|
value?: bigint | undefined;
|
|
52673
52683
|
dataSuffix?: `0x${string}` | undefined;
|
|
52674
52684
|
type?: "eip2930" | undefined;
|
|
@@ -52681,18 +52691,18 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52681
52691
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52682
52692
|
maxFeePerGas?: undefined | undefined;
|
|
52683
52693
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
52684
|
-
accessList?:
|
|
52694
|
+
accessList?: viem491.AccessList | undefined;
|
|
52685
52695
|
sidecars?: undefined;
|
|
52686
52696
|
authorizationList?: undefined;
|
|
52687
52697
|
chainId?: number | undefined;
|
|
52688
52698
|
connector?: wagmi0.Connector | undefined;
|
|
52689
52699
|
} | {
|
|
52690
|
-
abi:
|
|
52700
|
+
abi: abitype17.Abi;
|
|
52691
52701
|
functionName: string;
|
|
52692
52702
|
args?: readonly unknown[] | undefined;
|
|
52693
52703
|
address: Address;
|
|
52694
|
-
chain?:
|
|
52695
|
-
account?: `0x${string}` |
|
|
52704
|
+
chain?: viem491.Chain | null | undefined;
|
|
52705
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52696
52706
|
value?: bigint | undefined;
|
|
52697
52707
|
dataSuffix?: `0x${string}` | undefined;
|
|
52698
52708
|
type?: "eip1559" | undefined;
|
|
@@ -52705,66 +52715,66 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52705
52715
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52706
52716
|
maxFeePerGas?: bigint | undefined;
|
|
52707
52717
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52708
|
-
accessList?:
|
|
52718
|
+
accessList?: viem491.AccessList | undefined;
|
|
52709
52719
|
sidecars?: undefined;
|
|
52710
52720
|
authorizationList?: undefined;
|
|
52711
52721
|
chainId?: number | undefined;
|
|
52712
52722
|
connector?: wagmi0.Connector | undefined;
|
|
52713
52723
|
} | {
|
|
52714
|
-
abi:
|
|
52724
|
+
abi: abitype17.Abi;
|
|
52715
52725
|
functionName: string;
|
|
52716
52726
|
args?: readonly unknown[] | undefined;
|
|
52717
52727
|
address: Address;
|
|
52718
|
-
chain?:
|
|
52719
|
-
account?: `0x${string}` |
|
|
52728
|
+
chain?: viem491.Chain | null | undefined;
|
|
52729
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52720
52730
|
value?: bigint | undefined;
|
|
52721
52731
|
dataSuffix?: `0x${string}` | undefined;
|
|
52722
52732
|
type?: "eip4844" | undefined;
|
|
52723
52733
|
gas?: bigint | undefined;
|
|
52724
52734
|
nonce?: number | undefined;
|
|
52725
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
52726
|
-
blobVersionedHashes: readonly
|
|
52735
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
52736
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
52727
52737
|
kzg?: undefined;
|
|
52728
52738
|
gasPrice?: undefined | undefined;
|
|
52729
52739
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52730
52740
|
maxFeePerGas?: bigint | undefined;
|
|
52731
52741
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52732
|
-
accessList?:
|
|
52733
|
-
sidecars?: readonly
|
|
52742
|
+
accessList?: viem491.AccessList | undefined;
|
|
52743
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52734
52744
|
authorizationList?: undefined;
|
|
52735
52745
|
chainId?: number | undefined;
|
|
52736
52746
|
connector?: wagmi0.Connector | undefined;
|
|
52737
52747
|
} | {
|
|
52738
|
-
abi:
|
|
52748
|
+
abi: abitype17.Abi;
|
|
52739
52749
|
functionName: string;
|
|
52740
52750
|
args?: readonly unknown[] | undefined;
|
|
52741
52751
|
address: Address;
|
|
52742
|
-
chain?:
|
|
52743
|
-
account?: `0x${string}` |
|
|
52752
|
+
chain?: viem491.Chain | null | undefined;
|
|
52753
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52744
52754
|
value?: bigint | undefined;
|
|
52745
52755
|
dataSuffix?: `0x${string}` | undefined;
|
|
52746
52756
|
type?: "eip4844" | undefined;
|
|
52747
52757
|
gas?: bigint | undefined;
|
|
52748
52758
|
nonce?: number | undefined;
|
|
52749
|
-
blobs: readonly
|
|
52759
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
52750
52760
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52751
|
-
kzg?:
|
|
52761
|
+
kzg?: viem491.Kzg | undefined;
|
|
52752
52762
|
gasPrice?: undefined | undefined;
|
|
52753
52763
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52754
52764
|
maxFeePerGas?: bigint | undefined;
|
|
52755
52765
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52756
|
-
accessList?:
|
|
52757
|
-
sidecars?: readonly
|
|
52766
|
+
accessList?: viem491.AccessList | undefined;
|
|
52767
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52758
52768
|
authorizationList?: undefined;
|
|
52759
52769
|
chainId?: number | undefined;
|
|
52760
52770
|
connector?: wagmi0.Connector | undefined;
|
|
52761
52771
|
} | {
|
|
52762
|
-
abi:
|
|
52772
|
+
abi: abitype17.Abi;
|
|
52763
52773
|
functionName: string;
|
|
52764
52774
|
args?: readonly unknown[] | undefined;
|
|
52765
52775
|
address: Address;
|
|
52766
|
-
chain?:
|
|
52767
|
-
account?: `0x${string}` |
|
|
52776
|
+
chain?: viem491.Chain | null | undefined;
|
|
52777
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52768
52778
|
value?: bigint | undefined;
|
|
52769
52779
|
dataSuffix?: `0x${string}` | undefined;
|
|
52770
52780
|
type?: "eip7702" | undefined;
|
|
@@ -52777,37 +52787,37 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52777
52787
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52778
52788
|
maxFeePerGas?: bigint | undefined;
|
|
52779
52789
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52780
|
-
accessList?:
|
|
52790
|
+
accessList?: viem491.AccessList | undefined;
|
|
52781
52791
|
sidecars?: undefined;
|
|
52782
|
-
authorizationList?:
|
|
52792
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
52783
52793
|
chainId?: number | undefined;
|
|
52784
52794
|
connector?: wagmi0.Connector | undefined;
|
|
52785
52795
|
};
|
|
52786
|
-
isError: true;
|
|
52787
52796
|
isIdle: false;
|
|
52788
|
-
isPending: false;
|
|
52789
|
-
isSuccess: false;
|
|
52790
52797
|
reset: () => void;
|
|
52791
52798
|
context: unknown;
|
|
52792
|
-
failureCount: number;
|
|
52793
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52794
|
-
isPaused: boolean;
|
|
52795
52799
|
submittedAt: number;
|
|
52796
|
-
mutate:
|
|
52797
|
-
mutateAsync:
|
|
52798
|
-
writeContract:
|
|
52800
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52801
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52802
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52799
52803
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52800
52804
|
} | {
|
|
52801
|
-
data: `0x${string}`;
|
|
52802
52805
|
error: null;
|
|
52806
|
+
data: `0x${string}`;
|
|
52803
52807
|
status: "success";
|
|
52808
|
+
isError: false;
|
|
52809
|
+
isPending: false;
|
|
52810
|
+
isSuccess: true;
|
|
52811
|
+
failureCount: number;
|
|
52812
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52813
|
+
isPaused: boolean;
|
|
52804
52814
|
variables: {
|
|
52805
|
-
abi:
|
|
52815
|
+
abi: abitype17.Abi;
|
|
52806
52816
|
functionName: string;
|
|
52807
52817
|
args?: readonly unknown[] | undefined;
|
|
52808
52818
|
address: Address;
|
|
52809
|
-
chain?:
|
|
52810
|
-
account?: `0x${string}` |
|
|
52819
|
+
chain?: viem491.Chain | null | undefined;
|
|
52820
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52811
52821
|
value?: bigint | undefined;
|
|
52812
52822
|
dataSuffix?: `0x${string}` | undefined;
|
|
52813
52823
|
type?: "legacy" | undefined;
|
|
@@ -52826,12 +52836,12 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52826
52836
|
chainId?: number | undefined;
|
|
52827
52837
|
connector?: wagmi0.Connector | undefined;
|
|
52828
52838
|
} | {
|
|
52829
|
-
abi:
|
|
52839
|
+
abi: abitype17.Abi;
|
|
52830
52840
|
functionName: string;
|
|
52831
52841
|
args?: readonly unknown[] | undefined;
|
|
52832
52842
|
address: Address;
|
|
52833
|
-
chain?:
|
|
52834
|
-
account?: `0x${string}` |
|
|
52843
|
+
chain?: viem491.Chain | null | undefined;
|
|
52844
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52835
52845
|
value?: bigint | undefined;
|
|
52836
52846
|
dataSuffix?: `0x${string}` | undefined;
|
|
52837
52847
|
type?: "eip2930" | undefined;
|
|
@@ -52844,18 +52854,18 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52844
52854
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52845
52855
|
maxFeePerGas?: undefined | undefined;
|
|
52846
52856
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
52847
|
-
accessList?:
|
|
52857
|
+
accessList?: viem491.AccessList | undefined;
|
|
52848
52858
|
sidecars?: undefined;
|
|
52849
52859
|
authorizationList?: undefined;
|
|
52850
52860
|
chainId?: number | undefined;
|
|
52851
52861
|
connector?: wagmi0.Connector | undefined;
|
|
52852
52862
|
} | {
|
|
52853
|
-
abi:
|
|
52863
|
+
abi: abitype17.Abi;
|
|
52854
52864
|
functionName: string;
|
|
52855
52865
|
args?: readonly unknown[] | undefined;
|
|
52856
52866
|
address: Address;
|
|
52857
|
-
chain?:
|
|
52858
|
-
account?: `0x${string}` |
|
|
52867
|
+
chain?: viem491.Chain | null | undefined;
|
|
52868
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52859
52869
|
value?: bigint | undefined;
|
|
52860
52870
|
dataSuffix?: `0x${string}` | undefined;
|
|
52861
52871
|
type?: "eip1559" | undefined;
|
|
@@ -52868,66 +52878,66 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52868
52878
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52869
52879
|
maxFeePerGas?: bigint | undefined;
|
|
52870
52880
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52871
|
-
accessList?:
|
|
52881
|
+
accessList?: viem491.AccessList | undefined;
|
|
52872
52882
|
sidecars?: undefined;
|
|
52873
52883
|
authorizationList?: undefined;
|
|
52874
52884
|
chainId?: number | undefined;
|
|
52875
52885
|
connector?: wagmi0.Connector | undefined;
|
|
52876
52886
|
} | {
|
|
52877
|
-
abi:
|
|
52887
|
+
abi: abitype17.Abi;
|
|
52878
52888
|
functionName: string;
|
|
52879
52889
|
args?: readonly unknown[] | undefined;
|
|
52880
52890
|
address: Address;
|
|
52881
|
-
chain?:
|
|
52882
|
-
account?: `0x${string}` |
|
|
52891
|
+
chain?: viem491.Chain | null | undefined;
|
|
52892
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52883
52893
|
value?: bigint | undefined;
|
|
52884
52894
|
dataSuffix?: `0x${string}` | undefined;
|
|
52885
52895
|
type?: "eip4844" | undefined;
|
|
52886
52896
|
gas?: bigint | undefined;
|
|
52887
52897
|
nonce?: number | undefined;
|
|
52888
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
52889
|
-
blobVersionedHashes: readonly
|
|
52898
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
52899
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
52890
52900
|
kzg?: undefined;
|
|
52891
52901
|
gasPrice?: undefined | undefined;
|
|
52892
52902
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52893
52903
|
maxFeePerGas?: bigint | undefined;
|
|
52894
52904
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52895
|
-
accessList?:
|
|
52896
|
-
sidecars?: readonly
|
|
52905
|
+
accessList?: viem491.AccessList | undefined;
|
|
52906
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52897
52907
|
authorizationList?: undefined;
|
|
52898
52908
|
chainId?: number | undefined;
|
|
52899
52909
|
connector?: wagmi0.Connector | undefined;
|
|
52900
52910
|
} | {
|
|
52901
|
-
abi:
|
|
52911
|
+
abi: abitype17.Abi;
|
|
52902
52912
|
functionName: string;
|
|
52903
52913
|
args?: readonly unknown[] | undefined;
|
|
52904
52914
|
address: Address;
|
|
52905
|
-
chain?:
|
|
52906
|
-
account?: `0x${string}` |
|
|
52915
|
+
chain?: viem491.Chain | null | undefined;
|
|
52916
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52907
52917
|
value?: bigint | undefined;
|
|
52908
52918
|
dataSuffix?: `0x${string}` | undefined;
|
|
52909
52919
|
type?: "eip4844" | undefined;
|
|
52910
52920
|
gas?: bigint | undefined;
|
|
52911
52921
|
nonce?: number | undefined;
|
|
52912
|
-
blobs: readonly
|
|
52922
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
52913
52923
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52914
|
-
kzg?:
|
|
52924
|
+
kzg?: viem491.Kzg | undefined;
|
|
52915
52925
|
gasPrice?: undefined | undefined;
|
|
52916
52926
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52917
52927
|
maxFeePerGas?: bigint | undefined;
|
|
52918
52928
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52919
|
-
accessList?:
|
|
52920
|
-
sidecars?: readonly
|
|
52929
|
+
accessList?: viem491.AccessList | undefined;
|
|
52930
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52921
52931
|
authorizationList?: undefined;
|
|
52922
52932
|
chainId?: number | undefined;
|
|
52923
52933
|
connector?: wagmi0.Connector | undefined;
|
|
52924
52934
|
} | {
|
|
52925
|
-
abi:
|
|
52935
|
+
abi: abitype17.Abi;
|
|
52926
52936
|
functionName: string;
|
|
52927
52937
|
args?: readonly unknown[] | undefined;
|
|
52928
52938
|
address: Address;
|
|
52929
|
-
chain?:
|
|
52930
|
-
account?: `0x${string}` |
|
|
52939
|
+
chain?: viem491.Chain | null | undefined;
|
|
52940
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52931
52941
|
value?: bigint | undefined;
|
|
52932
52942
|
dataSuffix?: `0x${string}` | undefined;
|
|
52933
52943
|
type?: "eip7702" | undefined;
|
|
@@ -52940,59 +52950,59 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52940
52950
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52941
52951
|
maxFeePerGas?: bigint | undefined;
|
|
52942
52952
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52943
|
-
accessList?:
|
|
52953
|
+
accessList?: viem491.AccessList | undefined;
|
|
52944
52954
|
sidecars?: undefined;
|
|
52945
|
-
authorizationList?:
|
|
52955
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
52946
52956
|
chainId?: number | undefined;
|
|
52947
52957
|
connector?: wagmi0.Connector | undefined;
|
|
52948
52958
|
};
|
|
52949
|
-
isError: false;
|
|
52950
52959
|
isIdle: false;
|
|
52951
|
-
isPending: false;
|
|
52952
|
-
isSuccess: true;
|
|
52953
52960
|
reset: () => void;
|
|
52954
52961
|
context: unknown;
|
|
52955
|
-
failureCount: number;
|
|
52956
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52957
|
-
isPaused: boolean;
|
|
52958
52962
|
submittedAt: number;
|
|
52959
|
-
mutate:
|
|
52960
|
-
mutateAsync:
|
|
52961
|
-
writeContract:
|
|
52963
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52964
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52965
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52962
52966
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52963
52967
|
};
|
|
52964
52968
|
//#endregion
|
|
52965
52969
|
//#region src/hooks/guardian/usePauseMarketTrading.d.ts
|
|
52966
52970
|
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
52967
|
-
data: undefined;
|
|
52968
52971
|
error: null;
|
|
52972
|
+
data: undefined;
|
|
52969
52973
|
status: "idle";
|
|
52970
|
-
variables: undefined;
|
|
52971
52974
|
isError: false;
|
|
52972
|
-
isIdle: true;
|
|
52973
52975
|
isPending: false;
|
|
52974
52976
|
isSuccess: false;
|
|
52975
|
-
reset: () => void;
|
|
52976
|
-
context: unknown;
|
|
52977
52977
|
failureCount: number;
|
|
52978
52978
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52979
52979
|
isPaused: boolean;
|
|
52980
|
+
variables: undefined;
|
|
52981
|
+
isIdle: true;
|
|
52982
|
+
reset: () => void;
|
|
52983
|
+
context: unknown;
|
|
52980
52984
|
submittedAt: number;
|
|
52981
|
-
mutate:
|
|
52982
|
-
mutateAsync:
|
|
52983
|
-
writeContract:
|
|
52985
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52986
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52987
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52984
52988
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52985
52989
|
} | {
|
|
52986
|
-
data: undefined;
|
|
52987
52990
|
error: null;
|
|
52991
|
+
data: undefined;
|
|
52988
52992
|
status: "pending";
|
|
52993
|
+
isError: false;
|
|
52994
|
+
isPending: true;
|
|
52995
|
+
isSuccess: false;
|
|
52996
|
+
failureCount: number;
|
|
52997
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52998
|
+
isPaused: boolean;
|
|
52989
52999
|
variables: {
|
|
52990
|
-
abi:
|
|
53000
|
+
abi: abitype17.Abi;
|
|
52991
53001
|
functionName: string;
|
|
52992
53002
|
args?: readonly unknown[] | undefined;
|
|
52993
53003
|
address: Address;
|
|
52994
|
-
chain?:
|
|
52995
|
-
account?: `0x${string}` |
|
|
53004
|
+
chain?: viem491.Chain | null | undefined;
|
|
53005
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
52996
53006
|
value?: bigint | undefined;
|
|
52997
53007
|
dataSuffix?: `0x${string}` | undefined;
|
|
52998
53008
|
type?: "legacy" | undefined;
|
|
@@ -53011,12 +53021,12 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53011
53021
|
chainId?: number | undefined;
|
|
53012
53022
|
connector?: wagmi0.Connector | undefined;
|
|
53013
53023
|
} | {
|
|
53014
|
-
abi:
|
|
53024
|
+
abi: abitype17.Abi;
|
|
53015
53025
|
functionName: string;
|
|
53016
53026
|
args?: readonly unknown[] | undefined;
|
|
53017
53027
|
address: Address;
|
|
53018
|
-
chain?:
|
|
53019
|
-
account?: `0x${string}` |
|
|
53028
|
+
chain?: viem491.Chain | null | undefined;
|
|
53029
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53020
53030
|
value?: bigint | undefined;
|
|
53021
53031
|
dataSuffix?: `0x${string}` | undefined;
|
|
53022
53032
|
type?: "eip2930" | undefined;
|
|
@@ -53029,18 +53039,18 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53029
53039
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53030
53040
|
maxFeePerGas?: undefined | undefined;
|
|
53031
53041
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53032
|
-
accessList?:
|
|
53042
|
+
accessList?: viem491.AccessList | undefined;
|
|
53033
53043
|
sidecars?: undefined;
|
|
53034
53044
|
authorizationList?: undefined;
|
|
53035
53045
|
chainId?: number | undefined;
|
|
53036
53046
|
connector?: wagmi0.Connector | undefined;
|
|
53037
53047
|
} | {
|
|
53038
|
-
abi:
|
|
53048
|
+
abi: abitype17.Abi;
|
|
53039
53049
|
functionName: string;
|
|
53040
53050
|
args?: readonly unknown[] | undefined;
|
|
53041
53051
|
address: Address;
|
|
53042
|
-
chain?:
|
|
53043
|
-
account?: `0x${string}` |
|
|
53052
|
+
chain?: viem491.Chain | null | undefined;
|
|
53053
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53044
53054
|
value?: bigint | undefined;
|
|
53045
53055
|
dataSuffix?: `0x${string}` | undefined;
|
|
53046
53056
|
type?: "eip1559" | undefined;
|
|
@@ -53053,66 +53063,66 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53053
53063
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53054
53064
|
maxFeePerGas?: bigint | undefined;
|
|
53055
53065
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53056
|
-
accessList?:
|
|
53066
|
+
accessList?: viem491.AccessList | undefined;
|
|
53057
53067
|
sidecars?: undefined;
|
|
53058
53068
|
authorizationList?: undefined;
|
|
53059
53069
|
chainId?: number | undefined;
|
|
53060
53070
|
connector?: wagmi0.Connector | undefined;
|
|
53061
53071
|
} | {
|
|
53062
|
-
abi:
|
|
53072
|
+
abi: abitype17.Abi;
|
|
53063
53073
|
functionName: string;
|
|
53064
53074
|
args?: readonly unknown[] | undefined;
|
|
53065
53075
|
address: Address;
|
|
53066
|
-
chain?:
|
|
53067
|
-
account?: `0x${string}` |
|
|
53076
|
+
chain?: viem491.Chain | null | undefined;
|
|
53077
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53068
53078
|
value?: bigint | undefined;
|
|
53069
53079
|
dataSuffix?: `0x${string}` | undefined;
|
|
53070
53080
|
type?: "eip4844" | undefined;
|
|
53071
53081
|
gas?: bigint | undefined;
|
|
53072
53082
|
nonce?: number | undefined;
|
|
53073
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53074
|
-
blobVersionedHashes: readonly
|
|
53083
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
53084
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
53075
53085
|
kzg?: undefined;
|
|
53076
53086
|
gasPrice?: undefined | undefined;
|
|
53077
53087
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53078
53088
|
maxFeePerGas?: bigint | undefined;
|
|
53079
53089
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53080
|
-
accessList?:
|
|
53081
|
-
sidecars?: readonly
|
|
53090
|
+
accessList?: viem491.AccessList | undefined;
|
|
53091
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53082
53092
|
authorizationList?: undefined;
|
|
53083
53093
|
chainId?: number | undefined;
|
|
53084
53094
|
connector?: wagmi0.Connector | undefined;
|
|
53085
53095
|
} | {
|
|
53086
|
-
abi:
|
|
53096
|
+
abi: abitype17.Abi;
|
|
53087
53097
|
functionName: string;
|
|
53088
53098
|
args?: readonly unknown[] | undefined;
|
|
53089
53099
|
address: Address;
|
|
53090
|
-
chain?:
|
|
53091
|
-
account?: `0x${string}` |
|
|
53100
|
+
chain?: viem491.Chain | null | undefined;
|
|
53101
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53092
53102
|
value?: bigint | undefined;
|
|
53093
53103
|
dataSuffix?: `0x${string}` | undefined;
|
|
53094
53104
|
type?: "eip4844" | undefined;
|
|
53095
53105
|
gas?: bigint | undefined;
|
|
53096
53106
|
nonce?: number | undefined;
|
|
53097
|
-
blobs: readonly
|
|
53107
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
53098
53108
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53099
|
-
kzg?:
|
|
53109
|
+
kzg?: viem491.Kzg | undefined;
|
|
53100
53110
|
gasPrice?: undefined | undefined;
|
|
53101
53111
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53102
53112
|
maxFeePerGas?: bigint | undefined;
|
|
53103
53113
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53104
|
-
accessList?:
|
|
53105
|
-
sidecars?: readonly
|
|
53114
|
+
accessList?: viem491.AccessList | undefined;
|
|
53115
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53106
53116
|
authorizationList?: undefined;
|
|
53107
53117
|
chainId?: number | undefined;
|
|
53108
53118
|
connector?: wagmi0.Connector | undefined;
|
|
53109
53119
|
} | {
|
|
53110
|
-
abi:
|
|
53120
|
+
abi: abitype17.Abi;
|
|
53111
53121
|
functionName: string;
|
|
53112
53122
|
args?: readonly unknown[] | undefined;
|
|
53113
53123
|
address: Address;
|
|
53114
|
-
chain?:
|
|
53115
|
-
account?: `0x${string}` |
|
|
53124
|
+
chain?: viem491.Chain | null | undefined;
|
|
53125
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53116
53126
|
value?: bigint | undefined;
|
|
53117
53127
|
dataSuffix?: `0x${string}` | undefined;
|
|
53118
53128
|
type?: "eip7702" | undefined;
|
|
@@ -53125,37 +53135,37 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53125
53135
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53126
53136
|
maxFeePerGas?: bigint | undefined;
|
|
53127
53137
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53128
|
-
accessList?:
|
|
53138
|
+
accessList?: viem491.AccessList | undefined;
|
|
53129
53139
|
sidecars?: undefined;
|
|
53130
|
-
authorizationList?:
|
|
53140
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
53131
53141
|
chainId?: number | undefined;
|
|
53132
53142
|
connector?: wagmi0.Connector | undefined;
|
|
53133
53143
|
};
|
|
53134
|
-
isError: false;
|
|
53135
53144
|
isIdle: false;
|
|
53136
|
-
isPending: true;
|
|
53137
|
-
isSuccess: false;
|
|
53138
53145
|
reset: () => void;
|
|
53139
53146
|
context: unknown;
|
|
53140
|
-
failureCount: number;
|
|
53141
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53142
|
-
isPaused: boolean;
|
|
53143
53147
|
submittedAt: number;
|
|
53144
|
-
mutate:
|
|
53145
|
-
mutateAsync:
|
|
53146
|
-
writeContract:
|
|
53148
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53149
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53150
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53147
53151
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53148
53152
|
} | {
|
|
53149
|
-
data: undefined;
|
|
53150
53153
|
error: _wagmi_core0.WriteContractErrorType;
|
|
53154
|
+
data: undefined;
|
|
53151
53155
|
status: "error";
|
|
53156
|
+
isError: true;
|
|
53157
|
+
isPending: false;
|
|
53158
|
+
isSuccess: false;
|
|
53159
|
+
failureCount: number;
|
|
53160
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53161
|
+
isPaused: boolean;
|
|
53152
53162
|
variables: {
|
|
53153
|
-
abi:
|
|
53163
|
+
abi: abitype17.Abi;
|
|
53154
53164
|
functionName: string;
|
|
53155
53165
|
args?: readonly unknown[] | undefined;
|
|
53156
53166
|
address: Address;
|
|
53157
|
-
chain?:
|
|
53158
|
-
account?: `0x${string}` |
|
|
53167
|
+
chain?: viem491.Chain | null | undefined;
|
|
53168
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53159
53169
|
value?: bigint | undefined;
|
|
53160
53170
|
dataSuffix?: `0x${string}` | undefined;
|
|
53161
53171
|
type?: "legacy" | undefined;
|
|
@@ -53174,12 +53184,12 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53174
53184
|
chainId?: number | undefined;
|
|
53175
53185
|
connector?: wagmi0.Connector | undefined;
|
|
53176
53186
|
} | {
|
|
53177
|
-
abi:
|
|
53187
|
+
abi: abitype17.Abi;
|
|
53178
53188
|
functionName: string;
|
|
53179
53189
|
args?: readonly unknown[] | undefined;
|
|
53180
53190
|
address: Address;
|
|
53181
|
-
chain?:
|
|
53182
|
-
account?: `0x${string}` |
|
|
53191
|
+
chain?: viem491.Chain | null | undefined;
|
|
53192
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53183
53193
|
value?: bigint | undefined;
|
|
53184
53194
|
dataSuffix?: `0x${string}` | undefined;
|
|
53185
53195
|
type?: "eip2930" | undefined;
|
|
@@ -53192,18 +53202,18 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53192
53202
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53193
53203
|
maxFeePerGas?: undefined | undefined;
|
|
53194
53204
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53195
|
-
accessList?:
|
|
53205
|
+
accessList?: viem491.AccessList | undefined;
|
|
53196
53206
|
sidecars?: undefined;
|
|
53197
53207
|
authorizationList?: undefined;
|
|
53198
53208
|
chainId?: number | undefined;
|
|
53199
53209
|
connector?: wagmi0.Connector | undefined;
|
|
53200
53210
|
} | {
|
|
53201
|
-
abi:
|
|
53211
|
+
abi: abitype17.Abi;
|
|
53202
53212
|
functionName: string;
|
|
53203
53213
|
args?: readonly unknown[] | undefined;
|
|
53204
53214
|
address: Address;
|
|
53205
|
-
chain?:
|
|
53206
|
-
account?: `0x${string}` |
|
|
53215
|
+
chain?: viem491.Chain | null | undefined;
|
|
53216
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53207
53217
|
value?: bigint | undefined;
|
|
53208
53218
|
dataSuffix?: `0x${string}` | undefined;
|
|
53209
53219
|
type?: "eip1559" | undefined;
|
|
@@ -53216,66 +53226,66 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53216
53226
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53217
53227
|
maxFeePerGas?: bigint | undefined;
|
|
53218
53228
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53219
|
-
accessList?:
|
|
53229
|
+
accessList?: viem491.AccessList | undefined;
|
|
53220
53230
|
sidecars?: undefined;
|
|
53221
53231
|
authorizationList?: undefined;
|
|
53222
53232
|
chainId?: number | undefined;
|
|
53223
53233
|
connector?: wagmi0.Connector | undefined;
|
|
53224
53234
|
} | {
|
|
53225
|
-
abi:
|
|
53235
|
+
abi: abitype17.Abi;
|
|
53226
53236
|
functionName: string;
|
|
53227
53237
|
args?: readonly unknown[] | undefined;
|
|
53228
53238
|
address: Address;
|
|
53229
|
-
chain?:
|
|
53230
|
-
account?: `0x${string}` |
|
|
53239
|
+
chain?: viem491.Chain | null | undefined;
|
|
53240
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53231
53241
|
value?: bigint | undefined;
|
|
53232
53242
|
dataSuffix?: `0x${string}` | undefined;
|
|
53233
53243
|
type?: "eip4844" | undefined;
|
|
53234
53244
|
gas?: bigint | undefined;
|
|
53235
53245
|
nonce?: number | undefined;
|
|
53236
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53237
|
-
blobVersionedHashes: readonly
|
|
53246
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
53247
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
53238
53248
|
kzg?: undefined;
|
|
53239
53249
|
gasPrice?: undefined | undefined;
|
|
53240
53250
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53241
53251
|
maxFeePerGas?: bigint | undefined;
|
|
53242
53252
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53243
|
-
accessList?:
|
|
53244
|
-
sidecars?: readonly
|
|
53253
|
+
accessList?: viem491.AccessList | undefined;
|
|
53254
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53245
53255
|
authorizationList?: undefined;
|
|
53246
53256
|
chainId?: number | undefined;
|
|
53247
53257
|
connector?: wagmi0.Connector | undefined;
|
|
53248
53258
|
} | {
|
|
53249
|
-
abi:
|
|
53259
|
+
abi: abitype17.Abi;
|
|
53250
53260
|
functionName: string;
|
|
53251
53261
|
args?: readonly unknown[] | undefined;
|
|
53252
53262
|
address: Address;
|
|
53253
|
-
chain?:
|
|
53254
|
-
account?: `0x${string}` |
|
|
53263
|
+
chain?: viem491.Chain | null | undefined;
|
|
53264
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53255
53265
|
value?: bigint | undefined;
|
|
53256
53266
|
dataSuffix?: `0x${string}` | undefined;
|
|
53257
53267
|
type?: "eip4844" | undefined;
|
|
53258
53268
|
gas?: bigint | undefined;
|
|
53259
53269
|
nonce?: number | undefined;
|
|
53260
|
-
blobs: readonly
|
|
53270
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
53261
53271
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53262
|
-
kzg?:
|
|
53272
|
+
kzg?: viem491.Kzg | undefined;
|
|
53263
53273
|
gasPrice?: undefined | undefined;
|
|
53264
53274
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53265
53275
|
maxFeePerGas?: bigint | undefined;
|
|
53266
53276
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53267
|
-
accessList?:
|
|
53268
|
-
sidecars?: readonly
|
|
53277
|
+
accessList?: viem491.AccessList | undefined;
|
|
53278
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53269
53279
|
authorizationList?: undefined;
|
|
53270
53280
|
chainId?: number | undefined;
|
|
53271
53281
|
connector?: wagmi0.Connector | undefined;
|
|
53272
53282
|
} | {
|
|
53273
|
-
abi:
|
|
53283
|
+
abi: abitype17.Abi;
|
|
53274
53284
|
functionName: string;
|
|
53275
53285
|
args?: readonly unknown[] | undefined;
|
|
53276
53286
|
address: Address;
|
|
53277
|
-
chain?:
|
|
53278
|
-
account?: `0x${string}` |
|
|
53287
|
+
chain?: viem491.Chain | null | undefined;
|
|
53288
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53279
53289
|
value?: bigint | undefined;
|
|
53280
53290
|
dataSuffix?: `0x${string}` | undefined;
|
|
53281
53291
|
type?: "eip7702" | undefined;
|
|
@@ -53288,37 +53298,37 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53288
53298
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53289
53299
|
maxFeePerGas?: bigint | undefined;
|
|
53290
53300
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53291
|
-
accessList?:
|
|
53301
|
+
accessList?: viem491.AccessList | undefined;
|
|
53292
53302
|
sidecars?: undefined;
|
|
53293
|
-
authorizationList?:
|
|
53303
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
53294
53304
|
chainId?: number | undefined;
|
|
53295
53305
|
connector?: wagmi0.Connector | undefined;
|
|
53296
53306
|
};
|
|
53297
|
-
isError: true;
|
|
53298
53307
|
isIdle: false;
|
|
53299
|
-
isPending: false;
|
|
53300
|
-
isSuccess: false;
|
|
53301
53308
|
reset: () => void;
|
|
53302
53309
|
context: unknown;
|
|
53303
|
-
failureCount: number;
|
|
53304
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53305
|
-
isPaused: boolean;
|
|
53306
53310
|
submittedAt: number;
|
|
53307
|
-
mutate:
|
|
53308
|
-
mutateAsync:
|
|
53309
|
-
writeContract:
|
|
53311
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53312
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53313
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53310
53314
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53311
53315
|
} | {
|
|
53312
|
-
data: `0x${string}`;
|
|
53313
53316
|
error: null;
|
|
53317
|
+
data: `0x${string}`;
|
|
53314
53318
|
status: "success";
|
|
53319
|
+
isError: false;
|
|
53320
|
+
isPending: false;
|
|
53321
|
+
isSuccess: true;
|
|
53322
|
+
failureCount: number;
|
|
53323
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53324
|
+
isPaused: boolean;
|
|
53315
53325
|
variables: {
|
|
53316
|
-
abi:
|
|
53326
|
+
abi: abitype17.Abi;
|
|
53317
53327
|
functionName: string;
|
|
53318
53328
|
args?: readonly unknown[] | undefined;
|
|
53319
53329
|
address: Address;
|
|
53320
|
-
chain?:
|
|
53321
|
-
account?: `0x${string}` |
|
|
53330
|
+
chain?: viem491.Chain | null | undefined;
|
|
53331
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53322
53332
|
value?: bigint | undefined;
|
|
53323
53333
|
dataSuffix?: `0x${string}` | undefined;
|
|
53324
53334
|
type?: "legacy" | undefined;
|
|
@@ -53337,12 +53347,12 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53337
53347
|
chainId?: number | undefined;
|
|
53338
53348
|
connector?: wagmi0.Connector | undefined;
|
|
53339
53349
|
} | {
|
|
53340
|
-
abi:
|
|
53350
|
+
abi: abitype17.Abi;
|
|
53341
53351
|
functionName: string;
|
|
53342
53352
|
args?: readonly unknown[] | undefined;
|
|
53343
53353
|
address: Address;
|
|
53344
|
-
chain?:
|
|
53345
|
-
account?: `0x${string}` |
|
|
53354
|
+
chain?: viem491.Chain | null | undefined;
|
|
53355
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53346
53356
|
value?: bigint | undefined;
|
|
53347
53357
|
dataSuffix?: `0x${string}` | undefined;
|
|
53348
53358
|
type?: "eip2930" | undefined;
|
|
@@ -53355,18 +53365,18 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53355
53365
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53356
53366
|
maxFeePerGas?: undefined | undefined;
|
|
53357
53367
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53358
|
-
accessList?:
|
|
53368
|
+
accessList?: viem491.AccessList | undefined;
|
|
53359
53369
|
sidecars?: undefined;
|
|
53360
53370
|
authorizationList?: undefined;
|
|
53361
53371
|
chainId?: number | undefined;
|
|
53362
53372
|
connector?: wagmi0.Connector | undefined;
|
|
53363
53373
|
} | {
|
|
53364
|
-
abi:
|
|
53374
|
+
abi: abitype17.Abi;
|
|
53365
53375
|
functionName: string;
|
|
53366
53376
|
args?: readonly unknown[] | undefined;
|
|
53367
53377
|
address: Address;
|
|
53368
|
-
chain?:
|
|
53369
|
-
account?: `0x${string}` |
|
|
53378
|
+
chain?: viem491.Chain | null | undefined;
|
|
53379
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53370
53380
|
value?: bigint | undefined;
|
|
53371
53381
|
dataSuffix?: `0x${string}` | undefined;
|
|
53372
53382
|
type?: "eip1559" | undefined;
|
|
@@ -53379,66 +53389,66 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53379
53389
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53380
53390
|
maxFeePerGas?: bigint | undefined;
|
|
53381
53391
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53382
|
-
accessList?:
|
|
53392
|
+
accessList?: viem491.AccessList | undefined;
|
|
53383
53393
|
sidecars?: undefined;
|
|
53384
53394
|
authorizationList?: undefined;
|
|
53385
53395
|
chainId?: number | undefined;
|
|
53386
53396
|
connector?: wagmi0.Connector | undefined;
|
|
53387
53397
|
} | {
|
|
53388
|
-
abi:
|
|
53398
|
+
abi: abitype17.Abi;
|
|
53389
53399
|
functionName: string;
|
|
53390
53400
|
args?: readonly unknown[] | undefined;
|
|
53391
53401
|
address: Address;
|
|
53392
|
-
chain?:
|
|
53393
|
-
account?: `0x${string}` |
|
|
53402
|
+
chain?: viem491.Chain | null | undefined;
|
|
53403
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53394
53404
|
value?: bigint | undefined;
|
|
53395
53405
|
dataSuffix?: `0x${string}` | undefined;
|
|
53396
53406
|
type?: "eip4844" | undefined;
|
|
53397
53407
|
gas?: bigint | undefined;
|
|
53398
53408
|
nonce?: number | undefined;
|
|
53399
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53400
|
-
blobVersionedHashes: readonly
|
|
53409
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
53410
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
53401
53411
|
kzg?: undefined;
|
|
53402
53412
|
gasPrice?: undefined | undefined;
|
|
53403
53413
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53404
53414
|
maxFeePerGas?: bigint | undefined;
|
|
53405
53415
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53406
|
-
accessList?:
|
|
53407
|
-
sidecars?: readonly
|
|
53416
|
+
accessList?: viem491.AccessList | undefined;
|
|
53417
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53408
53418
|
authorizationList?: undefined;
|
|
53409
53419
|
chainId?: number | undefined;
|
|
53410
53420
|
connector?: wagmi0.Connector | undefined;
|
|
53411
53421
|
} | {
|
|
53412
|
-
abi:
|
|
53422
|
+
abi: abitype17.Abi;
|
|
53413
53423
|
functionName: string;
|
|
53414
53424
|
args?: readonly unknown[] | undefined;
|
|
53415
53425
|
address: Address;
|
|
53416
|
-
chain?:
|
|
53417
|
-
account?: `0x${string}` |
|
|
53426
|
+
chain?: viem491.Chain | null | undefined;
|
|
53427
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53418
53428
|
value?: bigint | undefined;
|
|
53419
53429
|
dataSuffix?: `0x${string}` | undefined;
|
|
53420
53430
|
type?: "eip4844" | undefined;
|
|
53421
53431
|
gas?: bigint | undefined;
|
|
53422
53432
|
nonce?: number | undefined;
|
|
53423
|
-
blobs: readonly
|
|
53433
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
53424
53434
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53425
|
-
kzg?:
|
|
53435
|
+
kzg?: viem491.Kzg | undefined;
|
|
53426
53436
|
gasPrice?: undefined | undefined;
|
|
53427
53437
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53428
53438
|
maxFeePerGas?: bigint | undefined;
|
|
53429
53439
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53430
|
-
accessList?:
|
|
53431
|
-
sidecars?: readonly
|
|
53440
|
+
accessList?: viem491.AccessList | undefined;
|
|
53441
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53432
53442
|
authorizationList?: undefined;
|
|
53433
53443
|
chainId?: number | undefined;
|
|
53434
53444
|
connector?: wagmi0.Connector | undefined;
|
|
53435
53445
|
} | {
|
|
53436
|
-
abi:
|
|
53446
|
+
abi: abitype17.Abi;
|
|
53437
53447
|
functionName: string;
|
|
53438
53448
|
args?: readonly unknown[] | undefined;
|
|
53439
53449
|
address: Address;
|
|
53440
|
-
chain?:
|
|
53441
|
-
account?: `0x${string}` |
|
|
53450
|
+
chain?: viem491.Chain | null | undefined;
|
|
53451
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53442
53452
|
value?: bigint | undefined;
|
|
53443
53453
|
dataSuffix?: `0x${string}` | undefined;
|
|
53444
53454
|
type?: "eip7702" | undefined;
|
|
@@ -53451,25 +53461,19 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53451
53461
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53452
53462
|
maxFeePerGas?: bigint | undefined;
|
|
53453
53463
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53454
|
-
accessList?:
|
|
53464
|
+
accessList?: viem491.AccessList | undefined;
|
|
53455
53465
|
sidecars?: undefined;
|
|
53456
|
-
authorizationList?:
|
|
53466
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
53457
53467
|
chainId?: number | undefined;
|
|
53458
53468
|
connector?: wagmi0.Connector | undefined;
|
|
53459
53469
|
};
|
|
53460
|
-
isError: false;
|
|
53461
53470
|
isIdle: false;
|
|
53462
|
-
isPending: false;
|
|
53463
|
-
isSuccess: true;
|
|
53464
53471
|
reset: () => void;
|
|
53465
53472
|
context: unknown;
|
|
53466
|
-
failureCount: number;
|
|
53467
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53468
|
-
isPaused: boolean;
|
|
53469
53473
|
submittedAt: number;
|
|
53470
|
-
mutate:
|
|
53471
|
-
mutateAsync:
|
|
53472
|
-
writeContract:
|
|
53474
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53475
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53476
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53473
53477
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53474
53478
|
};
|
|
53475
53479
|
//#endregion
|
|
@@ -53484,23 +53488,23 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
53484
53488
|
//#endregion
|
|
53485
53489
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
53486
53490
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
53487
|
-
data: undefined;
|
|
53488
53491
|
error: null;
|
|
53492
|
+
data: undefined;
|
|
53489
53493
|
status: "idle";
|
|
53490
|
-
variables: undefined;
|
|
53491
53494
|
isError: false;
|
|
53492
|
-
isIdle: true;
|
|
53493
53495
|
isPending: false;
|
|
53494
53496
|
isSuccess: false;
|
|
53495
|
-
reset: () => void;
|
|
53496
|
-
context: unknown;
|
|
53497
53497
|
failureCount: number;
|
|
53498
53498
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53499
53499
|
isPaused: boolean;
|
|
53500
|
+
variables: undefined;
|
|
53501
|
+
isIdle: true;
|
|
53502
|
+
reset: () => void;
|
|
53503
|
+
context: unknown;
|
|
53500
53504
|
submittedAt: number;
|
|
53501
|
-
mutate:
|
|
53502
|
-
mutateAsync:
|
|
53503
|
-
writeContract:
|
|
53505
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53506
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53507
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53504
53508
|
updateMarketFees: (rates: {
|
|
53505
53509
|
openingFeeRate?: number;
|
|
53506
53510
|
baseFeeRate?: number;
|
|
@@ -53513,16 +53517,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53513
53517
|
newFeeStrategy: `0x${string}`;
|
|
53514
53518
|
}>;
|
|
53515
53519
|
} | {
|
|
53516
|
-
data: undefined;
|
|
53517
53520
|
error: null;
|
|
53521
|
+
data: undefined;
|
|
53518
53522
|
status: "pending";
|
|
53523
|
+
isError: false;
|
|
53524
|
+
isPending: true;
|
|
53525
|
+
isSuccess: false;
|
|
53526
|
+
failureCount: number;
|
|
53527
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53528
|
+
isPaused: boolean;
|
|
53519
53529
|
variables: {
|
|
53520
|
-
abi:
|
|
53530
|
+
abi: abitype17.Abi;
|
|
53521
53531
|
functionName: string;
|
|
53522
53532
|
args?: readonly unknown[] | undefined;
|
|
53523
53533
|
address: Address;
|
|
53524
|
-
chain?:
|
|
53525
|
-
account?: `0x${string}` |
|
|
53534
|
+
chain?: viem491.Chain | null | undefined;
|
|
53535
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53526
53536
|
value?: bigint | undefined;
|
|
53527
53537
|
dataSuffix?: `0x${string}` | undefined;
|
|
53528
53538
|
type?: "legacy" | undefined;
|
|
@@ -53541,12 +53551,12 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53541
53551
|
chainId?: number | undefined;
|
|
53542
53552
|
connector?: wagmi0.Connector | undefined;
|
|
53543
53553
|
} | {
|
|
53544
|
-
abi:
|
|
53554
|
+
abi: abitype17.Abi;
|
|
53545
53555
|
functionName: string;
|
|
53546
53556
|
args?: readonly unknown[] | undefined;
|
|
53547
53557
|
address: Address;
|
|
53548
|
-
chain?:
|
|
53549
|
-
account?: `0x${string}` |
|
|
53558
|
+
chain?: viem491.Chain | null | undefined;
|
|
53559
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53550
53560
|
value?: bigint | undefined;
|
|
53551
53561
|
dataSuffix?: `0x${string}` | undefined;
|
|
53552
53562
|
type?: "eip2930" | undefined;
|
|
@@ -53559,18 +53569,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53559
53569
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53560
53570
|
maxFeePerGas?: undefined | undefined;
|
|
53561
53571
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53562
|
-
accessList?:
|
|
53572
|
+
accessList?: viem491.AccessList | undefined;
|
|
53563
53573
|
sidecars?: undefined;
|
|
53564
53574
|
authorizationList?: undefined;
|
|
53565
53575
|
chainId?: number | undefined;
|
|
53566
53576
|
connector?: wagmi0.Connector | undefined;
|
|
53567
53577
|
} | {
|
|
53568
|
-
abi:
|
|
53578
|
+
abi: abitype17.Abi;
|
|
53569
53579
|
functionName: string;
|
|
53570
53580
|
args?: readonly unknown[] | undefined;
|
|
53571
53581
|
address: Address;
|
|
53572
|
-
chain?:
|
|
53573
|
-
account?: `0x${string}` |
|
|
53582
|
+
chain?: viem491.Chain | null | undefined;
|
|
53583
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53574
53584
|
value?: bigint | undefined;
|
|
53575
53585
|
dataSuffix?: `0x${string}` | undefined;
|
|
53576
53586
|
type?: "eip1559" | undefined;
|
|
@@ -53583,66 +53593,66 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53583
53593
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53584
53594
|
maxFeePerGas?: bigint | undefined;
|
|
53585
53595
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53586
|
-
accessList?:
|
|
53596
|
+
accessList?: viem491.AccessList | undefined;
|
|
53587
53597
|
sidecars?: undefined;
|
|
53588
53598
|
authorizationList?: undefined;
|
|
53589
53599
|
chainId?: number | undefined;
|
|
53590
53600
|
connector?: wagmi0.Connector | undefined;
|
|
53591
53601
|
} | {
|
|
53592
|
-
abi:
|
|
53602
|
+
abi: abitype17.Abi;
|
|
53593
53603
|
functionName: string;
|
|
53594
53604
|
args?: readonly unknown[] | undefined;
|
|
53595
53605
|
address: Address;
|
|
53596
|
-
chain?:
|
|
53597
|
-
account?: `0x${string}` |
|
|
53606
|
+
chain?: viem491.Chain | null | undefined;
|
|
53607
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53598
53608
|
value?: bigint | undefined;
|
|
53599
53609
|
dataSuffix?: `0x${string}` | undefined;
|
|
53600
53610
|
type?: "eip4844" | undefined;
|
|
53601
53611
|
gas?: bigint | undefined;
|
|
53602
53612
|
nonce?: number | undefined;
|
|
53603
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53604
|
-
blobVersionedHashes: readonly
|
|
53613
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
53614
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
53605
53615
|
kzg?: undefined;
|
|
53606
53616
|
gasPrice?: undefined | undefined;
|
|
53607
53617
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53608
53618
|
maxFeePerGas?: bigint | undefined;
|
|
53609
53619
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53610
|
-
accessList?:
|
|
53611
|
-
sidecars?: readonly
|
|
53620
|
+
accessList?: viem491.AccessList | undefined;
|
|
53621
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53612
53622
|
authorizationList?: undefined;
|
|
53613
53623
|
chainId?: number | undefined;
|
|
53614
53624
|
connector?: wagmi0.Connector | undefined;
|
|
53615
53625
|
} | {
|
|
53616
|
-
abi:
|
|
53626
|
+
abi: abitype17.Abi;
|
|
53617
53627
|
functionName: string;
|
|
53618
53628
|
args?: readonly unknown[] | undefined;
|
|
53619
53629
|
address: Address;
|
|
53620
|
-
chain?:
|
|
53621
|
-
account?: `0x${string}` |
|
|
53630
|
+
chain?: viem491.Chain | null | undefined;
|
|
53631
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53622
53632
|
value?: bigint | undefined;
|
|
53623
53633
|
dataSuffix?: `0x${string}` | undefined;
|
|
53624
53634
|
type?: "eip4844" | undefined;
|
|
53625
53635
|
gas?: bigint | undefined;
|
|
53626
53636
|
nonce?: number | undefined;
|
|
53627
|
-
blobs: readonly
|
|
53637
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
53628
53638
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53629
|
-
kzg?:
|
|
53639
|
+
kzg?: viem491.Kzg | undefined;
|
|
53630
53640
|
gasPrice?: undefined | undefined;
|
|
53631
53641
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53632
53642
|
maxFeePerGas?: bigint | undefined;
|
|
53633
53643
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53634
|
-
accessList?:
|
|
53635
|
-
sidecars?: readonly
|
|
53644
|
+
accessList?: viem491.AccessList | undefined;
|
|
53645
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53636
53646
|
authorizationList?: undefined;
|
|
53637
53647
|
chainId?: number | undefined;
|
|
53638
53648
|
connector?: wagmi0.Connector | undefined;
|
|
53639
53649
|
} | {
|
|
53640
|
-
abi:
|
|
53650
|
+
abi: abitype17.Abi;
|
|
53641
53651
|
functionName: string;
|
|
53642
53652
|
args?: readonly unknown[] | undefined;
|
|
53643
53653
|
address: Address;
|
|
53644
|
-
chain?:
|
|
53645
|
-
account?: `0x${string}` |
|
|
53654
|
+
chain?: viem491.Chain | null | undefined;
|
|
53655
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53646
53656
|
value?: bigint | undefined;
|
|
53647
53657
|
dataSuffix?: `0x${string}` | undefined;
|
|
53648
53658
|
type?: "eip7702" | undefined;
|
|
@@ -53655,25 +53665,19 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53655
53665
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53656
53666
|
maxFeePerGas?: bigint | undefined;
|
|
53657
53667
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53658
|
-
accessList?:
|
|
53668
|
+
accessList?: viem491.AccessList | undefined;
|
|
53659
53669
|
sidecars?: undefined;
|
|
53660
|
-
authorizationList?:
|
|
53670
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
53661
53671
|
chainId?: number | undefined;
|
|
53662
53672
|
connector?: wagmi0.Connector | undefined;
|
|
53663
53673
|
};
|
|
53664
|
-
isError: false;
|
|
53665
53674
|
isIdle: false;
|
|
53666
|
-
isPending: true;
|
|
53667
|
-
isSuccess: false;
|
|
53668
53675
|
reset: () => void;
|
|
53669
53676
|
context: unknown;
|
|
53670
|
-
failureCount: number;
|
|
53671
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53672
|
-
isPaused: boolean;
|
|
53673
53677
|
submittedAt: number;
|
|
53674
|
-
mutate:
|
|
53675
|
-
mutateAsync:
|
|
53676
|
-
writeContract:
|
|
53678
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53679
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53680
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53677
53681
|
updateMarketFees: (rates: {
|
|
53678
53682
|
openingFeeRate?: number;
|
|
53679
53683
|
baseFeeRate?: number;
|
|
@@ -53686,16 +53690,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53686
53690
|
newFeeStrategy: `0x${string}`;
|
|
53687
53691
|
}>;
|
|
53688
53692
|
} | {
|
|
53689
|
-
data: undefined;
|
|
53690
53693
|
error: _wagmi_core0.WriteContractErrorType;
|
|
53694
|
+
data: undefined;
|
|
53691
53695
|
status: "error";
|
|
53696
|
+
isError: true;
|
|
53697
|
+
isPending: false;
|
|
53698
|
+
isSuccess: false;
|
|
53699
|
+
failureCount: number;
|
|
53700
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53701
|
+
isPaused: boolean;
|
|
53692
53702
|
variables: {
|
|
53693
|
-
abi:
|
|
53703
|
+
abi: abitype17.Abi;
|
|
53694
53704
|
functionName: string;
|
|
53695
53705
|
args?: readonly unknown[] | undefined;
|
|
53696
53706
|
address: Address;
|
|
53697
|
-
chain?:
|
|
53698
|
-
account?: `0x${string}` |
|
|
53707
|
+
chain?: viem491.Chain | null | undefined;
|
|
53708
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53699
53709
|
value?: bigint | undefined;
|
|
53700
53710
|
dataSuffix?: `0x${string}` | undefined;
|
|
53701
53711
|
type?: "legacy" | undefined;
|
|
@@ -53714,12 +53724,12 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53714
53724
|
chainId?: number | undefined;
|
|
53715
53725
|
connector?: wagmi0.Connector | undefined;
|
|
53716
53726
|
} | {
|
|
53717
|
-
abi:
|
|
53727
|
+
abi: abitype17.Abi;
|
|
53718
53728
|
functionName: string;
|
|
53719
53729
|
args?: readonly unknown[] | undefined;
|
|
53720
53730
|
address: Address;
|
|
53721
|
-
chain?:
|
|
53722
|
-
account?: `0x${string}` |
|
|
53731
|
+
chain?: viem491.Chain | null | undefined;
|
|
53732
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53723
53733
|
value?: bigint | undefined;
|
|
53724
53734
|
dataSuffix?: `0x${string}` | undefined;
|
|
53725
53735
|
type?: "eip2930" | undefined;
|
|
@@ -53732,18 +53742,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53732
53742
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53733
53743
|
maxFeePerGas?: undefined | undefined;
|
|
53734
53744
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53735
|
-
accessList?:
|
|
53745
|
+
accessList?: viem491.AccessList | undefined;
|
|
53736
53746
|
sidecars?: undefined;
|
|
53737
53747
|
authorizationList?: undefined;
|
|
53738
53748
|
chainId?: number | undefined;
|
|
53739
53749
|
connector?: wagmi0.Connector | undefined;
|
|
53740
53750
|
} | {
|
|
53741
|
-
abi:
|
|
53751
|
+
abi: abitype17.Abi;
|
|
53742
53752
|
functionName: string;
|
|
53743
53753
|
args?: readonly unknown[] | undefined;
|
|
53744
53754
|
address: Address;
|
|
53745
|
-
chain?:
|
|
53746
|
-
account?: `0x${string}` |
|
|
53755
|
+
chain?: viem491.Chain | null | undefined;
|
|
53756
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53747
53757
|
value?: bigint | undefined;
|
|
53748
53758
|
dataSuffix?: `0x${string}` | undefined;
|
|
53749
53759
|
type?: "eip1559" | undefined;
|
|
@@ -53756,66 +53766,66 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53756
53766
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53757
53767
|
maxFeePerGas?: bigint | undefined;
|
|
53758
53768
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53759
|
-
accessList?:
|
|
53769
|
+
accessList?: viem491.AccessList | undefined;
|
|
53760
53770
|
sidecars?: undefined;
|
|
53761
53771
|
authorizationList?: undefined;
|
|
53762
53772
|
chainId?: number | undefined;
|
|
53763
53773
|
connector?: wagmi0.Connector | undefined;
|
|
53764
53774
|
} | {
|
|
53765
|
-
abi:
|
|
53775
|
+
abi: abitype17.Abi;
|
|
53766
53776
|
functionName: string;
|
|
53767
53777
|
args?: readonly unknown[] | undefined;
|
|
53768
53778
|
address: Address;
|
|
53769
|
-
chain?:
|
|
53770
|
-
account?: `0x${string}` |
|
|
53779
|
+
chain?: viem491.Chain | null | undefined;
|
|
53780
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53771
53781
|
value?: bigint | undefined;
|
|
53772
53782
|
dataSuffix?: `0x${string}` | undefined;
|
|
53773
53783
|
type?: "eip4844" | undefined;
|
|
53774
53784
|
gas?: bigint | undefined;
|
|
53775
53785
|
nonce?: number | undefined;
|
|
53776
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53777
|
-
blobVersionedHashes: readonly
|
|
53786
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
53787
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
53778
53788
|
kzg?: undefined;
|
|
53779
53789
|
gasPrice?: undefined | undefined;
|
|
53780
53790
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53781
53791
|
maxFeePerGas?: bigint | undefined;
|
|
53782
53792
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53783
|
-
accessList?:
|
|
53784
|
-
sidecars?: readonly
|
|
53793
|
+
accessList?: viem491.AccessList | undefined;
|
|
53794
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53785
53795
|
authorizationList?: undefined;
|
|
53786
53796
|
chainId?: number | undefined;
|
|
53787
53797
|
connector?: wagmi0.Connector | undefined;
|
|
53788
53798
|
} | {
|
|
53789
|
-
abi:
|
|
53799
|
+
abi: abitype17.Abi;
|
|
53790
53800
|
functionName: string;
|
|
53791
53801
|
args?: readonly unknown[] | undefined;
|
|
53792
53802
|
address: Address;
|
|
53793
|
-
chain?:
|
|
53794
|
-
account?: `0x${string}` |
|
|
53803
|
+
chain?: viem491.Chain | null | undefined;
|
|
53804
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53795
53805
|
value?: bigint | undefined;
|
|
53796
53806
|
dataSuffix?: `0x${string}` | undefined;
|
|
53797
53807
|
type?: "eip4844" | undefined;
|
|
53798
53808
|
gas?: bigint | undefined;
|
|
53799
53809
|
nonce?: number | undefined;
|
|
53800
|
-
blobs: readonly
|
|
53810
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
53801
53811
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53802
|
-
kzg?:
|
|
53812
|
+
kzg?: viem491.Kzg | undefined;
|
|
53803
53813
|
gasPrice?: undefined | undefined;
|
|
53804
53814
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53805
53815
|
maxFeePerGas?: bigint | undefined;
|
|
53806
53816
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53807
|
-
accessList?:
|
|
53808
|
-
sidecars?: readonly
|
|
53817
|
+
accessList?: viem491.AccessList | undefined;
|
|
53818
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53809
53819
|
authorizationList?: undefined;
|
|
53810
53820
|
chainId?: number | undefined;
|
|
53811
53821
|
connector?: wagmi0.Connector | undefined;
|
|
53812
53822
|
} | {
|
|
53813
|
-
abi:
|
|
53823
|
+
abi: abitype17.Abi;
|
|
53814
53824
|
functionName: string;
|
|
53815
53825
|
args?: readonly unknown[] | undefined;
|
|
53816
53826
|
address: Address;
|
|
53817
|
-
chain?:
|
|
53818
|
-
account?: `0x${string}` |
|
|
53827
|
+
chain?: viem491.Chain | null | undefined;
|
|
53828
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53819
53829
|
value?: bigint | undefined;
|
|
53820
53830
|
dataSuffix?: `0x${string}` | undefined;
|
|
53821
53831
|
type?: "eip7702" | undefined;
|
|
@@ -53828,25 +53838,19 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53828
53838
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53829
53839
|
maxFeePerGas?: bigint | undefined;
|
|
53830
53840
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53831
|
-
accessList?:
|
|
53841
|
+
accessList?: viem491.AccessList | undefined;
|
|
53832
53842
|
sidecars?: undefined;
|
|
53833
|
-
authorizationList?:
|
|
53843
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
53834
53844
|
chainId?: number | undefined;
|
|
53835
53845
|
connector?: wagmi0.Connector | undefined;
|
|
53836
53846
|
};
|
|
53837
|
-
isError: true;
|
|
53838
53847
|
isIdle: false;
|
|
53839
|
-
isPending: false;
|
|
53840
|
-
isSuccess: false;
|
|
53841
53848
|
reset: () => void;
|
|
53842
53849
|
context: unknown;
|
|
53843
|
-
failureCount: number;
|
|
53844
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53845
|
-
isPaused: boolean;
|
|
53846
53850
|
submittedAt: number;
|
|
53847
|
-
mutate:
|
|
53848
|
-
mutateAsync:
|
|
53849
|
-
writeContract:
|
|
53851
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53852
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53853
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53850
53854
|
updateMarketFees: (rates: {
|
|
53851
53855
|
openingFeeRate?: number;
|
|
53852
53856
|
baseFeeRate?: number;
|
|
@@ -53859,16 +53863,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53859
53863
|
newFeeStrategy: `0x${string}`;
|
|
53860
53864
|
}>;
|
|
53861
53865
|
} | {
|
|
53862
|
-
data: `0x${string}`;
|
|
53863
53866
|
error: null;
|
|
53867
|
+
data: `0x${string}`;
|
|
53864
53868
|
status: "success";
|
|
53869
|
+
isError: false;
|
|
53870
|
+
isPending: false;
|
|
53871
|
+
isSuccess: true;
|
|
53872
|
+
failureCount: number;
|
|
53873
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53874
|
+
isPaused: boolean;
|
|
53865
53875
|
variables: {
|
|
53866
|
-
abi:
|
|
53876
|
+
abi: abitype17.Abi;
|
|
53867
53877
|
functionName: string;
|
|
53868
53878
|
args?: readonly unknown[] | undefined;
|
|
53869
53879
|
address: Address;
|
|
53870
|
-
chain?:
|
|
53871
|
-
account?: `0x${string}` |
|
|
53880
|
+
chain?: viem491.Chain | null | undefined;
|
|
53881
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53872
53882
|
value?: bigint | undefined;
|
|
53873
53883
|
dataSuffix?: `0x${string}` | undefined;
|
|
53874
53884
|
type?: "legacy" | undefined;
|
|
@@ -53887,12 +53897,12 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53887
53897
|
chainId?: number | undefined;
|
|
53888
53898
|
connector?: wagmi0.Connector | undefined;
|
|
53889
53899
|
} | {
|
|
53890
|
-
abi:
|
|
53900
|
+
abi: abitype17.Abi;
|
|
53891
53901
|
functionName: string;
|
|
53892
53902
|
args?: readonly unknown[] | undefined;
|
|
53893
53903
|
address: Address;
|
|
53894
|
-
chain?:
|
|
53895
|
-
account?: `0x${string}` |
|
|
53904
|
+
chain?: viem491.Chain | null | undefined;
|
|
53905
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53896
53906
|
value?: bigint | undefined;
|
|
53897
53907
|
dataSuffix?: `0x${string}` | undefined;
|
|
53898
53908
|
type?: "eip2930" | undefined;
|
|
@@ -53905,18 +53915,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53905
53915
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53906
53916
|
maxFeePerGas?: undefined | undefined;
|
|
53907
53917
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53908
|
-
accessList?:
|
|
53918
|
+
accessList?: viem491.AccessList | undefined;
|
|
53909
53919
|
sidecars?: undefined;
|
|
53910
53920
|
authorizationList?: undefined;
|
|
53911
53921
|
chainId?: number | undefined;
|
|
53912
53922
|
connector?: wagmi0.Connector | undefined;
|
|
53913
53923
|
} | {
|
|
53914
|
-
abi:
|
|
53924
|
+
abi: abitype17.Abi;
|
|
53915
53925
|
functionName: string;
|
|
53916
53926
|
args?: readonly unknown[] | undefined;
|
|
53917
53927
|
address: Address;
|
|
53918
|
-
chain?:
|
|
53919
|
-
account?: `0x${string}` |
|
|
53928
|
+
chain?: viem491.Chain | null | undefined;
|
|
53929
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53920
53930
|
value?: bigint | undefined;
|
|
53921
53931
|
dataSuffix?: `0x${string}` | undefined;
|
|
53922
53932
|
type?: "eip1559" | undefined;
|
|
@@ -53929,66 +53939,66 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53929
53939
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53930
53940
|
maxFeePerGas?: bigint | undefined;
|
|
53931
53941
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53932
|
-
accessList?:
|
|
53942
|
+
accessList?: viem491.AccessList | undefined;
|
|
53933
53943
|
sidecars?: undefined;
|
|
53934
53944
|
authorizationList?: undefined;
|
|
53935
53945
|
chainId?: number | undefined;
|
|
53936
53946
|
connector?: wagmi0.Connector | undefined;
|
|
53937
53947
|
} | {
|
|
53938
|
-
abi:
|
|
53948
|
+
abi: abitype17.Abi;
|
|
53939
53949
|
functionName: string;
|
|
53940
53950
|
args?: readonly unknown[] | undefined;
|
|
53941
53951
|
address: Address;
|
|
53942
|
-
chain?:
|
|
53943
|
-
account?: `0x${string}` |
|
|
53952
|
+
chain?: viem491.Chain | null | undefined;
|
|
53953
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53944
53954
|
value?: bigint | undefined;
|
|
53945
53955
|
dataSuffix?: `0x${string}` | undefined;
|
|
53946
53956
|
type?: "eip4844" | undefined;
|
|
53947
53957
|
gas?: bigint | undefined;
|
|
53948
53958
|
nonce?: number | undefined;
|
|
53949
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53950
|
-
blobVersionedHashes: readonly
|
|
53959
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
53960
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
53951
53961
|
kzg?: undefined;
|
|
53952
53962
|
gasPrice?: undefined | undefined;
|
|
53953
53963
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53954
53964
|
maxFeePerGas?: bigint | undefined;
|
|
53955
53965
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53956
|
-
accessList?:
|
|
53957
|
-
sidecars?: readonly
|
|
53966
|
+
accessList?: viem491.AccessList | undefined;
|
|
53967
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53958
53968
|
authorizationList?: undefined;
|
|
53959
53969
|
chainId?: number | undefined;
|
|
53960
53970
|
connector?: wagmi0.Connector | undefined;
|
|
53961
53971
|
} | {
|
|
53962
|
-
abi:
|
|
53972
|
+
abi: abitype17.Abi;
|
|
53963
53973
|
functionName: string;
|
|
53964
53974
|
args?: readonly unknown[] | undefined;
|
|
53965
53975
|
address: Address;
|
|
53966
|
-
chain?:
|
|
53967
|
-
account?: `0x${string}` |
|
|
53976
|
+
chain?: viem491.Chain | null | undefined;
|
|
53977
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53968
53978
|
value?: bigint | undefined;
|
|
53969
53979
|
dataSuffix?: `0x${string}` | undefined;
|
|
53970
53980
|
type?: "eip4844" | undefined;
|
|
53971
53981
|
gas?: bigint | undefined;
|
|
53972
53982
|
nonce?: number | undefined;
|
|
53973
|
-
blobs: readonly
|
|
53983
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
53974
53984
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53975
|
-
kzg?:
|
|
53985
|
+
kzg?: viem491.Kzg | undefined;
|
|
53976
53986
|
gasPrice?: undefined | undefined;
|
|
53977
53987
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53978
53988
|
maxFeePerGas?: bigint | undefined;
|
|
53979
53989
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53980
|
-
accessList?:
|
|
53981
|
-
sidecars?: readonly
|
|
53990
|
+
accessList?: viem491.AccessList | undefined;
|
|
53991
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53982
53992
|
authorizationList?: undefined;
|
|
53983
53993
|
chainId?: number | undefined;
|
|
53984
53994
|
connector?: wagmi0.Connector | undefined;
|
|
53985
53995
|
} | {
|
|
53986
|
-
abi:
|
|
53996
|
+
abi: abitype17.Abi;
|
|
53987
53997
|
functionName: string;
|
|
53988
53998
|
args?: readonly unknown[] | undefined;
|
|
53989
53999
|
address: Address;
|
|
53990
|
-
chain?:
|
|
53991
|
-
account?: `0x${string}` |
|
|
54000
|
+
chain?: viem491.Chain | null | undefined;
|
|
54001
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
53992
54002
|
value?: bigint | undefined;
|
|
53993
54003
|
dataSuffix?: `0x${string}` | undefined;
|
|
53994
54004
|
type?: "eip7702" | undefined;
|
|
@@ -54001,25 +54011,19 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54001
54011
|
maxFeePerBlobGas?: undefined | undefined;
|
|
54002
54012
|
maxFeePerGas?: bigint | undefined;
|
|
54003
54013
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54004
|
-
accessList?:
|
|
54014
|
+
accessList?: viem491.AccessList | undefined;
|
|
54005
54015
|
sidecars?: undefined;
|
|
54006
|
-
authorizationList?:
|
|
54016
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
54007
54017
|
chainId?: number | undefined;
|
|
54008
54018
|
connector?: wagmi0.Connector | undefined;
|
|
54009
54019
|
};
|
|
54010
|
-
isError: false;
|
|
54011
54020
|
isIdle: false;
|
|
54012
|
-
isPending: false;
|
|
54013
|
-
isSuccess: true;
|
|
54014
54021
|
reset: () => void;
|
|
54015
54022
|
context: unknown;
|
|
54016
|
-
failureCount: number;
|
|
54017
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54018
|
-
isPaused: boolean;
|
|
54019
54023
|
submittedAt: number;
|
|
54020
|
-
mutate:
|
|
54021
|
-
mutateAsync:
|
|
54022
|
-
writeContract:
|
|
54024
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54025
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
54026
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54023
54027
|
updateMarketFees: (rates: {
|
|
54024
54028
|
openingFeeRate?: number;
|
|
54025
54029
|
baseFeeRate?: number;
|
|
@@ -55009,23 +55013,23 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
|
|
|
55009
55013
|
//#endregion
|
|
55010
55014
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
55011
55015
|
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
55012
|
-
data: undefined;
|
|
55013
55016
|
error: null;
|
|
55017
|
+
data: undefined;
|
|
55014
55018
|
status: "idle";
|
|
55015
|
-
variables: undefined;
|
|
55016
55019
|
isError: false;
|
|
55017
|
-
isIdle: true;
|
|
55018
55020
|
isPending: false;
|
|
55019
55021
|
isSuccess: false;
|
|
55020
|
-
reset: () => void;
|
|
55021
|
-
context: unknown;
|
|
55022
55022
|
failureCount: number;
|
|
55023
55023
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55024
55024
|
isPaused: boolean;
|
|
55025
|
+
variables: undefined;
|
|
55026
|
+
isIdle: true;
|
|
55027
|
+
reset: () => void;
|
|
55028
|
+
context: unknown;
|
|
55025
55029
|
submittedAt: number;
|
|
55026
|
-
mutate:
|
|
55027
|
-
mutateAsync:
|
|
55028
|
-
writeContract:
|
|
55030
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55031
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55032
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55029
55033
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55030
55034
|
model: "static";
|
|
55031
55035
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55036,16 +55040,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55036
55040
|
newPricingAddr: `0x${string}`;
|
|
55037
55041
|
}>;
|
|
55038
55042
|
} | {
|
|
55039
|
-
data: undefined;
|
|
55040
55043
|
error: null;
|
|
55044
|
+
data: undefined;
|
|
55041
55045
|
status: "pending";
|
|
55046
|
+
isError: false;
|
|
55047
|
+
isPending: true;
|
|
55048
|
+
isSuccess: false;
|
|
55049
|
+
failureCount: number;
|
|
55050
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55051
|
+
isPaused: boolean;
|
|
55042
55052
|
variables: {
|
|
55043
|
-
abi:
|
|
55053
|
+
abi: abitype17.Abi;
|
|
55044
55054
|
functionName: string;
|
|
55045
55055
|
args?: readonly unknown[] | undefined;
|
|
55046
55056
|
address: Address;
|
|
55047
|
-
chain?:
|
|
55048
|
-
account?: `0x${string}` |
|
|
55057
|
+
chain?: viem491.Chain | null | undefined;
|
|
55058
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55049
55059
|
value?: bigint | undefined;
|
|
55050
55060
|
dataSuffix?: `0x${string}` | undefined;
|
|
55051
55061
|
type?: "legacy" | undefined;
|
|
@@ -55064,12 +55074,12 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55064
55074
|
chainId?: number | undefined;
|
|
55065
55075
|
connector?: wagmi0.Connector | undefined;
|
|
55066
55076
|
} | {
|
|
55067
|
-
abi:
|
|
55077
|
+
abi: abitype17.Abi;
|
|
55068
55078
|
functionName: string;
|
|
55069
55079
|
args?: readonly unknown[] | undefined;
|
|
55070
55080
|
address: Address;
|
|
55071
|
-
chain?:
|
|
55072
|
-
account?: `0x${string}` |
|
|
55081
|
+
chain?: viem491.Chain | null | undefined;
|
|
55082
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55073
55083
|
value?: bigint | undefined;
|
|
55074
55084
|
dataSuffix?: `0x${string}` | undefined;
|
|
55075
55085
|
type?: "eip2930" | undefined;
|
|
@@ -55082,18 +55092,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55082
55092
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55083
55093
|
maxFeePerGas?: undefined | undefined;
|
|
55084
55094
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55085
|
-
accessList?:
|
|
55095
|
+
accessList?: viem491.AccessList | undefined;
|
|
55086
55096
|
sidecars?: undefined;
|
|
55087
55097
|
authorizationList?: undefined;
|
|
55088
55098
|
chainId?: number | undefined;
|
|
55089
55099
|
connector?: wagmi0.Connector | undefined;
|
|
55090
55100
|
} | {
|
|
55091
|
-
abi:
|
|
55101
|
+
abi: abitype17.Abi;
|
|
55092
55102
|
functionName: string;
|
|
55093
55103
|
args?: readonly unknown[] | undefined;
|
|
55094
55104
|
address: Address;
|
|
55095
|
-
chain?:
|
|
55096
|
-
account?: `0x${string}` |
|
|
55105
|
+
chain?: viem491.Chain | null | undefined;
|
|
55106
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55097
55107
|
value?: bigint | undefined;
|
|
55098
55108
|
dataSuffix?: `0x${string}` | undefined;
|
|
55099
55109
|
type?: "eip1559" | undefined;
|
|
@@ -55106,66 +55116,66 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55106
55116
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55107
55117
|
maxFeePerGas?: bigint | undefined;
|
|
55108
55118
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55109
|
-
accessList?:
|
|
55119
|
+
accessList?: viem491.AccessList | undefined;
|
|
55110
55120
|
sidecars?: undefined;
|
|
55111
55121
|
authorizationList?: undefined;
|
|
55112
55122
|
chainId?: number | undefined;
|
|
55113
55123
|
connector?: wagmi0.Connector | undefined;
|
|
55114
55124
|
} | {
|
|
55115
|
-
abi:
|
|
55125
|
+
abi: abitype17.Abi;
|
|
55116
55126
|
functionName: string;
|
|
55117
55127
|
args?: readonly unknown[] | undefined;
|
|
55118
55128
|
address: Address;
|
|
55119
|
-
chain?:
|
|
55120
|
-
account?: `0x${string}` |
|
|
55129
|
+
chain?: viem491.Chain | null | undefined;
|
|
55130
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55121
55131
|
value?: bigint | undefined;
|
|
55122
55132
|
dataSuffix?: `0x${string}` | undefined;
|
|
55123
55133
|
type?: "eip4844" | undefined;
|
|
55124
55134
|
gas?: bigint | undefined;
|
|
55125
55135
|
nonce?: number | undefined;
|
|
55126
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55127
|
-
blobVersionedHashes: readonly
|
|
55136
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
55137
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
55128
55138
|
kzg?: undefined;
|
|
55129
55139
|
gasPrice?: undefined | undefined;
|
|
55130
55140
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55131
55141
|
maxFeePerGas?: bigint | undefined;
|
|
55132
55142
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55133
|
-
accessList?:
|
|
55134
|
-
sidecars?: readonly
|
|
55143
|
+
accessList?: viem491.AccessList | undefined;
|
|
55144
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55135
55145
|
authorizationList?: undefined;
|
|
55136
55146
|
chainId?: number | undefined;
|
|
55137
55147
|
connector?: wagmi0.Connector | undefined;
|
|
55138
55148
|
} | {
|
|
55139
|
-
abi:
|
|
55149
|
+
abi: abitype17.Abi;
|
|
55140
55150
|
functionName: string;
|
|
55141
55151
|
args?: readonly unknown[] | undefined;
|
|
55142
55152
|
address: Address;
|
|
55143
|
-
chain?:
|
|
55144
|
-
account?: `0x${string}` |
|
|
55153
|
+
chain?: viem491.Chain | null | undefined;
|
|
55154
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55145
55155
|
value?: bigint | undefined;
|
|
55146
55156
|
dataSuffix?: `0x${string}` | undefined;
|
|
55147
55157
|
type?: "eip4844" | undefined;
|
|
55148
55158
|
gas?: bigint | undefined;
|
|
55149
55159
|
nonce?: number | undefined;
|
|
55150
|
-
blobs: readonly
|
|
55160
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
55151
55161
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55152
|
-
kzg?:
|
|
55162
|
+
kzg?: viem491.Kzg | undefined;
|
|
55153
55163
|
gasPrice?: undefined | undefined;
|
|
55154
55164
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55155
55165
|
maxFeePerGas?: bigint | undefined;
|
|
55156
55166
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55157
|
-
accessList?:
|
|
55158
|
-
sidecars?: readonly
|
|
55167
|
+
accessList?: viem491.AccessList | undefined;
|
|
55168
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55159
55169
|
authorizationList?: undefined;
|
|
55160
55170
|
chainId?: number | undefined;
|
|
55161
55171
|
connector?: wagmi0.Connector | undefined;
|
|
55162
55172
|
} | {
|
|
55163
|
-
abi:
|
|
55173
|
+
abi: abitype17.Abi;
|
|
55164
55174
|
functionName: string;
|
|
55165
55175
|
args?: readonly unknown[] | undefined;
|
|
55166
55176
|
address: Address;
|
|
55167
|
-
chain?:
|
|
55168
|
-
account?: `0x${string}` |
|
|
55177
|
+
chain?: viem491.Chain | null | undefined;
|
|
55178
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55169
55179
|
value?: bigint | undefined;
|
|
55170
55180
|
dataSuffix?: `0x${string}` | undefined;
|
|
55171
55181
|
type?: "eip7702" | undefined;
|
|
@@ -55178,25 +55188,19 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55178
55188
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55179
55189
|
maxFeePerGas?: bigint | undefined;
|
|
55180
55190
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55181
|
-
accessList?:
|
|
55191
|
+
accessList?: viem491.AccessList | undefined;
|
|
55182
55192
|
sidecars?: undefined;
|
|
55183
|
-
authorizationList?:
|
|
55193
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
55184
55194
|
chainId?: number | undefined;
|
|
55185
55195
|
connector?: wagmi0.Connector | undefined;
|
|
55186
55196
|
};
|
|
55187
|
-
isError: false;
|
|
55188
55197
|
isIdle: false;
|
|
55189
|
-
isPending: true;
|
|
55190
|
-
isSuccess: false;
|
|
55191
55198
|
reset: () => void;
|
|
55192
55199
|
context: unknown;
|
|
55193
|
-
failureCount: number;
|
|
55194
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55195
|
-
isPaused: boolean;
|
|
55196
55200
|
submittedAt: number;
|
|
55197
|
-
mutate:
|
|
55198
|
-
mutateAsync:
|
|
55199
|
-
writeContract:
|
|
55201
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55202
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55203
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55200
55204
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55201
55205
|
model: "static";
|
|
55202
55206
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55207,16 +55211,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55207
55211
|
newPricingAddr: `0x${string}`;
|
|
55208
55212
|
}>;
|
|
55209
55213
|
} | {
|
|
55210
|
-
data: undefined;
|
|
55211
55214
|
error: _wagmi_core0.WriteContractErrorType;
|
|
55215
|
+
data: undefined;
|
|
55212
55216
|
status: "error";
|
|
55217
|
+
isError: true;
|
|
55218
|
+
isPending: false;
|
|
55219
|
+
isSuccess: false;
|
|
55220
|
+
failureCount: number;
|
|
55221
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55222
|
+
isPaused: boolean;
|
|
55213
55223
|
variables: {
|
|
55214
|
-
abi:
|
|
55224
|
+
abi: abitype17.Abi;
|
|
55215
55225
|
functionName: string;
|
|
55216
55226
|
args?: readonly unknown[] | undefined;
|
|
55217
55227
|
address: Address;
|
|
55218
|
-
chain?:
|
|
55219
|
-
account?: `0x${string}` |
|
|
55228
|
+
chain?: viem491.Chain | null | undefined;
|
|
55229
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55220
55230
|
value?: bigint | undefined;
|
|
55221
55231
|
dataSuffix?: `0x${string}` | undefined;
|
|
55222
55232
|
type?: "legacy" | undefined;
|
|
@@ -55235,12 +55245,12 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55235
55245
|
chainId?: number | undefined;
|
|
55236
55246
|
connector?: wagmi0.Connector | undefined;
|
|
55237
55247
|
} | {
|
|
55238
|
-
abi:
|
|
55248
|
+
abi: abitype17.Abi;
|
|
55239
55249
|
functionName: string;
|
|
55240
55250
|
args?: readonly unknown[] | undefined;
|
|
55241
55251
|
address: Address;
|
|
55242
|
-
chain?:
|
|
55243
|
-
account?: `0x${string}` |
|
|
55252
|
+
chain?: viem491.Chain | null | undefined;
|
|
55253
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55244
55254
|
value?: bigint | undefined;
|
|
55245
55255
|
dataSuffix?: `0x${string}` | undefined;
|
|
55246
55256
|
type?: "eip2930" | undefined;
|
|
@@ -55253,18 +55263,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55253
55263
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55254
55264
|
maxFeePerGas?: undefined | undefined;
|
|
55255
55265
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55256
|
-
accessList?:
|
|
55266
|
+
accessList?: viem491.AccessList | undefined;
|
|
55257
55267
|
sidecars?: undefined;
|
|
55258
55268
|
authorizationList?: undefined;
|
|
55259
55269
|
chainId?: number | undefined;
|
|
55260
55270
|
connector?: wagmi0.Connector | undefined;
|
|
55261
55271
|
} | {
|
|
55262
|
-
abi:
|
|
55272
|
+
abi: abitype17.Abi;
|
|
55263
55273
|
functionName: string;
|
|
55264
55274
|
args?: readonly unknown[] | undefined;
|
|
55265
55275
|
address: Address;
|
|
55266
|
-
chain?:
|
|
55267
|
-
account?: `0x${string}` |
|
|
55276
|
+
chain?: viem491.Chain | null | undefined;
|
|
55277
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55268
55278
|
value?: bigint | undefined;
|
|
55269
55279
|
dataSuffix?: `0x${string}` | undefined;
|
|
55270
55280
|
type?: "eip1559" | undefined;
|
|
@@ -55277,66 +55287,66 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55277
55287
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55278
55288
|
maxFeePerGas?: bigint | undefined;
|
|
55279
55289
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55280
|
-
accessList?:
|
|
55290
|
+
accessList?: viem491.AccessList | undefined;
|
|
55281
55291
|
sidecars?: undefined;
|
|
55282
55292
|
authorizationList?: undefined;
|
|
55283
55293
|
chainId?: number | undefined;
|
|
55284
55294
|
connector?: wagmi0.Connector | undefined;
|
|
55285
55295
|
} | {
|
|
55286
|
-
abi:
|
|
55296
|
+
abi: abitype17.Abi;
|
|
55287
55297
|
functionName: string;
|
|
55288
55298
|
args?: readonly unknown[] | undefined;
|
|
55289
55299
|
address: Address;
|
|
55290
|
-
chain?:
|
|
55291
|
-
account?: `0x${string}` |
|
|
55300
|
+
chain?: viem491.Chain | null | undefined;
|
|
55301
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55292
55302
|
value?: bigint | undefined;
|
|
55293
55303
|
dataSuffix?: `0x${string}` | undefined;
|
|
55294
55304
|
type?: "eip4844" | undefined;
|
|
55295
55305
|
gas?: bigint | undefined;
|
|
55296
55306
|
nonce?: number | undefined;
|
|
55297
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55298
|
-
blobVersionedHashes: readonly
|
|
55307
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
55308
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
55299
55309
|
kzg?: undefined;
|
|
55300
55310
|
gasPrice?: undefined | undefined;
|
|
55301
55311
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55302
55312
|
maxFeePerGas?: bigint | undefined;
|
|
55303
55313
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55304
|
-
accessList?:
|
|
55305
|
-
sidecars?: readonly
|
|
55314
|
+
accessList?: viem491.AccessList | undefined;
|
|
55315
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55306
55316
|
authorizationList?: undefined;
|
|
55307
55317
|
chainId?: number | undefined;
|
|
55308
55318
|
connector?: wagmi0.Connector | undefined;
|
|
55309
55319
|
} | {
|
|
55310
|
-
abi:
|
|
55320
|
+
abi: abitype17.Abi;
|
|
55311
55321
|
functionName: string;
|
|
55312
55322
|
args?: readonly unknown[] | undefined;
|
|
55313
55323
|
address: Address;
|
|
55314
|
-
chain?:
|
|
55315
|
-
account?: `0x${string}` |
|
|
55324
|
+
chain?: viem491.Chain | null | undefined;
|
|
55325
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55316
55326
|
value?: bigint | undefined;
|
|
55317
55327
|
dataSuffix?: `0x${string}` | undefined;
|
|
55318
55328
|
type?: "eip4844" | undefined;
|
|
55319
55329
|
gas?: bigint | undefined;
|
|
55320
55330
|
nonce?: number | undefined;
|
|
55321
|
-
blobs: readonly
|
|
55331
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
55322
55332
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55323
|
-
kzg?:
|
|
55333
|
+
kzg?: viem491.Kzg | undefined;
|
|
55324
55334
|
gasPrice?: undefined | undefined;
|
|
55325
55335
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55326
55336
|
maxFeePerGas?: bigint | undefined;
|
|
55327
55337
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55328
|
-
accessList?:
|
|
55329
|
-
sidecars?: readonly
|
|
55338
|
+
accessList?: viem491.AccessList | undefined;
|
|
55339
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55330
55340
|
authorizationList?: undefined;
|
|
55331
55341
|
chainId?: number | undefined;
|
|
55332
55342
|
connector?: wagmi0.Connector | undefined;
|
|
55333
55343
|
} | {
|
|
55334
|
-
abi:
|
|
55344
|
+
abi: abitype17.Abi;
|
|
55335
55345
|
functionName: string;
|
|
55336
55346
|
args?: readonly unknown[] | undefined;
|
|
55337
55347
|
address: Address;
|
|
55338
|
-
chain?:
|
|
55339
|
-
account?: `0x${string}` |
|
|
55348
|
+
chain?: viem491.Chain | null | undefined;
|
|
55349
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55340
55350
|
value?: bigint | undefined;
|
|
55341
55351
|
dataSuffix?: `0x${string}` | undefined;
|
|
55342
55352
|
type?: "eip7702" | undefined;
|
|
@@ -55349,25 +55359,19 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55349
55359
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55350
55360
|
maxFeePerGas?: bigint | undefined;
|
|
55351
55361
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55352
|
-
accessList?:
|
|
55362
|
+
accessList?: viem491.AccessList | undefined;
|
|
55353
55363
|
sidecars?: undefined;
|
|
55354
|
-
authorizationList?:
|
|
55364
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
55355
55365
|
chainId?: number | undefined;
|
|
55356
55366
|
connector?: wagmi0.Connector | undefined;
|
|
55357
55367
|
};
|
|
55358
|
-
isError: true;
|
|
55359
55368
|
isIdle: false;
|
|
55360
|
-
isPending: false;
|
|
55361
|
-
isSuccess: false;
|
|
55362
55369
|
reset: () => void;
|
|
55363
55370
|
context: unknown;
|
|
55364
|
-
failureCount: number;
|
|
55365
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55366
|
-
isPaused: boolean;
|
|
55367
55371
|
submittedAt: number;
|
|
55368
|
-
mutate:
|
|
55369
|
-
mutateAsync:
|
|
55370
|
-
writeContract:
|
|
55372
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55373
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55374
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55371
55375
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55372
55376
|
model: "static";
|
|
55373
55377
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55378,16 +55382,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55378
55382
|
newPricingAddr: `0x${string}`;
|
|
55379
55383
|
}>;
|
|
55380
55384
|
} | {
|
|
55381
|
-
data: `0x${string}`;
|
|
55382
55385
|
error: null;
|
|
55386
|
+
data: `0x${string}`;
|
|
55383
55387
|
status: "success";
|
|
55388
|
+
isError: false;
|
|
55389
|
+
isPending: false;
|
|
55390
|
+
isSuccess: true;
|
|
55391
|
+
failureCount: number;
|
|
55392
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55393
|
+
isPaused: boolean;
|
|
55384
55394
|
variables: {
|
|
55385
|
-
abi:
|
|
55395
|
+
abi: abitype17.Abi;
|
|
55386
55396
|
functionName: string;
|
|
55387
55397
|
args?: readonly unknown[] | undefined;
|
|
55388
55398
|
address: Address;
|
|
55389
|
-
chain?:
|
|
55390
|
-
account?: `0x${string}` |
|
|
55399
|
+
chain?: viem491.Chain | null | undefined;
|
|
55400
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55391
55401
|
value?: bigint | undefined;
|
|
55392
55402
|
dataSuffix?: `0x${string}` | undefined;
|
|
55393
55403
|
type?: "legacy" | undefined;
|
|
@@ -55406,12 +55416,12 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55406
55416
|
chainId?: number | undefined;
|
|
55407
55417
|
connector?: wagmi0.Connector | undefined;
|
|
55408
55418
|
} | {
|
|
55409
|
-
abi:
|
|
55419
|
+
abi: abitype17.Abi;
|
|
55410
55420
|
functionName: string;
|
|
55411
55421
|
args?: readonly unknown[] | undefined;
|
|
55412
55422
|
address: Address;
|
|
55413
|
-
chain?:
|
|
55414
|
-
account?: `0x${string}` |
|
|
55423
|
+
chain?: viem491.Chain | null | undefined;
|
|
55424
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55415
55425
|
value?: bigint | undefined;
|
|
55416
55426
|
dataSuffix?: `0x${string}` | undefined;
|
|
55417
55427
|
type?: "eip2930" | undefined;
|
|
@@ -55424,18 +55434,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55424
55434
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55425
55435
|
maxFeePerGas?: undefined | undefined;
|
|
55426
55436
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55427
|
-
accessList?:
|
|
55437
|
+
accessList?: viem491.AccessList | undefined;
|
|
55428
55438
|
sidecars?: undefined;
|
|
55429
55439
|
authorizationList?: undefined;
|
|
55430
55440
|
chainId?: number | undefined;
|
|
55431
55441
|
connector?: wagmi0.Connector | undefined;
|
|
55432
55442
|
} | {
|
|
55433
|
-
abi:
|
|
55443
|
+
abi: abitype17.Abi;
|
|
55434
55444
|
functionName: string;
|
|
55435
55445
|
args?: readonly unknown[] | undefined;
|
|
55436
55446
|
address: Address;
|
|
55437
|
-
chain?:
|
|
55438
|
-
account?: `0x${string}` |
|
|
55447
|
+
chain?: viem491.Chain | null | undefined;
|
|
55448
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55439
55449
|
value?: bigint | undefined;
|
|
55440
55450
|
dataSuffix?: `0x${string}` | undefined;
|
|
55441
55451
|
type?: "eip1559" | undefined;
|
|
@@ -55448,66 +55458,66 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55448
55458
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55449
55459
|
maxFeePerGas?: bigint | undefined;
|
|
55450
55460
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55451
|
-
accessList?:
|
|
55461
|
+
accessList?: viem491.AccessList | undefined;
|
|
55452
55462
|
sidecars?: undefined;
|
|
55453
55463
|
authorizationList?: undefined;
|
|
55454
55464
|
chainId?: number | undefined;
|
|
55455
55465
|
connector?: wagmi0.Connector | undefined;
|
|
55456
55466
|
} | {
|
|
55457
|
-
abi:
|
|
55467
|
+
abi: abitype17.Abi;
|
|
55458
55468
|
functionName: string;
|
|
55459
55469
|
args?: readonly unknown[] | undefined;
|
|
55460
55470
|
address: Address;
|
|
55461
|
-
chain?:
|
|
55462
|
-
account?: `0x${string}` |
|
|
55471
|
+
chain?: viem491.Chain | null | undefined;
|
|
55472
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55463
55473
|
value?: bigint | undefined;
|
|
55464
55474
|
dataSuffix?: `0x${string}` | undefined;
|
|
55465
55475
|
type?: "eip4844" | undefined;
|
|
55466
55476
|
gas?: bigint | undefined;
|
|
55467
55477
|
nonce?: number | undefined;
|
|
55468
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55469
|
-
blobVersionedHashes: readonly
|
|
55478
|
+
blobs?: readonly `0x${string}`[] | readonly viem491.ByteArray[] | undefined;
|
|
55479
|
+
blobVersionedHashes: readonly viem491.Hex[];
|
|
55470
55480
|
kzg?: undefined;
|
|
55471
55481
|
gasPrice?: undefined | undefined;
|
|
55472
55482
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55473
55483
|
maxFeePerGas?: bigint | undefined;
|
|
55474
55484
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55475
|
-
accessList?:
|
|
55476
|
-
sidecars?: readonly
|
|
55485
|
+
accessList?: viem491.AccessList | undefined;
|
|
55486
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55477
55487
|
authorizationList?: undefined;
|
|
55478
55488
|
chainId?: number | undefined;
|
|
55479
55489
|
connector?: wagmi0.Connector | undefined;
|
|
55480
55490
|
} | {
|
|
55481
|
-
abi:
|
|
55491
|
+
abi: abitype17.Abi;
|
|
55482
55492
|
functionName: string;
|
|
55483
55493
|
args?: readonly unknown[] | undefined;
|
|
55484
55494
|
address: Address;
|
|
55485
|
-
chain?:
|
|
55486
|
-
account?: `0x${string}` |
|
|
55495
|
+
chain?: viem491.Chain | null | undefined;
|
|
55496
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55487
55497
|
value?: bigint | undefined;
|
|
55488
55498
|
dataSuffix?: `0x${string}` | undefined;
|
|
55489
55499
|
type?: "eip4844" | undefined;
|
|
55490
55500
|
gas?: bigint | undefined;
|
|
55491
55501
|
nonce?: number | undefined;
|
|
55492
|
-
blobs: readonly
|
|
55502
|
+
blobs: readonly viem491.Hex[] | readonly viem491.ByteArray[];
|
|
55493
55503
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55494
|
-
kzg?:
|
|
55504
|
+
kzg?: viem491.Kzg | undefined;
|
|
55495
55505
|
gasPrice?: undefined | undefined;
|
|
55496
55506
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55497
55507
|
maxFeePerGas?: bigint | undefined;
|
|
55498
55508
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55499
|
-
accessList?:
|
|
55500
|
-
sidecars?: readonly
|
|
55509
|
+
accessList?: viem491.AccessList | undefined;
|
|
55510
|
+
sidecars?: readonly viem491.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55501
55511
|
authorizationList?: undefined;
|
|
55502
55512
|
chainId?: number | undefined;
|
|
55503
55513
|
connector?: wagmi0.Connector | undefined;
|
|
55504
55514
|
} | {
|
|
55505
|
-
abi:
|
|
55515
|
+
abi: abitype17.Abi;
|
|
55506
55516
|
functionName: string;
|
|
55507
55517
|
args?: readonly unknown[] | undefined;
|
|
55508
55518
|
address: Address;
|
|
55509
|
-
chain?:
|
|
55510
|
-
account?: `0x${string}` |
|
|
55519
|
+
chain?: viem491.Chain | null | undefined;
|
|
55520
|
+
account?: `0x${string}` | viem491.Account | null | undefined;
|
|
55511
55521
|
value?: bigint | undefined;
|
|
55512
55522
|
dataSuffix?: `0x${string}` | undefined;
|
|
55513
55523
|
type?: "eip7702" | undefined;
|
|
@@ -55520,25 +55530,19 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55520
55530
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55521
55531
|
maxFeePerGas?: bigint | undefined;
|
|
55522
55532
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55523
|
-
accessList?:
|
|
55533
|
+
accessList?: viem491.AccessList | undefined;
|
|
55524
55534
|
sidecars?: undefined;
|
|
55525
|
-
authorizationList?:
|
|
55535
|
+
authorizationList?: viem491.AuthorizationList<number, boolean> | undefined;
|
|
55526
55536
|
chainId?: number | undefined;
|
|
55527
55537
|
connector?: wagmi0.Connector | undefined;
|
|
55528
55538
|
};
|
|
55529
|
-
isError: false;
|
|
55530
55539
|
isIdle: false;
|
|
55531
|
-
isPending: false;
|
|
55532
|
-
isSuccess: true;
|
|
55533
55540
|
reset: () => void;
|
|
55534
55541
|
context: unknown;
|
|
55535
|
-
failureCount: number;
|
|
55536
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55537
|
-
isPaused: boolean;
|
|
55538
55542
|
submittedAt: number;
|
|
55539
|
-
mutate:
|
|
55540
|
-
mutateAsync:
|
|
55541
|
-
writeContract:
|
|
55543
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55544
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55545
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55542
55546
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55543
55547
|
model: "static";
|
|
55544
55548
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55554,7 +55558,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55554
55558
|
declare const useLens: () => {
|
|
55555
55559
|
timelockLens: {
|
|
55556
55560
|
read: {
|
|
55557
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
55561
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
55558
55562
|
readonly type: "function";
|
|
55559
55563
|
readonly name: "batchGetRefTick";
|
|
55560
55564
|
readonly inputs: readonly [{
|
|
@@ -56497,7 +56501,7 @@ declare const useLens: () => {
|
|
|
56497
56501
|
}];
|
|
56498
56502
|
readonly stateMutability: "view";
|
|
56499
56503
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
56500
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
56504
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
56501
56505
|
readonly type: "function";
|
|
56502
56506
|
readonly name: "batchGetRefTick";
|
|
56503
56507
|
readonly inputs: readonly [{
|
|
@@ -57452,7 +57456,7 @@ declare const useLens: () => {
|
|
|
57452
57456
|
borrowedAmount0: bigint;
|
|
57453
57457
|
borrowedAmount1: bigint;
|
|
57454
57458
|
}[]>;
|
|
57455
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
57459
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
57456
57460
|
readonly type: "function";
|
|
57457
57461
|
readonly name: "batchGetRefTick";
|
|
57458
57462
|
readonly inputs: readonly [{
|
|
@@ -58405,7 +58409,7 @@ declare const useLens: () => {
|
|
|
58405
58409
|
expiresAt: number;
|
|
58406
58410
|
liquidities: readonly bigint[];
|
|
58407
58411
|
}[]>;
|
|
58408
|
-
getFeeRates: (args: readonly [`0x${string}`], options?:
|
|
58412
|
+
getFeeRates: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
58409
58413
|
readonly type: "function";
|
|
58410
58414
|
readonly name: "batchGetRefTick";
|
|
58411
58415
|
readonly inputs: readonly [{
|
|
@@ -59354,7 +59358,7 @@ declare const useLens: () => {
|
|
|
59354
59358
|
minBaseFee: bigint;
|
|
59355
59359
|
feeRecipient: `0x${string}`;
|
|
59356
59360
|
}>;
|
|
59357
|
-
getGlobalGuardianState: (args: readonly [`0x${string}`], options?:
|
|
59361
|
+
getGlobalGuardianState: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
59358
59362
|
readonly type: "function";
|
|
59359
59363
|
readonly name: "batchGetRefTick";
|
|
59360
59364
|
readonly inputs: readonly [{
|
|
@@ -60313,7 +60317,7 @@ declare const useLens: () => {
|
|
|
60313
60317
|
senderIsAdmin: boolean;
|
|
60314
60318
|
senderIsPauser: boolean;
|
|
60315
60319
|
}>;
|
|
60316
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
60320
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
60317
60321
|
readonly type: "function";
|
|
60318
60322
|
readonly name: "batchGetRefTick";
|
|
60319
60323
|
readonly inputs: readonly [{
|
|
@@ -61256,7 +61260,7 @@ declare const useLens: () => {
|
|
|
61256
61260
|
}];
|
|
61257
61261
|
readonly stateMutability: "view";
|
|
61258
61262
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
61259
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
61263
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
61260
61264
|
readonly type: "function";
|
|
61261
61265
|
readonly name: "batchGetRefTick";
|
|
61262
61266
|
readonly inputs: readonly [{
|
|
@@ -62220,7 +62224,7 @@ declare const useLens: () => {
|
|
|
62220
62224
|
optionAssetName: string;
|
|
62221
62225
|
payoutAssetName: string;
|
|
62222
62226
|
}>;
|
|
62223
|
-
getMarketState: (args: readonly [`0x${string}`], options?:
|
|
62227
|
+
getMarketState: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
62224
62228
|
readonly type: "function";
|
|
62225
62229
|
readonly name: "batchGetRefTick";
|
|
62226
62230
|
readonly inputs: readonly [{
|
|
@@ -63168,7 +63172,7 @@ declare const useLens: () => {
|
|
|
63168
63172
|
feeStrategy: `0x${string}`;
|
|
63169
63173
|
owner: `0x${string}`;
|
|
63170
63174
|
}>;
|
|
63171
|
-
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?:
|
|
63175
|
+
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
63172
63176
|
readonly type: "function";
|
|
63173
63177
|
readonly name: "batchGetRefTick";
|
|
63174
63178
|
readonly inputs: readonly [{
|
|
@@ -64111,7 +64115,7 @@ declare const useLens: () => {
|
|
|
64111
64115
|
}];
|
|
64112
64116
|
readonly stateMutability: "view";
|
|
64113
64117
|
}], "getMaxATMPositionSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
64114
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
64118
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
64115
64119
|
readonly type: "function";
|
|
64116
64120
|
readonly name: "batchGetRefTick";
|
|
64117
64121
|
readonly inputs: readonly [{
|
|
@@ -65054,7 +65058,7 @@ declare const useLens: () => {
|
|
|
65054
65058
|
}];
|
|
65055
65059
|
readonly stateMutability: "view";
|
|
65056
65060
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
65057
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
65061
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
65058
65062
|
readonly type: "function";
|
|
65059
65063
|
readonly name: "batchGetRefTick";
|
|
65060
65064
|
readonly inputs: readonly [{
|
|
@@ -65997,7 +66001,7 @@ declare const useLens: () => {
|
|
|
65997
66001
|
}];
|
|
65998
66002
|
readonly stateMutability: "view";
|
|
65999
66003
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
66000
|
-
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?:
|
|
66004
|
+
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
66001
66005
|
readonly type: "function";
|
|
66002
66006
|
readonly name: "batchGetRefTick";
|
|
66003
66007
|
readonly inputs: readonly [{
|
|
@@ -66940,7 +66944,7 @@ declare const useLens: () => {
|
|
|
66940
66944
|
}];
|
|
66941
66945
|
readonly stateMutability: "view";
|
|
66942
66946
|
}], "getMaxPositionSizes", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
66943
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
66947
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
66944
66948
|
readonly type: "function";
|
|
66945
66949
|
readonly name: "batchGetRefTick";
|
|
66946
66950
|
readonly inputs: readonly [{
|
|
@@ -67893,7 +67897,7 @@ declare const useLens: () => {
|
|
|
67893
67897
|
expiresAt: number;
|
|
67894
67898
|
liquidities: readonly bigint[];
|
|
67895
67899
|
}>;
|
|
67896
|
-
getOptionPricingParams: (args: readonly [`0x${string}`], options?:
|
|
67900
|
+
getOptionPricingParams: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
67897
67901
|
readonly type: "function";
|
|
67898
67902
|
readonly name: "batchGetRefTick";
|
|
67899
67903
|
readonly inputs: readonly [{
|
|
@@ -68842,7 +68846,7 @@ declare const useLens: () => {
|
|
|
68842
68846
|
minPremiumDailyRate: number;
|
|
68843
68847
|
minPremiumAmount: bigint;
|
|
68844
68848
|
}>;
|
|
68845
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
68849
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
68846
68850
|
readonly type: "function";
|
|
68847
68851
|
readonly name: "batchGetRefTick";
|
|
68848
68852
|
readonly inputs: readonly [{
|
|
@@ -69801,7 +69805,7 @@ declare const useLens: () => {
|
|
|
69801
69805
|
fee: number;
|
|
69802
69806
|
tickSpacing: number;
|
|
69803
69807
|
hooks: `0x${string}`;
|
|
69804
|
-
}], options?:
|
|
69808
|
+
}], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
69805
69809
|
readonly type: "function";
|
|
69806
69810
|
readonly name: "batchGetRefTick";
|
|
69807
69811
|
readonly inputs: readonly [{
|
|
@@ -70761,7 +70765,7 @@ declare const useLens: () => {
|
|
|
70761
70765
|
tickSpacing: number;
|
|
70762
70766
|
fee: number;
|
|
70763
70767
|
}>;
|
|
70764
|
-
getPricingParams: (args: readonly [`0x${string}`], options?:
|
|
70768
|
+
getPricingParams: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
70765
70769
|
readonly type: "function";
|
|
70766
70770
|
readonly name: "batchGetRefTick";
|
|
70767
70771
|
readonly inputs: readonly [{
|
|
@@ -71704,7 +71708,7 @@ declare const useLens: () => {
|
|
|
71704
71708
|
}];
|
|
71705
71709
|
readonly stateMutability: "view";
|
|
71706
71710
|
}], "getPricingParams", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [number, `0x${string}`]>;
|
|
71707
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
71711
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
71708
71712
|
readonly type: "function";
|
|
71709
71713
|
readonly name: "batchGetRefTick";
|
|
71710
71714
|
readonly inputs: readonly [{
|
|
@@ -72647,7 +72651,7 @@ declare const useLens: () => {
|
|
|
72647
72651
|
}];
|
|
72648
72652
|
readonly stateMutability: "view";
|
|
72649
72653
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
72650
|
-
getStaticPricingParams: (args: readonly [`0x${string}`], options?:
|
|
72654
|
+
getStaticPricingParams: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
72651
72655
|
readonly type: "function";
|
|
72652
72656
|
readonly name: "batchGetRefTick";
|
|
72653
72657
|
readonly inputs: readonly [{
|
|
@@ -73593,7 +73597,7 @@ declare const useLens: () => {
|
|
|
73593
73597
|
dailyFundingRate: number;
|
|
73594
73598
|
minFundingAmount: bigint;
|
|
73595
73599
|
}>;
|
|
73596
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
73600
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
73597
73601
|
readonly type: "function";
|
|
73598
73602
|
readonly name: "batchGetRefTick";
|
|
73599
73603
|
readonly inputs: readonly [{
|
|
@@ -74540,7 +74544,7 @@ declare const useLens: () => {
|
|
|
74540
74544
|
symbol: string;
|
|
74541
74545
|
name: string;
|
|
74542
74546
|
}>;
|
|
74543
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
74547
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
74544
74548
|
readonly type: "function";
|
|
74545
74549
|
readonly name: "batchGetRefTick";
|
|
74546
74550
|
readonly inputs: readonly [{
|
|
@@ -75493,7 +75497,7 @@ declare const useLens: () => {
|
|
|
75493
75497
|
expiresAt: number;
|
|
75494
75498
|
liquidities: readonly bigint[];
|
|
75495
75499
|
}[], bigint, boolean]>;
|
|
75496
|
-
getVaultData: (args: readonly [`0x${string}`], options?:
|
|
75500
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
75497
75501
|
readonly type: "function";
|
|
75498
75502
|
readonly name: "batchGetRefTick";
|
|
75499
75503
|
readonly inputs: readonly [{
|
|
@@ -76446,7 +76450,7 @@ declare const useLens: () => {
|
|
|
76446
76450
|
};
|
|
76447
76451
|
poolId: `0x${string}`;
|
|
76448
76452
|
}>;
|
|
76449
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
76453
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
76450
76454
|
readonly type: "function";
|
|
76451
76455
|
readonly name: "batchGetRefTick";
|
|
76452
76456
|
readonly inputs: readonly [{
|
|
@@ -78337,7 +78341,7 @@ declare const useLens: () => {
|
|
|
78337
78341
|
} | undefined;
|
|
78338
78342
|
stateView: {
|
|
78339
78343
|
read: {
|
|
78340
|
-
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
78344
|
+
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
78341
78345
|
readonly type: "function";
|
|
78342
78346
|
readonly name: "getFeeGrowthGlobals";
|
|
78343
78347
|
readonly inputs: readonly [{
|
|
@@ -79184,7 +79188,7 @@ declare const useLens: () => {
|
|
|
79184
79188
|
fee: number;
|
|
79185
79189
|
tickSpacing: number;
|
|
79186
79190
|
hooks: `0x${string}`;
|
|
79187
|
-
}], options?:
|
|
79191
|
+
}], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
79188
79192
|
readonly type: "function";
|
|
79189
79193
|
readonly name: "getFeeGrowthGlobals";
|
|
79190
79194
|
readonly inputs: readonly [{
|
|
@@ -80026,7 +80030,7 @@ declare const useLens: () => {
|
|
|
80026
80030
|
tickSpacing: number;
|
|
80027
80031
|
hooks: `0x${string}`;
|
|
80028
80032
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
80029
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?:
|
|
80033
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
80030
80034
|
readonly type: "function";
|
|
80031
80035
|
readonly name: "getFeeGrowthGlobals";
|
|
80032
80036
|
readonly inputs: readonly [{
|
|
@@ -80873,7 +80877,7 @@ declare const useLens: () => {
|
|
|
80873
80877
|
fee: number;
|
|
80874
80878
|
tickSpacing: number;
|
|
80875
80879
|
hooks: `0x${string}`;
|
|
80876
|
-
}, number, number], options?:
|
|
80880
|
+
}, number, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
80877
80881
|
readonly type: "function";
|
|
80878
80882
|
readonly name: "getFeeGrowthGlobals";
|
|
80879
80883
|
readonly inputs: readonly [{
|
|
@@ -81715,7 +81719,7 @@ declare const useLens: () => {
|
|
|
81715
81719
|
tickSpacing: number;
|
|
81716
81720
|
hooks: `0x${string}`;
|
|
81717
81721
|
}, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
81718
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
81722
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
81719
81723
|
readonly type: "function";
|
|
81720
81724
|
readonly name: "getFeeGrowthGlobals";
|
|
81721
81725
|
readonly inputs: readonly [{
|
|
@@ -82562,7 +82566,7 @@ declare const useLens: () => {
|
|
|
82562
82566
|
fee: number;
|
|
82563
82567
|
tickSpacing: number;
|
|
82564
82568
|
hooks: `0x${string}`;
|
|
82565
|
-
}], options?:
|
|
82569
|
+
}], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
82566
82570
|
readonly type: "function";
|
|
82567
82571
|
readonly name: "getFeeGrowthGlobals";
|
|
82568
82572
|
readonly inputs: readonly [{
|
|
@@ -83404,7 +83408,7 @@ declare const useLens: () => {
|
|
|
83404
83408
|
tickSpacing: number;
|
|
83405
83409
|
hooks: `0x${string}`;
|
|
83406
83410
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
83407
|
-
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
83411
|
+
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
83408
83412
|
readonly type: "function";
|
|
83409
83413
|
readonly name: "getFeeGrowthGlobals";
|
|
83410
83414
|
readonly inputs: readonly [{
|
|
@@ -84251,7 +84255,7 @@ declare const useLens: () => {
|
|
|
84251
84255
|
fee: number;
|
|
84252
84256
|
tickSpacing: number;
|
|
84253
84257
|
hooks: `0x${string}`;
|
|
84254
|
-
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?:
|
|
84258
|
+
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
84255
84259
|
readonly type: "function";
|
|
84256
84260
|
readonly name: "getFeeGrowthGlobals";
|
|
84257
84261
|
readonly inputs: readonly [{
|
|
@@ -85104,7 +85108,7 @@ declare const useLens: () => {
|
|
|
85104
85108
|
fee: number;
|
|
85105
85109
|
tickSpacing: number;
|
|
85106
85110
|
hooks: `0x${string}`;
|
|
85107
|
-
}, `0x${string}`], options?:
|
|
85111
|
+
}, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
85108
85112
|
readonly type: "function";
|
|
85109
85113
|
readonly name: "getFeeGrowthGlobals";
|
|
85110
85114
|
readonly inputs: readonly [{
|
|
@@ -85957,7 +85961,7 @@ declare const useLens: () => {
|
|
|
85957
85961
|
fee: number;
|
|
85958
85962
|
tickSpacing: number;
|
|
85959
85963
|
hooks: `0x${string}`;
|
|
85960
|
-
}, `0x${string}`, number, number, `0x${string}`], options?:
|
|
85964
|
+
}, `0x${string}`, number, number, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
85961
85965
|
readonly type: "function";
|
|
85962
85966
|
readonly name: "getFeeGrowthGlobals";
|
|
85963
85967
|
readonly inputs: readonly [{
|
|
@@ -86805,7 +86809,7 @@ declare const useLens: () => {
|
|
|
86805
86809
|
tickSpacing: number;
|
|
86806
86810
|
hooks: `0x${string}`;
|
|
86807
86811
|
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
86808
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
86812
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
86809
86813
|
readonly type: "function";
|
|
86810
86814
|
readonly name: "getFeeGrowthGlobals";
|
|
86811
86815
|
readonly inputs: readonly [{
|
|
@@ -87652,7 +87656,7 @@ declare const useLens: () => {
|
|
|
87652
87656
|
fee: number;
|
|
87653
87657
|
tickSpacing: number;
|
|
87654
87658
|
hooks: `0x${string}`;
|
|
87655
|
-
}, `0x${string}`], options?:
|
|
87659
|
+
}, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
87656
87660
|
readonly type: "function";
|
|
87657
87661
|
readonly name: "getFeeGrowthGlobals";
|
|
87658
87662
|
readonly inputs: readonly [{
|
|
@@ -88500,7 +88504,7 @@ declare const useLens: () => {
|
|
|
88500
88504
|
fee: number;
|
|
88501
88505
|
tickSpacing: number;
|
|
88502
88506
|
hooks: `0x${string}`;
|
|
88503
|
-
}], options?:
|
|
88507
|
+
}], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
88504
88508
|
readonly type: "function";
|
|
88505
88509
|
readonly name: "getFeeGrowthGlobals";
|
|
88506
88510
|
readonly inputs: readonly [{
|
|
@@ -89342,7 +89346,7 @@ declare const useLens: () => {
|
|
|
89342
89346
|
tickSpacing: number;
|
|
89343
89347
|
hooks: `0x${string}`;
|
|
89344
89348
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
|
|
89345
|
-
getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
89349
|
+
getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
89346
89350
|
readonly type: "function";
|
|
89347
89351
|
readonly name: "getFeeGrowthGlobals";
|
|
89348
89352
|
readonly inputs: readonly [{
|
|
@@ -90178,7 +90182,7 @@ declare const useLens: () => {
|
|
|
90178
90182
|
}];
|
|
90179
90183
|
readonly stateMutability: "view";
|
|
90180
90184
|
}], "getSlot0FromId", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
|
|
90181
|
-
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
90185
|
+
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
90182
90186
|
readonly type: "function";
|
|
90183
90187
|
readonly name: "getFeeGrowthGlobals";
|
|
90184
90188
|
readonly inputs: readonly [{
|
|
@@ -91025,7 +91029,7 @@ declare const useLens: () => {
|
|
|
91025
91029
|
fee: number;
|
|
91026
91030
|
tickSpacing: number;
|
|
91027
91031
|
hooks: `0x${string}`;
|
|
91028
|
-
}, number], options?:
|
|
91032
|
+
}, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
91029
91033
|
readonly type: "function";
|
|
91030
91034
|
readonly name: "getFeeGrowthGlobals";
|
|
91031
91035
|
readonly inputs: readonly [{
|
|
@@ -91867,7 +91871,7 @@ declare const useLens: () => {
|
|
|
91867
91871
|
tickSpacing: number;
|
|
91868
91872
|
hooks: `0x${string}`;
|
|
91869
91873
|
}, number] | readonly [`0x${string}`, `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
91870
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
91874
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
91871
91875
|
readonly type: "function";
|
|
91872
91876
|
readonly name: "getFeeGrowthGlobals";
|
|
91873
91877
|
readonly inputs: readonly [{
|
|
@@ -92714,7 +92718,7 @@ declare const useLens: () => {
|
|
|
92714
92718
|
fee: number;
|
|
92715
92719
|
tickSpacing: number;
|
|
92716
92720
|
hooks: `0x${string}`;
|
|
92717
|
-
}, number], options?:
|
|
92721
|
+
}, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
92718
92722
|
readonly type: "function";
|
|
92719
92723
|
readonly name: "getFeeGrowthGlobals";
|
|
92720
92724
|
readonly inputs: readonly [{
|
|
@@ -93556,7 +93560,7 @@ declare const useLens: () => {
|
|
|
93556
93560
|
tickSpacing: number;
|
|
93557
93561
|
hooks: `0x${string}`;
|
|
93558
93562
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
93559
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
93563
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
93560
93564
|
readonly type: "function";
|
|
93561
93565
|
readonly name: "getFeeGrowthGlobals";
|
|
93562
93566
|
readonly inputs: readonly [{
|
|
@@ -94403,7 +94407,7 @@ declare const useLens: () => {
|
|
|
94403
94407
|
fee: number;
|
|
94404
94408
|
tickSpacing: number;
|
|
94405
94409
|
hooks: `0x${string}`;
|
|
94406
|
-
}, number], options?:
|
|
94410
|
+
}, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
94407
94411
|
readonly type: "function";
|
|
94408
94412
|
readonly name: "getFeeGrowthGlobals";
|
|
94409
94413
|
readonly inputs: readonly [{
|
|
@@ -95245,7 +95249,7 @@ declare const useLens: () => {
|
|
|
95245
95249
|
tickSpacing: number;
|
|
95246
95250
|
hooks: `0x${string}`;
|
|
95247
95251
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
95248
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
95252
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
95249
95253
|
readonly type: "function";
|
|
95250
95254
|
readonly name: "getFeeGrowthGlobals";
|
|
95251
95255
|
readonly inputs: readonly [{
|
|
@@ -96092,7 +96096,7 @@ declare const useLens: () => {
|
|
|
96092
96096
|
fee: number;
|
|
96093
96097
|
tickSpacing: number;
|
|
96094
96098
|
hooks: `0x${string}`;
|
|
96095
|
-
}, number], options?:
|
|
96099
|
+
}, number], options?: viem491.Prettify<viem491.UnionOmit<viem491.ReadContractParameters<readonly [{
|
|
96096
96100
|
readonly type: "function";
|
|
96097
96101
|
readonly name: "getFeeGrowthGlobals";
|
|
96098
96102
|
readonly inputs: readonly [{
|
|
@@ -97776,4 +97780,4 @@ declare const useLens: () => {
|
|
|
97776
97780
|
};
|
|
97777
97781
|
//#endregion
|
|
97778
97782
|
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 };
|
|
97779
|
-
//# sourceMappingURL=client-
|
|
97783
|
+
//# sourceMappingURL=client-i-S2ZmAZ.d.cts.map
|