timelock-sdk 0.0.201 → 0.0.203
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-DTr69tsp.d.cts → client-BY5ZCyBm.d.ts} +793 -793
- package/dist/{client-bblCKD4t.d.ts → client-BsxsM245.d.cts} +152 -152
- package/dist/client.cjs +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/{optionUtils-CAdcLsQX.js → optionUtils-DGMGR3H7.js} +17 -5
- package/dist/{optionUtils-CAdcLsQX.js.map → optionUtils-DGMGR3H7.js.map} +1 -1
- package/dist/{optionUtils-B1e-fWsl.cjs → optionUtils-DOOa6a00.cjs} +17 -5
- package/dist/{optionUtils-B1e-fWsl.cjs.map → optionUtils-DOOa6a00.cjs.map} +1 -1
- 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
|
@@ -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-BVeFBAO9.js";
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
5
|
+
import JSBI from "jsbi";
|
|
4
6
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
8
|
+
import * as _tanstack_react_query10 from "@tanstack/react-query";
|
|
8
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
10
|
import * as wagmi0 from "wagmi";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import JSBI from "jsbi";
|
|
11
|
+
import "graphql";
|
|
12
|
+
import * as _tanstack_query_core47 from "@tanstack/query-core";
|
|
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 {
|
|
@@ -249,7 +249,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
249
249
|
};
|
|
250
250
|
declare const getErc20: (address: Address, client: Client) => {
|
|
251
251
|
read: {
|
|
252
|
-
symbol: (options?:
|
|
252
|
+
symbol: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
253
253
|
readonly type: "constructor";
|
|
254
254
|
readonly inputs: readonly [{
|
|
255
255
|
readonly name: "name_";
|
|
@@ -428,7 +428,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
428
428
|
}];
|
|
429
429
|
readonly stateMutability: "nonpayable";
|
|
430
430
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
431
|
-
allowance: (args: readonly [owner: `0x${string}`, spender: `0x${string}`], options?:
|
|
431
|
+
allowance: (args: readonly [owner: `0x${string}`, spender: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
432
432
|
readonly type: "constructor";
|
|
433
433
|
readonly inputs: readonly [{
|
|
434
434
|
readonly name: "name_";
|
|
@@ -607,7 +607,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
607
607
|
}];
|
|
608
608
|
readonly stateMutability: "nonpayable";
|
|
609
609
|
}], "allowance", readonly [owner: `0x${string}`, spender: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
610
|
-
balanceOf: (args: readonly [account: `0x${string}`], options?:
|
|
610
|
+
balanceOf: (args: readonly [account: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
611
611
|
readonly type: "constructor";
|
|
612
612
|
readonly inputs: readonly [{
|
|
613
613
|
readonly name: "name_";
|
|
@@ -786,7 +786,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
786
786
|
}];
|
|
787
787
|
readonly stateMutability: "nonpayable";
|
|
788
788
|
}], "balanceOf", readonly [account: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
789
|
-
decimals: (options?:
|
|
789
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
790
790
|
readonly type: "constructor";
|
|
791
791
|
readonly inputs: readonly [{
|
|
792
792
|
readonly name: "name_";
|
|
@@ -965,7 +965,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
965
965
|
}];
|
|
966
966
|
readonly stateMutability: "nonpayable";
|
|
967
967
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
968
|
-
name: (options?:
|
|
968
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
969
969
|
readonly type: "constructor";
|
|
970
970
|
readonly inputs: readonly [{
|
|
971
971
|
readonly name: "name_";
|
|
@@ -1144,7 +1144,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1144
1144
|
}];
|
|
1145
1145
|
readonly stateMutability: "nonpayable";
|
|
1146
1146
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1147
|
-
totalSupply: (options?:
|
|
1147
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1148
1148
|
readonly type: "constructor";
|
|
1149
1149
|
readonly inputs: readonly [{
|
|
1150
1150
|
readonly name: "name_";
|
|
@@ -1325,7 +1325,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1325
1325
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1326
1326
|
};
|
|
1327
1327
|
estimateGas: {
|
|
1328
|
-
approve: (args: readonly [spender: `0x${string}`, amount: bigint], options:
|
|
1328
|
+
approve: (args: readonly [spender: `0x${string}`, amount: bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1329
1329
|
readonly type: "constructor";
|
|
1330
1330
|
readonly inputs: readonly [{
|
|
1331
1331
|
readonly name: "name_";
|
|
@@ -1503,8 +1503,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1503
1503
|
readonly internalType: "bool";
|
|
1504
1504
|
}];
|
|
1505
1505
|
readonly stateMutability: "nonpayable";
|
|
1506
|
-
}], "approve", readonly [spender: `0x${string}`, amount: bigint],
|
|
1507
|
-
|
|
1506
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1507
|
+
transfer: (args: readonly [to: `0x${string}`, amount: bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1508
1508
|
readonly type: "constructor";
|
|
1509
1509
|
readonly inputs: readonly [{
|
|
1510
1510
|
readonly name: "name_";
|
|
@@ -1682,8 +1682,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1682
1682
|
readonly internalType: "bool";
|
|
1683
1683
|
}];
|
|
1684
1684
|
readonly stateMutability: "nonpayable";
|
|
1685
|
-
}], "
|
|
1686
|
-
|
|
1685
|
+
}], "transfer", readonly [to: `0x${string}`, amount: bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1686
|
+
transferFrom: (args: readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1687
1687
|
readonly type: "constructor";
|
|
1688
1688
|
readonly inputs: readonly [{
|
|
1689
1689
|
readonly name: "name_";
|
|
@@ -1861,8 +1861,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1861
1861
|
readonly internalType: "bool";
|
|
1862
1862
|
}];
|
|
1863
1863
|
readonly stateMutability: "nonpayable";
|
|
1864
|
-
}], "
|
|
1865
|
-
|
|
1864
|
+
}], "transferFrom", readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1865
|
+
decreaseAllowance: (args: readonly [spender: `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1866
1866
|
readonly type: "constructor";
|
|
1867
1867
|
readonly inputs: readonly [{
|
|
1868
1868
|
readonly name: "name_";
|
|
@@ -2040,8 +2040,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2040
2040
|
readonly internalType: "bool";
|
|
2041
2041
|
}];
|
|
2042
2042
|
readonly stateMutability: "nonpayable";
|
|
2043
|
-
}], "
|
|
2044
|
-
|
|
2043
|
+
}], "decreaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2044
|
+
increaseAllowance: (args: readonly [spender: `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2045
2045
|
readonly type: "constructor";
|
|
2046
2046
|
readonly inputs: readonly [{
|
|
2047
2047
|
readonly name: "name_";
|
|
@@ -2219,9 +2219,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2219
2219
|
readonly internalType: "bool";
|
|
2220
2220
|
}];
|
|
2221
2221
|
readonly stateMutability: "nonpayable";
|
|
2222
|
-
}], "
|
|
2222
|
+
}], "increaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2223
2223
|
} & {
|
|
2224
|
-
approve: (args: readonly [spender: `0x${string}`, amount: bigint], options:
|
|
2224
|
+
approve: (args: readonly [spender: `0x${string}`, amount: bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2225
2225
|
readonly type: "constructor";
|
|
2226
2226
|
readonly inputs: readonly [{
|
|
2227
2227
|
readonly name: "name_";
|
|
@@ -2399,8 +2399,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2399
2399
|
readonly internalType: "bool";
|
|
2400
2400
|
}];
|
|
2401
2401
|
readonly stateMutability: "nonpayable";
|
|
2402
|
-
}], "approve", readonly [spender: `0x${string}`, amount: bigint],
|
|
2403
|
-
|
|
2402
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2403
|
+
transfer: (args: readonly [to: `0x${string}`, amount: bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2404
2404
|
readonly type: "constructor";
|
|
2405
2405
|
readonly inputs: readonly [{
|
|
2406
2406
|
readonly name: "name_";
|
|
@@ -2578,8 +2578,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2578
2578
|
readonly internalType: "bool";
|
|
2579
2579
|
}];
|
|
2580
2580
|
readonly stateMutability: "nonpayable";
|
|
2581
|
-
}], "
|
|
2582
|
-
|
|
2581
|
+
}], "transfer", readonly [to: `0x${string}`, amount: bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2582
|
+
transferFrom: (args: readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2583
2583
|
readonly type: "constructor";
|
|
2584
2584
|
readonly inputs: readonly [{
|
|
2585
2585
|
readonly name: "name_";
|
|
@@ -2757,8 +2757,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2757
2757
|
readonly internalType: "bool";
|
|
2758
2758
|
}];
|
|
2759
2759
|
readonly stateMutability: "nonpayable";
|
|
2760
|
-
}], "
|
|
2761
|
-
|
|
2760
|
+
}], "transferFrom", readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2761
|
+
decreaseAllowance: (args: readonly [spender: `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2762
2762
|
readonly type: "constructor";
|
|
2763
2763
|
readonly inputs: readonly [{
|
|
2764
2764
|
readonly name: "name_";
|
|
@@ -2936,8 +2936,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2936
2936
|
readonly internalType: "bool";
|
|
2937
2937
|
}];
|
|
2938
2938
|
readonly stateMutability: "nonpayable";
|
|
2939
|
-
}], "
|
|
2940
|
-
|
|
2939
|
+
}], "decreaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2940
|
+
increaseAllowance: (args: readonly [spender: `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2941
2941
|
readonly type: "constructor";
|
|
2942
2942
|
readonly inputs: readonly [{
|
|
2943
2943
|
readonly name: "name_";
|
|
@@ -3115,10 +3115,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3115
3115
|
readonly internalType: "bool";
|
|
3116
3116
|
}];
|
|
3117
3117
|
readonly stateMutability: "nonpayable";
|
|
3118
|
-
}], "
|
|
3118
|
+
}], "increaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
3119
3119
|
};
|
|
3120
3120
|
simulate: {
|
|
3121
|
-
approve: <chainOverride extends
|
|
3121
|
+
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [spender: `0x${string}`, amount: bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3122
3122
|
readonly type: "constructor";
|
|
3123
3123
|
readonly inputs: readonly [{
|
|
3124
3124
|
readonly name: "name_";
|
|
@@ -3296,7 +3296,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3296
3296
|
readonly internalType: "bool";
|
|
3297
3297
|
}];
|
|
3298
3298
|
readonly stateMutability: "nonpayable";
|
|
3299
|
-
}], "approve", readonly [spender: `0x${string}`, amount: bigint],
|
|
3299
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3300
3300
|
readonly type: "constructor";
|
|
3301
3301
|
readonly inputs: readonly [{
|
|
3302
3302
|
readonly name: "name_";
|
|
@@ -3474,8 +3474,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3474
3474
|
readonly internalType: "bool";
|
|
3475
3475
|
}];
|
|
3476
3476
|
readonly stateMutability: "nonpayable";
|
|
3477
|
-
}], "approve", readonly [spender: `0x${string}`, amount: bigint],
|
|
3478
|
-
|
|
3477
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3478
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [to: `0x${string}`, amount: bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3479
3479
|
readonly type: "constructor";
|
|
3480
3480
|
readonly inputs: readonly [{
|
|
3481
3481
|
readonly name: "name_";
|
|
@@ -3653,7 +3653,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3653
3653
|
readonly internalType: "bool";
|
|
3654
3654
|
}];
|
|
3655
3655
|
readonly stateMutability: "nonpayable";
|
|
3656
|
-
}], "
|
|
3656
|
+
}], "transfer", readonly [to: `0x${string}`, amount: bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3657
3657
|
readonly type: "constructor";
|
|
3658
3658
|
readonly inputs: readonly [{
|
|
3659
3659
|
readonly name: "name_";
|
|
@@ -3831,8 +3831,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3831
3831
|
readonly internalType: "bool";
|
|
3832
3832
|
}];
|
|
3833
3833
|
readonly stateMutability: "nonpayable";
|
|
3834
|
-
}], "
|
|
3835
|
-
|
|
3834
|
+
}], "transfer", readonly [to: `0x${string}`, amount: bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3835
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3836
3836
|
readonly type: "constructor";
|
|
3837
3837
|
readonly inputs: readonly [{
|
|
3838
3838
|
readonly name: "name_";
|
|
@@ -4010,7 +4010,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4010
4010
|
readonly internalType: "bool";
|
|
4011
4011
|
}];
|
|
4012
4012
|
readonly stateMutability: "nonpayable";
|
|
4013
|
-
}], "
|
|
4013
|
+
}], "transferFrom", readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4014
4014
|
readonly type: "constructor";
|
|
4015
4015
|
readonly inputs: readonly [{
|
|
4016
4016
|
readonly name: "name_";
|
|
@@ -4188,8 +4188,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4188
4188
|
readonly internalType: "bool";
|
|
4189
4189
|
}];
|
|
4190
4190
|
readonly stateMutability: "nonpayable";
|
|
4191
|
-
}], "
|
|
4192
|
-
|
|
4191
|
+
}], "transferFrom", readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4192
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [spender: `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4193
4193
|
readonly type: "constructor";
|
|
4194
4194
|
readonly inputs: readonly [{
|
|
4195
4195
|
readonly name: "name_";
|
|
@@ -4367,7 +4367,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4367
4367
|
readonly internalType: "bool";
|
|
4368
4368
|
}];
|
|
4369
4369
|
readonly stateMutability: "nonpayable";
|
|
4370
|
-
}], "
|
|
4370
|
+
}], "decreaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4371
4371
|
readonly type: "constructor";
|
|
4372
4372
|
readonly inputs: readonly [{
|
|
4373
4373
|
readonly name: "name_";
|
|
@@ -4545,8 +4545,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4545
4545
|
readonly internalType: "bool";
|
|
4546
4546
|
}];
|
|
4547
4547
|
readonly stateMutability: "nonpayable";
|
|
4548
|
-
}], "
|
|
4549
|
-
|
|
4548
|
+
}], "decreaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4549
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [spender: `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4550
4550
|
readonly type: "constructor";
|
|
4551
4551
|
readonly inputs: readonly [{
|
|
4552
4552
|
readonly name: "name_";
|
|
@@ -4724,7 +4724,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4724
4724
|
readonly internalType: "bool";
|
|
4725
4725
|
}];
|
|
4726
4726
|
readonly stateMutability: "nonpayable";
|
|
4727
|
-
}], "
|
|
4727
|
+
}], "increaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4728
4728
|
readonly type: "constructor";
|
|
4729
4729
|
readonly inputs: readonly [{
|
|
4730
4730
|
readonly name: "name_";
|
|
@@ -4902,10 +4902,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4902
4902
|
readonly internalType: "bool";
|
|
4903
4903
|
}];
|
|
4904
4904
|
readonly stateMutability: "nonpayable";
|
|
4905
|
-
}], "
|
|
4905
|
+
}], "increaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4906
4906
|
};
|
|
4907
4907
|
write: {
|
|
4908
|
-
approve: <chainOverride extends
|
|
4908
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
4909
4909
|
readonly type: "constructor";
|
|
4910
4910
|
readonly inputs: readonly [{
|
|
4911
4911
|
readonly name: "name_";
|
|
@@ -5083,8 +5083,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5083
5083
|
readonly internalType: "bool";
|
|
5084
5084
|
}];
|
|
5085
5085
|
readonly stateMutability: "nonpayable";
|
|
5086
|
-
}], "approve", readonly [spender: `0x${string}`, amount: bigint],
|
|
5087
|
-
|
|
5086
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [spender: `0x${string}`, amount: bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5087
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5088
5088
|
readonly type: "constructor";
|
|
5089
5089
|
readonly inputs: readonly [{
|
|
5090
5090
|
readonly name: "name_";
|
|
@@ -5262,8 +5262,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5262
5262
|
readonly internalType: "bool";
|
|
5263
5263
|
}];
|
|
5264
5264
|
readonly stateMutability: "nonpayable";
|
|
5265
|
-
}], "
|
|
5266
|
-
|
|
5265
|
+
}], "transfer", readonly [to: `0x${string}`, amount: bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [to: `0x${string}`, amount: bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5266
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5267
5267
|
readonly type: "constructor";
|
|
5268
5268
|
readonly inputs: readonly [{
|
|
5269
5269
|
readonly name: "name_";
|
|
@@ -5441,8 +5441,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5441
5441
|
readonly internalType: "bool";
|
|
5442
5442
|
}];
|
|
5443
5443
|
readonly stateMutability: "nonpayable";
|
|
5444
|
-
}], "
|
|
5445
|
-
|
|
5444
|
+
}], "transferFrom", readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [from: `0x${string}`, to: `0x${string}`, amount: bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5445
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5446
5446
|
readonly type: "constructor";
|
|
5447
5447
|
readonly inputs: readonly [{
|
|
5448
5448
|
readonly name: "name_";
|
|
@@ -5620,8 +5620,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5620
5620
|
readonly internalType: "bool";
|
|
5621
5621
|
}];
|
|
5622
5622
|
readonly stateMutability: "nonpayable";
|
|
5623
|
-
}], "
|
|
5624
|
-
|
|
5623
|
+
}], "decreaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [spender: `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5624
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5625
5625
|
readonly type: "constructor";
|
|
5626
5626
|
readonly inputs: readonly [{
|
|
5627
5627
|
readonly name: "name_";
|
|
@@ -5799,7 +5799,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5799
5799
|
readonly internalType: "bool";
|
|
5800
5800
|
}];
|
|
5801
5801
|
readonly stateMutability: "nonpayable";
|
|
5802
|
-
}], "
|
|
5802
|
+
}], "increaseAllowance", readonly [spender: `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [spender: `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5803
5803
|
};
|
|
5804
5804
|
address: `0x${string}`;
|
|
5805
5805
|
abi: readonly [{
|
|
@@ -5991,7 +5991,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
5991
5991
|
fee: number;
|
|
5992
5992
|
tickSpacing: number;
|
|
5993
5993
|
hooks: `0x${string}`;
|
|
5994
|
-
}], options?:
|
|
5994
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5995
5995
|
readonly type: "function";
|
|
5996
5996
|
readonly name: "getFeeGrowthGlobals";
|
|
5997
5997
|
readonly inputs: readonly [{
|
|
@@ -6832,7 +6832,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
6832
6832
|
fee: number;
|
|
6833
6833
|
tickSpacing: number;
|
|
6834
6834
|
hooks: `0x${string}`;
|
|
6835
|
-
}] | readonly [`0x${string}`, poolId: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`], options?:
|
|
6835
|
+
}] | readonly [`0x${string}`, poolId: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6836
6836
|
readonly type: "function";
|
|
6837
6837
|
readonly name: "getFeeGrowthGlobals";
|
|
6838
6838
|
readonly inputs: readonly [{
|
|
@@ -7674,7 +7674,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
7674
7674
|
tickSpacing: number;
|
|
7675
7675
|
hooks: `0x${string}`;
|
|
7676
7676
|
}] | readonly [`0x${string}`, poolId: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
7677
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tickLower: number, tickUpper: number], options?:
|
|
7677
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tickLower: number, tickUpper: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7678
7678
|
readonly type: "function";
|
|
7679
7679
|
readonly name: "getFeeGrowthGlobals";
|
|
7680
7680
|
readonly inputs: readonly [{
|
|
@@ -8521,7 +8521,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
8521
8521
|
fee: number;
|
|
8522
8522
|
tickSpacing: number;
|
|
8523
8523
|
hooks: `0x${string}`;
|
|
8524
|
-
}, tickLower: number, tickUpper: number], options?:
|
|
8524
|
+
}, tickLower: number, tickUpper: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8525
8525
|
readonly type: "function";
|
|
8526
8526
|
readonly name: "getFeeGrowthGlobals";
|
|
8527
8527
|
readonly inputs: readonly [{
|
|
@@ -9363,7 +9363,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
9363
9363
|
tickSpacing: number;
|
|
9364
9364
|
hooks: `0x${string}`;
|
|
9365
9365
|
}, tickLower: number, tickUpper: number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
9366
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`], options?:
|
|
9366
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9367
9367
|
readonly type: "function";
|
|
9368
9368
|
readonly name: "getFeeGrowthGlobals";
|
|
9369
9369
|
readonly inputs: readonly [{
|
|
@@ -10210,7 +10210,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
10210
10210
|
fee: number;
|
|
10211
10211
|
tickSpacing: number;
|
|
10212
10212
|
hooks: `0x${string}`;
|
|
10213
|
-
}], options?:
|
|
10213
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10214
10214
|
readonly type: "function";
|
|
10215
10215
|
readonly name: "getFeeGrowthGlobals";
|
|
10216
10216
|
readonly inputs: readonly [{
|
|
@@ -11058,7 +11058,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
11058
11058
|
fee: number;
|
|
11059
11059
|
tickSpacing: number;
|
|
11060
11060
|
hooks: `0x${string}`;
|
|
11061
|
-
}, positionId: `0x${string}`], options?:
|
|
11061
|
+
}, positionId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11062
11062
|
readonly type: "function";
|
|
11063
11063
|
readonly name: "getFeeGrowthGlobals";
|
|
11064
11064
|
readonly inputs: readonly [{
|
|
@@ -11905,7 +11905,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
11905
11905
|
fee: number;
|
|
11906
11906
|
tickSpacing: number;
|
|
11907
11907
|
hooks: `0x${string}`;
|
|
11908
|
-
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, positionId: `0x${string}`], options?:
|
|
11908
|
+
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, positionId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11909
11909
|
readonly type: "function";
|
|
11910
11910
|
readonly name: "getFeeGrowthGlobals";
|
|
11911
11911
|
readonly inputs: readonly [{
|
|
@@ -12752,7 +12752,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
12752
12752
|
fee: number;
|
|
12753
12753
|
tickSpacing: number;
|
|
12754
12754
|
hooks: `0x${string}`;
|
|
12755
|
-
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`], options?:
|
|
12755
|
+
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12756
12756
|
readonly type: "function";
|
|
12757
12757
|
readonly name: "getFeeGrowthGlobals";
|
|
12758
12758
|
readonly inputs: readonly [{
|
|
@@ -13605,7 +13605,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
13605
13605
|
fee: number;
|
|
13606
13606
|
tickSpacing: number;
|
|
13607
13607
|
hooks: `0x${string}`;
|
|
13608
|
-
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`], options?:
|
|
13608
|
+
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13609
13609
|
readonly type: "function";
|
|
13610
13610
|
readonly name: "getFeeGrowthGlobals";
|
|
13611
13611
|
readonly inputs: readonly [{
|
|
@@ -14453,7 +14453,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
14453
14453
|
tickSpacing: number;
|
|
14454
14454
|
hooks: `0x${string}`;
|
|
14455
14455
|
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
14456
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, positionId: `0x${string}`], options?:
|
|
14456
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, positionId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14457
14457
|
readonly type: "function";
|
|
14458
14458
|
readonly name: "getFeeGrowthGlobals";
|
|
14459
14459
|
readonly inputs: readonly [{
|
|
@@ -15300,7 +15300,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
15300
15300
|
fee: number;
|
|
15301
15301
|
tickSpacing: number;
|
|
15302
15302
|
hooks: `0x${string}`;
|
|
15303
|
-
}, positionId: `0x${string}`], options?:
|
|
15303
|
+
}, positionId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15304
15304
|
readonly type: "function";
|
|
15305
15305
|
readonly name: "getFeeGrowthGlobals";
|
|
15306
15306
|
readonly inputs: readonly [{
|
|
@@ -16148,7 +16148,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
16148
16148
|
fee: number;
|
|
16149
16149
|
tickSpacing: number;
|
|
16150
16150
|
hooks: `0x${string}`;
|
|
16151
|
-
}], options?:
|
|
16151
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16152
16152
|
readonly type: "function";
|
|
16153
16153
|
readonly name: "getFeeGrowthGlobals";
|
|
16154
16154
|
readonly inputs: readonly [{
|
|
@@ -16990,7 +16990,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
16990
16990
|
tickSpacing: number;
|
|
16991
16991
|
hooks: `0x${string}`;
|
|
16992
16992
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [sqrtPriceX96: bigint, tick: number, number, number]>;
|
|
16993
|
-
getSlot0FromId: (args: readonly [`0x${string}`, poolId: `0x${string}`], options?:
|
|
16993
|
+
getSlot0FromId: (args: readonly [`0x${string}`, poolId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16994
16994
|
readonly type: "function";
|
|
16995
16995
|
readonly name: "getFeeGrowthGlobals";
|
|
16996
16996
|
readonly inputs: readonly [{
|
|
@@ -17832,7 +17832,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
17832
17832
|
fee: number;
|
|
17833
17833
|
tickSpacing: number;
|
|
17834
17834
|
hooks: `0x${string}`;
|
|
17835
|
-
}, tick: number], options?:
|
|
17835
|
+
}, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17836
17836
|
readonly type: "function";
|
|
17837
17837
|
readonly name: "getFeeGrowthGlobals";
|
|
17838
17838
|
readonly inputs: readonly [{
|
|
@@ -18673,7 +18673,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
18673
18673
|
fee: number;
|
|
18674
18674
|
tickSpacing: number;
|
|
18675
18675
|
hooks: `0x${string}`;
|
|
18676
|
-
}, tick: number] | readonly [`0x${string}`, poolId: `0x${string}`, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?:
|
|
18676
|
+
}, tick: number] | readonly [`0x${string}`, poolId: `0x${string}`, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18677
18677
|
readonly type: "function";
|
|
18678
18678
|
readonly name: "getFeeGrowthGlobals";
|
|
18679
18679
|
readonly inputs: readonly [{
|
|
@@ -19515,7 +19515,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
19515
19515
|
tickSpacing: number;
|
|
19516
19516
|
hooks: `0x${string}`;
|
|
19517
19517
|
}, tick: number] | readonly [`0x${string}`, poolId: `0x${string}`, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
19518
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?:
|
|
19518
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19519
19519
|
readonly type: "function";
|
|
19520
19520
|
readonly name: "getFeeGrowthGlobals";
|
|
19521
19521
|
readonly inputs: readonly [{
|
|
@@ -20362,7 +20362,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
20362
20362
|
fee: number;
|
|
20363
20363
|
tickSpacing: number;
|
|
20364
20364
|
hooks: `0x${string}`;
|
|
20365
|
-
}, tick: number], options?:
|
|
20365
|
+
}, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20366
20366
|
readonly type: "function";
|
|
20367
20367
|
readonly name: "getFeeGrowthGlobals";
|
|
20368
20368
|
readonly inputs: readonly [{
|
|
@@ -21204,7 +21204,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
21204
21204
|
tickSpacing: number;
|
|
21205
21205
|
hooks: `0x${string}`;
|
|
21206
21206
|
}, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
21207
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?:
|
|
21207
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21208
21208
|
readonly type: "function";
|
|
21209
21209
|
readonly name: "getFeeGrowthGlobals";
|
|
21210
21210
|
readonly inputs: readonly [{
|
|
@@ -22051,7 +22051,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
22051
22051
|
fee: number;
|
|
22052
22052
|
tickSpacing: number;
|
|
22053
22053
|
hooks: `0x${string}`;
|
|
22054
|
-
}, tick: number], options?:
|
|
22054
|
+
}, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22055
22055
|
readonly type: "function";
|
|
22056
22056
|
readonly name: "getFeeGrowthGlobals";
|
|
22057
22057
|
readonly inputs: readonly [{
|
|
@@ -22893,7 +22893,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
22893
22893
|
tickSpacing: number;
|
|
22894
22894
|
hooks: `0x${string}`;
|
|
22895
22895
|
}, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
22896
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?:
|
|
22896
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22897
22897
|
readonly type: "function";
|
|
22898
22898
|
readonly name: "getFeeGrowthGlobals";
|
|
22899
22899
|
readonly inputs: readonly [{
|
|
@@ -23740,7 +23740,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
23740
23740
|
fee: number;
|
|
23741
23741
|
tickSpacing: number;
|
|
23742
23742
|
hooks: `0x${string}`;
|
|
23743
|
-
}, tick: number], options?:
|
|
23743
|
+
}, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23744
23744
|
readonly type: "function";
|
|
23745
23745
|
readonly name: "getFeeGrowthGlobals";
|
|
23746
23746
|
readonly inputs: readonly [{
|
|
@@ -25423,7 +25423,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
25423
25423
|
}>;
|
|
25424
25424
|
declare const getTimelockLens: (client: PublicClient, address?: Address) => Promise<{
|
|
25425
25425
|
read: {
|
|
25426
|
-
batchGetRefTick: (args: readonly [vault: `0x${string}`, tickLower: readonly number[]], options?:
|
|
25426
|
+
batchGetRefTick: (args: readonly [vault: `0x${string}`, tickLower: readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25427
25427
|
readonly type: "function";
|
|
25428
25428
|
readonly name: "batchGetRefTick";
|
|
25429
25429
|
readonly inputs: readonly [{
|
|
@@ -26378,7 +26378,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
26378
26378
|
}];
|
|
26379
26379
|
readonly stateMutability: "view";
|
|
26380
26380
|
}], "batchGetRefTick", readonly [vault: `0x${string}`, tickLower: readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
26381
|
-
getAllBlocks: (args: readonly [vault: `0x${string}`], options?:
|
|
26381
|
+
getAllBlocks: (args: readonly [vault: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26382
26382
|
readonly type: "function";
|
|
26383
26383
|
readonly name: "batchGetRefTick";
|
|
26384
26384
|
readonly inputs: readonly [{
|
|
@@ -27346,7 +27346,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
27346
27346
|
borrowedAmount0: bigint;
|
|
27347
27347
|
borrowedAmount1: bigint;
|
|
27348
27348
|
}[]>;
|
|
27349
|
-
getExpiredOptions: (args: readonly [market: `0x${string}`, bigint, bigint], options?:
|
|
27349
|
+
getExpiredOptions: (args: readonly [market: `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27350
27350
|
readonly type: "function";
|
|
27351
27351
|
readonly name: "batchGetRefTick";
|
|
27352
27352
|
readonly inputs: readonly [{
|
|
@@ -28311,7 +28311,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
28311
28311
|
expiresAt: number;
|
|
28312
28312
|
liquidities: readonly bigint[];
|
|
28313
28313
|
}[]>;
|
|
28314
|
-
getFeeRates: (args: readonly [`0x${string}`], options?:
|
|
28314
|
+
getFeeRates: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28315
28315
|
readonly type: "function";
|
|
28316
28316
|
readonly name: "batchGetRefTick";
|
|
28317
28317
|
readonly inputs: readonly [{
|
|
@@ -29272,7 +29272,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
29272
29272
|
minBaseFee: bigint;
|
|
29273
29273
|
feeRecipient: `0x${string}`;
|
|
29274
29274
|
}>;
|
|
29275
|
-
getGlobalGuardianState: (args: readonly [guardian: `0x${string}`], options?:
|
|
29275
|
+
getGlobalGuardianState: (args: readonly [guardian: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29276
29276
|
readonly type: "function";
|
|
29277
29277
|
readonly name: "batchGetRefTick";
|
|
29278
29278
|
readonly inputs: readonly [{
|
|
@@ -30243,7 +30243,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
30243
30243
|
senderIsAdmin: boolean;
|
|
30244
30244
|
senderIsPauser: boolean;
|
|
30245
30245
|
}>;
|
|
30246
|
-
getLiquidityAtTick: (args: readonly [vault: `0x${string}`, tickLower: number], options?:
|
|
30246
|
+
getLiquidityAtTick: (args: readonly [vault: `0x${string}`, tickLower: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30247
30247
|
readonly type: "function";
|
|
30248
30248
|
readonly name: "batchGetRefTick";
|
|
30249
30249
|
readonly inputs: readonly [{
|
|
@@ -31198,7 +31198,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
31198
31198
|
}];
|
|
31199
31199
|
readonly stateMutability: "view";
|
|
31200
31200
|
}], "getLiquidityAtTick", readonly [vault: `0x${string}`, tickLower: number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
31201
|
-
getMarketData: (args: readonly [market: `0x${string}`], options?:
|
|
31201
|
+
getMarketData: (args: readonly [market: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
31202
31202
|
readonly type: "function";
|
|
31203
31203
|
readonly name: "batchGetRefTick";
|
|
31204
31204
|
readonly inputs: readonly [{
|
|
@@ -32174,7 +32174,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
32174
32174
|
optionAssetName: string;
|
|
32175
32175
|
payoutAssetName: string;
|
|
32176
32176
|
}>;
|
|
32177
|
-
getMarketState: (args: readonly [market: `0x${string}`], options?:
|
|
32177
|
+
getMarketState: (args: readonly [market: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
32178
32178
|
readonly type: "function";
|
|
32179
32179
|
readonly name: "batchGetRefTick";
|
|
32180
32180
|
readonly inputs: readonly [{
|
|
@@ -33134,7 +33134,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
33134
33134
|
feeStrategy: `0x${string}`;
|
|
33135
33135
|
owner: `0x${string}`;
|
|
33136
33136
|
}>;
|
|
33137
|
-
getMaxATMPositionSizes: (args: readonly [market: `0x${string}`, number], options?:
|
|
33137
|
+
getMaxATMPositionSizes: (args: readonly [market: `0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
33138
33138
|
readonly type: "function";
|
|
33139
33139
|
readonly name: "batchGetRefTick";
|
|
33140
33140
|
readonly inputs: readonly [{
|
|
@@ -34089,7 +34089,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
34089
34089
|
}];
|
|
34090
34090
|
readonly stateMutability: "view";
|
|
34091
34091
|
}], "getMaxATMPositionSizes", readonly [market: `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
34092
|
-
getMaxBorrowable0: (args: readonly [vault: `0x${string}`, number, number], options?:
|
|
34092
|
+
getMaxBorrowable0: (args: readonly [vault: `0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
34093
34093
|
readonly type: "function";
|
|
34094
34094
|
readonly name: "batchGetRefTick";
|
|
34095
34095
|
readonly inputs: readonly [{
|
|
@@ -35044,7 +35044,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
35044
35044
|
}];
|
|
35045
35045
|
readonly stateMutability: "view";
|
|
35046
35046
|
}], "getMaxBorrowable0", readonly [vault: `0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
35047
|
-
getMaxBorrowable1: (args: readonly [vault: `0x${string}`, number, number], options?:
|
|
35047
|
+
getMaxBorrowable1: (args: readonly [vault: `0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
35048
35048
|
readonly type: "function";
|
|
35049
35049
|
readonly name: "batchGetRefTick";
|
|
35050
35050
|
readonly inputs: readonly [{
|
|
@@ -35999,7 +35999,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
35999
35999
|
}];
|
|
36000
36000
|
readonly stateMutability: "view";
|
|
36001
36001
|
}], "getMaxBorrowable1", readonly [vault: `0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
36002
|
-
getMaxPositionSizes: (args: readonly [market: `0x${string}`, number, number], options?:
|
|
36002
|
+
getMaxPositionSizes: (args: readonly [market: `0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36003
36003
|
readonly type: "function";
|
|
36004
36004
|
readonly name: "batchGetRefTick";
|
|
36005
36005
|
readonly inputs: readonly [{
|
|
@@ -36954,7 +36954,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
36954
36954
|
}];
|
|
36955
36955
|
readonly stateMutability: "view";
|
|
36956
36956
|
}], "getMaxPositionSizes", readonly [market: `0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
36957
|
-
getOptionData: (args: readonly [market: `0x${string}`, bigint], options?:
|
|
36957
|
+
getOptionData: (args: readonly [market: `0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36958
36958
|
readonly type: "function";
|
|
36959
36959
|
readonly name: "batchGetRefTick";
|
|
36960
36960
|
readonly inputs: readonly [{
|
|
@@ -37919,7 +37919,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
37919
37919
|
expiresAt: number;
|
|
37920
37920
|
liquidities: readonly bigint[];
|
|
37921
37921
|
}>;
|
|
37922
|
-
getOptionPricingParams: (args: readonly [`0x${string}`], options?:
|
|
37922
|
+
getOptionPricingParams: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37923
37923
|
readonly type: "function";
|
|
37924
37924
|
readonly name: "batchGetRefTick";
|
|
37925
37925
|
readonly inputs: readonly [{
|
|
@@ -38880,7 +38880,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
38880
38880
|
minPremiumDailyRate: number;
|
|
38881
38881
|
minPremiumAmount: bigint;
|
|
38882
38882
|
}>;
|
|
38883
|
-
getOptionsData: (args: readonly [market: `0x${string}`, readonly bigint[]], options?:
|
|
38883
|
+
getOptionsData: (args: readonly [market: `0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38884
38884
|
readonly type: "function";
|
|
38885
38885
|
readonly name: "batchGetRefTick";
|
|
38886
38886
|
readonly inputs: readonly [{
|
|
@@ -39851,7 +39851,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
39851
39851
|
fee: number;
|
|
39852
39852
|
tickSpacing: number;
|
|
39853
39853
|
hooks: `0x${string}`;
|
|
39854
|
-
}], options?:
|
|
39854
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39855
39855
|
readonly type: "function";
|
|
39856
39856
|
readonly name: "batchGetRefTick";
|
|
39857
39857
|
readonly inputs: readonly [{
|
|
@@ -40823,7 +40823,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
40823
40823
|
tickSpacing: number;
|
|
40824
40824
|
fee: number;
|
|
40825
40825
|
}>;
|
|
40826
|
-
getPricingParams: (args: readonly [`0x${string}`], options?:
|
|
40826
|
+
getPricingParams: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40827
40827
|
readonly type: "function";
|
|
40828
40828
|
readonly name: "batchGetRefTick";
|
|
40829
40829
|
readonly inputs: readonly [{
|
|
@@ -41778,7 +41778,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
41778
41778
|
}];
|
|
41779
41779
|
readonly stateMutability: "view";
|
|
41780
41780
|
}], "getPricingParams", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [number, data: `0x${string}`]>;
|
|
41781
|
-
getRefTick: (args: readonly [vault: `0x${string}`, tickLower: number], options?:
|
|
41781
|
+
getRefTick: (args: readonly [vault: `0x${string}`, tickLower: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41782
41782
|
readonly type: "function";
|
|
41783
41783
|
readonly name: "batchGetRefTick";
|
|
41784
41784
|
readonly inputs: readonly [{
|
|
@@ -42733,7 +42733,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
42733
42733
|
}];
|
|
42734
42734
|
readonly stateMutability: "view";
|
|
42735
42735
|
}], "getRefTick", readonly [vault: `0x${string}`, tickLower: number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
42736
|
-
getStaticPricingParams: (args: readonly [`0x${string}`], options?:
|
|
42736
|
+
getStaticPricingParams: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42737
42737
|
readonly type: "function";
|
|
42738
42738
|
readonly name: "batchGetRefTick";
|
|
42739
42739
|
readonly inputs: readonly [{
|
|
@@ -43691,7 +43691,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
43691
43691
|
dailyFundingRate: number;
|
|
43692
43692
|
minFundingAmount: bigint;
|
|
43693
43693
|
}>;
|
|
43694
|
-
getTokenData: (args: readonly [token: `0x${string}`], options?:
|
|
43694
|
+
getTokenData: (args: readonly [token: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43695
43695
|
readonly type: "function";
|
|
43696
43696
|
readonly name: "batchGetRefTick";
|
|
43697
43697
|
readonly inputs: readonly [{
|
|
@@ -44650,7 +44650,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
44650
44650
|
symbol: string;
|
|
44651
44651
|
name: string;
|
|
44652
44652
|
}>;
|
|
44653
|
-
getUserOptions: (args: readonly [market: `0x${string}`, user: `0x${string}`, bigint, limit: bigint], options?:
|
|
44653
|
+
getUserOptions: (args: readonly [market: `0x${string}`, user: `0x${string}`, bigint, limit: bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44654
44654
|
readonly type: "function";
|
|
44655
44655
|
readonly name: "batchGetRefTick";
|
|
44656
44656
|
readonly inputs: readonly [{
|
|
@@ -45615,7 +45615,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
45615
45615
|
expiresAt: number;
|
|
45616
45616
|
liquidities: readonly bigint[];
|
|
45617
45617
|
}[], bigint, boolean]>;
|
|
45618
|
-
getVaultData: (args: readonly [vault: `0x${string}`], options?:
|
|
45618
|
+
getVaultData: (args: readonly [vault: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45619
45619
|
readonly type: "function";
|
|
45620
45620
|
readonly name: "batchGetRefTick";
|
|
45621
45621
|
readonly inputs: readonly [{
|
|
@@ -46582,7 +46582,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
46582
46582
|
lowestTick: number;
|
|
46583
46583
|
highestTick: number;
|
|
46584
46584
|
}>;
|
|
46585
|
-
getVaultTVL: (args: readonly [vault: `0x${string}`], options?:
|
|
46585
|
+
getVaultTVL: (args: readonly [vault: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46586
46586
|
readonly type: "function";
|
|
46587
46587
|
readonly name: "batchGetRefTick";
|
|
46588
46588
|
readonly inputs: readonly [{
|
|
@@ -49559,7 +49559,7 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
49559
49559
|
}>;
|
|
49560
49560
|
//#endregion
|
|
49561
49561
|
//#region src/hooks/market/useMarketVolume.d.ts
|
|
49562
|
-
declare const useMarketVolume: (marketAddr: Address | undefined) =>
|
|
49562
|
+
declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query10.UseQueryResult<{
|
|
49563
49563
|
address: Address;
|
|
49564
49564
|
totalVolume: bigint;
|
|
49565
49565
|
totalPremium: bigint;
|
|
@@ -49589,7 +49589,7 @@ declare const formatUSD: (value: Big | string | number) => string;
|
|
|
49589
49589
|
//#endregion
|
|
49590
49590
|
//#region src/hooks/options/useMaxPositionSize.d.ts
|
|
49591
49591
|
declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?: number, maxSteps?: number) => {
|
|
49592
|
-
error:
|
|
49592
|
+
error: viem0.ReadContractErrorType;
|
|
49593
49593
|
isError: true;
|
|
49594
49594
|
isPending: false;
|
|
49595
49595
|
isLoading: false;
|
|
@@ -49601,7 +49601,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49601
49601
|
dataUpdatedAt: number;
|
|
49602
49602
|
errorUpdatedAt: number;
|
|
49603
49603
|
failureCount: number;
|
|
49604
|
-
failureReason:
|
|
49604
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
49605
49605
|
errorUpdateCount: number;
|
|
49606
49606
|
isFetched: boolean;
|
|
49607
49607
|
isFetchedAfterMount: boolean;
|
|
@@ -49611,10 +49611,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49611
49611
|
isRefetching: boolean;
|
|
49612
49612
|
isStale: boolean;
|
|
49613
49613
|
isEnabled: boolean;
|
|
49614
|
-
refetch: (options?:
|
|
49615
|
-
fetchStatus:
|
|
49614
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
49615
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
49616
49616
|
promise: Promise<never>;
|
|
49617
|
-
queryKey:
|
|
49617
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
49618
49618
|
maxCallSize: Amount | undefined;
|
|
49619
49619
|
maxPutSize: Amount | undefined;
|
|
49620
49620
|
} | {
|
|
@@ -49630,7 +49630,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49630
49630
|
dataUpdatedAt: number;
|
|
49631
49631
|
errorUpdatedAt: number;
|
|
49632
49632
|
failureCount: number;
|
|
49633
|
-
failureReason:
|
|
49633
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
49634
49634
|
errorUpdateCount: number;
|
|
49635
49635
|
isFetched: boolean;
|
|
49636
49636
|
isFetchedAfterMount: boolean;
|
|
@@ -49640,14 +49640,14 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49640
49640
|
isRefetching: boolean;
|
|
49641
49641
|
isStale: boolean;
|
|
49642
49642
|
isEnabled: boolean;
|
|
49643
|
-
refetch: (options?:
|
|
49644
|
-
fetchStatus:
|
|
49643
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
49644
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
49645
49645
|
promise: Promise<never>;
|
|
49646
|
-
queryKey:
|
|
49646
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
49647
49647
|
maxCallSize: Amount | undefined;
|
|
49648
49648
|
maxPutSize: Amount | undefined;
|
|
49649
49649
|
} | {
|
|
49650
|
-
error:
|
|
49650
|
+
error: viem0.ReadContractErrorType;
|
|
49651
49651
|
isError: true;
|
|
49652
49652
|
isPending: false;
|
|
49653
49653
|
isLoading: false;
|
|
@@ -49659,7 +49659,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49659
49659
|
dataUpdatedAt: number;
|
|
49660
49660
|
errorUpdatedAt: number;
|
|
49661
49661
|
failureCount: number;
|
|
49662
|
-
failureReason:
|
|
49662
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
49663
49663
|
errorUpdateCount: number;
|
|
49664
49664
|
isFetched: boolean;
|
|
49665
49665
|
isFetchedAfterMount: boolean;
|
|
@@ -49669,10 +49669,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49669
49669
|
isRefetching: boolean;
|
|
49670
49670
|
isStale: boolean;
|
|
49671
49671
|
isEnabled: boolean;
|
|
49672
|
-
refetch: (options?:
|
|
49673
|
-
fetchStatus:
|
|
49672
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
49673
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
49674
49674
|
promise: Promise<never>;
|
|
49675
|
-
queryKey:
|
|
49675
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
49676
49676
|
maxCallSize: Amount | undefined;
|
|
49677
49677
|
maxPutSize: Amount | undefined;
|
|
49678
49678
|
} | {
|
|
@@ -49688,7 +49688,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49688
49688
|
dataUpdatedAt: number;
|
|
49689
49689
|
errorUpdatedAt: number;
|
|
49690
49690
|
failureCount: number;
|
|
49691
|
-
failureReason:
|
|
49691
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
49692
49692
|
errorUpdateCount: number;
|
|
49693
49693
|
isFetched: boolean;
|
|
49694
49694
|
isFetchedAfterMount: boolean;
|
|
@@ -49698,10 +49698,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49698
49698
|
isRefetching: boolean;
|
|
49699
49699
|
isStale: boolean;
|
|
49700
49700
|
isEnabled: boolean;
|
|
49701
|
-
refetch: (options?:
|
|
49702
|
-
fetchStatus:
|
|
49701
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
49702
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
49703
49703
|
promise: Promise<never>;
|
|
49704
|
-
queryKey:
|
|
49704
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
49705
49705
|
maxCallSize: Amount | undefined;
|
|
49706
49706
|
maxPutSize: Amount | undefined;
|
|
49707
49707
|
} | {
|
|
@@ -49716,7 +49716,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49716
49716
|
dataUpdatedAt: number;
|
|
49717
49717
|
errorUpdatedAt: number;
|
|
49718
49718
|
failureCount: number;
|
|
49719
|
-
failureReason:
|
|
49719
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
49720
49720
|
errorUpdateCount: number;
|
|
49721
49721
|
isFetched: boolean;
|
|
49722
49722
|
isFetchedAfterMount: boolean;
|
|
@@ -49727,10 +49727,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49727
49727
|
isRefetching: boolean;
|
|
49728
49728
|
isStale: boolean;
|
|
49729
49729
|
isEnabled: boolean;
|
|
49730
|
-
refetch: (options?:
|
|
49731
|
-
fetchStatus:
|
|
49730
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
49731
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
49732
49732
|
promise: Promise<never>;
|
|
49733
|
-
queryKey:
|
|
49733
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
49734
49734
|
maxCallSize: Amount | undefined;
|
|
49735
49735
|
maxPutSize: Amount | undefined;
|
|
49736
49736
|
} | {
|
|
@@ -49746,7 +49746,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49746
49746
|
dataUpdatedAt: number;
|
|
49747
49747
|
errorUpdatedAt: number;
|
|
49748
49748
|
failureCount: number;
|
|
49749
|
-
failureReason:
|
|
49749
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
49750
49750
|
errorUpdateCount: number;
|
|
49751
49751
|
isFetched: boolean;
|
|
49752
49752
|
isFetchedAfterMount: boolean;
|
|
@@ -49756,16 +49756,16 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49756
49756
|
isRefetching: boolean;
|
|
49757
49757
|
isStale: boolean;
|
|
49758
49758
|
isEnabled: boolean;
|
|
49759
|
-
refetch: (options?:
|
|
49760
|
-
fetchStatus:
|
|
49759
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<never, viem0.ReadContractErrorType>>;
|
|
49760
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
49761
49761
|
promise: Promise<never>;
|
|
49762
|
-
queryKey:
|
|
49762
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
49763
49763
|
maxCallSize: Amount | undefined;
|
|
49764
49764
|
maxPutSize: Amount | undefined;
|
|
49765
49765
|
};
|
|
49766
49766
|
//#endregion
|
|
49767
49767
|
//#region src/hooks/options/useMintOption.d.ts
|
|
49768
|
-
declare const useMintOption: (marketAddr: Address | undefined) =>
|
|
49768
|
+
declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query10.UseMutationResult<`0x${string}`, Error, {
|
|
49769
49769
|
optionType: "CALL" | "PUT";
|
|
49770
49770
|
amount: bigint;
|
|
49771
49771
|
duration: number;
|
|
@@ -49775,7 +49775,7 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
|
|
|
49775
49775
|
//#endregion
|
|
49776
49776
|
//#region src/hooks/options/useUserOptions.d.ts
|
|
49777
49777
|
type OptionData = NonUndefinedGuard<ReturnType<typeof useUserOptions>['data']>[number];
|
|
49778
|
-
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) =>
|
|
49778
|
+
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query10.UseQueryResult<{
|
|
49779
49779
|
optionId: bigint;
|
|
49780
49780
|
marketAddr: Address;
|
|
49781
49781
|
ownerAddr: Address;
|
|
@@ -49805,7 +49805,7 @@ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Addres
|
|
|
49805
49805
|
address: string;
|
|
49806
49806
|
} | null;
|
|
49807
49807
|
}[], Error>;
|
|
49808
|
-
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49808
|
+
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query10.UseQueryResult<{
|
|
49809
49809
|
optionId: bigint;
|
|
49810
49810
|
marketAddr: Address;
|
|
49811
49811
|
ownerAddr: Address;
|
|
@@ -49835,7 +49835,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49835
49835
|
address: string;
|
|
49836
49836
|
} | null;
|
|
49837
49837
|
}[], Error>;
|
|
49838
|
-
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49838
|
+
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query10.UseQueryResult<{
|
|
49839
49839
|
optionId: bigint;
|
|
49840
49840
|
marketAddr: Address;
|
|
49841
49841
|
ownerAddr: Address;
|
|
@@ -49867,7 +49867,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49867
49867
|
}[], Error>;
|
|
49868
49868
|
//#endregion
|
|
49869
49869
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
49870
|
-
declare const useExerciseOption: (marketAddr: Address | undefined) =>
|
|
49870
|
+
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query10.UseMutationResult<`0x${string}`, Error, {
|
|
49871
49871
|
option: OptionData;
|
|
49872
49872
|
liquidities: readonly bigint[];
|
|
49873
49873
|
}, unknown>;
|
|
@@ -49890,7 +49890,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
49890
49890
|
};
|
|
49891
49891
|
//#endregion
|
|
49892
49892
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
49893
|
-
declare const useExtendOption: (marketAddr: Address | undefined) =>
|
|
49893
|
+
declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query10.UseMutationResult<`0x${string}`, Error, {
|
|
49894
49894
|
option: OptionData;
|
|
49895
49895
|
duration: number;
|
|
49896
49896
|
}, unknown>;
|
|
@@ -49906,7 +49906,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
|
49906
49906
|
type ExtendEvent = Extract<OptionEvent, {
|
|
49907
49907
|
type: 'extend';
|
|
49908
49908
|
}>;
|
|
49909
|
-
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) =>
|
|
49909
|
+
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query10.UseQueryResult<({
|
|
49910
49910
|
type: "mint";
|
|
49911
49911
|
data: {
|
|
49912
49912
|
id: string;
|
|
@@ -49947,7 +49947,7 @@ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: big
|
|
|
49947
49947
|
})[], Error>;
|
|
49948
49948
|
//#endregion
|
|
49949
49949
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
49950
|
-
declare const useMintPerp: (marketAddr: Address | undefined) =>
|
|
49950
|
+
declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query10.UseMutationResult<void, Error, {
|
|
49951
49951
|
optionType: "CALL" | "PUT";
|
|
49952
49952
|
amount: bigint;
|
|
49953
49953
|
duration: number;
|
|
@@ -49955,17 +49955,17 @@ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_
|
|
|
49955
49955
|
}, unknown>;
|
|
49956
49956
|
//#endregion
|
|
49957
49957
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
49958
|
-
declare const useClosePerp: () =>
|
|
49958
|
+
declare const useClosePerp: () => _tanstack_react_query10.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
49959
49959
|
//#endregion
|
|
49960
49960
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
49961
49961
|
declare const usePerpsOperator: () => {
|
|
49962
49962
|
operator: PerpsOperator | undefined;
|
|
49963
49963
|
address: `0x${string}` | undefined;
|
|
49964
|
-
signMessage:
|
|
49964
|
+
signMessage: _tanstack_react_query10.UseMutationResult<void, Error, void, unknown>;
|
|
49965
49965
|
};
|
|
49966
49966
|
//#endregion
|
|
49967
49967
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
49968
|
-
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) =>
|
|
49968
|
+
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query10.UseQueryResult<{
|
|
49969
49969
|
optionId: bigint;
|
|
49970
49970
|
id: string;
|
|
49971
49971
|
ownerAddr: Address;
|
|
@@ -49974,7 +49974,7 @@ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address
|
|
|
49974
49974
|
expiresAt: number;
|
|
49975
49975
|
closed: boolean;
|
|
49976
49976
|
}[] | undefined, Error>;
|
|
49977
|
-
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49977
|
+
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query10.UseQueryResult<{
|
|
49978
49978
|
optionId: bigint;
|
|
49979
49979
|
id: string;
|
|
49980
49980
|
ownerAddr: Address;
|
|
@@ -49983,7 +49983,7 @@ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49983
49983
|
expiresAt: number;
|
|
49984
49984
|
closed: boolean;
|
|
49985
49985
|
}[] | undefined, Error>;
|
|
49986
|
-
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49986
|
+
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query10.UseQueryResult<{
|
|
49987
49987
|
optionId: bigint;
|
|
49988
49988
|
id: string;
|
|
49989
49989
|
ownerAddr: Address;
|
|
@@ -49995,7 +49995,7 @@ declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49995
49995
|
//#endregion
|
|
49996
49996
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
49997
49997
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
49998
|
-
error:
|
|
49998
|
+
error: viem0.ReadContractErrorType;
|
|
49999
49999
|
isError: true;
|
|
50000
50000
|
isPending: false;
|
|
50001
50001
|
isLoading: false;
|
|
@@ -50007,7 +50007,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50007
50007
|
dataUpdatedAt: number;
|
|
50008
50008
|
errorUpdatedAt: number;
|
|
50009
50009
|
failureCount: number;
|
|
50010
|
-
failureReason:
|
|
50010
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
50011
50011
|
errorUpdateCount: number;
|
|
50012
50012
|
isFetched: boolean;
|
|
50013
50013
|
isFetchedAfterMount: boolean;
|
|
@@ -50017,10 +50017,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50017
50017
|
isRefetching: boolean;
|
|
50018
50018
|
isStale: boolean;
|
|
50019
50019
|
isEnabled: boolean;
|
|
50020
|
-
refetch: (options?:
|
|
50021
|
-
fetchStatus:
|
|
50020
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
50021
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
50022
50022
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
50023
|
-
queryKey:
|
|
50023
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
50024
50024
|
data: {
|
|
50025
50025
|
canExtend: boolean | undefined;
|
|
50026
50026
|
canExercise: boolean | undefined;
|
|
@@ -50042,7 +50042,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50042
50042
|
dataUpdatedAt: number;
|
|
50043
50043
|
errorUpdatedAt: number;
|
|
50044
50044
|
failureCount: number;
|
|
50045
|
-
failureReason:
|
|
50045
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
50046
50046
|
errorUpdateCount: number;
|
|
50047
50047
|
isFetched: boolean;
|
|
50048
50048
|
isFetchedAfterMount: boolean;
|
|
@@ -50052,10 +50052,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50052
50052
|
isRefetching: boolean;
|
|
50053
50053
|
isStale: boolean;
|
|
50054
50054
|
isEnabled: boolean;
|
|
50055
|
-
refetch: (options?:
|
|
50056
|
-
fetchStatus:
|
|
50055
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
50056
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
50057
50057
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
50058
|
-
queryKey:
|
|
50058
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
50059
50059
|
data: {
|
|
50060
50060
|
canExtend: boolean | undefined;
|
|
50061
50061
|
canExercise: boolean | undefined;
|
|
@@ -50065,7 +50065,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50065
50065
|
effectiveApproval: bigint;
|
|
50066
50066
|
};
|
|
50067
50067
|
} | {
|
|
50068
|
-
error:
|
|
50068
|
+
error: viem0.ReadContractErrorType;
|
|
50069
50069
|
isError: true;
|
|
50070
50070
|
isPending: false;
|
|
50071
50071
|
isLoading: false;
|
|
@@ -50077,7 +50077,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50077
50077
|
dataUpdatedAt: number;
|
|
50078
50078
|
errorUpdatedAt: number;
|
|
50079
50079
|
failureCount: number;
|
|
50080
|
-
failureReason:
|
|
50080
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
50081
50081
|
errorUpdateCount: number;
|
|
50082
50082
|
isFetched: boolean;
|
|
50083
50083
|
isFetchedAfterMount: boolean;
|
|
@@ -50087,10 +50087,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50087
50087
|
isRefetching: boolean;
|
|
50088
50088
|
isStale: boolean;
|
|
50089
50089
|
isEnabled: boolean;
|
|
50090
|
-
refetch: (options?:
|
|
50091
|
-
fetchStatus:
|
|
50090
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
50091
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
50092
50092
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
50093
|
-
queryKey:
|
|
50093
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
50094
50094
|
data: {
|
|
50095
50095
|
canExtend: boolean | undefined;
|
|
50096
50096
|
canExercise: boolean | undefined;
|
|
@@ -50112,7 +50112,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50112
50112
|
dataUpdatedAt: number;
|
|
50113
50113
|
errorUpdatedAt: number;
|
|
50114
50114
|
failureCount: number;
|
|
50115
|
-
failureReason:
|
|
50115
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
50116
50116
|
errorUpdateCount: number;
|
|
50117
50117
|
isFetched: boolean;
|
|
50118
50118
|
isFetchedAfterMount: boolean;
|
|
@@ -50122,10 +50122,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50122
50122
|
isRefetching: boolean;
|
|
50123
50123
|
isStale: boolean;
|
|
50124
50124
|
isEnabled: boolean;
|
|
50125
|
-
refetch: (options?:
|
|
50126
|
-
fetchStatus:
|
|
50125
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
50126
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
50127
50127
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
50128
|
-
queryKey:
|
|
50128
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
50129
50129
|
data: {
|
|
50130
50130
|
canExtend: boolean | undefined;
|
|
50131
50131
|
canExercise: boolean | undefined;
|
|
@@ -50146,7 +50146,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50146
50146
|
dataUpdatedAt: number;
|
|
50147
50147
|
errorUpdatedAt: number;
|
|
50148
50148
|
failureCount: number;
|
|
50149
|
-
failureReason:
|
|
50149
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
50150
50150
|
errorUpdateCount: number;
|
|
50151
50151
|
isFetched: boolean;
|
|
50152
50152
|
isFetchedAfterMount: boolean;
|
|
@@ -50157,10 +50157,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50157
50157
|
isRefetching: boolean;
|
|
50158
50158
|
isStale: boolean;
|
|
50159
50159
|
isEnabled: boolean;
|
|
50160
|
-
refetch: (options?:
|
|
50161
|
-
fetchStatus:
|
|
50160
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
50161
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
50162
50162
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
50163
|
-
queryKey:
|
|
50163
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
50164
50164
|
data: {
|
|
50165
50165
|
canExtend: boolean | undefined;
|
|
50166
50166
|
canExercise: boolean | undefined;
|
|
@@ -50182,7 +50182,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50182
50182
|
dataUpdatedAt: number;
|
|
50183
50183
|
errorUpdatedAt: number;
|
|
50184
50184
|
failureCount: number;
|
|
50185
|
-
failureReason:
|
|
50185
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
50186
50186
|
errorUpdateCount: number;
|
|
50187
50187
|
isFetched: boolean;
|
|
50188
50188
|
isFetchedAfterMount: boolean;
|
|
@@ -50192,10 +50192,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50192
50192
|
isRefetching: boolean;
|
|
50193
50193
|
isStale: boolean;
|
|
50194
50194
|
isEnabled: boolean;
|
|
50195
|
-
refetch: (options?:
|
|
50196
|
-
fetchStatus:
|
|
50195
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
50196
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
50197
50197
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
50198
|
-
queryKey:
|
|
50198
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
50199
50199
|
data: {
|
|
50200
50200
|
canExtend: boolean | undefined;
|
|
50201
50201
|
canExercise: boolean | undefined;
|
|
@@ -50207,7 +50207,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
50207
50207
|
};
|
|
50208
50208
|
//#endregion
|
|
50209
50209
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
50210
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) =>
|
|
50210
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query10.UseQueryResult<{
|
|
50211
50211
|
spendingApproval: bigint;
|
|
50212
50212
|
operatorAddr: string;
|
|
50213
50213
|
__typename: "UserMarketOperator";
|
|
@@ -50223,7 +50223,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _t
|
|
|
50223
50223
|
}[] | undefined, Error>;
|
|
50224
50224
|
//#endregion
|
|
50225
50225
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
50226
|
-
declare const useSetOperatorPerms: (marketAddr: Address | undefined) =>
|
|
50226
|
+
declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query10.UseMutationResult<`0x${string}`, Error, {
|
|
50227
50227
|
operator: Address;
|
|
50228
50228
|
canExtend: boolean;
|
|
50229
50229
|
canExercise: boolean;
|
|
@@ -51149,8 +51149,8 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
|
|
|
51149
51149
|
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
|
|
51150
51150
|
//#endregion
|
|
51151
51151
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
51152
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
51153
|
-
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
51152
|
+
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query10.UseQueryResult<PriceDataPoint[], Error>;
|
|
51153
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query10.UseQueryResult<PriceDataPoint[], Error>;
|
|
51154
51154
|
//#endregion
|
|
51155
51155
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
51156
51156
|
interface BurnPosition {
|
|
@@ -51172,7 +51172,7 @@ declare const useBurnLiquidity: (vaultAddr: Address | undefined) => {
|
|
|
51172
51172
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
51173
51173
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
51174
51174
|
declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
51175
|
-
error:
|
|
51175
|
+
error: viem0.ReadContractErrorType;
|
|
51176
51176
|
isError: true;
|
|
51177
51177
|
isPending: false;
|
|
51178
51178
|
isLoading: false;
|
|
@@ -51184,7 +51184,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51184
51184
|
dataUpdatedAt: number;
|
|
51185
51185
|
errorUpdatedAt: number;
|
|
51186
51186
|
failureCount: number;
|
|
51187
|
-
failureReason:
|
|
51187
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51188
51188
|
errorUpdateCount: number;
|
|
51189
51189
|
isFetched: boolean;
|
|
51190
51190
|
isFetchedAfterMount: boolean;
|
|
@@ -51194,7 +51194,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51194
51194
|
isRefetching: boolean;
|
|
51195
51195
|
isStale: boolean;
|
|
51196
51196
|
isEnabled: boolean;
|
|
51197
|
-
refetch: (options?:
|
|
51197
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly {
|
|
51198
51198
|
tickLower: number;
|
|
51199
51199
|
tickUpper: number;
|
|
51200
51200
|
prevTickLower: number;
|
|
@@ -51207,8 +51207,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51207
51207
|
totalAmount1: bigint;
|
|
51208
51208
|
borrowedAmount0: bigint;
|
|
51209
51209
|
borrowedAmount1: bigint;
|
|
51210
|
-
}[],
|
|
51211
|
-
fetchStatus:
|
|
51210
|
+
}[], viem0.ReadContractErrorType>>;
|
|
51211
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51212
51212
|
promise: Promise<readonly {
|
|
51213
51213
|
tickLower: number;
|
|
51214
51214
|
tickUpper: number;
|
|
@@ -51223,7 +51223,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51223
51223
|
borrowedAmount0: bigint;
|
|
51224
51224
|
borrowedAmount1: bigint;
|
|
51225
51225
|
}[]>;
|
|
51226
|
-
queryKey:
|
|
51226
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51227
51227
|
data: readonly {
|
|
51228
51228
|
tickLower: number;
|
|
51229
51229
|
tickUpper: number;
|
|
@@ -51251,7 +51251,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51251
51251
|
dataUpdatedAt: number;
|
|
51252
51252
|
errorUpdatedAt: number;
|
|
51253
51253
|
failureCount: number;
|
|
51254
|
-
failureReason:
|
|
51254
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51255
51255
|
errorUpdateCount: number;
|
|
51256
51256
|
isFetched: boolean;
|
|
51257
51257
|
isFetchedAfterMount: boolean;
|
|
@@ -51261,7 +51261,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51261
51261
|
isRefetching: boolean;
|
|
51262
51262
|
isStale: boolean;
|
|
51263
51263
|
isEnabled: boolean;
|
|
51264
|
-
refetch: (options?:
|
|
51264
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly {
|
|
51265
51265
|
tickLower: number;
|
|
51266
51266
|
tickUpper: number;
|
|
51267
51267
|
prevTickLower: number;
|
|
@@ -51274,8 +51274,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51274
51274
|
totalAmount1: bigint;
|
|
51275
51275
|
borrowedAmount0: bigint;
|
|
51276
51276
|
borrowedAmount1: bigint;
|
|
51277
|
-
}[],
|
|
51278
|
-
fetchStatus:
|
|
51277
|
+
}[], viem0.ReadContractErrorType>>;
|
|
51278
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51279
51279
|
promise: Promise<readonly {
|
|
51280
51280
|
tickLower: number;
|
|
51281
51281
|
tickUpper: number;
|
|
@@ -51290,7 +51290,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51290
51290
|
borrowedAmount0: bigint;
|
|
51291
51291
|
borrowedAmount1: bigint;
|
|
51292
51292
|
}[]>;
|
|
51293
|
-
queryKey:
|
|
51293
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51294
51294
|
data: readonly {
|
|
51295
51295
|
tickLower: number;
|
|
51296
51296
|
tickUpper: number;
|
|
@@ -51306,7 +51306,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51306
51306
|
borrowedAmount1: bigint;
|
|
51307
51307
|
}[];
|
|
51308
51308
|
} | {
|
|
51309
|
-
error:
|
|
51309
|
+
error: viem0.ReadContractErrorType;
|
|
51310
51310
|
isError: true;
|
|
51311
51311
|
isPending: false;
|
|
51312
51312
|
isLoading: false;
|
|
@@ -51318,7 +51318,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51318
51318
|
dataUpdatedAt: number;
|
|
51319
51319
|
errorUpdatedAt: number;
|
|
51320
51320
|
failureCount: number;
|
|
51321
|
-
failureReason:
|
|
51321
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51322
51322
|
errorUpdateCount: number;
|
|
51323
51323
|
isFetched: boolean;
|
|
51324
51324
|
isFetchedAfterMount: boolean;
|
|
@@ -51328,7 +51328,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51328
51328
|
isRefetching: boolean;
|
|
51329
51329
|
isStale: boolean;
|
|
51330
51330
|
isEnabled: boolean;
|
|
51331
|
-
refetch: (options?:
|
|
51331
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly {
|
|
51332
51332
|
tickLower: number;
|
|
51333
51333
|
tickUpper: number;
|
|
51334
51334
|
prevTickLower: number;
|
|
@@ -51341,8 +51341,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51341
51341
|
totalAmount1: bigint;
|
|
51342
51342
|
borrowedAmount0: bigint;
|
|
51343
51343
|
borrowedAmount1: bigint;
|
|
51344
|
-
}[],
|
|
51345
|
-
fetchStatus:
|
|
51344
|
+
}[], viem0.ReadContractErrorType>>;
|
|
51345
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51346
51346
|
promise: Promise<readonly {
|
|
51347
51347
|
tickLower: number;
|
|
51348
51348
|
tickUpper: number;
|
|
@@ -51357,7 +51357,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51357
51357
|
borrowedAmount0: bigint;
|
|
51358
51358
|
borrowedAmount1: bigint;
|
|
51359
51359
|
}[]>;
|
|
51360
|
-
queryKey:
|
|
51360
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51361
51361
|
data: readonly {
|
|
51362
51362
|
tickLower: number;
|
|
51363
51363
|
tickUpper: number;
|
|
@@ -51385,7 +51385,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51385
51385
|
dataUpdatedAt: number;
|
|
51386
51386
|
errorUpdatedAt: number;
|
|
51387
51387
|
failureCount: number;
|
|
51388
|
-
failureReason:
|
|
51388
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51389
51389
|
errorUpdateCount: number;
|
|
51390
51390
|
isFetched: boolean;
|
|
51391
51391
|
isFetchedAfterMount: boolean;
|
|
@@ -51395,7 +51395,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51395
51395
|
isRefetching: boolean;
|
|
51396
51396
|
isStale: boolean;
|
|
51397
51397
|
isEnabled: boolean;
|
|
51398
|
-
refetch: (options?:
|
|
51398
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly {
|
|
51399
51399
|
tickLower: number;
|
|
51400
51400
|
tickUpper: number;
|
|
51401
51401
|
prevTickLower: number;
|
|
@@ -51408,8 +51408,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51408
51408
|
totalAmount1: bigint;
|
|
51409
51409
|
borrowedAmount0: bigint;
|
|
51410
51410
|
borrowedAmount1: bigint;
|
|
51411
|
-
}[],
|
|
51412
|
-
fetchStatus:
|
|
51411
|
+
}[], viem0.ReadContractErrorType>>;
|
|
51412
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51413
51413
|
promise: Promise<readonly {
|
|
51414
51414
|
tickLower: number;
|
|
51415
51415
|
tickUpper: number;
|
|
@@ -51424,7 +51424,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51424
51424
|
borrowedAmount0: bigint;
|
|
51425
51425
|
borrowedAmount1: bigint;
|
|
51426
51426
|
}[]>;
|
|
51427
|
-
queryKey:
|
|
51427
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51428
51428
|
data: readonly {
|
|
51429
51429
|
tickLower: number;
|
|
51430
51430
|
tickUpper: number;
|
|
@@ -51451,7 +51451,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51451
51451
|
dataUpdatedAt: number;
|
|
51452
51452
|
errorUpdatedAt: number;
|
|
51453
51453
|
failureCount: number;
|
|
51454
|
-
failureReason:
|
|
51454
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51455
51455
|
errorUpdateCount: number;
|
|
51456
51456
|
isFetched: boolean;
|
|
51457
51457
|
isFetchedAfterMount: boolean;
|
|
@@ -51462,7 +51462,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51462
51462
|
isRefetching: boolean;
|
|
51463
51463
|
isStale: boolean;
|
|
51464
51464
|
isEnabled: boolean;
|
|
51465
|
-
refetch: (options?:
|
|
51465
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly {
|
|
51466
51466
|
tickLower: number;
|
|
51467
51467
|
tickUpper: number;
|
|
51468
51468
|
prevTickLower: number;
|
|
@@ -51475,8 +51475,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51475
51475
|
totalAmount1: bigint;
|
|
51476
51476
|
borrowedAmount0: bigint;
|
|
51477
51477
|
borrowedAmount1: bigint;
|
|
51478
|
-
}[],
|
|
51479
|
-
fetchStatus:
|
|
51478
|
+
}[], viem0.ReadContractErrorType>>;
|
|
51479
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51480
51480
|
promise: Promise<readonly {
|
|
51481
51481
|
tickLower: number;
|
|
51482
51482
|
tickUpper: number;
|
|
@@ -51491,7 +51491,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51491
51491
|
borrowedAmount0: bigint;
|
|
51492
51492
|
borrowedAmount1: bigint;
|
|
51493
51493
|
}[]>;
|
|
51494
|
-
queryKey:
|
|
51494
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51495
51495
|
data: readonly {
|
|
51496
51496
|
tickLower: number;
|
|
51497
51497
|
tickUpper: number;
|
|
@@ -51519,7 +51519,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51519
51519
|
dataUpdatedAt: number;
|
|
51520
51520
|
errorUpdatedAt: number;
|
|
51521
51521
|
failureCount: number;
|
|
51522
|
-
failureReason:
|
|
51522
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51523
51523
|
errorUpdateCount: number;
|
|
51524
51524
|
isFetched: boolean;
|
|
51525
51525
|
isFetchedAfterMount: boolean;
|
|
@@ -51529,7 +51529,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51529
51529
|
isRefetching: boolean;
|
|
51530
51530
|
isStale: boolean;
|
|
51531
51531
|
isEnabled: boolean;
|
|
51532
|
-
refetch: (options?:
|
|
51532
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly {
|
|
51533
51533
|
tickLower: number;
|
|
51534
51534
|
tickUpper: number;
|
|
51535
51535
|
prevTickLower: number;
|
|
@@ -51542,8 +51542,8 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51542
51542
|
totalAmount1: bigint;
|
|
51543
51543
|
borrowedAmount0: bigint;
|
|
51544
51544
|
borrowedAmount1: bigint;
|
|
51545
|
-
}[],
|
|
51546
|
-
fetchStatus:
|
|
51545
|
+
}[], viem0.ReadContractErrorType>>;
|
|
51546
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51547
51547
|
promise: Promise<readonly {
|
|
51548
51548
|
tickLower: number;
|
|
51549
51549
|
tickUpper: number;
|
|
@@ -51558,7 +51558,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51558
51558
|
borrowedAmount0: bigint;
|
|
51559
51559
|
borrowedAmount1: bigint;
|
|
51560
51560
|
}[]>;
|
|
51561
|
-
queryKey:
|
|
51561
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51562
51562
|
data: readonly {
|
|
51563
51563
|
tickLower: number;
|
|
51564
51564
|
tickUpper: number;
|
|
@@ -51587,7 +51587,7 @@ interface MintPositionParams {
|
|
|
51587
51587
|
tickUpper: number;
|
|
51588
51588
|
liquidity: bigint;
|
|
51589
51589
|
}
|
|
51590
|
-
declare const useMintLiquidity: (vaultAddr: Address | undefined) =>
|
|
51590
|
+
declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query10.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
51591
51591
|
//#endregion
|
|
51592
51592
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
51593
51593
|
declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
@@ -51622,7 +51622,7 @@ declare const useVaultTVL: (vaultAddr: Address | undefined) => {
|
|
|
51622
51622
|
borrowed0: Amount;
|
|
51623
51623
|
borrowed1: Amount;
|
|
51624
51624
|
blocksCount: bigint;
|
|
51625
|
-
refetch: (options?:
|
|
51625
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
51626
51626
|
};
|
|
51627
51627
|
//#endregion
|
|
51628
51628
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
@@ -51635,7 +51635,7 @@ declare const useTokenData: (tokenAddr: Address | undefined) => Partial<NonUndef
|
|
|
51635
51635
|
//#endregion
|
|
51636
51636
|
//#region src/hooks/tokens/useTokenBalance.d.ts
|
|
51637
51637
|
declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
51638
|
-
error:
|
|
51638
|
+
error: viem0.ReadContractErrorType;
|
|
51639
51639
|
isError: true;
|
|
51640
51640
|
isPending: false;
|
|
51641
51641
|
isLoading: false;
|
|
@@ -51647,7 +51647,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51647
51647
|
dataUpdatedAt: number;
|
|
51648
51648
|
errorUpdatedAt: number;
|
|
51649
51649
|
failureCount: number;
|
|
51650
|
-
failureReason:
|
|
51650
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51651
51651
|
errorUpdateCount: number;
|
|
51652
51652
|
isFetched: boolean;
|
|
51653
51653
|
isFetchedAfterMount: boolean;
|
|
@@ -51657,10 +51657,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51657
51657
|
isRefetching: boolean;
|
|
51658
51658
|
isStale: boolean;
|
|
51659
51659
|
isEnabled: boolean;
|
|
51660
|
-
refetch: (options?:
|
|
51661
|
-
fetchStatus:
|
|
51660
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
51661
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51662
51662
|
promise: Promise<bigint>;
|
|
51663
|
-
queryKey:
|
|
51663
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51664
51664
|
data: Amount | undefined;
|
|
51665
51665
|
} | {
|
|
51666
51666
|
error: null;
|
|
@@ -51675,7 +51675,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51675
51675
|
dataUpdatedAt: number;
|
|
51676
51676
|
errorUpdatedAt: number;
|
|
51677
51677
|
failureCount: number;
|
|
51678
|
-
failureReason:
|
|
51678
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51679
51679
|
errorUpdateCount: number;
|
|
51680
51680
|
isFetched: boolean;
|
|
51681
51681
|
isFetchedAfterMount: boolean;
|
|
@@ -51685,13 +51685,13 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51685
51685
|
isRefetching: boolean;
|
|
51686
51686
|
isStale: boolean;
|
|
51687
51687
|
isEnabled: boolean;
|
|
51688
|
-
refetch: (options?:
|
|
51689
|
-
fetchStatus:
|
|
51688
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
51689
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51690
51690
|
promise: Promise<bigint>;
|
|
51691
|
-
queryKey:
|
|
51691
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51692
51692
|
data: Amount | undefined;
|
|
51693
51693
|
} | {
|
|
51694
|
-
error:
|
|
51694
|
+
error: viem0.ReadContractErrorType;
|
|
51695
51695
|
isError: true;
|
|
51696
51696
|
isPending: false;
|
|
51697
51697
|
isLoading: false;
|
|
@@ -51703,7 +51703,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51703
51703
|
dataUpdatedAt: number;
|
|
51704
51704
|
errorUpdatedAt: number;
|
|
51705
51705
|
failureCount: number;
|
|
51706
|
-
failureReason:
|
|
51706
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51707
51707
|
errorUpdateCount: number;
|
|
51708
51708
|
isFetched: boolean;
|
|
51709
51709
|
isFetchedAfterMount: boolean;
|
|
@@ -51713,10 +51713,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51713
51713
|
isRefetching: boolean;
|
|
51714
51714
|
isStale: boolean;
|
|
51715
51715
|
isEnabled: boolean;
|
|
51716
|
-
refetch: (options?:
|
|
51717
|
-
fetchStatus:
|
|
51716
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
51717
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51718
51718
|
promise: Promise<bigint>;
|
|
51719
|
-
queryKey:
|
|
51719
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51720
51720
|
data: Amount | undefined;
|
|
51721
51721
|
} | {
|
|
51722
51722
|
error: null;
|
|
@@ -51731,7 +51731,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51731
51731
|
dataUpdatedAt: number;
|
|
51732
51732
|
errorUpdatedAt: number;
|
|
51733
51733
|
failureCount: number;
|
|
51734
|
-
failureReason:
|
|
51734
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51735
51735
|
errorUpdateCount: number;
|
|
51736
51736
|
isFetched: boolean;
|
|
51737
51737
|
isFetchedAfterMount: boolean;
|
|
@@ -51741,10 +51741,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51741
51741
|
isRefetching: boolean;
|
|
51742
51742
|
isStale: boolean;
|
|
51743
51743
|
isEnabled: boolean;
|
|
51744
|
-
refetch: (options?:
|
|
51745
|
-
fetchStatus:
|
|
51744
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
51745
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51746
51746
|
promise: Promise<bigint>;
|
|
51747
|
-
queryKey:
|
|
51747
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51748
51748
|
data: Amount | undefined;
|
|
51749
51749
|
} | {
|
|
51750
51750
|
error: null;
|
|
@@ -51758,7 +51758,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51758
51758
|
dataUpdatedAt: number;
|
|
51759
51759
|
errorUpdatedAt: number;
|
|
51760
51760
|
failureCount: number;
|
|
51761
|
-
failureReason:
|
|
51761
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51762
51762
|
errorUpdateCount: number;
|
|
51763
51763
|
isFetched: boolean;
|
|
51764
51764
|
isFetchedAfterMount: boolean;
|
|
@@ -51769,10 +51769,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51769
51769
|
isRefetching: boolean;
|
|
51770
51770
|
isStale: boolean;
|
|
51771
51771
|
isEnabled: boolean;
|
|
51772
|
-
refetch: (options?:
|
|
51773
|
-
fetchStatus:
|
|
51772
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
51773
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51774
51774
|
promise: Promise<bigint>;
|
|
51775
|
-
queryKey:
|
|
51775
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51776
51776
|
data: Amount | undefined;
|
|
51777
51777
|
} | {
|
|
51778
51778
|
isError: false;
|
|
@@ -51787,7 +51787,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51787
51787
|
dataUpdatedAt: number;
|
|
51788
51788
|
errorUpdatedAt: number;
|
|
51789
51789
|
failureCount: number;
|
|
51790
|
-
failureReason:
|
|
51790
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
51791
51791
|
errorUpdateCount: number;
|
|
51792
51792
|
isFetched: boolean;
|
|
51793
51793
|
isFetchedAfterMount: boolean;
|
|
@@ -51797,10 +51797,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51797
51797
|
isRefetching: boolean;
|
|
51798
51798
|
isStale: boolean;
|
|
51799
51799
|
isEnabled: boolean;
|
|
51800
|
-
refetch: (options?:
|
|
51801
|
-
fetchStatus:
|
|
51800
|
+
refetch: (options?: _tanstack_query_core47.RefetchOptions) => Promise<_tanstack_query_core47.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
51801
|
+
fetchStatus: _tanstack_query_core47.FetchStatus;
|
|
51802
51802
|
promise: Promise<bigint>;
|
|
51803
|
-
queryKey:
|
|
51803
|
+
queryKey: _tanstack_query_core47.QueryKey;
|
|
51804
51804
|
data: Amount | undefined;
|
|
51805
51805
|
};
|
|
51806
51806
|
//#endregion
|
|
@@ -52788,41 +52788,35 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
52788
52788
|
//#endregion
|
|
52789
52789
|
//#region src/hooks/guardian/usePauseGlobalTrading.d.ts
|
|
52790
52790
|
declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
52791
|
-
error: null;
|
|
52792
52791
|
data: undefined;
|
|
52792
|
+
error: null;
|
|
52793
52793
|
status: "idle";
|
|
52794
|
+
variables: undefined;
|
|
52794
52795
|
isError: false;
|
|
52796
|
+
isIdle: true;
|
|
52795
52797
|
isPending: false;
|
|
52796
52798
|
isSuccess: false;
|
|
52799
|
+
reset: () => void;
|
|
52800
|
+
context: unknown;
|
|
52797
52801
|
failureCount: number;
|
|
52798
52802
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52799
52803
|
isPaused: boolean;
|
|
52800
|
-
variables: undefined;
|
|
52801
|
-
isIdle: true;
|
|
52802
|
-
reset: () => void;
|
|
52803
|
-
context: unknown;
|
|
52804
52804
|
submittedAt: number;
|
|
52805
|
-
mutate:
|
|
52806
|
-
mutateAsync:
|
|
52807
|
-
writeContract:
|
|
52805
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52806
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52807
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52808
52808
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52809
52809
|
} | {
|
|
52810
|
-
error: null;
|
|
52811
52810
|
data: undefined;
|
|
52811
|
+
error: null;
|
|
52812
52812
|
status: "pending";
|
|
52813
|
-
isError: false;
|
|
52814
|
-
isPending: true;
|
|
52815
|
-
isSuccess: false;
|
|
52816
|
-
failureCount: number;
|
|
52817
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52818
|
-
isPaused: boolean;
|
|
52819
52813
|
variables: {
|
|
52820
|
-
abi:
|
|
52814
|
+
abi: abitype17.Abi;
|
|
52821
52815
|
functionName: string;
|
|
52822
52816
|
args?: readonly unknown[] | undefined;
|
|
52823
52817
|
address: Address;
|
|
52824
|
-
chain?:
|
|
52825
|
-
account?: `0x${string}` |
|
|
52818
|
+
chain?: viem0.Chain | null | undefined;
|
|
52819
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52826
52820
|
value?: bigint | undefined;
|
|
52827
52821
|
dataSuffix?: `0x${string}` | undefined;
|
|
52828
52822
|
type?: "legacy" | undefined;
|
|
@@ -52841,12 +52835,12 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52841
52835
|
chainId?: number | undefined;
|
|
52842
52836
|
connector?: wagmi0.Connector | undefined;
|
|
52843
52837
|
} | {
|
|
52844
|
-
abi:
|
|
52838
|
+
abi: abitype17.Abi;
|
|
52845
52839
|
functionName: string;
|
|
52846
52840
|
args?: readonly unknown[] | undefined;
|
|
52847
52841
|
address: Address;
|
|
52848
|
-
chain?:
|
|
52849
|
-
account?: `0x${string}` |
|
|
52842
|
+
chain?: viem0.Chain | null | undefined;
|
|
52843
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52850
52844
|
value?: bigint | undefined;
|
|
52851
52845
|
dataSuffix?: `0x${string}` | undefined;
|
|
52852
52846
|
type?: "eip2930" | undefined;
|
|
@@ -52859,18 +52853,18 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52859
52853
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52860
52854
|
maxFeePerGas?: undefined | undefined;
|
|
52861
52855
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
52862
|
-
accessList?:
|
|
52856
|
+
accessList?: viem0.AccessList | undefined;
|
|
52863
52857
|
sidecars?: undefined;
|
|
52864
52858
|
authorizationList?: undefined;
|
|
52865
52859
|
chainId?: number | undefined;
|
|
52866
52860
|
connector?: wagmi0.Connector | undefined;
|
|
52867
52861
|
} | {
|
|
52868
|
-
abi:
|
|
52862
|
+
abi: abitype17.Abi;
|
|
52869
52863
|
functionName: string;
|
|
52870
52864
|
args?: readonly unknown[] | undefined;
|
|
52871
52865
|
address: Address;
|
|
52872
|
-
chain?:
|
|
52873
|
-
account?: `0x${string}` |
|
|
52866
|
+
chain?: viem0.Chain | null | undefined;
|
|
52867
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52874
52868
|
value?: bigint | undefined;
|
|
52875
52869
|
dataSuffix?: `0x${string}` | undefined;
|
|
52876
52870
|
type?: "eip1559" | undefined;
|
|
@@ -52883,66 +52877,66 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52883
52877
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52884
52878
|
maxFeePerGas?: bigint | undefined;
|
|
52885
52879
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52886
|
-
accessList?:
|
|
52880
|
+
accessList?: viem0.AccessList | undefined;
|
|
52887
52881
|
sidecars?: undefined;
|
|
52888
52882
|
authorizationList?: undefined;
|
|
52889
52883
|
chainId?: number | undefined;
|
|
52890
52884
|
connector?: wagmi0.Connector | undefined;
|
|
52891
52885
|
} | {
|
|
52892
|
-
abi:
|
|
52886
|
+
abi: abitype17.Abi;
|
|
52893
52887
|
functionName: string;
|
|
52894
52888
|
args?: readonly unknown[] | undefined;
|
|
52895
52889
|
address: Address;
|
|
52896
|
-
chain?:
|
|
52897
|
-
account?: `0x${string}` |
|
|
52890
|
+
chain?: viem0.Chain | null | undefined;
|
|
52891
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52898
52892
|
value?: bigint | undefined;
|
|
52899
52893
|
dataSuffix?: `0x${string}` | undefined;
|
|
52900
52894
|
type?: "eip4844" | undefined;
|
|
52901
52895
|
gas?: bigint | undefined;
|
|
52902
52896
|
nonce?: number | undefined;
|
|
52903
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
52904
|
-
blobVersionedHashes: readonly
|
|
52897
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
52898
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
52905
52899
|
kzg?: undefined;
|
|
52906
52900
|
gasPrice?: undefined | undefined;
|
|
52907
52901
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52908
52902
|
maxFeePerGas?: bigint | undefined;
|
|
52909
52903
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52910
|
-
accessList?:
|
|
52911
|
-
sidecars?: readonly
|
|
52904
|
+
accessList?: viem0.AccessList | undefined;
|
|
52905
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52912
52906
|
authorizationList?: undefined;
|
|
52913
52907
|
chainId?: number | undefined;
|
|
52914
52908
|
connector?: wagmi0.Connector | undefined;
|
|
52915
52909
|
} | {
|
|
52916
|
-
abi:
|
|
52910
|
+
abi: abitype17.Abi;
|
|
52917
52911
|
functionName: string;
|
|
52918
52912
|
args?: readonly unknown[] | undefined;
|
|
52919
52913
|
address: Address;
|
|
52920
|
-
chain?:
|
|
52921
|
-
account?: `0x${string}` |
|
|
52914
|
+
chain?: viem0.Chain | null | undefined;
|
|
52915
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52922
52916
|
value?: bigint | undefined;
|
|
52923
52917
|
dataSuffix?: `0x${string}` | undefined;
|
|
52924
52918
|
type?: "eip4844" | undefined;
|
|
52925
52919
|
gas?: bigint | undefined;
|
|
52926
52920
|
nonce?: number | undefined;
|
|
52927
|
-
blobs: readonly
|
|
52921
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
52928
52922
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52929
|
-
kzg?:
|
|
52923
|
+
kzg?: viem0.Kzg | undefined;
|
|
52930
52924
|
gasPrice?: undefined | undefined;
|
|
52931
52925
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52932
52926
|
maxFeePerGas?: bigint | undefined;
|
|
52933
52927
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52934
|
-
accessList?:
|
|
52935
|
-
sidecars?: readonly
|
|
52928
|
+
accessList?: viem0.AccessList | undefined;
|
|
52929
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52936
52930
|
authorizationList?: undefined;
|
|
52937
52931
|
chainId?: number | undefined;
|
|
52938
52932
|
connector?: wagmi0.Connector | undefined;
|
|
52939
52933
|
} | {
|
|
52940
|
-
abi:
|
|
52934
|
+
abi: abitype17.Abi;
|
|
52941
52935
|
functionName: string;
|
|
52942
52936
|
args?: readonly unknown[] | undefined;
|
|
52943
52937
|
address: Address;
|
|
52944
|
-
chain?:
|
|
52945
|
-
account?: `0x${string}` |
|
|
52938
|
+
chain?: viem0.Chain | null | undefined;
|
|
52939
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52946
52940
|
value?: bigint | undefined;
|
|
52947
52941
|
dataSuffix?: `0x${string}` | undefined;
|
|
52948
52942
|
type?: "eip7702" | undefined;
|
|
@@ -52955,37 +52949,37 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52955
52949
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52956
52950
|
maxFeePerGas?: bigint | undefined;
|
|
52957
52951
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52958
|
-
accessList?:
|
|
52952
|
+
accessList?: viem0.AccessList | undefined;
|
|
52959
52953
|
sidecars?: undefined;
|
|
52960
|
-
authorizationList?:
|
|
52954
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
52961
52955
|
chainId?: number | undefined;
|
|
52962
52956
|
connector?: wagmi0.Connector | undefined;
|
|
52963
52957
|
};
|
|
52958
|
+
isError: false;
|
|
52964
52959
|
isIdle: false;
|
|
52960
|
+
isPending: true;
|
|
52961
|
+
isSuccess: false;
|
|
52965
52962
|
reset: () => void;
|
|
52966
52963
|
context: unknown;
|
|
52964
|
+
failureCount: number;
|
|
52965
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52966
|
+
isPaused: boolean;
|
|
52967
52967
|
submittedAt: number;
|
|
52968
|
-
mutate:
|
|
52969
|
-
mutateAsync:
|
|
52970
|
-
writeContract:
|
|
52968
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52969
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52970
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52971
52971
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52972
52972
|
} | {
|
|
52973
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
52974
52973
|
data: undefined;
|
|
52974
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
52975
52975
|
status: "error";
|
|
52976
|
-
isError: true;
|
|
52977
|
-
isPending: false;
|
|
52978
|
-
isSuccess: false;
|
|
52979
|
-
failureCount: number;
|
|
52980
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52981
|
-
isPaused: boolean;
|
|
52982
52976
|
variables: {
|
|
52983
|
-
abi:
|
|
52977
|
+
abi: abitype17.Abi;
|
|
52984
52978
|
functionName: string;
|
|
52985
52979
|
args?: readonly unknown[] | undefined;
|
|
52986
52980
|
address: Address;
|
|
52987
|
-
chain?:
|
|
52988
|
-
account?: `0x${string}` |
|
|
52981
|
+
chain?: viem0.Chain | null | undefined;
|
|
52982
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52989
52983
|
value?: bigint | undefined;
|
|
52990
52984
|
dataSuffix?: `0x${string}` | undefined;
|
|
52991
52985
|
type?: "legacy" | undefined;
|
|
@@ -53004,12 +52998,12 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
53004
52998
|
chainId?: number | undefined;
|
|
53005
52999
|
connector?: wagmi0.Connector | undefined;
|
|
53006
53000
|
} | {
|
|
53007
|
-
abi:
|
|
53001
|
+
abi: abitype17.Abi;
|
|
53008
53002
|
functionName: string;
|
|
53009
53003
|
args?: readonly unknown[] | undefined;
|
|
53010
53004
|
address: Address;
|
|
53011
|
-
chain?:
|
|
53012
|
-
account?: `0x${string}` |
|
|
53005
|
+
chain?: viem0.Chain | null | undefined;
|
|
53006
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53013
53007
|
value?: bigint | undefined;
|
|
53014
53008
|
dataSuffix?: `0x${string}` | undefined;
|
|
53015
53009
|
type?: "eip2930" | undefined;
|
|
@@ -53022,18 +53016,18 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
53022
53016
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53023
53017
|
maxFeePerGas?: undefined | undefined;
|
|
53024
53018
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53025
|
-
accessList?:
|
|
53019
|
+
accessList?: viem0.AccessList | undefined;
|
|
53026
53020
|
sidecars?: undefined;
|
|
53027
53021
|
authorizationList?: undefined;
|
|
53028
53022
|
chainId?: number | undefined;
|
|
53029
53023
|
connector?: wagmi0.Connector | undefined;
|
|
53030
53024
|
} | {
|
|
53031
|
-
abi:
|
|
53025
|
+
abi: abitype17.Abi;
|
|
53032
53026
|
functionName: string;
|
|
53033
53027
|
args?: readonly unknown[] | undefined;
|
|
53034
53028
|
address: Address;
|
|
53035
|
-
chain?:
|
|
53036
|
-
account?: `0x${string}` |
|
|
53029
|
+
chain?: viem0.Chain | null | undefined;
|
|
53030
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53037
53031
|
value?: bigint | undefined;
|
|
53038
53032
|
dataSuffix?: `0x${string}` | undefined;
|
|
53039
53033
|
type?: "eip1559" | undefined;
|
|
@@ -53046,66 +53040,66 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
53046
53040
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53047
53041
|
maxFeePerGas?: bigint | undefined;
|
|
53048
53042
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53049
|
-
accessList?:
|
|
53043
|
+
accessList?: viem0.AccessList | undefined;
|
|
53050
53044
|
sidecars?: undefined;
|
|
53051
53045
|
authorizationList?: undefined;
|
|
53052
53046
|
chainId?: number | undefined;
|
|
53053
53047
|
connector?: wagmi0.Connector | undefined;
|
|
53054
53048
|
} | {
|
|
53055
|
-
abi:
|
|
53049
|
+
abi: abitype17.Abi;
|
|
53056
53050
|
functionName: string;
|
|
53057
53051
|
args?: readonly unknown[] | undefined;
|
|
53058
53052
|
address: Address;
|
|
53059
|
-
chain?:
|
|
53060
|
-
account?: `0x${string}` |
|
|
53053
|
+
chain?: viem0.Chain | null | undefined;
|
|
53054
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53061
53055
|
value?: bigint | undefined;
|
|
53062
53056
|
dataSuffix?: `0x${string}` | undefined;
|
|
53063
53057
|
type?: "eip4844" | undefined;
|
|
53064
53058
|
gas?: bigint | undefined;
|
|
53065
53059
|
nonce?: number | undefined;
|
|
53066
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53067
|
-
blobVersionedHashes: readonly
|
|
53060
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53061
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
53068
53062
|
kzg?: undefined;
|
|
53069
53063
|
gasPrice?: undefined | undefined;
|
|
53070
53064
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53071
53065
|
maxFeePerGas?: bigint | undefined;
|
|
53072
53066
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53073
|
-
accessList?:
|
|
53074
|
-
sidecars?: readonly
|
|
53067
|
+
accessList?: viem0.AccessList | undefined;
|
|
53068
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53075
53069
|
authorizationList?: undefined;
|
|
53076
53070
|
chainId?: number | undefined;
|
|
53077
53071
|
connector?: wagmi0.Connector | undefined;
|
|
53078
53072
|
} | {
|
|
53079
|
-
abi:
|
|
53073
|
+
abi: abitype17.Abi;
|
|
53080
53074
|
functionName: string;
|
|
53081
53075
|
args?: readonly unknown[] | undefined;
|
|
53082
53076
|
address: Address;
|
|
53083
|
-
chain?:
|
|
53084
|
-
account?: `0x${string}` |
|
|
53077
|
+
chain?: viem0.Chain | null | undefined;
|
|
53078
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53085
53079
|
value?: bigint | undefined;
|
|
53086
53080
|
dataSuffix?: `0x${string}` | undefined;
|
|
53087
53081
|
type?: "eip4844" | undefined;
|
|
53088
53082
|
gas?: bigint | undefined;
|
|
53089
53083
|
nonce?: number | undefined;
|
|
53090
|
-
blobs: readonly
|
|
53084
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53091
53085
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53092
|
-
kzg?:
|
|
53086
|
+
kzg?: viem0.Kzg | undefined;
|
|
53093
53087
|
gasPrice?: undefined | undefined;
|
|
53094
53088
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53095
53089
|
maxFeePerGas?: bigint | undefined;
|
|
53096
53090
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53097
|
-
accessList?:
|
|
53098
|
-
sidecars?: readonly
|
|
53091
|
+
accessList?: viem0.AccessList | undefined;
|
|
53092
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53099
53093
|
authorizationList?: undefined;
|
|
53100
53094
|
chainId?: number | undefined;
|
|
53101
53095
|
connector?: wagmi0.Connector | undefined;
|
|
53102
53096
|
} | {
|
|
53103
|
-
abi:
|
|
53097
|
+
abi: abitype17.Abi;
|
|
53104
53098
|
functionName: string;
|
|
53105
53099
|
args?: readonly unknown[] | undefined;
|
|
53106
53100
|
address: Address;
|
|
53107
|
-
chain?:
|
|
53108
|
-
account?: `0x${string}` |
|
|
53101
|
+
chain?: viem0.Chain | null | undefined;
|
|
53102
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53109
53103
|
value?: bigint | undefined;
|
|
53110
53104
|
dataSuffix?: `0x${string}` | undefined;
|
|
53111
53105
|
type?: "eip7702" | undefined;
|
|
@@ -53118,37 +53112,37 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
53118
53112
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53119
53113
|
maxFeePerGas?: bigint | undefined;
|
|
53120
53114
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53121
|
-
accessList?:
|
|
53115
|
+
accessList?: viem0.AccessList | undefined;
|
|
53122
53116
|
sidecars?: undefined;
|
|
53123
|
-
authorizationList?:
|
|
53117
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
53124
53118
|
chainId?: number | undefined;
|
|
53125
53119
|
connector?: wagmi0.Connector | undefined;
|
|
53126
53120
|
};
|
|
53121
|
+
isError: true;
|
|
53127
53122
|
isIdle: false;
|
|
53123
|
+
isPending: false;
|
|
53124
|
+
isSuccess: false;
|
|
53128
53125
|
reset: () => void;
|
|
53129
53126
|
context: unknown;
|
|
53127
|
+
failureCount: number;
|
|
53128
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53129
|
+
isPaused: boolean;
|
|
53130
53130
|
submittedAt: number;
|
|
53131
|
-
mutate:
|
|
53132
|
-
mutateAsync:
|
|
53133
|
-
writeContract:
|
|
53131
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53132
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53133
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53134
53134
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53135
53135
|
} | {
|
|
53136
|
-
error: null;
|
|
53137
53136
|
data: `0x${string}`;
|
|
53137
|
+
error: null;
|
|
53138
53138
|
status: "success";
|
|
53139
|
-
isError: false;
|
|
53140
|
-
isPending: false;
|
|
53141
|
-
isSuccess: true;
|
|
53142
|
-
failureCount: number;
|
|
53143
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53144
|
-
isPaused: boolean;
|
|
53145
53139
|
variables: {
|
|
53146
|
-
abi:
|
|
53140
|
+
abi: abitype17.Abi;
|
|
53147
53141
|
functionName: string;
|
|
53148
53142
|
args?: readonly unknown[] | undefined;
|
|
53149
53143
|
address: Address;
|
|
53150
|
-
chain?:
|
|
53151
|
-
account?: `0x${string}` |
|
|
53144
|
+
chain?: viem0.Chain | null | undefined;
|
|
53145
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53152
53146
|
value?: bigint | undefined;
|
|
53153
53147
|
dataSuffix?: `0x${string}` | undefined;
|
|
53154
53148
|
type?: "legacy" | undefined;
|
|
@@ -53167,12 +53161,12 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
53167
53161
|
chainId?: number | undefined;
|
|
53168
53162
|
connector?: wagmi0.Connector | undefined;
|
|
53169
53163
|
} | {
|
|
53170
|
-
abi:
|
|
53164
|
+
abi: abitype17.Abi;
|
|
53171
53165
|
functionName: string;
|
|
53172
53166
|
args?: readonly unknown[] | undefined;
|
|
53173
53167
|
address: Address;
|
|
53174
|
-
chain?:
|
|
53175
|
-
account?: `0x${string}` |
|
|
53168
|
+
chain?: viem0.Chain | null | undefined;
|
|
53169
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53176
53170
|
value?: bigint | undefined;
|
|
53177
53171
|
dataSuffix?: `0x${string}` | undefined;
|
|
53178
53172
|
type?: "eip2930" | undefined;
|
|
@@ -53185,18 +53179,18 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
53185
53179
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53186
53180
|
maxFeePerGas?: undefined | undefined;
|
|
53187
53181
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53188
|
-
accessList?:
|
|
53182
|
+
accessList?: viem0.AccessList | undefined;
|
|
53189
53183
|
sidecars?: undefined;
|
|
53190
53184
|
authorizationList?: undefined;
|
|
53191
53185
|
chainId?: number | undefined;
|
|
53192
53186
|
connector?: wagmi0.Connector | undefined;
|
|
53193
53187
|
} | {
|
|
53194
|
-
abi:
|
|
53188
|
+
abi: abitype17.Abi;
|
|
53195
53189
|
functionName: string;
|
|
53196
53190
|
args?: readonly unknown[] | undefined;
|
|
53197
53191
|
address: Address;
|
|
53198
|
-
chain?:
|
|
53199
|
-
account?: `0x${string}` |
|
|
53192
|
+
chain?: viem0.Chain | null | undefined;
|
|
53193
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53200
53194
|
value?: bigint | undefined;
|
|
53201
53195
|
dataSuffix?: `0x${string}` | undefined;
|
|
53202
53196
|
type?: "eip1559" | undefined;
|
|
@@ -53209,66 +53203,66 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
53209
53203
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53210
53204
|
maxFeePerGas?: bigint | undefined;
|
|
53211
53205
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53212
|
-
accessList?:
|
|
53206
|
+
accessList?: viem0.AccessList | undefined;
|
|
53213
53207
|
sidecars?: undefined;
|
|
53214
53208
|
authorizationList?: undefined;
|
|
53215
53209
|
chainId?: number | undefined;
|
|
53216
53210
|
connector?: wagmi0.Connector | undefined;
|
|
53217
53211
|
} | {
|
|
53218
|
-
abi:
|
|
53212
|
+
abi: abitype17.Abi;
|
|
53219
53213
|
functionName: string;
|
|
53220
53214
|
args?: readonly unknown[] | undefined;
|
|
53221
53215
|
address: Address;
|
|
53222
|
-
chain?:
|
|
53223
|
-
account?: `0x${string}` |
|
|
53216
|
+
chain?: viem0.Chain | null | undefined;
|
|
53217
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53224
53218
|
value?: bigint | undefined;
|
|
53225
53219
|
dataSuffix?: `0x${string}` | undefined;
|
|
53226
53220
|
type?: "eip4844" | undefined;
|
|
53227
53221
|
gas?: bigint | undefined;
|
|
53228
53222
|
nonce?: number | undefined;
|
|
53229
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53230
|
-
blobVersionedHashes: readonly
|
|
53223
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53224
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
53231
53225
|
kzg?: undefined;
|
|
53232
53226
|
gasPrice?: undefined | undefined;
|
|
53233
53227
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53234
53228
|
maxFeePerGas?: bigint | undefined;
|
|
53235
53229
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53236
|
-
accessList?:
|
|
53237
|
-
sidecars?: readonly
|
|
53230
|
+
accessList?: viem0.AccessList | undefined;
|
|
53231
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53238
53232
|
authorizationList?: undefined;
|
|
53239
53233
|
chainId?: number | undefined;
|
|
53240
53234
|
connector?: wagmi0.Connector | undefined;
|
|
53241
53235
|
} | {
|
|
53242
|
-
abi:
|
|
53236
|
+
abi: abitype17.Abi;
|
|
53243
53237
|
functionName: string;
|
|
53244
53238
|
args?: readonly unknown[] | undefined;
|
|
53245
53239
|
address: Address;
|
|
53246
|
-
chain?:
|
|
53247
|
-
account?: `0x${string}` |
|
|
53240
|
+
chain?: viem0.Chain | null | undefined;
|
|
53241
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53248
53242
|
value?: bigint | undefined;
|
|
53249
53243
|
dataSuffix?: `0x${string}` | undefined;
|
|
53250
53244
|
type?: "eip4844" | undefined;
|
|
53251
53245
|
gas?: bigint | undefined;
|
|
53252
53246
|
nonce?: number | undefined;
|
|
53253
|
-
blobs: readonly
|
|
53247
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53254
53248
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53255
|
-
kzg?:
|
|
53249
|
+
kzg?: viem0.Kzg | undefined;
|
|
53256
53250
|
gasPrice?: undefined | undefined;
|
|
53257
53251
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53258
53252
|
maxFeePerGas?: bigint | undefined;
|
|
53259
53253
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53260
|
-
accessList?:
|
|
53261
|
-
sidecars?: readonly
|
|
53254
|
+
accessList?: viem0.AccessList | undefined;
|
|
53255
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53262
53256
|
authorizationList?: undefined;
|
|
53263
53257
|
chainId?: number | undefined;
|
|
53264
53258
|
connector?: wagmi0.Connector | undefined;
|
|
53265
53259
|
} | {
|
|
53266
|
-
abi:
|
|
53260
|
+
abi: abitype17.Abi;
|
|
53267
53261
|
functionName: string;
|
|
53268
53262
|
args?: readonly unknown[] | undefined;
|
|
53269
53263
|
address: Address;
|
|
53270
|
-
chain?:
|
|
53271
|
-
account?: `0x${string}` |
|
|
53264
|
+
chain?: viem0.Chain | null | undefined;
|
|
53265
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53272
53266
|
value?: bigint | undefined;
|
|
53273
53267
|
dataSuffix?: `0x${string}` | undefined;
|
|
53274
53268
|
type?: "eip7702" | undefined;
|
|
@@ -53281,59 +53275,59 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
53281
53275
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53282
53276
|
maxFeePerGas?: bigint | undefined;
|
|
53283
53277
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53284
|
-
accessList?:
|
|
53278
|
+
accessList?: viem0.AccessList | undefined;
|
|
53285
53279
|
sidecars?: undefined;
|
|
53286
|
-
authorizationList?:
|
|
53280
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
53287
53281
|
chainId?: number | undefined;
|
|
53288
53282
|
connector?: wagmi0.Connector | undefined;
|
|
53289
53283
|
};
|
|
53284
|
+
isError: false;
|
|
53290
53285
|
isIdle: false;
|
|
53286
|
+
isPending: false;
|
|
53287
|
+
isSuccess: true;
|
|
53291
53288
|
reset: () => void;
|
|
53292
53289
|
context: unknown;
|
|
53290
|
+
failureCount: number;
|
|
53291
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53292
|
+
isPaused: boolean;
|
|
53293
53293
|
submittedAt: number;
|
|
53294
|
-
mutate:
|
|
53295
|
-
mutateAsync:
|
|
53296
|
-
writeContract:
|
|
53294
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53295
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53296
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53297
53297
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53298
53298
|
};
|
|
53299
53299
|
//#endregion
|
|
53300
53300
|
//#region src/hooks/guardian/usePauseMarketTrading.d.ts
|
|
53301
53301
|
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
53302
|
-
error: null;
|
|
53303
53302
|
data: undefined;
|
|
53303
|
+
error: null;
|
|
53304
53304
|
status: "idle";
|
|
53305
|
+
variables: undefined;
|
|
53305
53306
|
isError: false;
|
|
53307
|
+
isIdle: true;
|
|
53306
53308
|
isPending: false;
|
|
53307
53309
|
isSuccess: false;
|
|
53310
|
+
reset: () => void;
|
|
53311
|
+
context: unknown;
|
|
53308
53312
|
failureCount: number;
|
|
53309
53313
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53310
53314
|
isPaused: boolean;
|
|
53311
|
-
variables: undefined;
|
|
53312
|
-
isIdle: true;
|
|
53313
|
-
reset: () => void;
|
|
53314
|
-
context: unknown;
|
|
53315
53315
|
submittedAt: number;
|
|
53316
|
-
mutate:
|
|
53317
|
-
mutateAsync:
|
|
53318
|
-
writeContract:
|
|
53316
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53317
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53318
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53319
53319
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53320
53320
|
} | {
|
|
53321
|
-
error: null;
|
|
53322
53321
|
data: undefined;
|
|
53322
|
+
error: null;
|
|
53323
53323
|
status: "pending";
|
|
53324
|
-
isError: false;
|
|
53325
|
-
isPending: true;
|
|
53326
|
-
isSuccess: false;
|
|
53327
|
-
failureCount: number;
|
|
53328
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53329
|
-
isPaused: boolean;
|
|
53330
53324
|
variables: {
|
|
53331
|
-
abi:
|
|
53325
|
+
abi: abitype17.Abi;
|
|
53332
53326
|
functionName: string;
|
|
53333
53327
|
args?: readonly unknown[] | undefined;
|
|
53334
53328
|
address: Address;
|
|
53335
|
-
chain?:
|
|
53336
|
-
account?: `0x${string}` |
|
|
53329
|
+
chain?: viem0.Chain | null | undefined;
|
|
53330
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53337
53331
|
value?: bigint | undefined;
|
|
53338
53332
|
dataSuffix?: `0x${string}` | undefined;
|
|
53339
53333
|
type?: "legacy" | undefined;
|
|
@@ -53352,12 +53346,12 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53352
53346
|
chainId?: number | undefined;
|
|
53353
53347
|
connector?: wagmi0.Connector | undefined;
|
|
53354
53348
|
} | {
|
|
53355
|
-
abi:
|
|
53349
|
+
abi: abitype17.Abi;
|
|
53356
53350
|
functionName: string;
|
|
53357
53351
|
args?: readonly unknown[] | undefined;
|
|
53358
53352
|
address: Address;
|
|
53359
|
-
chain?:
|
|
53360
|
-
account?: `0x${string}` |
|
|
53353
|
+
chain?: viem0.Chain | null | undefined;
|
|
53354
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53361
53355
|
value?: bigint | undefined;
|
|
53362
53356
|
dataSuffix?: `0x${string}` | undefined;
|
|
53363
53357
|
type?: "eip2930" | undefined;
|
|
@@ -53370,18 +53364,18 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53370
53364
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53371
53365
|
maxFeePerGas?: undefined | undefined;
|
|
53372
53366
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53373
|
-
accessList?:
|
|
53367
|
+
accessList?: viem0.AccessList | undefined;
|
|
53374
53368
|
sidecars?: undefined;
|
|
53375
53369
|
authorizationList?: undefined;
|
|
53376
53370
|
chainId?: number | undefined;
|
|
53377
53371
|
connector?: wagmi0.Connector | undefined;
|
|
53378
53372
|
} | {
|
|
53379
|
-
abi:
|
|
53373
|
+
abi: abitype17.Abi;
|
|
53380
53374
|
functionName: string;
|
|
53381
53375
|
args?: readonly unknown[] | undefined;
|
|
53382
53376
|
address: Address;
|
|
53383
|
-
chain?:
|
|
53384
|
-
account?: `0x${string}` |
|
|
53377
|
+
chain?: viem0.Chain | null | undefined;
|
|
53378
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53385
53379
|
value?: bigint | undefined;
|
|
53386
53380
|
dataSuffix?: `0x${string}` | undefined;
|
|
53387
53381
|
type?: "eip1559" | undefined;
|
|
@@ -53394,66 +53388,66 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53394
53388
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53395
53389
|
maxFeePerGas?: bigint | undefined;
|
|
53396
53390
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53397
|
-
accessList?:
|
|
53391
|
+
accessList?: viem0.AccessList | undefined;
|
|
53398
53392
|
sidecars?: undefined;
|
|
53399
53393
|
authorizationList?: undefined;
|
|
53400
53394
|
chainId?: number | undefined;
|
|
53401
53395
|
connector?: wagmi0.Connector | undefined;
|
|
53402
53396
|
} | {
|
|
53403
|
-
abi:
|
|
53397
|
+
abi: abitype17.Abi;
|
|
53404
53398
|
functionName: string;
|
|
53405
53399
|
args?: readonly unknown[] | undefined;
|
|
53406
53400
|
address: Address;
|
|
53407
|
-
chain?:
|
|
53408
|
-
account?: `0x${string}` |
|
|
53401
|
+
chain?: viem0.Chain | null | undefined;
|
|
53402
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53409
53403
|
value?: bigint | undefined;
|
|
53410
53404
|
dataSuffix?: `0x${string}` | undefined;
|
|
53411
53405
|
type?: "eip4844" | undefined;
|
|
53412
53406
|
gas?: bigint | undefined;
|
|
53413
53407
|
nonce?: number | undefined;
|
|
53414
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53415
|
-
blobVersionedHashes: readonly
|
|
53408
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53409
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
53416
53410
|
kzg?: undefined;
|
|
53417
53411
|
gasPrice?: undefined | undefined;
|
|
53418
53412
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53419
53413
|
maxFeePerGas?: bigint | undefined;
|
|
53420
53414
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53421
|
-
accessList?:
|
|
53422
|
-
sidecars?: readonly
|
|
53415
|
+
accessList?: viem0.AccessList | undefined;
|
|
53416
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53423
53417
|
authorizationList?: undefined;
|
|
53424
53418
|
chainId?: number | undefined;
|
|
53425
53419
|
connector?: wagmi0.Connector | undefined;
|
|
53426
53420
|
} | {
|
|
53427
|
-
abi:
|
|
53421
|
+
abi: abitype17.Abi;
|
|
53428
53422
|
functionName: string;
|
|
53429
53423
|
args?: readonly unknown[] | undefined;
|
|
53430
53424
|
address: Address;
|
|
53431
|
-
chain?:
|
|
53432
|
-
account?: `0x${string}` |
|
|
53425
|
+
chain?: viem0.Chain | null | undefined;
|
|
53426
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53433
53427
|
value?: bigint | undefined;
|
|
53434
53428
|
dataSuffix?: `0x${string}` | undefined;
|
|
53435
53429
|
type?: "eip4844" | undefined;
|
|
53436
53430
|
gas?: bigint | undefined;
|
|
53437
53431
|
nonce?: number | undefined;
|
|
53438
|
-
blobs: readonly
|
|
53432
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53439
53433
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53440
|
-
kzg?:
|
|
53434
|
+
kzg?: viem0.Kzg | undefined;
|
|
53441
53435
|
gasPrice?: undefined | undefined;
|
|
53442
53436
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53443
53437
|
maxFeePerGas?: bigint | undefined;
|
|
53444
53438
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53445
|
-
accessList?:
|
|
53446
|
-
sidecars?: readonly
|
|
53439
|
+
accessList?: viem0.AccessList | undefined;
|
|
53440
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53447
53441
|
authorizationList?: undefined;
|
|
53448
53442
|
chainId?: number | undefined;
|
|
53449
53443
|
connector?: wagmi0.Connector | undefined;
|
|
53450
53444
|
} | {
|
|
53451
|
-
abi:
|
|
53445
|
+
abi: abitype17.Abi;
|
|
53452
53446
|
functionName: string;
|
|
53453
53447
|
args?: readonly unknown[] | undefined;
|
|
53454
53448
|
address: Address;
|
|
53455
|
-
chain?:
|
|
53456
|
-
account?: `0x${string}` |
|
|
53449
|
+
chain?: viem0.Chain | null | undefined;
|
|
53450
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53457
53451
|
value?: bigint | undefined;
|
|
53458
53452
|
dataSuffix?: `0x${string}` | undefined;
|
|
53459
53453
|
type?: "eip7702" | undefined;
|
|
@@ -53466,37 +53460,37 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53466
53460
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53467
53461
|
maxFeePerGas?: bigint | undefined;
|
|
53468
53462
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53469
|
-
accessList?:
|
|
53463
|
+
accessList?: viem0.AccessList | undefined;
|
|
53470
53464
|
sidecars?: undefined;
|
|
53471
|
-
authorizationList?:
|
|
53465
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
53472
53466
|
chainId?: number | undefined;
|
|
53473
53467
|
connector?: wagmi0.Connector | undefined;
|
|
53474
53468
|
};
|
|
53469
|
+
isError: false;
|
|
53475
53470
|
isIdle: false;
|
|
53471
|
+
isPending: true;
|
|
53472
|
+
isSuccess: false;
|
|
53476
53473
|
reset: () => void;
|
|
53477
53474
|
context: unknown;
|
|
53475
|
+
failureCount: number;
|
|
53476
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53477
|
+
isPaused: boolean;
|
|
53478
53478
|
submittedAt: number;
|
|
53479
|
-
mutate:
|
|
53480
|
-
mutateAsync:
|
|
53481
|
-
writeContract:
|
|
53479
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53480
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53481
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53482
53482
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53483
53483
|
} | {
|
|
53484
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
53485
53484
|
data: undefined;
|
|
53485
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
53486
53486
|
status: "error";
|
|
53487
|
-
isError: true;
|
|
53488
|
-
isPending: false;
|
|
53489
|
-
isSuccess: false;
|
|
53490
|
-
failureCount: number;
|
|
53491
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53492
|
-
isPaused: boolean;
|
|
53493
53487
|
variables: {
|
|
53494
|
-
abi:
|
|
53488
|
+
abi: abitype17.Abi;
|
|
53495
53489
|
functionName: string;
|
|
53496
53490
|
args?: readonly unknown[] | undefined;
|
|
53497
53491
|
address: Address;
|
|
53498
|
-
chain?:
|
|
53499
|
-
account?: `0x${string}` |
|
|
53492
|
+
chain?: viem0.Chain | null | undefined;
|
|
53493
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53500
53494
|
value?: bigint | undefined;
|
|
53501
53495
|
dataSuffix?: `0x${string}` | undefined;
|
|
53502
53496
|
type?: "legacy" | undefined;
|
|
@@ -53515,12 +53509,12 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53515
53509
|
chainId?: number | undefined;
|
|
53516
53510
|
connector?: wagmi0.Connector | undefined;
|
|
53517
53511
|
} | {
|
|
53518
|
-
abi:
|
|
53512
|
+
abi: abitype17.Abi;
|
|
53519
53513
|
functionName: string;
|
|
53520
53514
|
args?: readonly unknown[] | undefined;
|
|
53521
53515
|
address: Address;
|
|
53522
|
-
chain?:
|
|
53523
|
-
account?: `0x${string}` |
|
|
53516
|
+
chain?: viem0.Chain | null | undefined;
|
|
53517
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53524
53518
|
value?: bigint | undefined;
|
|
53525
53519
|
dataSuffix?: `0x${string}` | undefined;
|
|
53526
53520
|
type?: "eip2930" | undefined;
|
|
@@ -53533,18 +53527,18 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53533
53527
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53534
53528
|
maxFeePerGas?: undefined | undefined;
|
|
53535
53529
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53536
|
-
accessList?:
|
|
53530
|
+
accessList?: viem0.AccessList | undefined;
|
|
53537
53531
|
sidecars?: undefined;
|
|
53538
53532
|
authorizationList?: undefined;
|
|
53539
53533
|
chainId?: number | undefined;
|
|
53540
53534
|
connector?: wagmi0.Connector | undefined;
|
|
53541
53535
|
} | {
|
|
53542
|
-
abi:
|
|
53536
|
+
abi: abitype17.Abi;
|
|
53543
53537
|
functionName: string;
|
|
53544
53538
|
args?: readonly unknown[] | undefined;
|
|
53545
53539
|
address: Address;
|
|
53546
|
-
chain?:
|
|
53547
|
-
account?: `0x${string}` |
|
|
53540
|
+
chain?: viem0.Chain | null | undefined;
|
|
53541
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53548
53542
|
value?: bigint | undefined;
|
|
53549
53543
|
dataSuffix?: `0x${string}` | undefined;
|
|
53550
53544
|
type?: "eip1559" | undefined;
|
|
@@ -53557,66 +53551,66 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53557
53551
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53558
53552
|
maxFeePerGas?: bigint | undefined;
|
|
53559
53553
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53560
|
-
accessList?:
|
|
53554
|
+
accessList?: viem0.AccessList | undefined;
|
|
53561
53555
|
sidecars?: undefined;
|
|
53562
53556
|
authorizationList?: undefined;
|
|
53563
53557
|
chainId?: number | undefined;
|
|
53564
53558
|
connector?: wagmi0.Connector | undefined;
|
|
53565
53559
|
} | {
|
|
53566
|
-
abi:
|
|
53560
|
+
abi: abitype17.Abi;
|
|
53567
53561
|
functionName: string;
|
|
53568
53562
|
args?: readonly unknown[] | undefined;
|
|
53569
53563
|
address: Address;
|
|
53570
|
-
chain?:
|
|
53571
|
-
account?: `0x${string}` |
|
|
53564
|
+
chain?: viem0.Chain | null | undefined;
|
|
53565
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53572
53566
|
value?: bigint | undefined;
|
|
53573
53567
|
dataSuffix?: `0x${string}` | undefined;
|
|
53574
53568
|
type?: "eip4844" | undefined;
|
|
53575
53569
|
gas?: bigint | undefined;
|
|
53576
53570
|
nonce?: number | undefined;
|
|
53577
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53578
|
-
blobVersionedHashes: readonly
|
|
53571
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53572
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
53579
53573
|
kzg?: undefined;
|
|
53580
53574
|
gasPrice?: undefined | undefined;
|
|
53581
53575
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53582
53576
|
maxFeePerGas?: bigint | undefined;
|
|
53583
53577
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53584
|
-
accessList?:
|
|
53585
|
-
sidecars?: readonly
|
|
53578
|
+
accessList?: viem0.AccessList | undefined;
|
|
53579
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53586
53580
|
authorizationList?: undefined;
|
|
53587
53581
|
chainId?: number | undefined;
|
|
53588
53582
|
connector?: wagmi0.Connector | undefined;
|
|
53589
53583
|
} | {
|
|
53590
|
-
abi:
|
|
53584
|
+
abi: abitype17.Abi;
|
|
53591
53585
|
functionName: string;
|
|
53592
53586
|
args?: readonly unknown[] | undefined;
|
|
53593
53587
|
address: Address;
|
|
53594
|
-
chain?:
|
|
53595
|
-
account?: `0x${string}` |
|
|
53588
|
+
chain?: viem0.Chain | null | undefined;
|
|
53589
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53596
53590
|
value?: bigint | undefined;
|
|
53597
53591
|
dataSuffix?: `0x${string}` | undefined;
|
|
53598
53592
|
type?: "eip4844" | undefined;
|
|
53599
53593
|
gas?: bigint | undefined;
|
|
53600
53594
|
nonce?: number | undefined;
|
|
53601
|
-
blobs: readonly
|
|
53595
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53602
53596
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53603
|
-
kzg?:
|
|
53597
|
+
kzg?: viem0.Kzg | undefined;
|
|
53604
53598
|
gasPrice?: undefined | undefined;
|
|
53605
53599
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53606
53600
|
maxFeePerGas?: bigint | undefined;
|
|
53607
53601
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53608
|
-
accessList?:
|
|
53609
|
-
sidecars?: readonly
|
|
53602
|
+
accessList?: viem0.AccessList | undefined;
|
|
53603
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53610
53604
|
authorizationList?: undefined;
|
|
53611
53605
|
chainId?: number | undefined;
|
|
53612
53606
|
connector?: wagmi0.Connector | undefined;
|
|
53613
53607
|
} | {
|
|
53614
|
-
abi:
|
|
53608
|
+
abi: abitype17.Abi;
|
|
53615
53609
|
functionName: string;
|
|
53616
53610
|
args?: readonly unknown[] | undefined;
|
|
53617
53611
|
address: Address;
|
|
53618
|
-
chain?:
|
|
53619
|
-
account?: `0x${string}` |
|
|
53612
|
+
chain?: viem0.Chain | null | undefined;
|
|
53613
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53620
53614
|
value?: bigint | undefined;
|
|
53621
53615
|
dataSuffix?: `0x${string}` | undefined;
|
|
53622
53616
|
type?: "eip7702" | undefined;
|
|
@@ -53629,37 +53623,37 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53629
53623
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53630
53624
|
maxFeePerGas?: bigint | undefined;
|
|
53631
53625
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53632
|
-
accessList?:
|
|
53626
|
+
accessList?: viem0.AccessList | undefined;
|
|
53633
53627
|
sidecars?: undefined;
|
|
53634
|
-
authorizationList?:
|
|
53628
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
53635
53629
|
chainId?: number | undefined;
|
|
53636
53630
|
connector?: wagmi0.Connector | undefined;
|
|
53637
53631
|
};
|
|
53632
|
+
isError: true;
|
|
53638
53633
|
isIdle: false;
|
|
53634
|
+
isPending: false;
|
|
53635
|
+
isSuccess: false;
|
|
53639
53636
|
reset: () => void;
|
|
53640
53637
|
context: unknown;
|
|
53638
|
+
failureCount: number;
|
|
53639
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53640
|
+
isPaused: boolean;
|
|
53641
53641
|
submittedAt: number;
|
|
53642
|
-
mutate:
|
|
53643
|
-
mutateAsync:
|
|
53644
|
-
writeContract:
|
|
53642
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53643
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53644
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53645
53645
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53646
53646
|
} | {
|
|
53647
|
-
error: null;
|
|
53648
53647
|
data: `0x${string}`;
|
|
53648
|
+
error: null;
|
|
53649
53649
|
status: "success";
|
|
53650
|
-
isError: false;
|
|
53651
|
-
isPending: false;
|
|
53652
|
-
isSuccess: true;
|
|
53653
|
-
failureCount: number;
|
|
53654
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53655
|
-
isPaused: boolean;
|
|
53656
53650
|
variables: {
|
|
53657
|
-
abi:
|
|
53651
|
+
abi: abitype17.Abi;
|
|
53658
53652
|
functionName: string;
|
|
53659
53653
|
args?: readonly unknown[] | undefined;
|
|
53660
53654
|
address: Address;
|
|
53661
|
-
chain?:
|
|
53662
|
-
account?: `0x${string}` |
|
|
53655
|
+
chain?: viem0.Chain | null | undefined;
|
|
53656
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53663
53657
|
value?: bigint | undefined;
|
|
53664
53658
|
dataSuffix?: `0x${string}` | undefined;
|
|
53665
53659
|
type?: "legacy" | undefined;
|
|
@@ -53678,12 +53672,12 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53678
53672
|
chainId?: number | undefined;
|
|
53679
53673
|
connector?: wagmi0.Connector | undefined;
|
|
53680
53674
|
} | {
|
|
53681
|
-
abi:
|
|
53675
|
+
abi: abitype17.Abi;
|
|
53682
53676
|
functionName: string;
|
|
53683
53677
|
args?: readonly unknown[] | undefined;
|
|
53684
53678
|
address: Address;
|
|
53685
|
-
chain?:
|
|
53686
|
-
account?: `0x${string}` |
|
|
53679
|
+
chain?: viem0.Chain | null | undefined;
|
|
53680
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53687
53681
|
value?: bigint | undefined;
|
|
53688
53682
|
dataSuffix?: `0x${string}` | undefined;
|
|
53689
53683
|
type?: "eip2930" | undefined;
|
|
@@ -53696,18 +53690,18 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53696
53690
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53697
53691
|
maxFeePerGas?: undefined | undefined;
|
|
53698
53692
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53699
|
-
accessList?:
|
|
53693
|
+
accessList?: viem0.AccessList | undefined;
|
|
53700
53694
|
sidecars?: undefined;
|
|
53701
53695
|
authorizationList?: undefined;
|
|
53702
53696
|
chainId?: number | undefined;
|
|
53703
53697
|
connector?: wagmi0.Connector | undefined;
|
|
53704
53698
|
} | {
|
|
53705
|
-
abi:
|
|
53699
|
+
abi: abitype17.Abi;
|
|
53706
53700
|
functionName: string;
|
|
53707
53701
|
args?: readonly unknown[] | undefined;
|
|
53708
53702
|
address: Address;
|
|
53709
|
-
chain?:
|
|
53710
|
-
account?: `0x${string}` |
|
|
53703
|
+
chain?: viem0.Chain | null | undefined;
|
|
53704
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53711
53705
|
value?: bigint | undefined;
|
|
53712
53706
|
dataSuffix?: `0x${string}` | undefined;
|
|
53713
53707
|
type?: "eip1559" | undefined;
|
|
@@ -53720,66 +53714,66 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53720
53714
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53721
53715
|
maxFeePerGas?: bigint | undefined;
|
|
53722
53716
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53723
|
-
accessList?:
|
|
53717
|
+
accessList?: viem0.AccessList | undefined;
|
|
53724
53718
|
sidecars?: undefined;
|
|
53725
53719
|
authorizationList?: undefined;
|
|
53726
53720
|
chainId?: number | undefined;
|
|
53727
53721
|
connector?: wagmi0.Connector | undefined;
|
|
53728
53722
|
} | {
|
|
53729
|
-
abi:
|
|
53723
|
+
abi: abitype17.Abi;
|
|
53730
53724
|
functionName: string;
|
|
53731
53725
|
args?: readonly unknown[] | undefined;
|
|
53732
53726
|
address: Address;
|
|
53733
|
-
chain?:
|
|
53734
|
-
account?: `0x${string}` |
|
|
53727
|
+
chain?: viem0.Chain | null | undefined;
|
|
53728
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53735
53729
|
value?: bigint | undefined;
|
|
53736
53730
|
dataSuffix?: `0x${string}` | undefined;
|
|
53737
53731
|
type?: "eip4844" | undefined;
|
|
53738
53732
|
gas?: bigint | undefined;
|
|
53739
53733
|
nonce?: number | undefined;
|
|
53740
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53741
|
-
blobVersionedHashes: readonly
|
|
53734
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53735
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
53742
53736
|
kzg?: undefined;
|
|
53743
53737
|
gasPrice?: undefined | undefined;
|
|
53744
53738
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53745
53739
|
maxFeePerGas?: bigint | undefined;
|
|
53746
53740
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53747
|
-
accessList?:
|
|
53748
|
-
sidecars?: readonly
|
|
53741
|
+
accessList?: viem0.AccessList | undefined;
|
|
53742
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53749
53743
|
authorizationList?: undefined;
|
|
53750
53744
|
chainId?: number | undefined;
|
|
53751
53745
|
connector?: wagmi0.Connector | undefined;
|
|
53752
53746
|
} | {
|
|
53753
|
-
abi:
|
|
53747
|
+
abi: abitype17.Abi;
|
|
53754
53748
|
functionName: string;
|
|
53755
53749
|
args?: readonly unknown[] | undefined;
|
|
53756
53750
|
address: Address;
|
|
53757
|
-
chain?:
|
|
53758
|
-
account?: `0x${string}` |
|
|
53751
|
+
chain?: viem0.Chain | null | undefined;
|
|
53752
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53759
53753
|
value?: bigint | undefined;
|
|
53760
53754
|
dataSuffix?: `0x${string}` | undefined;
|
|
53761
53755
|
type?: "eip4844" | undefined;
|
|
53762
53756
|
gas?: bigint | undefined;
|
|
53763
53757
|
nonce?: number | undefined;
|
|
53764
|
-
blobs: readonly
|
|
53758
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53765
53759
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53766
|
-
kzg?:
|
|
53760
|
+
kzg?: viem0.Kzg | undefined;
|
|
53767
53761
|
gasPrice?: undefined | undefined;
|
|
53768
53762
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53769
53763
|
maxFeePerGas?: bigint | undefined;
|
|
53770
53764
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53771
|
-
accessList?:
|
|
53772
|
-
sidecars?: readonly
|
|
53765
|
+
accessList?: viem0.AccessList | undefined;
|
|
53766
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53773
53767
|
authorizationList?: undefined;
|
|
53774
53768
|
chainId?: number | undefined;
|
|
53775
53769
|
connector?: wagmi0.Connector | undefined;
|
|
53776
53770
|
} | {
|
|
53777
|
-
abi:
|
|
53771
|
+
abi: abitype17.Abi;
|
|
53778
53772
|
functionName: string;
|
|
53779
53773
|
args?: readonly unknown[] | undefined;
|
|
53780
53774
|
address: Address;
|
|
53781
|
-
chain?:
|
|
53782
|
-
account?: `0x${string}` |
|
|
53775
|
+
chain?: viem0.Chain | null | undefined;
|
|
53776
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53783
53777
|
value?: bigint | undefined;
|
|
53784
53778
|
dataSuffix?: `0x${string}` | undefined;
|
|
53785
53779
|
type?: "eip7702" | undefined;
|
|
@@ -53792,19 +53786,25 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53792
53786
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53793
53787
|
maxFeePerGas?: bigint | undefined;
|
|
53794
53788
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53795
|
-
accessList?:
|
|
53789
|
+
accessList?: viem0.AccessList | undefined;
|
|
53796
53790
|
sidecars?: undefined;
|
|
53797
|
-
authorizationList?:
|
|
53791
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
53798
53792
|
chainId?: number | undefined;
|
|
53799
53793
|
connector?: wagmi0.Connector | undefined;
|
|
53800
53794
|
};
|
|
53795
|
+
isError: false;
|
|
53801
53796
|
isIdle: false;
|
|
53797
|
+
isPending: false;
|
|
53798
|
+
isSuccess: true;
|
|
53802
53799
|
reset: () => void;
|
|
53803
53800
|
context: unknown;
|
|
53801
|
+
failureCount: number;
|
|
53802
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53803
|
+
isPaused: boolean;
|
|
53804
53804
|
submittedAt: number;
|
|
53805
|
-
mutate:
|
|
53806
|
-
mutateAsync:
|
|
53807
|
-
writeContract:
|
|
53805
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53806
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53807
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53808
53808
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53809
53809
|
};
|
|
53810
53810
|
//#endregion
|
|
@@ -53819,23 +53819,23 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
53819
53819
|
//#endregion
|
|
53820
53820
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
53821
53821
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
53822
|
-
error: null;
|
|
53823
53822
|
data: undefined;
|
|
53823
|
+
error: null;
|
|
53824
53824
|
status: "idle";
|
|
53825
|
+
variables: undefined;
|
|
53825
53826
|
isError: false;
|
|
53827
|
+
isIdle: true;
|
|
53826
53828
|
isPending: false;
|
|
53827
53829
|
isSuccess: false;
|
|
53830
|
+
reset: () => void;
|
|
53831
|
+
context: unknown;
|
|
53828
53832
|
failureCount: number;
|
|
53829
53833
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53830
53834
|
isPaused: boolean;
|
|
53831
|
-
variables: undefined;
|
|
53832
|
-
isIdle: true;
|
|
53833
|
-
reset: () => void;
|
|
53834
|
-
context: unknown;
|
|
53835
53835
|
submittedAt: number;
|
|
53836
|
-
mutate:
|
|
53837
|
-
mutateAsync:
|
|
53838
|
-
writeContract:
|
|
53836
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53837
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53838
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53839
53839
|
updateMarketFees: (rates: {
|
|
53840
53840
|
openingFeeRate?: number;
|
|
53841
53841
|
baseFeeRate?: number;
|
|
@@ -53848,22 +53848,16 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53848
53848
|
newFeeStrategy: `0x${string}`;
|
|
53849
53849
|
}>;
|
|
53850
53850
|
} | {
|
|
53851
|
-
error: null;
|
|
53852
53851
|
data: undefined;
|
|
53852
|
+
error: null;
|
|
53853
53853
|
status: "pending";
|
|
53854
|
-
isError: false;
|
|
53855
|
-
isPending: true;
|
|
53856
|
-
isSuccess: false;
|
|
53857
|
-
failureCount: number;
|
|
53858
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53859
|
-
isPaused: boolean;
|
|
53860
53854
|
variables: {
|
|
53861
|
-
abi:
|
|
53855
|
+
abi: abitype17.Abi;
|
|
53862
53856
|
functionName: string;
|
|
53863
53857
|
args?: readonly unknown[] | undefined;
|
|
53864
53858
|
address: Address;
|
|
53865
|
-
chain?:
|
|
53866
|
-
account?: `0x${string}` |
|
|
53859
|
+
chain?: viem0.Chain | null | undefined;
|
|
53860
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53867
53861
|
value?: bigint | undefined;
|
|
53868
53862
|
dataSuffix?: `0x${string}` | undefined;
|
|
53869
53863
|
type?: "legacy" | undefined;
|
|
@@ -53882,12 +53876,12 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53882
53876
|
chainId?: number | undefined;
|
|
53883
53877
|
connector?: wagmi0.Connector | undefined;
|
|
53884
53878
|
} | {
|
|
53885
|
-
abi:
|
|
53879
|
+
abi: abitype17.Abi;
|
|
53886
53880
|
functionName: string;
|
|
53887
53881
|
args?: readonly unknown[] | undefined;
|
|
53888
53882
|
address: Address;
|
|
53889
|
-
chain?:
|
|
53890
|
-
account?: `0x${string}` |
|
|
53883
|
+
chain?: viem0.Chain | null | undefined;
|
|
53884
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53891
53885
|
value?: bigint | undefined;
|
|
53892
53886
|
dataSuffix?: `0x${string}` | undefined;
|
|
53893
53887
|
type?: "eip2930" | undefined;
|
|
@@ -53900,18 +53894,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53900
53894
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53901
53895
|
maxFeePerGas?: undefined | undefined;
|
|
53902
53896
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53903
|
-
accessList?:
|
|
53897
|
+
accessList?: viem0.AccessList | undefined;
|
|
53904
53898
|
sidecars?: undefined;
|
|
53905
53899
|
authorizationList?: undefined;
|
|
53906
53900
|
chainId?: number | undefined;
|
|
53907
53901
|
connector?: wagmi0.Connector | undefined;
|
|
53908
53902
|
} | {
|
|
53909
|
-
abi:
|
|
53903
|
+
abi: abitype17.Abi;
|
|
53910
53904
|
functionName: string;
|
|
53911
53905
|
args?: readonly unknown[] | undefined;
|
|
53912
53906
|
address: Address;
|
|
53913
|
-
chain?:
|
|
53914
|
-
account?: `0x${string}` |
|
|
53907
|
+
chain?: viem0.Chain | null | undefined;
|
|
53908
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53915
53909
|
value?: bigint | undefined;
|
|
53916
53910
|
dataSuffix?: `0x${string}` | undefined;
|
|
53917
53911
|
type?: "eip1559" | undefined;
|
|
@@ -53924,66 +53918,66 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53924
53918
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53925
53919
|
maxFeePerGas?: bigint | undefined;
|
|
53926
53920
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53927
|
-
accessList?:
|
|
53921
|
+
accessList?: viem0.AccessList | undefined;
|
|
53928
53922
|
sidecars?: undefined;
|
|
53929
53923
|
authorizationList?: undefined;
|
|
53930
53924
|
chainId?: number | undefined;
|
|
53931
53925
|
connector?: wagmi0.Connector | undefined;
|
|
53932
53926
|
} | {
|
|
53933
|
-
abi:
|
|
53927
|
+
abi: abitype17.Abi;
|
|
53934
53928
|
functionName: string;
|
|
53935
53929
|
args?: readonly unknown[] | undefined;
|
|
53936
53930
|
address: Address;
|
|
53937
|
-
chain?:
|
|
53938
|
-
account?: `0x${string}` |
|
|
53931
|
+
chain?: viem0.Chain | null | undefined;
|
|
53932
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53939
53933
|
value?: bigint | undefined;
|
|
53940
53934
|
dataSuffix?: `0x${string}` | undefined;
|
|
53941
53935
|
type?: "eip4844" | undefined;
|
|
53942
53936
|
gas?: bigint | undefined;
|
|
53943
53937
|
nonce?: number | undefined;
|
|
53944
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53945
|
-
blobVersionedHashes: readonly
|
|
53938
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53939
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
53946
53940
|
kzg?: undefined;
|
|
53947
53941
|
gasPrice?: undefined | undefined;
|
|
53948
53942
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53949
53943
|
maxFeePerGas?: bigint | undefined;
|
|
53950
53944
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53951
|
-
accessList?:
|
|
53952
|
-
sidecars?: readonly
|
|
53945
|
+
accessList?: viem0.AccessList | undefined;
|
|
53946
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53953
53947
|
authorizationList?: undefined;
|
|
53954
53948
|
chainId?: number | undefined;
|
|
53955
53949
|
connector?: wagmi0.Connector | undefined;
|
|
53956
53950
|
} | {
|
|
53957
|
-
abi:
|
|
53951
|
+
abi: abitype17.Abi;
|
|
53958
53952
|
functionName: string;
|
|
53959
53953
|
args?: readonly unknown[] | undefined;
|
|
53960
53954
|
address: Address;
|
|
53961
|
-
chain?:
|
|
53962
|
-
account?: `0x${string}` |
|
|
53955
|
+
chain?: viem0.Chain | null | undefined;
|
|
53956
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53963
53957
|
value?: bigint | undefined;
|
|
53964
53958
|
dataSuffix?: `0x${string}` | undefined;
|
|
53965
53959
|
type?: "eip4844" | undefined;
|
|
53966
53960
|
gas?: bigint | undefined;
|
|
53967
53961
|
nonce?: number | undefined;
|
|
53968
|
-
blobs: readonly
|
|
53962
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53969
53963
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53970
|
-
kzg?:
|
|
53964
|
+
kzg?: viem0.Kzg | undefined;
|
|
53971
53965
|
gasPrice?: undefined | undefined;
|
|
53972
53966
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53973
53967
|
maxFeePerGas?: bigint | undefined;
|
|
53974
53968
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53975
|
-
accessList?:
|
|
53976
|
-
sidecars?: readonly
|
|
53969
|
+
accessList?: viem0.AccessList | undefined;
|
|
53970
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53977
53971
|
authorizationList?: undefined;
|
|
53978
53972
|
chainId?: number | undefined;
|
|
53979
53973
|
connector?: wagmi0.Connector | undefined;
|
|
53980
53974
|
} | {
|
|
53981
|
-
abi:
|
|
53975
|
+
abi: abitype17.Abi;
|
|
53982
53976
|
functionName: string;
|
|
53983
53977
|
args?: readonly unknown[] | undefined;
|
|
53984
53978
|
address: Address;
|
|
53985
|
-
chain?:
|
|
53986
|
-
account?: `0x${string}` |
|
|
53979
|
+
chain?: viem0.Chain | null | undefined;
|
|
53980
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53987
53981
|
value?: bigint | undefined;
|
|
53988
53982
|
dataSuffix?: `0x${string}` | undefined;
|
|
53989
53983
|
type?: "eip7702" | undefined;
|
|
@@ -53996,19 +53990,25 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53996
53990
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53997
53991
|
maxFeePerGas?: bigint | undefined;
|
|
53998
53992
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53999
|
-
accessList?:
|
|
53993
|
+
accessList?: viem0.AccessList | undefined;
|
|
54000
53994
|
sidecars?: undefined;
|
|
54001
|
-
authorizationList?:
|
|
53995
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
54002
53996
|
chainId?: number | undefined;
|
|
54003
53997
|
connector?: wagmi0.Connector | undefined;
|
|
54004
53998
|
};
|
|
53999
|
+
isError: false;
|
|
54005
54000
|
isIdle: false;
|
|
54001
|
+
isPending: true;
|
|
54002
|
+
isSuccess: false;
|
|
54006
54003
|
reset: () => void;
|
|
54007
54004
|
context: unknown;
|
|
54005
|
+
failureCount: number;
|
|
54006
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54007
|
+
isPaused: boolean;
|
|
54008
54008
|
submittedAt: number;
|
|
54009
|
-
mutate:
|
|
54010
|
-
mutateAsync:
|
|
54011
|
-
writeContract:
|
|
54009
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54010
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
54011
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54012
54012
|
updateMarketFees: (rates: {
|
|
54013
54013
|
openingFeeRate?: number;
|
|
54014
54014
|
baseFeeRate?: number;
|
|
@@ -54021,22 +54021,16 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54021
54021
|
newFeeStrategy: `0x${string}`;
|
|
54022
54022
|
}>;
|
|
54023
54023
|
} | {
|
|
54024
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
54025
54024
|
data: undefined;
|
|
54025
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
54026
54026
|
status: "error";
|
|
54027
|
-
isError: true;
|
|
54028
|
-
isPending: false;
|
|
54029
|
-
isSuccess: false;
|
|
54030
|
-
failureCount: number;
|
|
54031
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54032
|
-
isPaused: boolean;
|
|
54033
54027
|
variables: {
|
|
54034
|
-
abi:
|
|
54028
|
+
abi: abitype17.Abi;
|
|
54035
54029
|
functionName: string;
|
|
54036
54030
|
args?: readonly unknown[] | undefined;
|
|
54037
54031
|
address: Address;
|
|
54038
|
-
chain?:
|
|
54039
|
-
account?: `0x${string}` |
|
|
54032
|
+
chain?: viem0.Chain | null | undefined;
|
|
54033
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54040
54034
|
value?: bigint | undefined;
|
|
54041
54035
|
dataSuffix?: `0x${string}` | undefined;
|
|
54042
54036
|
type?: "legacy" | undefined;
|
|
@@ -54055,12 +54049,12 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54055
54049
|
chainId?: number | undefined;
|
|
54056
54050
|
connector?: wagmi0.Connector | undefined;
|
|
54057
54051
|
} | {
|
|
54058
|
-
abi:
|
|
54052
|
+
abi: abitype17.Abi;
|
|
54059
54053
|
functionName: string;
|
|
54060
54054
|
args?: readonly unknown[] | undefined;
|
|
54061
54055
|
address: Address;
|
|
54062
|
-
chain?:
|
|
54063
|
-
account?: `0x${string}` |
|
|
54056
|
+
chain?: viem0.Chain | null | undefined;
|
|
54057
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54064
54058
|
value?: bigint | undefined;
|
|
54065
54059
|
dataSuffix?: `0x${string}` | undefined;
|
|
54066
54060
|
type?: "eip2930" | undefined;
|
|
@@ -54073,18 +54067,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54073
54067
|
maxFeePerBlobGas?: undefined | undefined;
|
|
54074
54068
|
maxFeePerGas?: undefined | undefined;
|
|
54075
54069
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
54076
|
-
accessList?:
|
|
54070
|
+
accessList?: viem0.AccessList | undefined;
|
|
54077
54071
|
sidecars?: undefined;
|
|
54078
54072
|
authorizationList?: undefined;
|
|
54079
54073
|
chainId?: number | undefined;
|
|
54080
54074
|
connector?: wagmi0.Connector | undefined;
|
|
54081
54075
|
} | {
|
|
54082
|
-
abi:
|
|
54076
|
+
abi: abitype17.Abi;
|
|
54083
54077
|
functionName: string;
|
|
54084
54078
|
args?: readonly unknown[] | undefined;
|
|
54085
54079
|
address: Address;
|
|
54086
|
-
chain?:
|
|
54087
|
-
account?: `0x${string}` |
|
|
54080
|
+
chain?: viem0.Chain | null | undefined;
|
|
54081
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54088
54082
|
value?: bigint | undefined;
|
|
54089
54083
|
dataSuffix?: `0x${string}` | undefined;
|
|
54090
54084
|
type?: "eip1559" | undefined;
|
|
@@ -54097,66 +54091,66 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54097
54091
|
maxFeePerBlobGas?: undefined | undefined;
|
|
54098
54092
|
maxFeePerGas?: bigint | undefined;
|
|
54099
54093
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54100
|
-
accessList?:
|
|
54094
|
+
accessList?: viem0.AccessList | undefined;
|
|
54101
54095
|
sidecars?: undefined;
|
|
54102
54096
|
authorizationList?: undefined;
|
|
54103
54097
|
chainId?: number | undefined;
|
|
54104
54098
|
connector?: wagmi0.Connector | undefined;
|
|
54105
54099
|
} | {
|
|
54106
|
-
abi:
|
|
54100
|
+
abi: abitype17.Abi;
|
|
54107
54101
|
functionName: string;
|
|
54108
54102
|
args?: readonly unknown[] | undefined;
|
|
54109
54103
|
address: Address;
|
|
54110
|
-
chain?:
|
|
54111
|
-
account?: `0x${string}` |
|
|
54104
|
+
chain?: viem0.Chain | null | undefined;
|
|
54105
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54112
54106
|
value?: bigint | undefined;
|
|
54113
54107
|
dataSuffix?: `0x${string}` | undefined;
|
|
54114
54108
|
type?: "eip4844" | undefined;
|
|
54115
54109
|
gas?: bigint | undefined;
|
|
54116
54110
|
nonce?: number | undefined;
|
|
54117
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
54118
|
-
blobVersionedHashes: readonly
|
|
54111
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
54112
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
54119
54113
|
kzg?: undefined;
|
|
54120
54114
|
gasPrice?: undefined | undefined;
|
|
54121
54115
|
maxFeePerBlobGas?: bigint | undefined;
|
|
54122
54116
|
maxFeePerGas?: bigint | undefined;
|
|
54123
54117
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54124
|
-
accessList?:
|
|
54125
|
-
sidecars?: readonly
|
|
54118
|
+
accessList?: viem0.AccessList | undefined;
|
|
54119
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
54126
54120
|
authorizationList?: undefined;
|
|
54127
54121
|
chainId?: number | undefined;
|
|
54128
54122
|
connector?: wagmi0.Connector | undefined;
|
|
54129
54123
|
} | {
|
|
54130
|
-
abi:
|
|
54124
|
+
abi: abitype17.Abi;
|
|
54131
54125
|
functionName: string;
|
|
54132
54126
|
args?: readonly unknown[] | undefined;
|
|
54133
54127
|
address: Address;
|
|
54134
|
-
chain?:
|
|
54135
|
-
account?: `0x${string}` |
|
|
54128
|
+
chain?: viem0.Chain | null | undefined;
|
|
54129
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54136
54130
|
value?: bigint | undefined;
|
|
54137
54131
|
dataSuffix?: `0x${string}` | undefined;
|
|
54138
54132
|
type?: "eip4844" | undefined;
|
|
54139
54133
|
gas?: bigint | undefined;
|
|
54140
54134
|
nonce?: number | undefined;
|
|
54141
|
-
blobs: readonly
|
|
54135
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
54142
54136
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
54143
|
-
kzg?:
|
|
54137
|
+
kzg?: viem0.Kzg | undefined;
|
|
54144
54138
|
gasPrice?: undefined | undefined;
|
|
54145
54139
|
maxFeePerBlobGas?: bigint | undefined;
|
|
54146
54140
|
maxFeePerGas?: bigint | undefined;
|
|
54147
54141
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54148
|
-
accessList?:
|
|
54149
|
-
sidecars?: readonly
|
|
54142
|
+
accessList?: viem0.AccessList | undefined;
|
|
54143
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
54150
54144
|
authorizationList?: undefined;
|
|
54151
54145
|
chainId?: number | undefined;
|
|
54152
54146
|
connector?: wagmi0.Connector | undefined;
|
|
54153
54147
|
} | {
|
|
54154
|
-
abi:
|
|
54148
|
+
abi: abitype17.Abi;
|
|
54155
54149
|
functionName: string;
|
|
54156
54150
|
args?: readonly unknown[] | undefined;
|
|
54157
54151
|
address: Address;
|
|
54158
|
-
chain?:
|
|
54159
|
-
account?: `0x${string}` |
|
|
54152
|
+
chain?: viem0.Chain | null | undefined;
|
|
54153
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54160
54154
|
value?: bigint | undefined;
|
|
54161
54155
|
dataSuffix?: `0x${string}` | undefined;
|
|
54162
54156
|
type?: "eip7702" | undefined;
|
|
@@ -54169,19 +54163,25 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54169
54163
|
maxFeePerBlobGas?: undefined | undefined;
|
|
54170
54164
|
maxFeePerGas?: bigint | undefined;
|
|
54171
54165
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54172
|
-
accessList?:
|
|
54166
|
+
accessList?: viem0.AccessList | undefined;
|
|
54173
54167
|
sidecars?: undefined;
|
|
54174
|
-
authorizationList?:
|
|
54168
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
54175
54169
|
chainId?: number | undefined;
|
|
54176
54170
|
connector?: wagmi0.Connector | undefined;
|
|
54177
54171
|
};
|
|
54172
|
+
isError: true;
|
|
54178
54173
|
isIdle: false;
|
|
54174
|
+
isPending: false;
|
|
54175
|
+
isSuccess: false;
|
|
54179
54176
|
reset: () => void;
|
|
54180
54177
|
context: unknown;
|
|
54178
|
+
failureCount: number;
|
|
54179
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54180
|
+
isPaused: boolean;
|
|
54181
54181
|
submittedAt: number;
|
|
54182
|
-
mutate:
|
|
54183
|
-
mutateAsync:
|
|
54184
|
-
writeContract:
|
|
54182
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54183
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
54184
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54185
54185
|
updateMarketFees: (rates: {
|
|
54186
54186
|
openingFeeRate?: number;
|
|
54187
54187
|
baseFeeRate?: number;
|
|
@@ -54194,22 +54194,16 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54194
54194
|
newFeeStrategy: `0x${string}`;
|
|
54195
54195
|
}>;
|
|
54196
54196
|
} | {
|
|
54197
|
-
error: null;
|
|
54198
54197
|
data: `0x${string}`;
|
|
54198
|
+
error: null;
|
|
54199
54199
|
status: "success";
|
|
54200
|
-
isError: false;
|
|
54201
|
-
isPending: false;
|
|
54202
|
-
isSuccess: true;
|
|
54203
|
-
failureCount: number;
|
|
54204
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54205
|
-
isPaused: boolean;
|
|
54206
54200
|
variables: {
|
|
54207
|
-
abi:
|
|
54201
|
+
abi: abitype17.Abi;
|
|
54208
54202
|
functionName: string;
|
|
54209
54203
|
args?: readonly unknown[] | undefined;
|
|
54210
54204
|
address: Address;
|
|
54211
|
-
chain?:
|
|
54212
|
-
account?: `0x${string}` |
|
|
54205
|
+
chain?: viem0.Chain | null | undefined;
|
|
54206
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54213
54207
|
value?: bigint | undefined;
|
|
54214
54208
|
dataSuffix?: `0x${string}` | undefined;
|
|
54215
54209
|
type?: "legacy" | undefined;
|
|
@@ -54228,12 +54222,12 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54228
54222
|
chainId?: number | undefined;
|
|
54229
54223
|
connector?: wagmi0.Connector | undefined;
|
|
54230
54224
|
} | {
|
|
54231
|
-
abi:
|
|
54225
|
+
abi: abitype17.Abi;
|
|
54232
54226
|
functionName: string;
|
|
54233
54227
|
args?: readonly unknown[] | undefined;
|
|
54234
54228
|
address: Address;
|
|
54235
|
-
chain?:
|
|
54236
|
-
account?: `0x${string}` |
|
|
54229
|
+
chain?: viem0.Chain | null | undefined;
|
|
54230
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54237
54231
|
value?: bigint | undefined;
|
|
54238
54232
|
dataSuffix?: `0x${string}` | undefined;
|
|
54239
54233
|
type?: "eip2930" | undefined;
|
|
@@ -54246,18 +54240,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54246
54240
|
maxFeePerBlobGas?: undefined | undefined;
|
|
54247
54241
|
maxFeePerGas?: undefined | undefined;
|
|
54248
54242
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
54249
|
-
accessList?:
|
|
54243
|
+
accessList?: viem0.AccessList | undefined;
|
|
54250
54244
|
sidecars?: undefined;
|
|
54251
54245
|
authorizationList?: undefined;
|
|
54252
54246
|
chainId?: number | undefined;
|
|
54253
54247
|
connector?: wagmi0.Connector | undefined;
|
|
54254
54248
|
} | {
|
|
54255
|
-
abi:
|
|
54249
|
+
abi: abitype17.Abi;
|
|
54256
54250
|
functionName: string;
|
|
54257
54251
|
args?: readonly unknown[] | undefined;
|
|
54258
54252
|
address: Address;
|
|
54259
|
-
chain?:
|
|
54260
|
-
account?: `0x${string}` |
|
|
54253
|
+
chain?: viem0.Chain | null | undefined;
|
|
54254
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54261
54255
|
value?: bigint | undefined;
|
|
54262
54256
|
dataSuffix?: `0x${string}` | undefined;
|
|
54263
54257
|
type?: "eip1559" | undefined;
|
|
@@ -54270,66 +54264,66 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54270
54264
|
maxFeePerBlobGas?: undefined | undefined;
|
|
54271
54265
|
maxFeePerGas?: bigint | undefined;
|
|
54272
54266
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54273
|
-
accessList?:
|
|
54267
|
+
accessList?: viem0.AccessList | undefined;
|
|
54274
54268
|
sidecars?: undefined;
|
|
54275
54269
|
authorizationList?: undefined;
|
|
54276
54270
|
chainId?: number | undefined;
|
|
54277
54271
|
connector?: wagmi0.Connector | undefined;
|
|
54278
54272
|
} | {
|
|
54279
|
-
abi:
|
|
54273
|
+
abi: abitype17.Abi;
|
|
54280
54274
|
functionName: string;
|
|
54281
54275
|
args?: readonly unknown[] | undefined;
|
|
54282
54276
|
address: Address;
|
|
54283
|
-
chain?:
|
|
54284
|
-
account?: `0x${string}` |
|
|
54277
|
+
chain?: viem0.Chain | null | undefined;
|
|
54278
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54285
54279
|
value?: bigint | undefined;
|
|
54286
54280
|
dataSuffix?: `0x${string}` | undefined;
|
|
54287
54281
|
type?: "eip4844" | undefined;
|
|
54288
54282
|
gas?: bigint | undefined;
|
|
54289
54283
|
nonce?: number | undefined;
|
|
54290
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
54291
|
-
blobVersionedHashes: readonly
|
|
54284
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
54285
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
54292
54286
|
kzg?: undefined;
|
|
54293
54287
|
gasPrice?: undefined | undefined;
|
|
54294
54288
|
maxFeePerBlobGas?: bigint | undefined;
|
|
54295
54289
|
maxFeePerGas?: bigint | undefined;
|
|
54296
54290
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54297
|
-
accessList?:
|
|
54298
|
-
sidecars?: readonly
|
|
54291
|
+
accessList?: viem0.AccessList | undefined;
|
|
54292
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
54299
54293
|
authorizationList?: undefined;
|
|
54300
54294
|
chainId?: number | undefined;
|
|
54301
54295
|
connector?: wagmi0.Connector | undefined;
|
|
54302
54296
|
} | {
|
|
54303
|
-
abi:
|
|
54297
|
+
abi: abitype17.Abi;
|
|
54304
54298
|
functionName: string;
|
|
54305
54299
|
args?: readonly unknown[] | undefined;
|
|
54306
54300
|
address: Address;
|
|
54307
|
-
chain?:
|
|
54308
|
-
account?: `0x${string}` |
|
|
54301
|
+
chain?: viem0.Chain | null | undefined;
|
|
54302
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54309
54303
|
value?: bigint | undefined;
|
|
54310
54304
|
dataSuffix?: `0x${string}` | undefined;
|
|
54311
54305
|
type?: "eip4844" | undefined;
|
|
54312
54306
|
gas?: bigint | undefined;
|
|
54313
54307
|
nonce?: number | undefined;
|
|
54314
|
-
blobs: readonly
|
|
54308
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
54315
54309
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
54316
|
-
kzg?:
|
|
54310
|
+
kzg?: viem0.Kzg | undefined;
|
|
54317
54311
|
gasPrice?: undefined | undefined;
|
|
54318
54312
|
maxFeePerBlobGas?: bigint | undefined;
|
|
54319
54313
|
maxFeePerGas?: bigint | undefined;
|
|
54320
54314
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54321
|
-
accessList?:
|
|
54322
|
-
sidecars?: readonly
|
|
54315
|
+
accessList?: viem0.AccessList | undefined;
|
|
54316
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
54323
54317
|
authorizationList?: undefined;
|
|
54324
54318
|
chainId?: number | undefined;
|
|
54325
54319
|
connector?: wagmi0.Connector | undefined;
|
|
54326
54320
|
} | {
|
|
54327
|
-
abi:
|
|
54321
|
+
abi: abitype17.Abi;
|
|
54328
54322
|
functionName: string;
|
|
54329
54323
|
args?: readonly unknown[] | undefined;
|
|
54330
54324
|
address: Address;
|
|
54331
|
-
chain?:
|
|
54332
|
-
account?: `0x${string}` |
|
|
54325
|
+
chain?: viem0.Chain | null | undefined;
|
|
54326
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
54333
54327
|
value?: bigint | undefined;
|
|
54334
54328
|
dataSuffix?: `0x${string}` | undefined;
|
|
54335
54329
|
type?: "eip7702" | undefined;
|
|
@@ -54342,19 +54336,25 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54342
54336
|
maxFeePerBlobGas?: undefined | undefined;
|
|
54343
54337
|
maxFeePerGas?: bigint | undefined;
|
|
54344
54338
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
54345
|
-
accessList?:
|
|
54339
|
+
accessList?: viem0.AccessList | undefined;
|
|
54346
54340
|
sidecars?: undefined;
|
|
54347
|
-
authorizationList?:
|
|
54341
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
54348
54342
|
chainId?: number | undefined;
|
|
54349
54343
|
connector?: wagmi0.Connector | undefined;
|
|
54350
54344
|
};
|
|
54345
|
+
isError: false;
|
|
54351
54346
|
isIdle: false;
|
|
54347
|
+
isPending: false;
|
|
54348
|
+
isSuccess: true;
|
|
54352
54349
|
reset: () => void;
|
|
54353
54350
|
context: unknown;
|
|
54351
|
+
failureCount: number;
|
|
54352
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54353
|
+
isPaused: boolean;
|
|
54354
54354
|
submittedAt: number;
|
|
54355
|
-
mutate:
|
|
54356
|
-
mutateAsync:
|
|
54357
|
-
writeContract:
|
|
54355
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54356
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
54357
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54358
54358
|
updateMarketFees: (rates: {
|
|
54359
54359
|
openingFeeRate?: number;
|
|
54360
54360
|
baseFeeRate?: number;
|
|
@@ -55356,23 +55356,23 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
|
|
|
55356
55356
|
//#endregion
|
|
55357
55357
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
55358
55358
|
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
55359
|
-
error: null;
|
|
55360
55359
|
data: undefined;
|
|
55360
|
+
error: null;
|
|
55361
55361
|
status: "idle";
|
|
55362
|
+
variables: undefined;
|
|
55362
55363
|
isError: false;
|
|
55364
|
+
isIdle: true;
|
|
55363
55365
|
isPending: false;
|
|
55364
55366
|
isSuccess: false;
|
|
55367
|
+
reset: () => void;
|
|
55368
|
+
context: unknown;
|
|
55365
55369
|
failureCount: number;
|
|
55366
55370
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55367
55371
|
isPaused: boolean;
|
|
55368
|
-
variables: undefined;
|
|
55369
|
-
isIdle: true;
|
|
55370
|
-
reset: () => void;
|
|
55371
|
-
context: unknown;
|
|
55372
55372
|
submittedAt: number;
|
|
55373
|
-
mutate:
|
|
55374
|
-
writeContract:
|
|
55375
|
-
writeContractAsync:
|
|
55373
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55374
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55375
|
+
writeContractAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55376
55376
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55377
55377
|
model: "static";
|
|
55378
55378
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55383,22 +55383,16 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55383
55383
|
newPricingAddr: `0x${string}`;
|
|
55384
55384
|
}>;
|
|
55385
55385
|
} | {
|
|
55386
|
-
error: null;
|
|
55387
55386
|
data: undefined;
|
|
55387
|
+
error: null;
|
|
55388
55388
|
status: "pending";
|
|
55389
|
-
isError: false;
|
|
55390
|
-
isPending: true;
|
|
55391
|
-
isSuccess: false;
|
|
55392
|
-
failureCount: number;
|
|
55393
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55394
|
-
isPaused: boolean;
|
|
55395
55389
|
variables: {
|
|
55396
|
-
abi:
|
|
55390
|
+
abi: abitype17.Abi;
|
|
55397
55391
|
functionName: string;
|
|
55398
55392
|
args?: readonly unknown[] | undefined;
|
|
55399
55393
|
address: Address;
|
|
55400
|
-
chain?:
|
|
55401
|
-
account?: `0x${string}` |
|
|
55394
|
+
chain?: viem0.Chain | null | undefined;
|
|
55395
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55402
55396
|
value?: bigint | undefined;
|
|
55403
55397
|
dataSuffix?: `0x${string}` | undefined;
|
|
55404
55398
|
type?: "legacy" | undefined;
|
|
@@ -55417,12 +55411,12 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55417
55411
|
chainId?: number | undefined;
|
|
55418
55412
|
connector?: wagmi0.Connector | undefined;
|
|
55419
55413
|
} | {
|
|
55420
|
-
abi:
|
|
55414
|
+
abi: abitype17.Abi;
|
|
55421
55415
|
functionName: string;
|
|
55422
55416
|
args?: readonly unknown[] | undefined;
|
|
55423
55417
|
address: Address;
|
|
55424
|
-
chain?:
|
|
55425
|
-
account?: `0x${string}` |
|
|
55418
|
+
chain?: viem0.Chain | null | undefined;
|
|
55419
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55426
55420
|
value?: bigint | undefined;
|
|
55427
55421
|
dataSuffix?: `0x${string}` | undefined;
|
|
55428
55422
|
type?: "eip2930" | undefined;
|
|
@@ -55435,18 +55429,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55435
55429
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55436
55430
|
maxFeePerGas?: undefined | undefined;
|
|
55437
55431
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55438
|
-
accessList?:
|
|
55432
|
+
accessList?: viem0.AccessList | undefined;
|
|
55439
55433
|
sidecars?: undefined;
|
|
55440
55434
|
authorizationList?: undefined;
|
|
55441
55435
|
chainId?: number | undefined;
|
|
55442
55436
|
connector?: wagmi0.Connector | undefined;
|
|
55443
55437
|
} | {
|
|
55444
|
-
abi:
|
|
55438
|
+
abi: abitype17.Abi;
|
|
55445
55439
|
functionName: string;
|
|
55446
55440
|
args?: readonly unknown[] | undefined;
|
|
55447
55441
|
address: Address;
|
|
55448
|
-
chain?:
|
|
55449
|
-
account?: `0x${string}` |
|
|
55442
|
+
chain?: viem0.Chain | null | undefined;
|
|
55443
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55450
55444
|
value?: bigint | undefined;
|
|
55451
55445
|
dataSuffix?: `0x${string}` | undefined;
|
|
55452
55446
|
type?: "eip1559" | undefined;
|
|
@@ -55459,66 +55453,66 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55459
55453
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55460
55454
|
maxFeePerGas?: bigint | undefined;
|
|
55461
55455
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55462
|
-
accessList?:
|
|
55456
|
+
accessList?: viem0.AccessList | undefined;
|
|
55463
55457
|
sidecars?: undefined;
|
|
55464
55458
|
authorizationList?: undefined;
|
|
55465
55459
|
chainId?: number | undefined;
|
|
55466
55460
|
connector?: wagmi0.Connector | undefined;
|
|
55467
55461
|
} | {
|
|
55468
|
-
abi:
|
|
55462
|
+
abi: abitype17.Abi;
|
|
55469
55463
|
functionName: string;
|
|
55470
55464
|
args?: readonly unknown[] | undefined;
|
|
55471
55465
|
address: Address;
|
|
55472
|
-
chain?:
|
|
55473
|
-
account?: `0x${string}` |
|
|
55466
|
+
chain?: viem0.Chain | null | undefined;
|
|
55467
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55474
55468
|
value?: bigint | undefined;
|
|
55475
55469
|
dataSuffix?: `0x${string}` | undefined;
|
|
55476
55470
|
type?: "eip4844" | undefined;
|
|
55477
55471
|
gas?: bigint | undefined;
|
|
55478
55472
|
nonce?: number | undefined;
|
|
55479
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55480
|
-
blobVersionedHashes: readonly
|
|
55473
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
55474
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
55481
55475
|
kzg?: undefined;
|
|
55482
55476
|
gasPrice?: undefined | undefined;
|
|
55483
55477
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55484
55478
|
maxFeePerGas?: bigint | undefined;
|
|
55485
55479
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55486
|
-
accessList?:
|
|
55487
|
-
sidecars?: readonly
|
|
55480
|
+
accessList?: viem0.AccessList | undefined;
|
|
55481
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55488
55482
|
authorizationList?: undefined;
|
|
55489
55483
|
chainId?: number | undefined;
|
|
55490
55484
|
connector?: wagmi0.Connector | undefined;
|
|
55491
55485
|
} | {
|
|
55492
|
-
abi:
|
|
55486
|
+
abi: abitype17.Abi;
|
|
55493
55487
|
functionName: string;
|
|
55494
55488
|
args?: readonly unknown[] | undefined;
|
|
55495
55489
|
address: Address;
|
|
55496
|
-
chain?:
|
|
55497
|
-
account?: `0x${string}` |
|
|
55490
|
+
chain?: viem0.Chain | null | undefined;
|
|
55491
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55498
55492
|
value?: bigint | undefined;
|
|
55499
55493
|
dataSuffix?: `0x${string}` | undefined;
|
|
55500
55494
|
type?: "eip4844" | undefined;
|
|
55501
55495
|
gas?: bigint | undefined;
|
|
55502
55496
|
nonce?: number | undefined;
|
|
55503
|
-
blobs: readonly
|
|
55497
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
55504
55498
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55505
|
-
kzg?:
|
|
55499
|
+
kzg?: viem0.Kzg | undefined;
|
|
55506
55500
|
gasPrice?: undefined | undefined;
|
|
55507
55501
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55508
55502
|
maxFeePerGas?: bigint | undefined;
|
|
55509
55503
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55510
|
-
accessList?:
|
|
55511
|
-
sidecars?: readonly
|
|
55504
|
+
accessList?: viem0.AccessList | undefined;
|
|
55505
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55512
55506
|
authorizationList?: undefined;
|
|
55513
55507
|
chainId?: number | undefined;
|
|
55514
55508
|
connector?: wagmi0.Connector | undefined;
|
|
55515
55509
|
} | {
|
|
55516
|
-
abi:
|
|
55510
|
+
abi: abitype17.Abi;
|
|
55517
55511
|
functionName: string;
|
|
55518
55512
|
args?: readonly unknown[] | undefined;
|
|
55519
55513
|
address: Address;
|
|
55520
|
-
chain?:
|
|
55521
|
-
account?: `0x${string}` |
|
|
55514
|
+
chain?: viem0.Chain | null | undefined;
|
|
55515
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55522
55516
|
value?: bigint | undefined;
|
|
55523
55517
|
dataSuffix?: `0x${string}` | undefined;
|
|
55524
55518
|
type?: "eip7702" | undefined;
|
|
@@ -55531,19 +55525,25 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55531
55525
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55532
55526
|
maxFeePerGas?: bigint | undefined;
|
|
55533
55527
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55534
|
-
accessList?:
|
|
55528
|
+
accessList?: viem0.AccessList | undefined;
|
|
55535
55529
|
sidecars?: undefined;
|
|
55536
|
-
authorizationList?:
|
|
55530
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
55537
55531
|
chainId?: number | undefined;
|
|
55538
55532
|
connector?: wagmi0.Connector | undefined;
|
|
55539
55533
|
};
|
|
55534
|
+
isError: false;
|
|
55540
55535
|
isIdle: false;
|
|
55536
|
+
isPending: true;
|
|
55537
|
+
isSuccess: false;
|
|
55541
55538
|
reset: () => void;
|
|
55542
55539
|
context: unknown;
|
|
55540
|
+
failureCount: number;
|
|
55541
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55542
|
+
isPaused: boolean;
|
|
55543
55543
|
submittedAt: number;
|
|
55544
|
-
mutate:
|
|
55545
|
-
writeContract:
|
|
55546
|
-
writeContractAsync:
|
|
55544
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55545
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55546
|
+
writeContractAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55547
55547
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55548
55548
|
model: "static";
|
|
55549
55549
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55554,22 +55554,16 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55554
55554
|
newPricingAddr: `0x${string}`;
|
|
55555
55555
|
}>;
|
|
55556
55556
|
} | {
|
|
55557
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
55558
55557
|
data: undefined;
|
|
55558
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
55559
55559
|
status: "error";
|
|
55560
|
-
isError: true;
|
|
55561
|
-
isPending: false;
|
|
55562
|
-
isSuccess: false;
|
|
55563
|
-
failureCount: number;
|
|
55564
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55565
|
-
isPaused: boolean;
|
|
55566
55560
|
variables: {
|
|
55567
|
-
abi:
|
|
55561
|
+
abi: abitype17.Abi;
|
|
55568
55562
|
functionName: string;
|
|
55569
55563
|
args?: readonly unknown[] | undefined;
|
|
55570
55564
|
address: Address;
|
|
55571
|
-
chain?:
|
|
55572
|
-
account?: `0x${string}` |
|
|
55565
|
+
chain?: viem0.Chain | null | undefined;
|
|
55566
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55573
55567
|
value?: bigint | undefined;
|
|
55574
55568
|
dataSuffix?: `0x${string}` | undefined;
|
|
55575
55569
|
type?: "legacy" | undefined;
|
|
@@ -55588,12 +55582,12 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55588
55582
|
chainId?: number | undefined;
|
|
55589
55583
|
connector?: wagmi0.Connector | undefined;
|
|
55590
55584
|
} | {
|
|
55591
|
-
abi:
|
|
55585
|
+
abi: abitype17.Abi;
|
|
55592
55586
|
functionName: string;
|
|
55593
55587
|
args?: readonly unknown[] | undefined;
|
|
55594
55588
|
address: Address;
|
|
55595
|
-
chain?:
|
|
55596
|
-
account?: `0x${string}` |
|
|
55589
|
+
chain?: viem0.Chain | null | undefined;
|
|
55590
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55597
55591
|
value?: bigint | undefined;
|
|
55598
55592
|
dataSuffix?: `0x${string}` | undefined;
|
|
55599
55593
|
type?: "eip2930" | undefined;
|
|
@@ -55606,18 +55600,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55606
55600
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55607
55601
|
maxFeePerGas?: undefined | undefined;
|
|
55608
55602
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55609
|
-
accessList?:
|
|
55603
|
+
accessList?: viem0.AccessList | undefined;
|
|
55610
55604
|
sidecars?: undefined;
|
|
55611
55605
|
authorizationList?: undefined;
|
|
55612
55606
|
chainId?: number | undefined;
|
|
55613
55607
|
connector?: wagmi0.Connector | undefined;
|
|
55614
55608
|
} | {
|
|
55615
|
-
abi:
|
|
55609
|
+
abi: abitype17.Abi;
|
|
55616
55610
|
functionName: string;
|
|
55617
55611
|
args?: readonly unknown[] | undefined;
|
|
55618
55612
|
address: Address;
|
|
55619
|
-
chain?:
|
|
55620
|
-
account?: `0x${string}` |
|
|
55613
|
+
chain?: viem0.Chain | null | undefined;
|
|
55614
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55621
55615
|
value?: bigint | undefined;
|
|
55622
55616
|
dataSuffix?: `0x${string}` | undefined;
|
|
55623
55617
|
type?: "eip1559" | undefined;
|
|
@@ -55630,66 +55624,66 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55630
55624
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55631
55625
|
maxFeePerGas?: bigint | undefined;
|
|
55632
55626
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55633
|
-
accessList?:
|
|
55627
|
+
accessList?: viem0.AccessList | undefined;
|
|
55634
55628
|
sidecars?: undefined;
|
|
55635
55629
|
authorizationList?: undefined;
|
|
55636
55630
|
chainId?: number | undefined;
|
|
55637
55631
|
connector?: wagmi0.Connector | undefined;
|
|
55638
55632
|
} | {
|
|
55639
|
-
abi:
|
|
55633
|
+
abi: abitype17.Abi;
|
|
55640
55634
|
functionName: string;
|
|
55641
55635
|
args?: readonly unknown[] | undefined;
|
|
55642
55636
|
address: Address;
|
|
55643
|
-
chain?:
|
|
55644
|
-
account?: `0x${string}` |
|
|
55637
|
+
chain?: viem0.Chain | null | undefined;
|
|
55638
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55645
55639
|
value?: bigint | undefined;
|
|
55646
55640
|
dataSuffix?: `0x${string}` | undefined;
|
|
55647
55641
|
type?: "eip4844" | undefined;
|
|
55648
55642
|
gas?: bigint | undefined;
|
|
55649
55643
|
nonce?: number | undefined;
|
|
55650
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55651
|
-
blobVersionedHashes: readonly
|
|
55644
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
55645
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
55652
55646
|
kzg?: undefined;
|
|
55653
55647
|
gasPrice?: undefined | undefined;
|
|
55654
55648
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55655
55649
|
maxFeePerGas?: bigint | undefined;
|
|
55656
55650
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55657
|
-
accessList?:
|
|
55658
|
-
sidecars?: readonly
|
|
55651
|
+
accessList?: viem0.AccessList | undefined;
|
|
55652
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55659
55653
|
authorizationList?: undefined;
|
|
55660
55654
|
chainId?: number | undefined;
|
|
55661
55655
|
connector?: wagmi0.Connector | undefined;
|
|
55662
55656
|
} | {
|
|
55663
|
-
abi:
|
|
55657
|
+
abi: abitype17.Abi;
|
|
55664
55658
|
functionName: string;
|
|
55665
55659
|
args?: readonly unknown[] | undefined;
|
|
55666
55660
|
address: Address;
|
|
55667
|
-
chain?:
|
|
55668
|
-
account?: `0x${string}` |
|
|
55661
|
+
chain?: viem0.Chain | null | undefined;
|
|
55662
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55669
55663
|
value?: bigint | undefined;
|
|
55670
55664
|
dataSuffix?: `0x${string}` | undefined;
|
|
55671
55665
|
type?: "eip4844" | undefined;
|
|
55672
55666
|
gas?: bigint | undefined;
|
|
55673
55667
|
nonce?: number | undefined;
|
|
55674
|
-
blobs: readonly
|
|
55668
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
55675
55669
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55676
|
-
kzg?:
|
|
55670
|
+
kzg?: viem0.Kzg | undefined;
|
|
55677
55671
|
gasPrice?: undefined | undefined;
|
|
55678
55672
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55679
55673
|
maxFeePerGas?: bigint | undefined;
|
|
55680
55674
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55681
|
-
accessList?:
|
|
55682
|
-
sidecars?: readonly
|
|
55675
|
+
accessList?: viem0.AccessList | undefined;
|
|
55676
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55683
55677
|
authorizationList?: undefined;
|
|
55684
55678
|
chainId?: number | undefined;
|
|
55685
55679
|
connector?: wagmi0.Connector | undefined;
|
|
55686
55680
|
} | {
|
|
55687
|
-
abi:
|
|
55681
|
+
abi: abitype17.Abi;
|
|
55688
55682
|
functionName: string;
|
|
55689
55683
|
args?: readonly unknown[] | undefined;
|
|
55690
55684
|
address: Address;
|
|
55691
|
-
chain?:
|
|
55692
|
-
account?: `0x${string}` |
|
|
55685
|
+
chain?: viem0.Chain | null | undefined;
|
|
55686
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55693
55687
|
value?: bigint | undefined;
|
|
55694
55688
|
dataSuffix?: `0x${string}` | undefined;
|
|
55695
55689
|
type?: "eip7702" | undefined;
|
|
@@ -55702,19 +55696,25 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55702
55696
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55703
55697
|
maxFeePerGas?: bigint | undefined;
|
|
55704
55698
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55705
|
-
accessList?:
|
|
55699
|
+
accessList?: viem0.AccessList | undefined;
|
|
55706
55700
|
sidecars?: undefined;
|
|
55707
|
-
authorizationList?:
|
|
55701
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
55708
55702
|
chainId?: number | undefined;
|
|
55709
55703
|
connector?: wagmi0.Connector | undefined;
|
|
55710
55704
|
};
|
|
55705
|
+
isError: true;
|
|
55711
55706
|
isIdle: false;
|
|
55707
|
+
isPending: false;
|
|
55708
|
+
isSuccess: false;
|
|
55712
55709
|
reset: () => void;
|
|
55713
55710
|
context: unknown;
|
|
55711
|
+
failureCount: number;
|
|
55712
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55713
|
+
isPaused: boolean;
|
|
55714
55714
|
submittedAt: number;
|
|
55715
|
-
mutate:
|
|
55716
|
-
writeContract:
|
|
55717
|
-
writeContractAsync:
|
|
55715
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55716
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55717
|
+
writeContractAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55718
55718
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55719
55719
|
model: "static";
|
|
55720
55720
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55725,22 +55725,16 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55725
55725
|
newPricingAddr: `0x${string}`;
|
|
55726
55726
|
}>;
|
|
55727
55727
|
} | {
|
|
55728
|
-
error: null;
|
|
55729
55728
|
data: `0x${string}`;
|
|
55729
|
+
error: null;
|
|
55730
55730
|
status: "success";
|
|
55731
|
-
isError: false;
|
|
55732
|
-
isPending: false;
|
|
55733
|
-
isSuccess: true;
|
|
55734
|
-
failureCount: number;
|
|
55735
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55736
|
-
isPaused: boolean;
|
|
55737
55731
|
variables: {
|
|
55738
|
-
abi:
|
|
55732
|
+
abi: abitype17.Abi;
|
|
55739
55733
|
functionName: string;
|
|
55740
55734
|
args?: readonly unknown[] | undefined;
|
|
55741
55735
|
address: Address;
|
|
55742
|
-
chain?:
|
|
55743
|
-
account?: `0x${string}` |
|
|
55736
|
+
chain?: viem0.Chain | null | undefined;
|
|
55737
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55744
55738
|
value?: bigint | undefined;
|
|
55745
55739
|
dataSuffix?: `0x${string}` | undefined;
|
|
55746
55740
|
type?: "legacy" | undefined;
|
|
@@ -55759,12 +55753,12 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55759
55753
|
chainId?: number | undefined;
|
|
55760
55754
|
connector?: wagmi0.Connector | undefined;
|
|
55761
55755
|
} | {
|
|
55762
|
-
abi:
|
|
55756
|
+
abi: abitype17.Abi;
|
|
55763
55757
|
functionName: string;
|
|
55764
55758
|
args?: readonly unknown[] | undefined;
|
|
55765
55759
|
address: Address;
|
|
55766
|
-
chain?:
|
|
55767
|
-
account?: `0x${string}` |
|
|
55760
|
+
chain?: viem0.Chain | null | undefined;
|
|
55761
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55768
55762
|
value?: bigint | undefined;
|
|
55769
55763
|
dataSuffix?: `0x${string}` | undefined;
|
|
55770
55764
|
type?: "eip2930" | undefined;
|
|
@@ -55777,18 +55771,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55777
55771
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55778
55772
|
maxFeePerGas?: undefined | undefined;
|
|
55779
55773
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55780
|
-
accessList?:
|
|
55774
|
+
accessList?: viem0.AccessList | undefined;
|
|
55781
55775
|
sidecars?: undefined;
|
|
55782
55776
|
authorizationList?: undefined;
|
|
55783
55777
|
chainId?: number | undefined;
|
|
55784
55778
|
connector?: wagmi0.Connector | undefined;
|
|
55785
55779
|
} | {
|
|
55786
|
-
abi:
|
|
55780
|
+
abi: abitype17.Abi;
|
|
55787
55781
|
functionName: string;
|
|
55788
55782
|
args?: readonly unknown[] | undefined;
|
|
55789
55783
|
address: Address;
|
|
55790
|
-
chain?:
|
|
55791
|
-
account?: `0x${string}` |
|
|
55784
|
+
chain?: viem0.Chain | null | undefined;
|
|
55785
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55792
55786
|
value?: bigint | undefined;
|
|
55793
55787
|
dataSuffix?: `0x${string}` | undefined;
|
|
55794
55788
|
type?: "eip1559" | undefined;
|
|
@@ -55801,66 +55795,66 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55801
55795
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55802
55796
|
maxFeePerGas?: bigint | undefined;
|
|
55803
55797
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55804
|
-
accessList?:
|
|
55798
|
+
accessList?: viem0.AccessList | undefined;
|
|
55805
55799
|
sidecars?: undefined;
|
|
55806
55800
|
authorizationList?: undefined;
|
|
55807
55801
|
chainId?: number | undefined;
|
|
55808
55802
|
connector?: wagmi0.Connector | undefined;
|
|
55809
55803
|
} | {
|
|
55810
|
-
abi:
|
|
55804
|
+
abi: abitype17.Abi;
|
|
55811
55805
|
functionName: string;
|
|
55812
55806
|
args?: readonly unknown[] | undefined;
|
|
55813
55807
|
address: Address;
|
|
55814
|
-
chain?:
|
|
55815
|
-
account?: `0x${string}` |
|
|
55808
|
+
chain?: viem0.Chain | null | undefined;
|
|
55809
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55816
55810
|
value?: bigint | undefined;
|
|
55817
55811
|
dataSuffix?: `0x${string}` | undefined;
|
|
55818
55812
|
type?: "eip4844" | undefined;
|
|
55819
55813
|
gas?: bigint | undefined;
|
|
55820
55814
|
nonce?: number | undefined;
|
|
55821
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55822
|
-
blobVersionedHashes: readonly
|
|
55815
|
+
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
55816
|
+
blobVersionedHashes: readonly viem0.Hex[];
|
|
55823
55817
|
kzg?: undefined;
|
|
55824
55818
|
gasPrice?: undefined | undefined;
|
|
55825
55819
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55826
55820
|
maxFeePerGas?: bigint | undefined;
|
|
55827
55821
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55828
|
-
accessList?:
|
|
55829
|
-
sidecars?: readonly
|
|
55822
|
+
accessList?: viem0.AccessList | undefined;
|
|
55823
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55830
55824
|
authorizationList?: undefined;
|
|
55831
55825
|
chainId?: number | undefined;
|
|
55832
55826
|
connector?: wagmi0.Connector | undefined;
|
|
55833
55827
|
} | {
|
|
55834
|
-
abi:
|
|
55828
|
+
abi: abitype17.Abi;
|
|
55835
55829
|
functionName: string;
|
|
55836
55830
|
args?: readonly unknown[] | undefined;
|
|
55837
55831
|
address: Address;
|
|
55838
|
-
chain?:
|
|
55839
|
-
account?: `0x${string}` |
|
|
55832
|
+
chain?: viem0.Chain | null | undefined;
|
|
55833
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55840
55834
|
value?: bigint | undefined;
|
|
55841
55835
|
dataSuffix?: `0x${string}` | undefined;
|
|
55842
55836
|
type?: "eip4844" | undefined;
|
|
55843
55837
|
gas?: bigint | undefined;
|
|
55844
55838
|
nonce?: number | undefined;
|
|
55845
|
-
blobs: readonly
|
|
55839
|
+
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
55846
55840
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55847
|
-
kzg?:
|
|
55841
|
+
kzg?: viem0.Kzg | undefined;
|
|
55848
55842
|
gasPrice?: undefined | undefined;
|
|
55849
55843
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55850
55844
|
maxFeePerGas?: bigint | undefined;
|
|
55851
55845
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55852
|
-
accessList?:
|
|
55853
|
-
sidecars?: readonly
|
|
55846
|
+
accessList?: viem0.AccessList | undefined;
|
|
55847
|
+
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55854
55848
|
authorizationList?: undefined;
|
|
55855
55849
|
chainId?: number | undefined;
|
|
55856
55850
|
connector?: wagmi0.Connector | undefined;
|
|
55857
55851
|
} | {
|
|
55858
|
-
abi:
|
|
55852
|
+
abi: abitype17.Abi;
|
|
55859
55853
|
functionName: string;
|
|
55860
55854
|
args?: readonly unknown[] | undefined;
|
|
55861
55855
|
address: Address;
|
|
55862
|
-
chain?:
|
|
55863
|
-
account?: `0x${string}` |
|
|
55856
|
+
chain?: viem0.Chain | null | undefined;
|
|
55857
|
+
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55864
55858
|
value?: bigint | undefined;
|
|
55865
55859
|
dataSuffix?: `0x${string}` | undefined;
|
|
55866
55860
|
type?: "eip7702" | undefined;
|
|
@@ -55873,19 +55867,25 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55873
55867
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55874
55868
|
maxFeePerGas?: bigint | undefined;
|
|
55875
55869
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55876
|
-
accessList?:
|
|
55870
|
+
accessList?: viem0.AccessList | undefined;
|
|
55877
55871
|
sidecars?: undefined;
|
|
55878
|
-
authorizationList?:
|
|
55872
|
+
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
55879
55873
|
chainId?: number | undefined;
|
|
55880
55874
|
connector?: wagmi0.Connector | undefined;
|
|
55881
55875
|
};
|
|
55876
|
+
isError: false;
|
|
55882
55877
|
isIdle: false;
|
|
55878
|
+
isPending: false;
|
|
55879
|
+
isSuccess: true;
|
|
55883
55880
|
reset: () => void;
|
|
55884
55881
|
context: unknown;
|
|
55882
|
+
failureCount: number;
|
|
55883
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55884
|
+
isPaused: boolean;
|
|
55885
55885
|
submittedAt: number;
|
|
55886
|
-
mutate:
|
|
55887
|
-
writeContract:
|
|
55888
|
-
writeContractAsync:
|
|
55886
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55887
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55888
|
+
writeContractAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55889
55889
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55890
55890
|
model: "static";
|
|
55891
55891
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55901,7 +55901,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55901
55901
|
declare const useLens: () => {
|
|
55902
55902
|
timelockLens: {
|
|
55903
55903
|
read: {
|
|
55904
|
-
batchGetRefTick: (args: readonly [vault: `0x${string}`, tickLower: readonly number[]], options?:
|
|
55904
|
+
batchGetRefTick: (args: readonly [vault: `0x${string}`, tickLower: readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55905
55905
|
readonly type: "function";
|
|
55906
55906
|
readonly name: "batchGetRefTick";
|
|
55907
55907
|
readonly inputs: readonly [{
|
|
@@ -56856,7 +56856,7 @@ declare const useLens: () => {
|
|
|
56856
56856
|
}];
|
|
56857
56857
|
readonly stateMutability: "view";
|
|
56858
56858
|
}], "batchGetRefTick", readonly [vault: `0x${string}`, tickLower: readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
56859
|
-
getAllBlocks: (args: readonly [vault: `0x${string}`], options?:
|
|
56859
|
+
getAllBlocks: (args: readonly [vault: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56860
56860
|
readonly type: "function";
|
|
56861
56861
|
readonly name: "batchGetRefTick";
|
|
56862
56862
|
readonly inputs: readonly [{
|
|
@@ -57824,7 +57824,7 @@ declare const useLens: () => {
|
|
|
57824
57824
|
borrowedAmount0: bigint;
|
|
57825
57825
|
borrowedAmount1: bigint;
|
|
57826
57826
|
}[]>;
|
|
57827
|
-
getExpiredOptions: (args: readonly [market: `0x${string}`, bigint, bigint], options?:
|
|
57827
|
+
getExpiredOptions: (args: readonly [market: `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57828
57828
|
readonly type: "function";
|
|
57829
57829
|
readonly name: "batchGetRefTick";
|
|
57830
57830
|
readonly inputs: readonly [{
|
|
@@ -58789,7 +58789,7 @@ declare const useLens: () => {
|
|
|
58789
58789
|
expiresAt: number;
|
|
58790
58790
|
liquidities: readonly bigint[];
|
|
58791
58791
|
}[]>;
|
|
58792
|
-
getFeeRates: (args: readonly [`0x${string}`], options?:
|
|
58792
|
+
getFeeRates: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58793
58793
|
readonly type: "function";
|
|
58794
58794
|
readonly name: "batchGetRefTick";
|
|
58795
58795
|
readonly inputs: readonly [{
|
|
@@ -59750,7 +59750,7 @@ declare const useLens: () => {
|
|
|
59750
59750
|
minBaseFee: bigint;
|
|
59751
59751
|
feeRecipient: `0x${string}`;
|
|
59752
59752
|
}>;
|
|
59753
|
-
getGlobalGuardianState: (args: readonly [guardian: `0x${string}`], options?:
|
|
59753
|
+
getGlobalGuardianState: (args: readonly [guardian: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59754
59754
|
readonly type: "function";
|
|
59755
59755
|
readonly name: "batchGetRefTick";
|
|
59756
59756
|
readonly inputs: readonly [{
|
|
@@ -60721,7 +60721,7 @@ declare const useLens: () => {
|
|
|
60721
60721
|
senderIsAdmin: boolean;
|
|
60722
60722
|
senderIsPauser: boolean;
|
|
60723
60723
|
}>;
|
|
60724
|
-
getLiquidityAtTick: (args: readonly [vault: `0x${string}`, tickLower: number], options?:
|
|
60724
|
+
getLiquidityAtTick: (args: readonly [vault: `0x${string}`, tickLower: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60725
60725
|
readonly type: "function";
|
|
60726
60726
|
readonly name: "batchGetRefTick";
|
|
60727
60727
|
readonly inputs: readonly [{
|
|
@@ -61676,7 +61676,7 @@ declare const useLens: () => {
|
|
|
61676
61676
|
}];
|
|
61677
61677
|
readonly stateMutability: "view";
|
|
61678
61678
|
}], "getLiquidityAtTick", readonly [vault: `0x${string}`, tickLower: number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
61679
|
-
getMarketData: (args: readonly [market: `0x${string}`], options?:
|
|
61679
|
+
getMarketData: (args: readonly [market: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61680
61680
|
readonly type: "function";
|
|
61681
61681
|
readonly name: "batchGetRefTick";
|
|
61682
61682
|
readonly inputs: readonly [{
|
|
@@ -62652,7 +62652,7 @@ declare const useLens: () => {
|
|
|
62652
62652
|
optionAssetName: string;
|
|
62653
62653
|
payoutAssetName: string;
|
|
62654
62654
|
}>;
|
|
62655
|
-
getMarketState: (args: readonly [market: `0x${string}`], options?:
|
|
62655
|
+
getMarketState: (args: readonly [market: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
62656
62656
|
readonly type: "function";
|
|
62657
62657
|
readonly name: "batchGetRefTick";
|
|
62658
62658
|
readonly inputs: readonly [{
|
|
@@ -63612,7 +63612,7 @@ declare const useLens: () => {
|
|
|
63612
63612
|
feeStrategy: `0x${string}`;
|
|
63613
63613
|
owner: `0x${string}`;
|
|
63614
63614
|
}>;
|
|
63615
|
-
getMaxATMPositionSizes: (args: readonly [market: `0x${string}`, number], options?:
|
|
63615
|
+
getMaxATMPositionSizes: (args: readonly [market: `0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
63616
63616
|
readonly type: "function";
|
|
63617
63617
|
readonly name: "batchGetRefTick";
|
|
63618
63618
|
readonly inputs: readonly [{
|
|
@@ -64567,7 +64567,7 @@ declare const useLens: () => {
|
|
|
64567
64567
|
}];
|
|
64568
64568
|
readonly stateMutability: "view";
|
|
64569
64569
|
}], "getMaxATMPositionSizes", readonly [market: `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
64570
|
-
getMaxBorrowable0: (args: readonly [vault: `0x${string}`, number, number], options?:
|
|
64570
|
+
getMaxBorrowable0: (args: readonly [vault: `0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
64571
64571
|
readonly type: "function";
|
|
64572
64572
|
readonly name: "batchGetRefTick";
|
|
64573
64573
|
readonly inputs: readonly [{
|
|
@@ -65522,7 +65522,7 @@ declare const useLens: () => {
|
|
|
65522
65522
|
}];
|
|
65523
65523
|
readonly stateMutability: "view";
|
|
65524
65524
|
}], "getMaxBorrowable0", readonly [vault: `0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
65525
|
-
getMaxBorrowable1: (args: readonly [vault: `0x${string}`, number, number], options?:
|
|
65525
|
+
getMaxBorrowable1: (args: readonly [vault: `0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
65526
65526
|
readonly type: "function";
|
|
65527
65527
|
readonly name: "batchGetRefTick";
|
|
65528
65528
|
readonly inputs: readonly [{
|
|
@@ -66477,7 +66477,7 @@ declare const useLens: () => {
|
|
|
66477
66477
|
}];
|
|
66478
66478
|
readonly stateMutability: "view";
|
|
66479
66479
|
}], "getMaxBorrowable1", readonly [vault: `0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
66480
|
-
getMaxPositionSizes: (args: readonly [market: `0x${string}`, number, number], options?:
|
|
66480
|
+
getMaxPositionSizes: (args: readonly [market: `0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
66481
66481
|
readonly type: "function";
|
|
66482
66482
|
readonly name: "batchGetRefTick";
|
|
66483
66483
|
readonly inputs: readonly [{
|
|
@@ -67432,7 +67432,7 @@ declare const useLens: () => {
|
|
|
67432
67432
|
}];
|
|
67433
67433
|
readonly stateMutability: "view";
|
|
67434
67434
|
}], "getMaxPositionSizes", readonly [market: `0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
67435
|
-
getOptionData: (args: readonly [market: `0x${string}`, bigint], options?:
|
|
67435
|
+
getOptionData: (args: readonly [market: `0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
67436
67436
|
readonly type: "function";
|
|
67437
67437
|
readonly name: "batchGetRefTick";
|
|
67438
67438
|
readonly inputs: readonly [{
|
|
@@ -68397,7 +68397,7 @@ declare const useLens: () => {
|
|
|
68397
68397
|
expiresAt: number;
|
|
68398
68398
|
liquidities: readonly bigint[];
|
|
68399
68399
|
}>;
|
|
68400
|
-
getOptionPricingParams: (args: readonly [`0x${string}`], options?:
|
|
68400
|
+
getOptionPricingParams: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
68401
68401
|
readonly type: "function";
|
|
68402
68402
|
readonly name: "batchGetRefTick";
|
|
68403
68403
|
readonly inputs: readonly [{
|
|
@@ -69358,7 +69358,7 @@ declare const useLens: () => {
|
|
|
69358
69358
|
minPremiumDailyRate: number;
|
|
69359
69359
|
minPremiumAmount: bigint;
|
|
69360
69360
|
}>;
|
|
69361
|
-
getOptionsData: (args: readonly [market: `0x${string}`, readonly bigint[]], options?:
|
|
69361
|
+
getOptionsData: (args: readonly [market: `0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
69362
69362
|
readonly type: "function";
|
|
69363
69363
|
readonly name: "batchGetRefTick";
|
|
69364
69364
|
readonly inputs: readonly [{
|
|
@@ -70329,7 +70329,7 @@ declare const useLens: () => {
|
|
|
70329
70329
|
fee: number;
|
|
70330
70330
|
tickSpacing: number;
|
|
70331
70331
|
hooks: `0x${string}`;
|
|
70332
|
-
}], options?:
|
|
70332
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
70333
70333
|
readonly type: "function";
|
|
70334
70334
|
readonly name: "batchGetRefTick";
|
|
70335
70335
|
readonly inputs: readonly [{
|
|
@@ -71301,7 +71301,7 @@ declare const useLens: () => {
|
|
|
71301
71301
|
tickSpacing: number;
|
|
71302
71302
|
fee: number;
|
|
71303
71303
|
}>;
|
|
71304
|
-
getPricingParams: (args: readonly [`0x${string}`], options?:
|
|
71304
|
+
getPricingParams: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
71305
71305
|
readonly type: "function";
|
|
71306
71306
|
readonly name: "batchGetRefTick";
|
|
71307
71307
|
readonly inputs: readonly [{
|
|
@@ -72256,7 +72256,7 @@ declare const useLens: () => {
|
|
|
72256
72256
|
}];
|
|
72257
72257
|
readonly stateMutability: "view";
|
|
72258
72258
|
}], "getPricingParams", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [number, data: `0x${string}`]>;
|
|
72259
|
-
getRefTick: (args: readonly [vault: `0x${string}`, tickLower: number], options?:
|
|
72259
|
+
getRefTick: (args: readonly [vault: `0x${string}`, tickLower: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
72260
72260
|
readonly type: "function";
|
|
72261
72261
|
readonly name: "batchGetRefTick";
|
|
72262
72262
|
readonly inputs: readonly [{
|
|
@@ -73211,7 +73211,7 @@ declare const useLens: () => {
|
|
|
73211
73211
|
}];
|
|
73212
73212
|
readonly stateMutability: "view";
|
|
73213
73213
|
}], "getRefTick", readonly [vault: `0x${string}`, tickLower: number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
73214
|
-
getStaticPricingParams: (args: readonly [`0x${string}`], options?:
|
|
73214
|
+
getStaticPricingParams: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
73215
73215
|
readonly type: "function";
|
|
73216
73216
|
readonly name: "batchGetRefTick";
|
|
73217
73217
|
readonly inputs: readonly [{
|
|
@@ -74169,7 +74169,7 @@ declare const useLens: () => {
|
|
|
74169
74169
|
dailyFundingRate: number;
|
|
74170
74170
|
minFundingAmount: bigint;
|
|
74171
74171
|
}>;
|
|
74172
|
-
getTokenData: (args: readonly [token: `0x${string}`], options?:
|
|
74172
|
+
getTokenData: (args: readonly [token: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
74173
74173
|
readonly type: "function";
|
|
74174
74174
|
readonly name: "batchGetRefTick";
|
|
74175
74175
|
readonly inputs: readonly [{
|
|
@@ -75128,7 +75128,7 @@ declare const useLens: () => {
|
|
|
75128
75128
|
symbol: string;
|
|
75129
75129
|
name: string;
|
|
75130
75130
|
}>;
|
|
75131
|
-
getUserOptions: (args: readonly [market: `0x${string}`, user: `0x${string}`, bigint, limit: bigint], options?:
|
|
75131
|
+
getUserOptions: (args: readonly [market: `0x${string}`, user: `0x${string}`, bigint, limit: bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
75132
75132
|
readonly type: "function";
|
|
75133
75133
|
readonly name: "batchGetRefTick";
|
|
75134
75134
|
readonly inputs: readonly [{
|
|
@@ -76093,7 +76093,7 @@ declare const useLens: () => {
|
|
|
76093
76093
|
expiresAt: number;
|
|
76094
76094
|
liquidities: readonly bigint[];
|
|
76095
76095
|
}[], bigint, boolean]>;
|
|
76096
|
-
getVaultData: (args: readonly [vault: `0x${string}`], options?:
|
|
76096
|
+
getVaultData: (args: readonly [vault: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
76097
76097
|
readonly type: "function";
|
|
76098
76098
|
readonly name: "batchGetRefTick";
|
|
76099
76099
|
readonly inputs: readonly [{
|
|
@@ -77060,7 +77060,7 @@ declare const useLens: () => {
|
|
|
77060
77060
|
lowestTick: number;
|
|
77061
77061
|
highestTick: number;
|
|
77062
77062
|
}>;
|
|
77063
|
-
getVaultTVL: (args: readonly [vault: `0x${string}`], options?:
|
|
77063
|
+
getVaultTVL: (args: readonly [vault: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
77064
77064
|
readonly type: "function";
|
|
77065
77065
|
readonly name: "batchGetRefTick";
|
|
77066
77066
|
readonly inputs: readonly [{
|
|
@@ -78981,7 +78981,7 @@ declare const useLens: () => {
|
|
|
78981
78981
|
fee: number;
|
|
78982
78982
|
tickSpacing: number;
|
|
78983
78983
|
hooks: `0x${string}`;
|
|
78984
|
-
}], options?:
|
|
78984
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
78985
78985
|
readonly type: "function";
|
|
78986
78986
|
readonly name: "getFeeGrowthGlobals";
|
|
78987
78987
|
readonly inputs: readonly [{
|
|
@@ -79822,7 +79822,7 @@ declare const useLens: () => {
|
|
|
79822
79822
|
fee: number;
|
|
79823
79823
|
tickSpacing: number;
|
|
79824
79824
|
hooks: `0x${string}`;
|
|
79825
|
-
}] | readonly [`0x${string}`, poolId: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`], options?:
|
|
79825
|
+
}] | readonly [`0x${string}`, poolId: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
79826
79826
|
readonly type: "function";
|
|
79827
79827
|
readonly name: "getFeeGrowthGlobals";
|
|
79828
79828
|
readonly inputs: readonly [{
|
|
@@ -80664,7 +80664,7 @@ declare const useLens: () => {
|
|
|
80664
80664
|
tickSpacing: number;
|
|
80665
80665
|
hooks: `0x${string}`;
|
|
80666
80666
|
}] | readonly [`0x${string}`, poolId: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
80667
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tickLower: number, tickUpper: number], options?:
|
|
80667
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tickLower: number, tickUpper: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
80668
80668
|
readonly type: "function";
|
|
80669
80669
|
readonly name: "getFeeGrowthGlobals";
|
|
80670
80670
|
readonly inputs: readonly [{
|
|
@@ -81511,7 +81511,7 @@ declare const useLens: () => {
|
|
|
81511
81511
|
fee: number;
|
|
81512
81512
|
tickSpacing: number;
|
|
81513
81513
|
hooks: `0x${string}`;
|
|
81514
|
-
}, tickLower: number, tickUpper: number], options?:
|
|
81514
|
+
}, tickLower: number, tickUpper: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
81515
81515
|
readonly type: "function";
|
|
81516
81516
|
readonly name: "getFeeGrowthGlobals";
|
|
81517
81517
|
readonly inputs: readonly [{
|
|
@@ -82353,7 +82353,7 @@ declare const useLens: () => {
|
|
|
82353
82353
|
tickSpacing: number;
|
|
82354
82354
|
hooks: `0x${string}`;
|
|
82355
82355
|
}, tickLower: number, tickUpper: number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
82356
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`], options?:
|
|
82356
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
82357
82357
|
readonly type: "function";
|
|
82358
82358
|
readonly name: "getFeeGrowthGlobals";
|
|
82359
82359
|
readonly inputs: readonly [{
|
|
@@ -83200,7 +83200,7 @@ declare const useLens: () => {
|
|
|
83200
83200
|
fee: number;
|
|
83201
83201
|
tickSpacing: number;
|
|
83202
83202
|
hooks: `0x${string}`;
|
|
83203
|
-
}], options?:
|
|
83203
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
83204
83204
|
readonly type: "function";
|
|
83205
83205
|
readonly name: "getFeeGrowthGlobals";
|
|
83206
83206
|
readonly inputs: readonly [{
|
|
@@ -84048,7 +84048,7 @@ declare const useLens: () => {
|
|
|
84048
84048
|
fee: number;
|
|
84049
84049
|
tickSpacing: number;
|
|
84050
84050
|
hooks: `0x${string}`;
|
|
84051
|
-
}, positionId: `0x${string}`], options?:
|
|
84051
|
+
}, positionId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
84052
84052
|
readonly type: "function";
|
|
84053
84053
|
readonly name: "getFeeGrowthGlobals";
|
|
84054
84054
|
readonly inputs: readonly [{
|
|
@@ -84895,7 +84895,7 @@ declare const useLens: () => {
|
|
|
84895
84895
|
fee: number;
|
|
84896
84896
|
tickSpacing: number;
|
|
84897
84897
|
hooks: `0x${string}`;
|
|
84898
|
-
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, positionId: `0x${string}`], options?:
|
|
84898
|
+
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, positionId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
84899
84899
|
readonly type: "function";
|
|
84900
84900
|
readonly name: "getFeeGrowthGlobals";
|
|
84901
84901
|
readonly inputs: readonly [{
|
|
@@ -85742,7 +85742,7 @@ declare const useLens: () => {
|
|
|
85742
85742
|
fee: number;
|
|
85743
85743
|
tickSpacing: number;
|
|
85744
85744
|
hooks: `0x${string}`;
|
|
85745
|
-
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`], options?:
|
|
85745
|
+
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
85746
85746
|
readonly type: "function";
|
|
85747
85747
|
readonly name: "getFeeGrowthGlobals";
|
|
85748
85748
|
readonly inputs: readonly [{
|
|
@@ -86595,7 +86595,7 @@ declare const useLens: () => {
|
|
|
86595
86595
|
fee: number;
|
|
86596
86596
|
tickSpacing: number;
|
|
86597
86597
|
hooks: `0x${string}`;
|
|
86598
|
-
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`], options?:
|
|
86598
|
+
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
86599
86599
|
readonly type: "function";
|
|
86600
86600
|
readonly name: "getFeeGrowthGlobals";
|
|
86601
86601
|
readonly inputs: readonly [{
|
|
@@ -87443,7 +87443,7 @@ declare const useLens: () => {
|
|
|
87443
87443
|
tickSpacing: number;
|
|
87444
87444
|
hooks: `0x${string}`;
|
|
87445
87445
|
}, owner: `0x${string}`, tickLower: number, tickUpper: number, salt: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
87446
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, positionId: `0x${string}`], options?:
|
|
87446
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, positionId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
87447
87447
|
readonly type: "function";
|
|
87448
87448
|
readonly name: "getFeeGrowthGlobals";
|
|
87449
87449
|
readonly inputs: readonly [{
|
|
@@ -88290,7 +88290,7 @@ declare const useLens: () => {
|
|
|
88290
88290
|
fee: number;
|
|
88291
88291
|
tickSpacing: number;
|
|
88292
88292
|
hooks: `0x${string}`;
|
|
88293
|
-
}, positionId: `0x${string}`], options?:
|
|
88293
|
+
}, positionId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
88294
88294
|
readonly type: "function";
|
|
88295
88295
|
readonly name: "getFeeGrowthGlobals";
|
|
88296
88296
|
readonly inputs: readonly [{
|
|
@@ -89138,7 +89138,7 @@ declare const useLens: () => {
|
|
|
89138
89138
|
fee: number;
|
|
89139
89139
|
tickSpacing: number;
|
|
89140
89140
|
hooks: `0x${string}`;
|
|
89141
|
-
}], options?:
|
|
89141
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
89142
89142
|
readonly type: "function";
|
|
89143
89143
|
readonly name: "getFeeGrowthGlobals";
|
|
89144
89144
|
readonly inputs: readonly [{
|
|
@@ -89980,7 +89980,7 @@ declare const useLens: () => {
|
|
|
89980
89980
|
tickSpacing: number;
|
|
89981
89981
|
hooks: `0x${string}`;
|
|
89982
89982
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [sqrtPriceX96: bigint, tick: number, number, number]>;
|
|
89983
|
-
getSlot0FromId: (args: readonly [`0x${string}`, poolId: `0x${string}`], options?:
|
|
89983
|
+
getSlot0FromId: (args: readonly [`0x${string}`, poolId: `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
89984
89984
|
readonly type: "function";
|
|
89985
89985
|
readonly name: "getFeeGrowthGlobals";
|
|
89986
89986
|
readonly inputs: readonly [{
|
|
@@ -90822,7 +90822,7 @@ declare const useLens: () => {
|
|
|
90822
90822
|
fee: number;
|
|
90823
90823
|
tickSpacing: number;
|
|
90824
90824
|
hooks: `0x${string}`;
|
|
90825
|
-
}, tick: number], options?:
|
|
90825
|
+
}, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
90826
90826
|
readonly type: "function";
|
|
90827
90827
|
readonly name: "getFeeGrowthGlobals";
|
|
90828
90828
|
readonly inputs: readonly [{
|
|
@@ -91663,7 +91663,7 @@ declare const useLens: () => {
|
|
|
91663
91663
|
fee: number;
|
|
91664
91664
|
tickSpacing: number;
|
|
91665
91665
|
hooks: `0x${string}`;
|
|
91666
|
-
}, tick: number] | readonly [`0x${string}`, poolId: `0x${string}`, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?:
|
|
91666
|
+
}, tick: number] | readonly [`0x${string}`, poolId: `0x${string}`, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
91667
91667
|
readonly type: "function";
|
|
91668
91668
|
readonly name: "getFeeGrowthGlobals";
|
|
91669
91669
|
readonly inputs: readonly [{
|
|
@@ -92505,7 +92505,7 @@ declare const useLens: () => {
|
|
|
92505
92505
|
tickSpacing: number;
|
|
92506
92506
|
hooks: `0x${string}`;
|
|
92507
92507
|
}, tick: number] | readonly [`0x${string}`, poolId: `0x${string}`, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
92508
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?:
|
|
92508
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
92509
92509
|
readonly type: "function";
|
|
92510
92510
|
readonly name: "getFeeGrowthGlobals";
|
|
92511
92511
|
readonly inputs: readonly [{
|
|
@@ -93352,7 +93352,7 @@ declare const useLens: () => {
|
|
|
93352
93352
|
fee: number;
|
|
93353
93353
|
tickSpacing: number;
|
|
93354
93354
|
hooks: `0x${string}`;
|
|
93355
|
-
}, tick: number], options?:
|
|
93355
|
+
}, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
93356
93356
|
readonly type: "function";
|
|
93357
93357
|
readonly name: "getFeeGrowthGlobals";
|
|
93358
93358
|
readonly inputs: readonly [{
|
|
@@ -94194,7 +94194,7 @@ declare const useLens: () => {
|
|
|
94194
94194
|
tickSpacing: number;
|
|
94195
94195
|
hooks: `0x${string}`;
|
|
94196
94196
|
}, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
94197
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?:
|
|
94197
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
94198
94198
|
readonly type: "function";
|
|
94199
94199
|
readonly name: "getFeeGrowthGlobals";
|
|
94200
94200
|
readonly inputs: readonly [{
|
|
@@ -95041,7 +95041,7 @@ declare const useLens: () => {
|
|
|
95041
95041
|
fee: number;
|
|
95042
95042
|
tickSpacing: number;
|
|
95043
95043
|
hooks: `0x${string}`;
|
|
95044
|
-
}, tick: number], options?:
|
|
95044
|
+
}, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
95045
95045
|
readonly type: "function";
|
|
95046
95046
|
readonly name: "getFeeGrowthGlobals";
|
|
95047
95047
|
readonly inputs: readonly [{
|
|
@@ -95883,7 +95883,7 @@ declare const useLens: () => {
|
|
|
95883
95883
|
tickSpacing: number;
|
|
95884
95884
|
hooks: `0x${string}`;
|
|
95885
95885
|
}, tick: number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
95886
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?:
|
|
95886
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, poolId: `0x${string}`, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
95887
95887
|
readonly type: "function";
|
|
95888
95888
|
readonly name: "getFeeGrowthGlobals";
|
|
95889
95889
|
readonly inputs: readonly [{
|
|
@@ -96730,7 +96730,7 @@ declare const useLens: () => {
|
|
|
96730
96730
|
fee: number;
|
|
96731
96731
|
tickSpacing: number;
|
|
96732
96732
|
hooks: `0x${string}`;
|
|
96733
|
-
}, tick: number], options?:
|
|
96733
|
+
}, tick: number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
96734
96734
|
readonly type: "function";
|
|
96735
96735
|
readonly name: "getFeeGrowthGlobals";
|
|
96736
96736
|
readonly inputs: readonly [{
|
|
@@ -98414,4 +98414,4 @@ declare const useLens: () => {
|
|
|
98414
98414
|
};
|
|
98415
98415
|
//#endregion
|
|
98416
98416
|
export { PriceResolution as $, useCurrentPrice as A, wrapAmount as At, getPriceAtTick as B, useTimelockConfig as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatCondensed as Dt, usePriceHistory as E, formatAmount as Et, getPayoutAtTick as F, useMarketVolume as Ft, liquiditiesToAmounts as G, getStateView as Gt, getTickAtPrice as H, TimelockMarket as Ht, PRICE_PRECISION as I, useMarketState as It, token0ToToken1AtTick as J, stateViews as Jt, roundTick as K, getTimelockLens as Kt, getAmountsFromLiquidity as L, useMarketData as Lt, UniswapPoolData as M, wrapPrice as Mt, usePoolData as N, wrapPriceUnscaled as Nt, usePriceAtTick as O, formatUSD as Ot, getPayoutAtPrice as P, zero as Pt, PriceDataPoint as Q, timelockLenses as Qt, getNearestValidStrikeTick as R, TimelockProvider as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, TimelockMarketData as Ut, getSqrtPriceX96AtPrice as V, TimelockLens as Vt, liquiditiesToAmount1 as W, getErc20 as Wt, token1ToToken0AtTick as X, swappers as Xt, token1ToToken0 as Y, swapRouters as Yt, PriceData as Z, timelockFactories 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, 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, wrapAmountUnscaled as jt, useCurrentTick as k, formatVagueAmount as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, getTimelockMarket as qt, useStaticPricingParams as r, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, 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, useCurrentMarket as zt };
|
|
98417
|
-
//# sourceMappingURL=client-
|
|
98417
|
+
//# sourceMappingURL=client-BY5ZCyBm.d.ts.map
|