timelock-sdk 0.0.187 → 0.0.188
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-D_0Cm9hR.d.cts → client-BIJ-W30I.d.cts} +624 -592
- package/dist/{client-8AJEd9YL.d.ts → client-q6so0Zef.d.ts} +247 -215
- package/dist/client.d.cts +1 -2
- package/dist/client.d.ts +1 -2
- package/dist/package.cjs +0 -1
- package/dist/package.d.cts +1 -2
- package/dist/package.d.ts +1 -2
- package/dist/package.js +0 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-B0Om62Sk.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem356 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
@@ -247,7 +247,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
247
247
|
};
|
|
248
248
|
declare const getErc20: (address: Address, client: Client) => {
|
|
249
249
|
read: {
|
|
250
|
-
symbol: (options?:
|
|
250
|
+
symbol: (options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
251
251
|
readonly type: "constructor";
|
|
252
252
|
readonly inputs: readonly [{
|
|
253
253
|
readonly name: "name_";
|
|
@@ -426,7 +426,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
426
426
|
}];
|
|
427
427
|
readonly stateMutability: "nonpayable";
|
|
428
428
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
429
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
429
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
430
430
|
readonly type: "constructor";
|
|
431
431
|
readonly inputs: readonly [{
|
|
432
432
|
readonly name: "name_";
|
|
@@ -605,7 +605,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
605
605
|
}];
|
|
606
606
|
readonly stateMutability: "nonpayable";
|
|
607
607
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
608
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
608
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
609
609
|
readonly type: "constructor";
|
|
610
610
|
readonly inputs: readonly [{
|
|
611
611
|
readonly name: "name_";
|
|
@@ -784,7 +784,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
784
784
|
}];
|
|
785
785
|
readonly stateMutability: "nonpayable";
|
|
786
786
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
787
|
-
decimals: (options?:
|
|
787
|
+
decimals: (options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
788
788
|
readonly type: "constructor";
|
|
789
789
|
readonly inputs: readonly [{
|
|
790
790
|
readonly name: "name_";
|
|
@@ -963,7 +963,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
963
963
|
}];
|
|
964
964
|
readonly stateMutability: "nonpayable";
|
|
965
965
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
966
|
-
name: (options?:
|
|
966
|
+
name: (options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
967
967
|
readonly type: "constructor";
|
|
968
968
|
readonly inputs: readonly [{
|
|
969
969
|
readonly name: "name_";
|
|
@@ -1142,7 +1142,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1142
1142
|
}];
|
|
1143
1143
|
readonly stateMutability: "nonpayable";
|
|
1144
1144
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1145
|
-
totalSupply: (options?:
|
|
1145
|
+
totalSupply: (options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
1146
1146
|
readonly type: "constructor";
|
|
1147
1147
|
readonly inputs: readonly [{
|
|
1148
1148
|
readonly name: "name_";
|
|
@@ -1323,7 +1323,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1323
1323
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1324
1324
|
};
|
|
1325
1325
|
estimateGas: {
|
|
1326
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1326
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
1327
1327
|
readonly type: "constructor";
|
|
1328
1328
|
readonly inputs: readonly [{
|
|
1329
1329
|
readonly name: "name_";
|
|
@@ -1501,8 +1501,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1501
1501
|
readonly internalType: "bool";
|
|
1502
1502
|
}];
|
|
1503
1503
|
readonly stateMutability: "nonpayable";
|
|
1504
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1505
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1504
|
+
}], "approve", readonly [`0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
1505
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
1506
1506
|
readonly type: "constructor";
|
|
1507
1507
|
readonly inputs: readonly [{
|
|
1508
1508
|
readonly name: "name_";
|
|
@@ -1680,8 +1680,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1680
1680
|
readonly internalType: "bool";
|
|
1681
1681
|
}];
|
|
1682
1682
|
readonly stateMutability: "nonpayable";
|
|
1683
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1684
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1683
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
1684
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
1685
1685
|
readonly type: "constructor";
|
|
1686
1686
|
readonly inputs: readonly [{
|
|
1687
1687
|
readonly name: "name_";
|
|
@@ -1859,8 +1859,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1859
1859
|
readonly internalType: "bool";
|
|
1860
1860
|
}];
|
|
1861
1861
|
readonly stateMutability: "nonpayable";
|
|
1862
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1863
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1862
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
1863
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
1864
1864
|
readonly type: "constructor";
|
|
1865
1865
|
readonly inputs: readonly [{
|
|
1866
1866
|
readonly name: "name_";
|
|
@@ -2038,8 +2038,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2038
2038
|
readonly internalType: "bool";
|
|
2039
2039
|
}];
|
|
2040
2040
|
readonly stateMutability: "nonpayable";
|
|
2041
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2042
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2041
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
2042
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
2043
2043
|
readonly type: "constructor";
|
|
2044
2044
|
readonly inputs: readonly [{
|
|
2045
2045
|
readonly name: "name_";
|
|
@@ -2217,9 +2217,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2217
2217
|
readonly internalType: "bool";
|
|
2218
2218
|
}];
|
|
2219
2219
|
readonly stateMutability: "nonpayable";
|
|
2220
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2220
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
2221
2221
|
} & {
|
|
2222
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2222
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
2223
2223
|
readonly type: "constructor";
|
|
2224
2224
|
readonly inputs: readonly [{
|
|
2225
2225
|
readonly name: "name_";
|
|
@@ -2397,8 +2397,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2397
2397
|
readonly internalType: "bool";
|
|
2398
2398
|
}];
|
|
2399
2399
|
readonly stateMutability: "nonpayable";
|
|
2400
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2401
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2400
|
+
}], "approve", readonly [`0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
2401
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
2402
2402
|
readonly type: "constructor";
|
|
2403
2403
|
readonly inputs: readonly [{
|
|
2404
2404
|
readonly name: "name_";
|
|
@@ -2576,8 +2576,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2576
2576
|
readonly internalType: "bool";
|
|
2577
2577
|
}];
|
|
2578
2578
|
readonly stateMutability: "nonpayable";
|
|
2579
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2580
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2579
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
2580
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
2581
2581
|
readonly type: "constructor";
|
|
2582
2582
|
readonly inputs: readonly [{
|
|
2583
2583
|
readonly name: "name_";
|
|
@@ -2755,8 +2755,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2755
2755
|
readonly internalType: "bool";
|
|
2756
2756
|
}];
|
|
2757
2757
|
readonly stateMutability: "nonpayable";
|
|
2758
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2759
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2758
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
2759
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
2760
2760
|
readonly type: "constructor";
|
|
2761
2761
|
readonly inputs: readonly [{
|
|
2762
2762
|
readonly name: "name_";
|
|
@@ -2934,8 +2934,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2934
2934
|
readonly internalType: "bool";
|
|
2935
2935
|
}];
|
|
2936
2936
|
readonly stateMutability: "nonpayable";
|
|
2937
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2938
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2937
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
2938
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem356.Prettify<viem356.UnionOmit<viem356.EstimateContractGasParameters<readonly [{
|
|
2939
2939
|
readonly type: "constructor";
|
|
2940
2940
|
readonly inputs: readonly [{
|
|
2941
2941
|
readonly name: "name_";
|
|
@@ -3113,10 +3113,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3113
3113
|
readonly internalType: "bool";
|
|
3114
3114
|
}];
|
|
3115
3115
|
readonly stateMutability: "nonpayable";
|
|
3116
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3116
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem356.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem356.EstimateContractGasReturnType>;
|
|
3117
3117
|
};
|
|
3118
3118
|
simulate: {
|
|
3119
|
-
approve: <chainOverride extends
|
|
3119
|
+
approve: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
3120
3120
|
readonly type: "constructor";
|
|
3121
3121
|
readonly inputs: readonly [{
|
|
3122
3122
|
readonly name: "name_";
|
|
@@ -3294,7 +3294,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3294
3294
|
readonly internalType: "bool";
|
|
3295
3295
|
}];
|
|
3296
3296
|
readonly stateMutability: "nonpayable";
|
|
3297
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3297
|
+
}], "approve", readonly [`0x${string}`, bigint], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
3298
3298
|
readonly type: "constructor";
|
|
3299
3299
|
readonly inputs: readonly [{
|
|
3300
3300
|
readonly name: "name_";
|
|
@@ -3472,8 +3472,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3472
3472
|
readonly internalType: "bool";
|
|
3473
3473
|
}];
|
|
3474
3474
|
readonly stateMutability: "nonpayable";
|
|
3475
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3476
|
-
decreaseAllowance: <chainOverride extends
|
|
3475
|
+
}], "approve", readonly [`0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride, accountOverride>>;
|
|
3476
|
+
decreaseAllowance: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
3477
3477
|
readonly type: "constructor";
|
|
3478
3478
|
readonly inputs: readonly [{
|
|
3479
3479
|
readonly name: "name_";
|
|
@@ -3651,7 +3651,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3651
3651
|
readonly internalType: "bool";
|
|
3652
3652
|
}];
|
|
3653
3653
|
readonly stateMutability: "nonpayable";
|
|
3654
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3654
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
3655
3655
|
readonly type: "constructor";
|
|
3656
3656
|
readonly inputs: readonly [{
|
|
3657
3657
|
readonly name: "name_";
|
|
@@ -3829,8 +3829,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3829
3829
|
readonly internalType: "bool";
|
|
3830
3830
|
}];
|
|
3831
3831
|
readonly stateMutability: "nonpayable";
|
|
3832
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3833
|
-
increaseAllowance: <chainOverride extends
|
|
3832
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride, accountOverride>>;
|
|
3833
|
+
increaseAllowance: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
3834
3834
|
readonly type: "constructor";
|
|
3835
3835
|
readonly inputs: readonly [{
|
|
3836
3836
|
readonly name: "name_";
|
|
@@ -4008,7 +4008,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4008
4008
|
readonly internalType: "bool";
|
|
4009
4009
|
}];
|
|
4010
4010
|
readonly stateMutability: "nonpayable";
|
|
4011
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4011
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
4012
4012
|
readonly type: "constructor";
|
|
4013
4013
|
readonly inputs: readonly [{
|
|
4014
4014
|
readonly name: "name_";
|
|
@@ -4186,8 +4186,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4186
4186
|
readonly internalType: "bool";
|
|
4187
4187
|
}];
|
|
4188
4188
|
readonly stateMutability: "nonpayable";
|
|
4189
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4190
|
-
transfer: <chainOverride extends
|
|
4189
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride, accountOverride>>;
|
|
4190
|
+
transfer: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
4191
4191
|
readonly type: "constructor";
|
|
4192
4192
|
readonly inputs: readonly [{
|
|
4193
4193
|
readonly name: "name_";
|
|
@@ -4365,7 +4365,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4365
4365
|
readonly internalType: "bool";
|
|
4366
4366
|
}];
|
|
4367
4367
|
readonly stateMutability: "nonpayable";
|
|
4368
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4368
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
4369
4369
|
readonly type: "constructor";
|
|
4370
4370
|
readonly inputs: readonly [{
|
|
4371
4371
|
readonly name: "name_";
|
|
@@ -4543,8 +4543,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4543
4543
|
readonly internalType: "bool";
|
|
4544
4544
|
}];
|
|
4545
4545
|
readonly stateMutability: "nonpayable";
|
|
4546
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4547
|
-
transferFrom: <chainOverride extends
|
|
4546
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride, accountOverride>>;
|
|
4547
|
+
transferFrom: <chainOverride extends viem356.Chain | undefined = undefined, accountOverride extends viem356.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem356.SimulateContractParameters<readonly [{
|
|
4548
4548
|
readonly type: "constructor";
|
|
4549
4549
|
readonly inputs: readonly [{
|
|
4550
4550
|
readonly name: "name_";
|
|
@@ -4722,7 +4722,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4722
4722
|
readonly internalType: "bool";
|
|
4723
4723
|
}];
|
|
4724
4724
|
readonly stateMutability: "nonpayable";
|
|
4725
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4725
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem356.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem356.SimulateContractReturnType<readonly [{
|
|
4726
4726
|
readonly type: "constructor";
|
|
4727
4727
|
readonly inputs: readonly [{
|
|
4728
4728
|
readonly name: "name_";
|
|
@@ -4900,10 +4900,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4900
4900
|
readonly internalType: "bool";
|
|
4901
4901
|
}];
|
|
4902
4902
|
readonly stateMutability: "nonpayable";
|
|
4903
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4903
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride, accountOverride>>;
|
|
4904
4904
|
};
|
|
4905
4905
|
write: {
|
|
4906
|
-
approve: <chainOverride extends
|
|
4906
|
+
approve: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
4907
4907
|
readonly type: "constructor";
|
|
4908
4908
|
readonly inputs: readonly [{
|
|
4909
4909
|
readonly name: "name_";
|
|
@@ -5081,8 +5081,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5081
5081
|
readonly internalType: "bool";
|
|
5082
5082
|
}];
|
|
5083
5083
|
readonly stateMutability: "nonpayable";
|
|
5084
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5085
|
-
decreaseAllowance: <chainOverride extends
|
|
5084
|
+
}], "approve", readonly [`0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
5085
|
+
decreaseAllowance: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
5086
5086
|
readonly type: "constructor";
|
|
5087
5087
|
readonly inputs: readonly [{
|
|
5088
5088
|
readonly name: "name_";
|
|
@@ -5260,8 +5260,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5260
5260
|
readonly internalType: "bool";
|
|
5261
5261
|
}];
|
|
5262
5262
|
readonly stateMutability: "nonpayable";
|
|
5263
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5264
|
-
increaseAllowance: <chainOverride extends
|
|
5263
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
5264
|
+
increaseAllowance: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
5265
5265
|
readonly type: "constructor";
|
|
5266
5266
|
readonly inputs: readonly [{
|
|
5267
5267
|
readonly name: "name_";
|
|
@@ -5439,8 +5439,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5439
5439
|
readonly internalType: "bool";
|
|
5440
5440
|
}];
|
|
5441
5441
|
readonly stateMutability: "nonpayable";
|
|
5442
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5443
|
-
transfer: <chainOverride extends
|
|
5442
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
5443
|
+
transfer: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
5444
5444
|
readonly type: "constructor";
|
|
5445
5445
|
readonly inputs: readonly [{
|
|
5446
5446
|
readonly name: "name_";
|
|
@@ -5618,8 +5618,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5618
5618
|
readonly internalType: "bool";
|
|
5619
5619
|
}];
|
|
5620
5620
|
readonly stateMutability: "nonpayable";
|
|
5621
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5622
|
-
transferFrom: <chainOverride extends
|
|
5621
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
5622
|
+
transferFrom: <chainOverride extends viem356.Chain | undefined, options extends (viem356.UnionOmit<viem356.WriteContractParameters<readonly [{
|
|
5623
5623
|
readonly type: "constructor";
|
|
5624
5624
|
readonly inputs: readonly [{
|
|
5625
5625
|
readonly name: "name_";
|
|
@@ -5797,7 +5797,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5797
5797
|
readonly internalType: "bool";
|
|
5798
5798
|
}];
|
|
5799
5799
|
readonly stateMutability: "nonpayable";
|
|
5800
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5800
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem356.Chain | undefined, viem356.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem356.WriteContractReturnType>;
|
|
5801
5801
|
};
|
|
5802
5802
|
address: `0x${string}`;
|
|
5803
5803
|
abi: readonly [{
|
|
@@ -5983,7 +5983,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5983
5983
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5984
5984
|
declare const getStateView: (client: PublicClient, address?: Address) => Promise<{
|
|
5985
5985
|
read: {
|
|
5986
|
-
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
5986
|
+
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
5987
5987
|
readonly type: "function";
|
|
5988
5988
|
readonly name: "getFeeGrowthGlobals";
|
|
5989
5989
|
readonly inputs: readonly [{
|
|
@@ -6830,7 +6830,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
6830
6830
|
fee: number;
|
|
6831
6831
|
tickSpacing: number;
|
|
6832
6832
|
hooks: `0x${string}`;
|
|
6833
|
-
}], options?:
|
|
6833
|
+
}], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
6834
6834
|
readonly type: "function";
|
|
6835
6835
|
readonly name: "getFeeGrowthGlobals";
|
|
6836
6836
|
readonly inputs: readonly [{
|
|
@@ -7672,7 +7672,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
7672
7672
|
tickSpacing: number;
|
|
7673
7673
|
hooks: `0x${string}`;
|
|
7674
7674
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
7675
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?:
|
|
7675
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
7676
7676
|
readonly type: "function";
|
|
7677
7677
|
readonly name: "getFeeGrowthGlobals";
|
|
7678
7678
|
readonly inputs: readonly [{
|
|
@@ -8519,7 +8519,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
8519
8519
|
fee: number;
|
|
8520
8520
|
tickSpacing: number;
|
|
8521
8521
|
hooks: `0x${string}`;
|
|
8522
|
-
}, number, number], options?:
|
|
8522
|
+
}, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
8523
8523
|
readonly type: "function";
|
|
8524
8524
|
readonly name: "getFeeGrowthGlobals";
|
|
8525
8525
|
readonly inputs: readonly [{
|
|
@@ -9361,7 +9361,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
9361
9361
|
tickSpacing: number;
|
|
9362
9362
|
hooks: `0x${string}`;
|
|
9363
9363
|
}, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
9364
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
9364
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
9365
9365
|
readonly type: "function";
|
|
9366
9366
|
readonly name: "getFeeGrowthGlobals";
|
|
9367
9367
|
readonly inputs: readonly [{
|
|
@@ -10208,7 +10208,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
10208
10208
|
fee: number;
|
|
10209
10209
|
tickSpacing: number;
|
|
10210
10210
|
hooks: `0x${string}`;
|
|
10211
|
-
}], options?:
|
|
10211
|
+
}], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
10212
10212
|
readonly type: "function";
|
|
10213
10213
|
readonly name: "getFeeGrowthGlobals";
|
|
10214
10214
|
readonly inputs: readonly [{
|
|
@@ -11050,7 +11050,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
11050
11050
|
tickSpacing: number;
|
|
11051
11051
|
hooks: `0x${string}`;
|
|
11052
11052
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
11053
|
-
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
11053
|
+
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
11054
11054
|
readonly type: "function";
|
|
11055
11055
|
readonly name: "getFeeGrowthGlobals";
|
|
11056
11056
|
readonly inputs: readonly [{
|
|
@@ -11897,7 +11897,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
11897
11897
|
fee: number;
|
|
11898
11898
|
tickSpacing: number;
|
|
11899
11899
|
hooks: `0x${string}`;
|
|
11900
|
-
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?:
|
|
11900
|
+
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
11901
11901
|
readonly type: "function";
|
|
11902
11902
|
readonly name: "getFeeGrowthGlobals";
|
|
11903
11903
|
readonly inputs: readonly [{
|
|
@@ -12750,7 +12750,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
12750
12750
|
fee: number;
|
|
12751
12751
|
tickSpacing: number;
|
|
12752
12752
|
hooks: `0x${string}`;
|
|
12753
|
-
}, `0x${string}`], options?:
|
|
12753
|
+
}, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
12754
12754
|
readonly type: "function";
|
|
12755
12755
|
readonly name: "getFeeGrowthGlobals";
|
|
12756
12756
|
readonly inputs: readonly [{
|
|
@@ -13603,7 +13603,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
13603
13603
|
fee: number;
|
|
13604
13604
|
tickSpacing: number;
|
|
13605
13605
|
hooks: `0x${string}`;
|
|
13606
|
-
}, `0x${string}`, number, number, `0x${string}`], options?:
|
|
13606
|
+
}, `0x${string}`, number, number, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
13607
13607
|
readonly type: "function";
|
|
13608
13608
|
readonly name: "getFeeGrowthGlobals";
|
|
13609
13609
|
readonly inputs: readonly [{
|
|
@@ -14451,7 +14451,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
14451
14451
|
tickSpacing: number;
|
|
14452
14452
|
hooks: `0x${string}`;
|
|
14453
14453
|
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
14454
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
14454
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
14455
14455
|
readonly type: "function";
|
|
14456
14456
|
readonly name: "getFeeGrowthGlobals";
|
|
14457
14457
|
readonly inputs: readonly [{
|
|
@@ -15298,7 +15298,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
15298
15298
|
fee: number;
|
|
15299
15299
|
tickSpacing: number;
|
|
15300
15300
|
hooks: `0x${string}`;
|
|
15301
|
-
}, `0x${string}`], options?:
|
|
15301
|
+
}, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
15302
15302
|
readonly type: "function";
|
|
15303
15303
|
readonly name: "getFeeGrowthGlobals";
|
|
15304
15304
|
readonly inputs: readonly [{
|
|
@@ -16146,7 +16146,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
16146
16146
|
fee: number;
|
|
16147
16147
|
tickSpacing: number;
|
|
16148
16148
|
hooks: `0x${string}`;
|
|
16149
|
-
}], options?:
|
|
16149
|
+
}], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
16150
16150
|
readonly type: "function";
|
|
16151
16151
|
readonly name: "getFeeGrowthGlobals";
|
|
16152
16152
|
readonly inputs: readonly [{
|
|
@@ -16988,7 +16988,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
16988
16988
|
tickSpacing: number;
|
|
16989
16989
|
hooks: `0x${string}`;
|
|
16990
16990
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
|
|
16991
|
-
getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
16991
|
+
getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
16992
16992
|
readonly type: "function";
|
|
16993
16993
|
readonly name: "getFeeGrowthGlobals";
|
|
16994
16994
|
readonly inputs: readonly [{
|
|
@@ -17824,7 +17824,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
17824
17824
|
}];
|
|
17825
17825
|
readonly stateMutability: "view";
|
|
17826
17826
|
}], "getSlot0FromId", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
|
|
17827
|
-
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
17827
|
+
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
17828
17828
|
readonly type: "function";
|
|
17829
17829
|
readonly name: "getFeeGrowthGlobals";
|
|
17830
17830
|
readonly inputs: readonly [{
|
|
@@ -18671,7 +18671,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
18671
18671
|
fee: number;
|
|
18672
18672
|
tickSpacing: number;
|
|
18673
18673
|
hooks: `0x${string}`;
|
|
18674
|
-
}, number], options?:
|
|
18674
|
+
}, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
18675
18675
|
readonly type: "function";
|
|
18676
18676
|
readonly name: "getFeeGrowthGlobals";
|
|
18677
18677
|
readonly inputs: readonly [{
|
|
@@ -19513,7 +19513,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
19513
19513
|
tickSpacing: number;
|
|
19514
19514
|
hooks: `0x${string}`;
|
|
19515
19515
|
}, number] | readonly [`0x${string}`, `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
19516
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
19516
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
19517
19517
|
readonly type: "function";
|
|
19518
19518
|
readonly name: "getFeeGrowthGlobals";
|
|
19519
19519
|
readonly inputs: readonly [{
|
|
@@ -20360,7 +20360,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
20360
20360
|
fee: number;
|
|
20361
20361
|
tickSpacing: number;
|
|
20362
20362
|
hooks: `0x${string}`;
|
|
20363
|
-
}, number], options?:
|
|
20363
|
+
}, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
20364
20364
|
readonly type: "function";
|
|
20365
20365
|
readonly name: "getFeeGrowthGlobals";
|
|
20366
20366
|
readonly inputs: readonly [{
|
|
@@ -21202,7 +21202,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
21202
21202
|
tickSpacing: number;
|
|
21203
21203
|
hooks: `0x${string}`;
|
|
21204
21204
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
21205
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
21205
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
21206
21206
|
readonly type: "function";
|
|
21207
21207
|
readonly name: "getFeeGrowthGlobals";
|
|
21208
21208
|
readonly inputs: readonly [{
|
|
@@ -22049,7 +22049,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
22049
22049
|
fee: number;
|
|
22050
22050
|
tickSpacing: number;
|
|
22051
22051
|
hooks: `0x${string}`;
|
|
22052
|
-
}, number], options?:
|
|
22052
|
+
}, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
22053
22053
|
readonly type: "function";
|
|
22054
22054
|
readonly name: "getFeeGrowthGlobals";
|
|
22055
22055
|
readonly inputs: readonly [{
|
|
@@ -22891,7 +22891,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
22891
22891
|
tickSpacing: number;
|
|
22892
22892
|
hooks: `0x${string}`;
|
|
22893
22893
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
22894
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
22894
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
22895
22895
|
readonly type: "function";
|
|
22896
22896
|
readonly name: "getFeeGrowthGlobals";
|
|
22897
22897
|
readonly inputs: readonly [{
|
|
@@ -23738,7 +23738,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
23738
23738
|
fee: number;
|
|
23739
23739
|
tickSpacing: number;
|
|
23740
23740
|
hooks: `0x${string}`;
|
|
23741
|
-
}, number], options?:
|
|
23741
|
+
}, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
23742
23742
|
readonly type: "function";
|
|
23743
23743
|
readonly name: "getFeeGrowthGlobals";
|
|
23744
23744
|
readonly inputs: readonly [{
|
|
@@ -25421,7 +25421,7 @@ declare const getStateView: (client: PublicClient, address?: Address) => Promise
|
|
|
25421
25421
|
}>;
|
|
25422
25422
|
declare const getTimelockLens: (client: PublicClient, address?: Address) => Promise<{
|
|
25423
25423
|
read: {
|
|
25424
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
25424
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
25425
25425
|
readonly type: "function";
|
|
25426
25426
|
readonly name: "batchGetRefTick";
|
|
25427
25427
|
readonly inputs: readonly [{
|
|
@@ -26364,7 +26364,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
26364
26364
|
}];
|
|
26365
26365
|
readonly stateMutability: "view";
|
|
26366
26366
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
26367
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
26367
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
26368
26368
|
readonly type: "function";
|
|
26369
26369
|
readonly name: "batchGetRefTick";
|
|
26370
26370
|
readonly inputs: readonly [{
|
|
@@ -27319,7 +27319,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
27319
27319
|
borrowedAmount0: bigint;
|
|
27320
27320
|
borrowedAmount1: bigint;
|
|
27321
27321
|
}[]>;
|
|
27322
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
27322
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
27323
27323
|
readonly type: "function";
|
|
27324
27324
|
readonly name: "batchGetRefTick";
|
|
27325
27325
|
readonly inputs: readonly [{
|
|
@@ -28272,7 +28272,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
28272
28272
|
expiresAt: number;
|
|
28273
28273
|
liquidities: readonly bigint[];
|
|
28274
28274
|
}[]>;
|
|
28275
|
-
getFeeRates: (args: readonly [`0x${string}`], options?:
|
|
28275
|
+
getFeeRates: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
28276
28276
|
readonly type: "function";
|
|
28277
28277
|
readonly name: "batchGetRefTick";
|
|
28278
28278
|
readonly inputs: readonly [{
|
|
@@ -29221,7 +29221,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
29221
29221
|
minBaseFee: bigint;
|
|
29222
29222
|
feeRecipient: `0x${string}`;
|
|
29223
29223
|
}>;
|
|
29224
|
-
getGlobalGuardianState: (args: readonly [`0x${string}`], options?:
|
|
29224
|
+
getGlobalGuardianState: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
29225
29225
|
readonly type: "function";
|
|
29226
29226
|
readonly name: "batchGetRefTick";
|
|
29227
29227
|
readonly inputs: readonly [{
|
|
@@ -30180,7 +30180,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
30180
30180
|
senderIsAdmin: boolean;
|
|
30181
30181
|
senderIsPauser: boolean;
|
|
30182
30182
|
}>;
|
|
30183
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
30183
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
30184
30184
|
readonly type: "function";
|
|
30185
30185
|
readonly name: "batchGetRefTick";
|
|
30186
30186
|
readonly inputs: readonly [{
|
|
@@ -31123,7 +31123,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
31123
31123
|
}];
|
|
31124
31124
|
readonly stateMutability: "view";
|
|
31125
31125
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
31126
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
31126
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
31127
31127
|
readonly type: "function";
|
|
31128
31128
|
readonly name: "batchGetRefTick";
|
|
31129
31129
|
readonly inputs: readonly [{
|
|
@@ -32087,7 +32087,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
32087
32087
|
optionAssetName: string;
|
|
32088
32088
|
payoutAssetName: string;
|
|
32089
32089
|
}>;
|
|
32090
|
-
getMarketState: (args: readonly [`0x${string}`], options?:
|
|
32090
|
+
getMarketState: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
32091
32091
|
readonly type: "function";
|
|
32092
32092
|
readonly name: "batchGetRefTick";
|
|
32093
32093
|
readonly inputs: readonly [{
|
|
@@ -33035,7 +33035,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
33035
33035
|
feeStrategy: `0x${string}`;
|
|
33036
33036
|
owner: `0x${string}`;
|
|
33037
33037
|
}>;
|
|
33038
|
-
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?:
|
|
33038
|
+
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
33039
33039
|
readonly type: "function";
|
|
33040
33040
|
readonly name: "batchGetRefTick";
|
|
33041
33041
|
readonly inputs: readonly [{
|
|
@@ -33978,7 +33978,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
33978
33978
|
}];
|
|
33979
33979
|
readonly stateMutability: "view";
|
|
33980
33980
|
}], "getMaxATMPositionSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
33981
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
33981
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
33982
33982
|
readonly type: "function";
|
|
33983
33983
|
readonly name: "batchGetRefTick";
|
|
33984
33984
|
readonly inputs: readonly [{
|
|
@@ -34921,7 +34921,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
34921
34921
|
}];
|
|
34922
34922
|
readonly stateMutability: "view";
|
|
34923
34923
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
34924
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
34924
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
34925
34925
|
readonly type: "function";
|
|
34926
34926
|
readonly name: "batchGetRefTick";
|
|
34927
34927
|
readonly inputs: readonly [{
|
|
@@ -35864,7 +35864,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
35864
35864
|
}];
|
|
35865
35865
|
readonly stateMutability: "view";
|
|
35866
35866
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
35867
|
-
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?:
|
|
35867
|
+
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
35868
35868
|
readonly type: "function";
|
|
35869
35869
|
readonly name: "batchGetRefTick";
|
|
35870
35870
|
readonly inputs: readonly [{
|
|
@@ -36807,7 +36807,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
36807
36807
|
}];
|
|
36808
36808
|
readonly stateMutability: "view";
|
|
36809
36809
|
}], "getMaxPositionSizes", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
36810
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
36810
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
36811
36811
|
readonly type: "function";
|
|
36812
36812
|
readonly name: "batchGetRefTick";
|
|
36813
36813
|
readonly inputs: readonly [{
|
|
@@ -37760,7 +37760,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
37760
37760
|
expiresAt: number;
|
|
37761
37761
|
liquidities: readonly bigint[];
|
|
37762
37762
|
}>;
|
|
37763
|
-
getOptionPricingParams: (args: readonly [`0x${string}`], options?:
|
|
37763
|
+
getOptionPricingParams: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
37764
37764
|
readonly type: "function";
|
|
37765
37765
|
readonly name: "batchGetRefTick";
|
|
37766
37766
|
readonly inputs: readonly [{
|
|
@@ -38709,7 +38709,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
38709
38709
|
minPremiumDailyRate: number;
|
|
38710
38710
|
minPremiumAmount: bigint;
|
|
38711
38711
|
}>;
|
|
38712
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
38712
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
38713
38713
|
readonly type: "function";
|
|
38714
38714
|
readonly name: "batchGetRefTick";
|
|
38715
38715
|
readonly inputs: readonly [{
|
|
@@ -39668,7 +39668,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
39668
39668
|
fee: number;
|
|
39669
39669
|
tickSpacing: number;
|
|
39670
39670
|
hooks: `0x${string}`;
|
|
39671
|
-
}], options?:
|
|
39671
|
+
}], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
39672
39672
|
readonly type: "function";
|
|
39673
39673
|
readonly name: "batchGetRefTick";
|
|
39674
39674
|
readonly inputs: readonly [{
|
|
@@ -40628,7 +40628,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
40628
40628
|
tickSpacing: number;
|
|
40629
40629
|
fee: number;
|
|
40630
40630
|
}>;
|
|
40631
|
-
getPricingParams: (args: readonly [`0x${string}`], options?:
|
|
40631
|
+
getPricingParams: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
40632
40632
|
readonly type: "function";
|
|
40633
40633
|
readonly name: "batchGetRefTick";
|
|
40634
40634
|
readonly inputs: readonly [{
|
|
@@ -41571,7 +41571,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
41571
41571
|
}];
|
|
41572
41572
|
readonly stateMutability: "view";
|
|
41573
41573
|
}], "getPricingParams", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [number, `0x${string}`]>;
|
|
41574
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
41574
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
41575
41575
|
readonly type: "function";
|
|
41576
41576
|
readonly name: "batchGetRefTick";
|
|
41577
41577
|
readonly inputs: readonly [{
|
|
@@ -42514,7 +42514,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
42514
42514
|
}];
|
|
42515
42515
|
readonly stateMutability: "view";
|
|
42516
42516
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
42517
|
-
getStaticPricingParams: (args: readonly [`0x${string}`], options?:
|
|
42517
|
+
getStaticPricingParams: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
42518
42518
|
readonly type: "function";
|
|
42519
42519
|
readonly name: "batchGetRefTick";
|
|
42520
42520
|
readonly inputs: readonly [{
|
|
@@ -43460,7 +43460,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
43460
43460
|
dailyFundingRate: number;
|
|
43461
43461
|
minFundingAmount: bigint;
|
|
43462
43462
|
}>;
|
|
43463
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
43463
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
43464
43464
|
readonly type: "function";
|
|
43465
43465
|
readonly name: "batchGetRefTick";
|
|
43466
43466
|
readonly inputs: readonly [{
|
|
@@ -44407,7 +44407,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
44407
44407
|
symbol: string;
|
|
44408
44408
|
name: string;
|
|
44409
44409
|
}>;
|
|
44410
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44410
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
44411
44411
|
readonly type: "function";
|
|
44412
44412
|
readonly name: "batchGetRefTick";
|
|
44413
44413
|
readonly inputs: readonly [{
|
|
@@ -45360,7 +45360,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
45360
45360
|
expiresAt: number;
|
|
45361
45361
|
liquidities: readonly bigint[];
|
|
45362
45362
|
}[], bigint, boolean]>;
|
|
45363
|
-
getVaultData: (args: readonly [`0x${string}`], options?:
|
|
45363
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
45364
45364
|
readonly type: "function";
|
|
45365
45365
|
readonly name: "batchGetRefTick";
|
|
45366
45366
|
readonly inputs: readonly [{
|
|
@@ -46313,7 +46313,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
46313
46313
|
};
|
|
46314
46314
|
poolId: `0x${string}`;
|
|
46315
46315
|
}>;
|
|
46316
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
46316
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
46317
46317
|
readonly type: "function";
|
|
46318
46318
|
readonly name: "batchGetRefTick";
|
|
46319
46319
|
readonly inputs: readonly [{
|
|
@@ -49286,7 +49286,7 @@ declare const formatUSD: (value: Big | string | number) => string;
|
|
|
49286
49286
|
//#endregion
|
|
49287
49287
|
//#region src/hooks/options/useMaxPositionSize.d.ts
|
|
49288
49288
|
declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?: number, maxSteps?: number) => {
|
|
49289
|
-
error:
|
|
49289
|
+
error: viem356.ReadContractErrorType;
|
|
49290
49290
|
isError: true;
|
|
49291
49291
|
isPending: false;
|
|
49292
49292
|
isLoading: false;
|
|
@@ -49298,7 +49298,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49298
49298
|
dataUpdatedAt: number;
|
|
49299
49299
|
errorUpdatedAt: number;
|
|
49300
49300
|
failureCount: number;
|
|
49301
|
-
failureReason:
|
|
49301
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49302
49302
|
errorUpdateCount: number;
|
|
49303
49303
|
isFetched: boolean;
|
|
49304
49304
|
isFetchedAfterMount: boolean;
|
|
@@ -49308,7 +49308,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49308
49308
|
isRefetching: boolean;
|
|
49309
49309
|
isStale: boolean;
|
|
49310
49310
|
isEnabled: boolean;
|
|
49311
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never,
|
|
49311
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
49312
49312
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49313
49313
|
promise: Promise<never>;
|
|
49314
49314
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49327,7 +49327,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49327
49327
|
dataUpdatedAt: number;
|
|
49328
49328
|
errorUpdatedAt: number;
|
|
49329
49329
|
failureCount: number;
|
|
49330
|
-
failureReason:
|
|
49330
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49331
49331
|
errorUpdateCount: number;
|
|
49332
49332
|
isFetched: boolean;
|
|
49333
49333
|
isFetchedAfterMount: boolean;
|
|
@@ -49337,14 +49337,14 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49337
49337
|
isRefetching: boolean;
|
|
49338
49338
|
isStale: boolean;
|
|
49339
49339
|
isEnabled: boolean;
|
|
49340
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never,
|
|
49340
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
49341
49341
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49342
49342
|
promise: Promise<never>;
|
|
49343
49343
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
49344
49344
|
maxCallSize: Amount | undefined;
|
|
49345
49345
|
maxPutSize: Amount | undefined;
|
|
49346
49346
|
} | {
|
|
49347
|
-
error:
|
|
49347
|
+
error: viem356.ReadContractErrorType;
|
|
49348
49348
|
isError: true;
|
|
49349
49349
|
isPending: false;
|
|
49350
49350
|
isLoading: false;
|
|
@@ -49356,7 +49356,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49356
49356
|
dataUpdatedAt: number;
|
|
49357
49357
|
errorUpdatedAt: number;
|
|
49358
49358
|
failureCount: number;
|
|
49359
|
-
failureReason:
|
|
49359
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49360
49360
|
errorUpdateCount: number;
|
|
49361
49361
|
isFetched: boolean;
|
|
49362
49362
|
isFetchedAfterMount: boolean;
|
|
@@ -49366,7 +49366,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49366
49366
|
isRefetching: boolean;
|
|
49367
49367
|
isStale: boolean;
|
|
49368
49368
|
isEnabled: boolean;
|
|
49369
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never,
|
|
49369
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
49370
49370
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49371
49371
|
promise: Promise<never>;
|
|
49372
49372
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49385,7 +49385,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49385
49385
|
dataUpdatedAt: number;
|
|
49386
49386
|
errorUpdatedAt: number;
|
|
49387
49387
|
failureCount: number;
|
|
49388
|
-
failureReason:
|
|
49388
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49389
49389
|
errorUpdateCount: number;
|
|
49390
49390
|
isFetched: boolean;
|
|
49391
49391
|
isFetchedAfterMount: boolean;
|
|
@@ -49395,7 +49395,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49395
49395
|
isRefetching: boolean;
|
|
49396
49396
|
isStale: boolean;
|
|
49397
49397
|
isEnabled: boolean;
|
|
49398
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never,
|
|
49398
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
49399
49399
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49400
49400
|
promise: Promise<never>;
|
|
49401
49401
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49413,7 +49413,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49413
49413
|
dataUpdatedAt: number;
|
|
49414
49414
|
errorUpdatedAt: number;
|
|
49415
49415
|
failureCount: number;
|
|
49416
|
-
failureReason:
|
|
49416
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49417
49417
|
errorUpdateCount: number;
|
|
49418
49418
|
isFetched: boolean;
|
|
49419
49419
|
isFetchedAfterMount: boolean;
|
|
@@ -49424,7 +49424,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49424
49424
|
isRefetching: boolean;
|
|
49425
49425
|
isStale: boolean;
|
|
49426
49426
|
isEnabled: boolean;
|
|
49427
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never,
|
|
49427
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
49428
49428
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49429
49429
|
promise: Promise<never>;
|
|
49430
49430
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49443,7 +49443,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49443
49443
|
dataUpdatedAt: number;
|
|
49444
49444
|
errorUpdatedAt: number;
|
|
49445
49445
|
failureCount: number;
|
|
49446
|
-
failureReason:
|
|
49446
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49447
49447
|
errorUpdateCount: number;
|
|
49448
49448
|
isFetched: boolean;
|
|
49449
49449
|
isFetchedAfterMount: boolean;
|
|
@@ -49453,7 +49453,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49453
49453
|
isRefetching: boolean;
|
|
49454
49454
|
isStale: boolean;
|
|
49455
49455
|
isEnabled: boolean;
|
|
49456
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never,
|
|
49456
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<never, viem356.ReadContractErrorType>>;
|
|
49457
49457
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49458
49458
|
promise: Promise<never>;
|
|
49459
49459
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49692,7 +49692,7 @@ declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49692
49692
|
//#endregion
|
|
49693
49693
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
49694
49694
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
49695
|
-
error:
|
|
49695
|
+
error: viem356.ReadContractErrorType;
|
|
49696
49696
|
isError: true;
|
|
49697
49697
|
isPending: false;
|
|
49698
49698
|
isLoading: false;
|
|
@@ -49704,7 +49704,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49704
49704
|
dataUpdatedAt: number;
|
|
49705
49705
|
errorUpdatedAt: number;
|
|
49706
49706
|
failureCount: number;
|
|
49707
|
-
failureReason:
|
|
49707
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49708
49708
|
errorUpdateCount: number;
|
|
49709
49709
|
isFetched: boolean;
|
|
49710
49710
|
isFetchedAfterMount: boolean;
|
|
@@ -49714,7 +49714,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49714
49714
|
isRefetching: boolean;
|
|
49715
49715
|
isStale: boolean;
|
|
49716
49716
|
isEnabled: boolean;
|
|
49717
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
49717
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
49718
49718
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49719
49719
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49720
49720
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49739,7 +49739,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49739
49739
|
dataUpdatedAt: number;
|
|
49740
49740
|
errorUpdatedAt: number;
|
|
49741
49741
|
failureCount: number;
|
|
49742
|
-
failureReason:
|
|
49742
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49743
49743
|
errorUpdateCount: number;
|
|
49744
49744
|
isFetched: boolean;
|
|
49745
49745
|
isFetchedAfterMount: boolean;
|
|
@@ -49749,7 +49749,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49749
49749
|
isRefetching: boolean;
|
|
49750
49750
|
isStale: boolean;
|
|
49751
49751
|
isEnabled: boolean;
|
|
49752
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
49752
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
49753
49753
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49754
49754
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49755
49755
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49762,7 +49762,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49762
49762
|
effectiveApproval: bigint;
|
|
49763
49763
|
};
|
|
49764
49764
|
} | {
|
|
49765
|
-
error:
|
|
49765
|
+
error: viem356.ReadContractErrorType;
|
|
49766
49766
|
isError: true;
|
|
49767
49767
|
isPending: false;
|
|
49768
49768
|
isLoading: false;
|
|
@@ -49774,7 +49774,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49774
49774
|
dataUpdatedAt: number;
|
|
49775
49775
|
errorUpdatedAt: number;
|
|
49776
49776
|
failureCount: number;
|
|
49777
|
-
failureReason:
|
|
49777
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49778
49778
|
errorUpdateCount: number;
|
|
49779
49779
|
isFetched: boolean;
|
|
49780
49780
|
isFetchedAfterMount: boolean;
|
|
@@ -49784,7 +49784,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49784
49784
|
isRefetching: boolean;
|
|
49785
49785
|
isStale: boolean;
|
|
49786
49786
|
isEnabled: boolean;
|
|
49787
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
49787
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
49788
49788
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49789
49789
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49790
49790
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49809,7 +49809,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49809
49809
|
dataUpdatedAt: number;
|
|
49810
49810
|
errorUpdatedAt: number;
|
|
49811
49811
|
failureCount: number;
|
|
49812
|
-
failureReason:
|
|
49812
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49813
49813
|
errorUpdateCount: number;
|
|
49814
49814
|
isFetched: boolean;
|
|
49815
49815
|
isFetchedAfterMount: boolean;
|
|
@@ -49819,7 +49819,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49819
49819
|
isRefetching: boolean;
|
|
49820
49820
|
isStale: boolean;
|
|
49821
49821
|
isEnabled: boolean;
|
|
49822
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
49822
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
49823
49823
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49824
49824
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49825
49825
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49843,7 +49843,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49843
49843
|
dataUpdatedAt: number;
|
|
49844
49844
|
errorUpdatedAt: number;
|
|
49845
49845
|
failureCount: number;
|
|
49846
|
-
failureReason:
|
|
49846
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49847
49847
|
errorUpdateCount: number;
|
|
49848
49848
|
isFetched: boolean;
|
|
49849
49849
|
isFetchedAfterMount: boolean;
|
|
@@ -49854,7 +49854,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49854
49854
|
isRefetching: boolean;
|
|
49855
49855
|
isStale: boolean;
|
|
49856
49856
|
isEnabled: boolean;
|
|
49857
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
49857
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
49858
49858
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49859
49859
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49860
49860
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -49879,7 +49879,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49879
49879
|
dataUpdatedAt: number;
|
|
49880
49880
|
errorUpdatedAt: number;
|
|
49881
49881
|
failureCount: number;
|
|
49882
|
-
failureReason:
|
|
49882
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
49883
49883
|
errorUpdateCount: number;
|
|
49884
49884
|
isFetched: boolean;
|
|
49885
49885
|
isFetchedAfterMount: boolean;
|
|
@@ -49889,7 +49889,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49889
49889
|
isRefetching: boolean;
|
|
49890
49890
|
isStale: boolean;
|
|
49891
49891
|
isEnabled: boolean;
|
|
49892
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
49892
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem356.ReadContractErrorType>>;
|
|
49893
49893
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
49894
49894
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
49895
49895
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -50869,7 +50869,7 @@ declare const useBurnLiquidity: (vaultAddr: Address | undefined) => {
|
|
|
50869
50869
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
50870
50870
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
50871
50871
|
declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
50872
|
-
error:
|
|
50872
|
+
error: viem356.ReadContractErrorType;
|
|
50873
50873
|
isError: true;
|
|
50874
50874
|
isPending: false;
|
|
50875
50875
|
isLoading: false;
|
|
@@ -50881,7 +50881,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50881
50881
|
dataUpdatedAt: number;
|
|
50882
50882
|
errorUpdatedAt: number;
|
|
50883
50883
|
failureCount: number;
|
|
50884
|
-
failureReason:
|
|
50884
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
50885
50885
|
errorUpdateCount: number;
|
|
50886
50886
|
isFetched: boolean;
|
|
50887
50887
|
isFetchedAfterMount: boolean;
|
|
@@ -50903,7 +50903,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50903
50903
|
totalAmount1: bigint;
|
|
50904
50904
|
borrowedAmount0: bigint;
|
|
50905
50905
|
borrowedAmount1: bigint;
|
|
50906
|
-
}[],
|
|
50906
|
+
}[], viem356.ReadContractErrorType>>;
|
|
50907
50907
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50908
50908
|
promise: Promise<readonly {
|
|
50909
50909
|
tickLower: number;
|
|
@@ -50945,7 +50945,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50945
50945
|
dataUpdatedAt: number;
|
|
50946
50946
|
errorUpdatedAt: number;
|
|
50947
50947
|
failureCount: number;
|
|
50948
|
-
failureReason:
|
|
50948
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
50949
50949
|
errorUpdateCount: number;
|
|
50950
50950
|
isFetched: boolean;
|
|
50951
50951
|
isFetchedAfterMount: boolean;
|
|
@@ -50967,7 +50967,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50967
50967
|
totalAmount1: bigint;
|
|
50968
50968
|
borrowedAmount0: bigint;
|
|
50969
50969
|
borrowedAmount1: bigint;
|
|
50970
|
-
}[],
|
|
50970
|
+
}[], viem356.ReadContractErrorType>>;
|
|
50971
50971
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
50972
50972
|
promise: Promise<readonly {
|
|
50973
50973
|
tickLower: number;
|
|
@@ -50997,7 +50997,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
50997
50997
|
borrowedAmount1: bigint;
|
|
50998
50998
|
}[];
|
|
50999
50999
|
} | {
|
|
51000
|
-
error:
|
|
51000
|
+
error: viem356.ReadContractErrorType;
|
|
51001
51001
|
isError: true;
|
|
51002
51002
|
isPending: false;
|
|
51003
51003
|
isLoading: false;
|
|
@@ -51009,7 +51009,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51009
51009
|
dataUpdatedAt: number;
|
|
51010
51010
|
errorUpdatedAt: number;
|
|
51011
51011
|
failureCount: number;
|
|
51012
|
-
failureReason:
|
|
51012
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51013
51013
|
errorUpdateCount: number;
|
|
51014
51014
|
isFetched: boolean;
|
|
51015
51015
|
isFetchedAfterMount: boolean;
|
|
@@ -51031,7 +51031,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51031
51031
|
totalAmount1: bigint;
|
|
51032
51032
|
borrowedAmount0: bigint;
|
|
51033
51033
|
borrowedAmount1: bigint;
|
|
51034
|
-
}[],
|
|
51034
|
+
}[], viem356.ReadContractErrorType>>;
|
|
51035
51035
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51036
51036
|
promise: Promise<readonly {
|
|
51037
51037
|
tickLower: number;
|
|
@@ -51073,7 +51073,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51073
51073
|
dataUpdatedAt: number;
|
|
51074
51074
|
errorUpdatedAt: number;
|
|
51075
51075
|
failureCount: number;
|
|
51076
|
-
failureReason:
|
|
51076
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51077
51077
|
errorUpdateCount: number;
|
|
51078
51078
|
isFetched: boolean;
|
|
51079
51079
|
isFetchedAfterMount: boolean;
|
|
@@ -51095,7 +51095,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51095
51095
|
totalAmount1: bigint;
|
|
51096
51096
|
borrowedAmount0: bigint;
|
|
51097
51097
|
borrowedAmount1: bigint;
|
|
51098
|
-
}[],
|
|
51098
|
+
}[], viem356.ReadContractErrorType>>;
|
|
51099
51099
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51100
51100
|
promise: Promise<readonly {
|
|
51101
51101
|
tickLower: number;
|
|
@@ -51136,7 +51136,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51136
51136
|
dataUpdatedAt: number;
|
|
51137
51137
|
errorUpdatedAt: number;
|
|
51138
51138
|
failureCount: number;
|
|
51139
|
-
failureReason:
|
|
51139
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51140
51140
|
errorUpdateCount: number;
|
|
51141
51141
|
isFetched: boolean;
|
|
51142
51142
|
isFetchedAfterMount: boolean;
|
|
@@ -51159,7 +51159,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51159
51159
|
totalAmount1: bigint;
|
|
51160
51160
|
borrowedAmount0: bigint;
|
|
51161
51161
|
borrowedAmount1: bigint;
|
|
51162
|
-
}[],
|
|
51162
|
+
}[], viem356.ReadContractErrorType>>;
|
|
51163
51163
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51164
51164
|
promise: Promise<readonly {
|
|
51165
51165
|
tickLower: number;
|
|
@@ -51201,7 +51201,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51201
51201
|
dataUpdatedAt: number;
|
|
51202
51202
|
errorUpdatedAt: number;
|
|
51203
51203
|
failureCount: number;
|
|
51204
|
-
failureReason:
|
|
51204
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51205
51205
|
errorUpdateCount: number;
|
|
51206
51206
|
isFetched: boolean;
|
|
51207
51207
|
isFetchedAfterMount: boolean;
|
|
@@ -51223,7 +51223,7 @@ declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
|
51223
51223
|
totalAmount1: bigint;
|
|
51224
51224
|
borrowedAmount0: bigint;
|
|
51225
51225
|
borrowedAmount1: bigint;
|
|
51226
|
-
}[],
|
|
51226
|
+
}[], viem356.ReadContractErrorType>>;
|
|
51227
51227
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51228
51228
|
promise: Promise<readonly {
|
|
51229
51229
|
tickLower: number;
|
|
@@ -51299,7 +51299,7 @@ declare const useVaultTVL: (vaultAddr: Address | undefined) => {
|
|
|
51299
51299
|
borrowed0: Amount;
|
|
51300
51300
|
borrowed1: Amount;
|
|
51301
51301
|
blocksCount: bigint;
|
|
51302
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
51302
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem356.ReadContractErrorType>>;
|
|
51303
51303
|
};
|
|
51304
51304
|
//#endregion
|
|
51305
51305
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
@@ -51312,7 +51312,7 @@ declare const useTokenData: (tokenAddr: Address | undefined) => Partial<NonUndef
|
|
|
51312
51312
|
//#endregion
|
|
51313
51313
|
//#region src/hooks/tokens/useTokenBalance.d.ts
|
|
51314
51314
|
declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
51315
|
-
error:
|
|
51315
|
+
error: viem356.ReadContractErrorType;
|
|
51316
51316
|
isError: true;
|
|
51317
51317
|
isPending: false;
|
|
51318
51318
|
isLoading: false;
|
|
@@ -51324,7 +51324,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51324
51324
|
dataUpdatedAt: number;
|
|
51325
51325
|
errorUpdatedAt: number;
|
|
51326
51326
|
failureCount: number;
|
|
51327
|
-
failureReason:
|
|
51327
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51328
51328
|
errorUpdateCount: number;
|
|
51329
51329
|
isFetched: boolean;
|
|
51330
51330
|
isFetchedAfterMount: boolean;
|
|
@@ -51334,7 +51334,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51334
51334
|
isRefetching: boolean;
|
|
51335
51335
|
isStale: boolean;
|
|
51336
51336
|
isEnabled: boolean;
|
|
51337
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint,
|
|
51337
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
51338
51338
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51339
51339
|
promise: Promise<bigint>;
|
|
51340
51340
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -51352,7 +51352,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51352
51352
|
dataUpdatedAt: number;
|
|
51353
51353
|
errorUpdatedAt: number;
|
|
51354
51354
|
failureCount: number;
|
|
51355
|
-
failureReason:
|
|
51355
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51356
51356
|
errorUpdateCount: number;
|
|
51357
51357
|
isFetched: boolean;
|
|
51358
51358
|
isFetchedAfterMount: boolean;
|
|
@@ -51362,13 +51362,13 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51362
51362
|
isRefetching: boolean;
|
|
51363
51363
|
isStale: boolean;
|
|
51364
51364
|
isEnabled: boolean;
|
|
51365
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint,
|
|
51365
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
51366
51366
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51367
51367
|
promise: Promise<bigint>;
|
|
51368
51368
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
51369
51369
|
data: Amount | undefined;
|
|
51370
51370
|
} | {
|
|
51371
|
-
error:
|
|
51371
|
+
error: viem356.ReadContractErrorType;
|
|
51372
51372
|
isError: true;
|
|
51373
51373
|
isPending: false;
|
|
51374
51374
|
isLoading: false;
|
|
@@ -51380,7 +51380,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51380
51380
|
dataUpdatedAt: number;
|
|
51381
51381
|
errorUpdatedAt: number;
|
|
51382
51382
|
failureCount: number;
|
|
51383
|
-
failureReason:
|
|
51383
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51384
51384
|
errorUpdateCount: number;
|
|
51385
51385
|
isFetched: boolean;
|
|
51386
51386
|
isFetchedAfterMount: boolean;
|
|
@@ -51390,7 +51390,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51390
51390
|
isRefetching: boolean;
|
|
51391
51391
|
isStale: boolean;
|
|
51392
51392
|
isEnabled: boolean;
|
|
51393
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint,
|
|
51393
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
51394
51394
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51395
51395
|
promise: Promise<bigint>;
|
|
51396
51396
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -51408,7 +51408,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51408
51408
|
dataUpdatedAt: number;
|
|
51409
51409
|
errorUpdatedAt: number;
|
|
51410
51410
|
failureCount: number;
|
|
51411
|
-
failureReason:
|
|
51411
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51412
51412
|
errorUpdateCount: number;
|
|
51413
51413
|
isFetched: boolean;
|
|
51414
51414
|
isFetchedAfterMount: boolean;
|
|
@@ -51418,7 +51418,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51418
51418
|
isRefetching: boolean;
|
|
51419
51419
|
isStale: boolean;
|
|
51420
51420
|
isEnabled: boolean;
|
|
51421
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint,
|
|
51421
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
51422
51422
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51423
51423
|
promise: Promise<bigint>;
|
|
51424
51424
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -51435,7 +51435,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51435
51435
|
dataUpdatedAt: number;
|
|
51436
51436
|
errorUpdatedAt: number;
|
|
51437
51437
|
failureCount: number;
|
|
51438
|
-
failureReason:
|
|
51438
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51439
51439
|
errorUpdateCount: number;
|
|
51440
51440
|
isFetched: boolean;
|
|
51441
51441
|
isFetchedAfterMount: boolean;
|
|
@@ -51446,7 +51446,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51446
51446
|
isRefetching: boolean;
|
|
51447
51447
|
isStale: boolean;
|
|
51448
51448
|
isEnabled: boolean;
|
|
51449
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint,
|
|
51449
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
51450
51450
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51451
51451
|
promise: Promise<bigint>;
|
|
51452
51452
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -51464,7 +51464,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51464
51464
|
dataUpdatedAt: number;
|
|
51465
51465
|
errorUpdatedAt: number;
|
|
51466
51466
|
failureCount: number;
|
|
51467
|
-
failureReason:
|
|
51467
|
+
failureReason: viem356.ReadContractErrorType | null;
|
|
51468
51468
|
errorUpdateCount: number;
|
|
51469
51469
|
isFetched: boolean;
|
|
51470
51470
|
isFetchedAfterMount: boolean;
|
|
@@ -51474,7 +51474,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
51474
51474
|
isRefetching: boolean;
|
|
51475
51475
|
isStale: boolean;
|
|
51476
51476
|
isEnabled: boolean;
|
|
51477
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint,
|
|
51477
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, viem356.ReadContractErrorType>>;
|
|
51478
51478
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
51479
51479
|
promise: Promise<bigint>;
|
|
51480
51480
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -52453,33 +52453,41 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
52453
52453
|
//#endregion
|
|
52454
52454
|
//#region src/hooks/guardian/usePauseGlobalTrading.d.ts
|
|
52455
52455
|
declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
52456
|
-
data: undefined;
|
|
52457
52456
|
error: null;
|
|
52457
|
+
data: undefined;
|
|
52458
52458
|
status: "idle";
|
|
52459
|
-
variables: undefined;
|
|
52460
52459
|
isError: false;
|
|
52461
|
-
isIdle: true;
|
|
52462
52460
|
isPending: false;
|
|
52463
52461
|
isSuccess: false;
|
|
52464
|
-
reset: () => void;
|
|
52465
|
-
context: unknown;
|
|
52466
52462
|
failureCount: number;
|
|
52467
52463
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52468
52464
|
isPaused: boolean;
|
|
52465
|
+
variables: undefined;
|
|
52466
|
+
isIdle: true;
|
|
52467
|
+
reset: () => void;
|
|
52468
|
+
context: unknown;
|
|
52469
52469
|
submittedAt: number;
|
|
52470
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52471
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52470
52472
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52471
52473
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52472
52474
|
} | {
|
|
52473
|
-
data: undefined;
|
|
52474
52475
|
error: null;
|
|
52476
|
+
data: undefined;
|
|
52475
52477
|
status: "pending";
|
|
52478
|
+
isError: false;
|
|
52479
|
+
isPending: true;
|
|
52480
|
+
isSuccess: false;
|
|
52481
|
+
failureCount: number;
|
|
52482
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52483
|
+
isPaused: boolean;
|
|
52476
52484
|
variables: {
|
|
52477
52485
|
abi: abitype0.Abi;
|
|
52478
52486
|
functionName: string;
|
|
52479
52487
|
args?: readonly unknown[] | undefined;
|
|
52480
52488
|
address: Address;
|
|
52481
|
-
chain?:
|
|
52482
|
-
account?: `0x${string}` |
|
|
52489
|
+
chain?: viem356.Chain | null | undefined;
|
|
52490
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52483
52491
|
value?: bigint | undefined;
|
|
52484
52492
|
dataSuffix?: `0x${string}` | undefined;
|
|
52485
52493
|
type?: "legacy" | undefined;
|
|
@@ -52502,8 +52510,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52502
52510
|
functionName: string;
|
|
52503
52511
|
args?: readonly unknown[] | undefined;
|
|
52504
52512
|
address: Address;
|
|
52505
|
-
chain?:
|
|
52506
|
-
account?: `0x${string}` |
|
|
52513
|
+
chain?: viem356.Chain | null | undefined;
|
|
52514
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52507
52515
|
value?: bigint | undefined;
|
|
52508
52516
|
dataSuffix?: `0x${string}` | undefined;
|
|
52509
52517
|
type?: "eip2930" | undefined;
|
|
@@ -52516,7 +52524,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52516
52524
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52517
52525
|
maxFeePerGas?: undefined | undefined;
|
|
52518
52526
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
52519
|
-
accessList?:
|
|
52527
|
+
accessList?: viem356.AccessList | undefined;
|
|
52520
52528
|
sidecars?: undefined;
|
|
52521
52529
|
authorizationList?: undefined;
|
|
52522
52530
|
chainId?: number | undefined;
|
|
@@ -52526,8 +52534,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52526
52534
|
functionName: string;
|
|
52527
52535
|
args?: readonly unknown[] | undefined;
|
|
52528
52536
|
address: Address;
|
|
52529
|
-
chain?:
|
|
52530
|
-
account?: `0x${string}` |
|
|
52537
|
+
chain?: viem356.Chain | null | undefined;
|
|
52538
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52531
52539
|
value?: bigint | undefined;
|
|
52532
52540
|
dataSuffix?: `0x${string}` | undefined;
|
|
52533
52541
|
type?: "eip1559" | undefined;
|
|
@@ -52540,7 +52548,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52540
52548
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52541
52549
|
maxFeePerGas?: bigint | undefined;
|
|
52542
52550
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52543
|
-
accessList?:
|
|
52551
|
+
accessList?: viem356.AccessList | undefined;
|
|
52544
52552
|
sidecars?: undefined;
|
|
52545
52553
|
authorizationList?: undefined;
|
|
52546
52554
|
chainId?: number | undefined;
|
|
@@ -52550,22 +52558,22 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52550
52558
|
functionName: string;
|
|
52551
52559
|
args?: readonly unknown[] | undefined;
|
|
52552
52560
|
address: Address;
|
|
52553
|
-
chain?:
|
|
52554
|
-
account?: `0x${string}` |
|
|
52561
|
+
chain?: viem356.Chain | null | undefined;
|
|
52562
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52555
52563
|
value?: bigint | undefined;
|
|
52556
52564
|
dataSuffix?: `0x${string}` | undefined;
|
|
52557
52565
|
type?: "eip4844" | undefined;
|
|
52558
52566
|
gas?: bigint | undefined;
|
|
52559
52567
|
nonce?: number | undefined;
|
|
52560
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
52561
|
-
blobVersionedHashes: readonly
|
|
52568
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
52569
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
52562
52570
|
kzg?: undefined;
|
|
52563
52571
|
gasPrice?: undefined | undefined;
|
|
52564
52572
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52565
52573
|
maxFeePerGas?: bigint | undefined;
|
|
52566
52574
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52567
|
-
accessList?:
|
|
52568
|
-
sidecars?: readonly
|
|
52575
|
+
accessList?: viem356.AccessList | undefined;
|
|
52576
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52569
52577
|
authorizationList?: undefined;
|
|
52570
52578
|
chainId?: number | undefined;
|
|
52571
52579
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -52574,22 +52582,22 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52574
52582
|
functionName: string;
|
|
52575
52583
|
args?: readonly unknown[] | undefined;
|
|
52576
52584
|
address: Address;
|
|
52577
|
-
chain?:
|
|
52578
|
-
account?: `0x${string}` |
|
|
52585
|
+
chain?: viem356.Chain | null | undefined;
|
|
52586
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52579
52587
|
value?: bigint | undefined;
|
|
52580
52588
|
dataSuffix?: `0x${string}` | undefined;
|
|
52581
52589
|
type?: "eip4844" | undefined;
|
|
52582
52590
|
gas?: bigint | undefined;
|
|
52583
52591
|
nonce?: number | undefined;
|
|
52584
|
-
blobs: readonly
|
|
52592
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
52585
52593
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52586
|
-
kzg?:
|
|
52594
|
+
kzg?: viem356.Kzg | undefined;
|
|
52587
52595
|
gasPrice?: undefined | undefined;
|
|
52588
52596
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52589
52597
|
maxFeePerGas?: bigint | undefined;
|
|
52590
52598
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52591
|
-
accessList?:
|
|
52592
|
-
sidecars?: readonly
|
|
52599
|
+
accessList?: viem356.AccessList | undefined;
|
|
52600
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52593
52601
|
authorizationList?: undefined;
|
|
52594
52602
|
chainId?: number | undefined;
|
|
52595
52603
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -52598,8 +52606,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52598
52606
|
functionName: string;
|
|
52599
52607
|
args?: readonly unknown[] | undefined;
|
|
52600
52608
|
address: Address;
|
|
52601
|
-
chain?:
|
|
52602
|
-
account?: `0x${string}` |
|
|
52609
|
+
chain?: viem356.Chain | null | undefined;
|
|
52610
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52603
52611
|
value?: bigint | undefined;
|
|
52604
52612
|
dataSuffix?: `0x${string}` | undefined;
|
|
52605
52613
|
type?: "eip7702" | undefined;
|
|
@@ -52612,35 +52620,37 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52612
52620
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52613
52621
|
maxFeePerGas?: bigint | undefined;
|
|
52614
52622
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52615
|
-
accessList?:
|
|
52623
|
+
accessList?: viem356.AccessList | undefined;
|
|
52616
52624
|
sidecars?: undefined;
|
|
52617
|
-
authorizationList?:
|
|
52625
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
52618
52626
|
chainId?: number | undefined;
|
|
52619
52627
|
connector?: wagmi0.Connector | undefined;
|
|
52620
52628
|
};
|
|
52621
|
-
isError: false;
|
|
52622
52629
|
isIdle: false;
|
|
52623
|
-
isPending: true;
|
|
52624
|
-
isSuccess: false;
|
|
52625
52630
|
reset: () => void;
|
|
52626
52631
|
context: unknown;
|
|
52627
|
-
failureCount: number;
|
|
52628
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52629
|
-
isPaused: boolean;
|
|
52630
52632
|
submittedAt: number;
|
|
52633
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52634
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52631
52635
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52632
52636
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52633
52637
|
} | {
|
|
52634
|
-
data: undefined;
|
|
52635
52638
|
error: _wagmi_core0.WriteContractErrorType;
|
|
52639
|
+
data: undefined;
|
|
52636
52640
|
status: "error";
|
|
52641
|
+
isError: true;
|
|
52642
|
+
isPending: false;
|
|
52643
|
+
isSuccess: false;
|
|
52644
|
+
failureCount: number;
|
|
52645
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52646
|
+
isPaused: boolean;
|
|
52637
52647
|
variables: {
|
|
52638
52648
|
abi: abitype0.Abi;
|
|
52639
52649
|
functionName: string;
|
|
52640
52650
|
args?: readonly unknown[] | undefined;
|
|
52641
52651
|
address: Address;
|
|
52642
|
-
chain?:
|
|
52643
|
-
account?: `0x${string}` |
|
|
52652
|
+
chain?: viem356.Chain | null | undefined;
|
|
52653
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52644
52654
|
value?: bigint | undefined;
|
|
52645
52655
|
dataSuffix?: `0x${string}` | undefined;
|
|
52646
52656
|
type?: "legacy" | undefined;
|
|
@@ -52663,8 +52673,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52663
52673
|
functionName: string;
|
|
52664
52674
|
args?: readonly unknown[] | undefined;
|
|
52665
52675
|
address: Address;
|
|
52666
|
-
chain?:
|
|
52667
|
-
account?: `0x${string}` |
|
|
52676
|
+
chain?: viem356.Chain | null | undefined;
|
|
52677
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52668
52678
|
value?: bigint | undefined;
|
|
52669
52679
|
dataSuffix?: `0x${string}` | undefined;
|
|
52670
52680
|
type?: "eip2930" | undefined;
|
|
@@ -52677,7 +52687,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52677
52687
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52678
52688
|
maxFeePerGas?: undefined | undefined;
|
|
52679
52689
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
52680
|
-
accessList?:
|
|
52690
|
+
accessList?: viem356.AccessList | undefined;
|
|
52681
52691
|
sidecars?: undefined;
|
|
52682
52692
|
authorizationList?: undefined;
|
|
52683
52693
|
chainId?: number | undefined;
|
|
@@ -52687,8 +52697,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52687
52697
|
functionName: string;
|
|
52688
52698
|
args?: readonly unknown[] | undefined;
|
|
52689
52699
|
address: Address;
|
|
52690
|
-
chain?:
|
|
52691
|
-
account?: `0x${string}` |
|
|
52700
|
+
chain?: viem356.Chain | null | undefined;
|
|
52701
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52692
52702
|
value?: bigint | undefined;
|
|
52693
52703
|
dataSuffix?: `0x${string}` | undefined;
|
|
52694
52704
|
type?: "eip1559" | undefined;
|
|
@@ -52701,7 +52711,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52701
52711
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52702
52712
|
maxFeePerGas?: bigint | undefined;
|
|
52703
52713
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52704
|
-
accessList?:
|
|
52714
|
+
accessList?: viem356.AccessList | undefined;
|
|
52705
52715
|
sidecars?: undefined;
|
|
52706
52716
|
authorizationList?: undefined;
|
|
52707
52717
|
chainId?: number | undefined;
|
|
@@ -52711,22 +52721,22 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52711
52721
|
functionName: string;
|
|
52712
52722
|
args?: readonly unknown[] | undefined;
|
|
52713
52723
|
address: Address;
|
|
52714
|
-
chain?:
|
|
52715
|
-
account?: `0x${string}` |
|
|
52724
|
+
chain?: viem356.Chain | null | undefined;
|
|
52725
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52716
52726
|
value?: bigint | undefined;
|
|
52717
52727
|
dataSuffix?: `0x${string}` | undefined;
|
|
52718
52728
|
type?: "eip4844" | undefined;
|
|
52719
52729
|
gas?: bigint | undefined;
|
|
52720
52730
|
nonce?: number | undefined;
|
|
52721
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
52722
|
-
blobVersionedHashes: readonly
|
|
52731
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
52732
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
52723
52733
|
kzg?: undefined;
|
|
52724
52734
|
gasPrice?: undefined | undefined;
|
|
52725
52735
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52726
52736
|
maxFeePerGas?: bigint | undefined;
|
|
52727
52737
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52728
|
-
accessList?:
|
|
52729
|
-
sidecars?: readonly
|
|
52738
|
+
accessList?: viem356.AccessList | undefined;
|
|
52739
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52730
52740
|
authorizationList?: undefined;
|
|
52731
52741
|
chainId?: number | undefined;
|
|
52732
52742
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -52735,22 +52745,22 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52735
52745
|
functionName: string;
|
|
52736
52746
|
args?: readonly unknown[] | undefined;
|
|
52737
52747
|
address: Address;
|
|
52738
|
-
chain?:
|
|
52739
|
-
account?: `0x${string}` |
|
|
52748
|
+
chain?: viem356.Chain | null | undefined;
|
|
52749
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52740
52750
|
value?: bigint | undefined;
|
|
52741
52751
|
dataSuffix?: `0x${string}` | undefined;
|
|
52742
52752
|
type?: "eip4844" | undefined;
|
|
52743
52753
|
gas?: bigint | undefined;
|
|
52744
52754
|
nonce?: number | undefined;
|
|
52745
|
-
blobs: readonly
|
|
52755
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
52746
52756
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52747
|
-
kzg?:
|
|
52757
|
+
kzg?: viem356.Kzg | undefined;
|
|
52748
52758
|
gasPrice?: undefined | undefined;
|
|
52749
52759
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52750
52760
|
maxFeePerGas?: bigint | undefined;
|
|
52751
52761
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52752
|
-
accessList?:
|
|
52753
|
-
sidecars?: readonly
|
|
52762
|
+
accessList?: viem356.AccessList | undefined;
|
|
52763
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52754
52764
|
authorizationList?: undefined;
|
|
52755
52765
|
chainId?: number | undefined;
|
|
52756
52766
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -52759,8 +52769,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52759
52769
|
functionName: string;
|
|
52760
52770
|
args?: readonly unknown[] | undefined;
|
|
52761
52771
|
address: Address;
|
|
52762
|
-
chain?:
|
|
52763
|
-
account?: `0x${string}` |
|
|
52772
|
+
chain?: viem356.Chain | null | undefined;
|
|
52773
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52764
52774
|
value?: bigint | undefined;
|
|
52765
52775
|
dataSuffix?: `0x${string}` | undefined;
|
|
52766
52776
|
type?: "eip7702" | undefined;
|
|
@@ -52773,35 +52783,37 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52773
52783
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52774
52784
|
maxFeePerGas?: bigint | undefined;
|
|
52775
52785
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52776
|
-
accessList?:
|
|
52786
|
+
accessList?: viem356.AccessList | undefined;
|
|
52777
52787
|
sidecars?: undefined;
|
|
52778
|
-
authorizationList?:
|
|
52788
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
52779
52789
|
chainId?: number | undefined;
|
|
52780
52790
|
connector?: wagmi0.Connector | undefined;
|
|
52781
52791
|
};
|
|
52782
|
-
isError: true;
|
|
52783
52792
|
isIdle: false;
|
|
52784
|
-
isPending: false;
|
|
52785
|
-
isSuccess: false;
|
|
52786
52793
|
reset: () => void;
|
|
52787
52794
|
context: unknown;
|
|
52788
|
-
failureCount: number;
|
|
52789
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52790
|
-
isPaused: boolean;
|
|
52791
52795
|
submittedAt: number;
|
|
52796
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52797
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52792
52798
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52793
52799
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52794
52800
|
} | {
|
|
52795
|
-
data: `0x${string}`;
|
|
52796
52801
|
error: null;
|
|
52802
|
+
data: `0x${string}`;
|
|
52797
52803
|
status: "success";
|
|
52804
|
+
isError: false;
|
|
52805
|
+
isPending: false;
|
|
52806
|
+
isSuccess: true;
|
|
52807
|
+
failureCount: number;
|
|
52808
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52809
|
+
isPaused: boolean;
|
|
52798
52810
|
variables: {
|
|
52799
52811
|
abi: abitype0.Abi;
|
|
52800
52812
|
functionName: string;
|
|
52801
52813
|
args?: readonly unknown[] | undefined;
|
|
52802
52814
|
address: Address;
|
|
52803
|
-
chain?:
|
|
52804
|
-
account?: `0x${string}` |
|
|
52815
|
+
chain?: viem356.Chain | null | undefined;
|
|
52816
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52805
52817
|
value?: bigint | undefined;
|
|
52806
52818
|
dataSuffix?: `0x${string}` | undefined;
|
|
52807
52819
|
type?: "legacy" | undefined;
|
|
@@ -52824,8 +52836,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52824
52836
|
functionName: string;
|
|
52825
52837
|
args?: readonly unknown[] | undefined;
|
|
52826
52838
|
address: Address;
|
|
52827
|
-
chain?:
|
|
52828
|
-
account?: `0x${string}` |
|
|
52839
|
+
chain?: viem356.Chain | null | undefined;
|
|
52840
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52829
52841
|
value?: bigint | undefined;
|
|
52830
52842
|
dataSuffix?: `0x${string}` | undefined;
|
|
52831
52843
|
type?: "eip2930" | undefined;
|
|
@@ -52838,7 +52850,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52838
52850
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52839
52851
|
maxFeePerGas?: undefined | undefined;
|
|
52840
52852
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
52841
|
-
accessList?:
|
|
52853
|
+
accessList?: viem356.AccessList | undefined;
|
|
52842
52854
|
sidecars?: undefined;
|
|
52843
52855
|
authorizationList?: undefined;
|
|
52844
52856
|
chainId?: number | undefined;
|
|
@@ -52848,8 +52860,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52848
52860
|
functionName: string;
|
|
52849
52861
|
args?: readonly unknown[] | undefined;
|
|
52850
52862
|
address: Address;
|
|
52851
|
-
chain?:
|
|
52852
|
-
account?: `0x${string}` |
|
|
52863
|
+
chain?: viem356.Chain | null | undefined;
|
|
52864
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52853
52865
|
value?: bigint | undefined;
|
|
52854
52866
|
dataSuffix?: `0x${string}` | undefined;
|
|
52855
52867
|
type?: "eip1559" | undefined;
|
|
@@ -52862,7 +52874,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52862
52874
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52863
52875
|
maxFeePerGas?: bigint | undefined;
|
|
52864
52876
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52865
|
-
accessList?:
|
|
52877
|
+
accessList?: viem356.AccessList | undefined;
|
|
52866
52878
|
sidecars?: undefined;
|
|
52867
52879
|
authorizationList?: undefined;
|
|
52868
52880
|
chainId?: number | undefined;
|
|
@@ -52872,22 +52884,22 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52872
52884
|
functionName: string;
|
|
52873
52885
|
args?: readonly unknown[] | undefined;
|
|
52874
52886
|
address: Address;
|
|
52875
|
-
chain?:
|
|
52876
|
-
account?: `0x${string}` |
|
|
52887
|
+
chain?: viem356.Chain | null | undefined;
|
|
52888
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52877
52889
|
value?: bigint | undefined;
|
|
52878
52890
|
dataSuffix?: `0x${string}` | undefined;
|
|
52879
52891
|
type?: "eip4844" | undefined;
|
|
52880
52892
|
gas?: bigint | undefined;
|
|
52881
52893
|
nonce?: number | undefined;
|
|
52882
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
52883
|
-
blobVersionedHashes: readonly
|
|
52894
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
52895
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
52884
52896
|
kzg?: undefined;
|
|
52885
52897
|
gasPrice?: undefined | undefined;
|
|
52886
52898
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52887
52899
|
maxFeePerGas?: bigint | undefined;
|
|
52888
52900
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52889
|
-
accessList?:
|
|
52890
|
-
sidecars?: readonly
|
|
52901
|
+
accessList?: viem356.AccessList | undefined;
|
|
52902
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52891
52903
|
authorizationList?: undefined;
|
|
52892
52904
|
chainId?: number | undefined;
|
|
52893
52905
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -52896,22 +52908,22 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52896
52908
|
functionName: string;
|
|
52897
52909
|
args?: readonly unknown[] | undefined;
|
|
52898
52910
|
address: Address;
|
|
52899
|
-
chain?:
|
|
52900
|
-
account?: `0x${string}` |
|
|
52911
|
+
chain?: viem356.Chain | null | undefined;
|
|
52912
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52901
52913
|
value?: bigint | undefined;
|
|
52902
52914
|
dataSuffix?: `0x${string}` | undefined;
|
|
52903
52915
|
type?: "eip4844" | undefined;
|
|
52904
52916
|
gas?: bigint | undefined;
|
|
52905
52917
|
nonce?: number | undefined;
|
|
52906
|
-
blobs: readonly
|
|
52918
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
52907
52919
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52908
|
-
kzg?:
|
|
52920
|
+
kzg?: viem356.Kzg | undefined;
|
|
52909
52921
|
gasPrice?: undefined | undefined;
|
|
52910
52922
|
maxFeePerBlobGas?: bigint | undefined;
|
|
52911
52923
|
maxFeePerGas?: bigint | undefined;
|
|
52912
52924
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52913
|
-
accessList?:
|
|
52914
|
-
sidecars?: readonly
|
|
52925
|
+
accessList?: viem356.AccessList | undefined;
|
|
52926
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
52915
52927
|
authorizationList?: undefined;
|
|
52916
52928
|
chainId?: number | undefined;
|
|
52917
52929
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -52920,8 +52932,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52920
52932
|
functionName: string;
|
|
52921
52933
|
args?: readonly unknown[] | undefined;
|
|
52922
52934
|
address: Address;
|
|
52923
|
-
chain?:
|
|
52924
|
-
account?: `0x${string}` |
|
|
52935
|
+
chain?: viem356.Chain | null | undefined;
|
|
52936
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52925
52937
|
value?: bigint | undefined;
|
|
52926
52938
|
dataSuffix?: `0x${string}` | undefined;
|
|
52927
52939
|
type?: "eip7702" | undefined;
|
|
@@ -52934,55 +52946,59 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52934
52946
|
maxFeePerBlobGas?: undefined | undefined;
|
|
52935
52947
|
maxFeePerGas?: bigint | undefined;
|
|
52936
52948
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
52937
|
-
accessList?:
|
|
52949
|
+
accessList?: viem356.AccessList | undefined;
|
|
52938
52950
|
sidecars?: undefined;
|
|
52939
|
-
authorizationList?:
|
|
52951
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
52940
52952
|
chainId?: number | undefined;
|
|
52941
52953
|
connector?: wagmi0.Connector | undefined;
|
|
52942
52954
|
};
|
|
52943
|
-
isError: false;
|
|
52944
52955
|
isIdle: false;
|
|
52945
|
-
isPending: false;
|
|
52946
|
-
isSuccess: true;
|
|
52947
52956
|
reset: () => void;
|
|
52948
52957
|
context: unknown;
|
|
52949
|
-
failureCount: number;
|
|
52950
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52951
|
-
isPaused: boolean;
|
|
52952
52958
|
submittedAt: number;
|
|
52959
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52960
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52953
52961
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52954
52962
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52955
52963
|
};
|
|
52956
52964
|
//#endregion
|
|
52957
52965
|
//#region src/hooks/guardian/usePauseMarketTrading.d.ts
|
|
52958
52966
|
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
52959
|
-
data: undefined;
|
|
52960
52967
|
error: null;
|
|
52968
|
+
data: undefined;
|
|
52961
52969
|
status: "idle";
|
|
52962
|
-
variables: undefined;
|
|
52963
52970
|
isError: false;
|
|
52964
|
-
isIdle: true;
|
|
52965
52971
|
isPending: false;
|
|
52966
52972
|
isSuccess: false;
|
|
52967
|
-
reset: () => void;
|
|
52968
|
-
context: unknown;
|
|
52969
52973
|
failureCount: number;
|
|
52970
52974
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52971
52975
|
isPaused: boolean;
|
|
52976
|
+
variables: undefined;
|
|
52977
|
+
isIdle: true;
|
|
52978
|
+
reset: () => void;
|
|
52979
|
+
context: unknown;
|
|
52972
52980
|
submittedAt: number;
|
|
52981
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52982
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52973
52983
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52974
52984
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52975
52985
|
} | {
|
|
52976
|
-
data: undefined;
|
|
52977
52986
|
error: null;
|
|
52987
|
+
data: undefined;
|
|
52978
52988
|
status: "pending";
|
|
52989
|
+
isError: false;
|
|
52990
|
+
isPending: true;
|
|
52991
|
+
isSuccess: false;
|
|
52992
|
+
failureCount: number;
|
|
52993
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52994
|
+
isPaused: boolean;
|
|
52979
52995
|
variables: {
|
|
52980
52996
|
abi: abitype0.Abi;
|
|
52981
52997
|
functionName: string;
|
|
52982
52998
|
args?: readonly unknown[] | undefined;
|
|
52983
52999
|
address: Address;
|
|
52984
|
-
chain?:
|
|
52985
|
-
account?: `0x${string}` |
|
|
53000
|
+
chain?: viem356.Chain | null | undefined;
|
|
53001
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
52986
53002
|
value?: bigint | undefined;
|
|
52987
53003
|
dataSuffix?: `0x${string}` | undefined;
|
|
52988
53004
|
type?: "legacy" | undefined;
|
|
@@ -53005,8 +53021,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53005
53021
|
functionName: string;
|
|
53006
53022
|
args?: readonly unknown[] | undefined;
|
|
53007
53023
|
address: Address;
|
|
53008
|
-
chain?:
|
|
53009
|
-
account?: `0x${string}` |
|
|
53024
|
+
chain?: viem356.Chain | null | undefined;
|
|
53025
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53010
53026
|
value?: bigint | undefined;
|
|
53011
53027
|
dataSuffix?: `0x${string}` | undefined;
|
|
53012
53028
|
type?: "eip2930" | undefined;
|
|
@@ -53019,7 +53035,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53019
53035
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53020
53036
|
maxFeePerGas?: undefined | undefined;
|
|
53021
53037
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53022
|
-
accessList?:
|
|
53038
|
+
accessList?: viem356.AccessList | undefined;
|
|
53023
53039
|
sidecars?: undefined;
|
|
53024
53040
|
authorizationList?: undefined;
|
|
53025
53041
|
chainId?: number | undefined;
|
|
@@ -53029,8 +53045,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53029
53045
|
functionName: string;
|
|
53030
53046
|
args?: readonly unknown[] | undefined;
|
|
53031
53047
|
address: Address;
|
|
53032
|
-
chain?:
|
|
53033
|
-
account?: `0x${string}` |
|
|
53048
|
+
chain?: viem356.Chain | null | undefined;
|
|
53049
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53034
53050
|
value?: bigint | undefined;
|
|
53035
53051
|
dataSuffix?: `0x${string}` | undefined;
|
|
53036
53052
|
type?: "eip1559" | undefined;
|
|
@@ -53043,7 +53059,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53043
53059
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53044
53060
|
maxFeePerGas?: bigint | undefined;
|
|
53045
53061
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53046
|
-
accessList?:
|
|
53062
|
+
accessList?: viem356.AccessList | undefined;
|
|
53047
53063
|
sidecars?: undefined;
|
|
53048
53064
|
authorizationList?: undefined;
|
|
53049
53065
|
chainId?: number | undefined;
|
|
@@ -53053,22 +53069,22 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53053
53069
|
functionName: string;
|
|
53054
53070
|
args?: readonly unknown[] | undefined;
|
|
53055
53071
|
address: Address;
|
|
53056
|
-
chain?:
|
|
53057
|
-
account?: `0x${string}` |
|
|
53072
|
+
chain?: viem356.Chain | null | undefined;
|
|
53073
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53058
53074
|
value?: bigint | undefined;
|
|
53059
53075
|
dataSuffix?: `0x${string}` | undefined;
|
|
53060
53076
|
type?: "eip4844" | undefined;
|
|
53061
53077
|
gas?: bigint | undefined;
|
|
53062
53078
|
nonce?: number | undefined;
|
|
53063
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53064
|
-
blobVersionedHashes: readonly
|
|
53079
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
53080
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
53065
53081
|
kzg?: undefined;
|
|
53066
53082
|
gasPrice?: undefined | undefined;
|
|
53067
53083
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53068
53084
|
maxFeePerGas?: bigint | undefined;
|
|
53069
53085
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53070
|
-
accessList?:
|
|
53071
|
-
sidecars?: readonly
|
|
53086
|
+
accessList?: viem356.AccessList | undefined;
|
|
53087
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53072
53088
|
authorizationList?: undefined;
|
|
53073
53089
|
chainId?: number | undefined;
|
|
53074
53090
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53077,22 +53093,22 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53077
53093
|
functionName: string;
|
|
53078
53094
|
args?: readonly unknown[] | undefined;
|
|
53079
53095
|
address: Address;
|
|
53080
|
-
chain?:
|
|
53081
|
-
account?: `0x${string}` |
|
|
53096
|
+
chain?: viem356.Chain | null | undefined;
|
|
53097
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53082
53098
|
value?: bigint | undefined;
|
|
53083
53099
|
dataSuffix?: `0x${string}` | undefined;
|
|
53084
53100
|
type?: "eip4844" | undefined;
|
|
53085
53101
|
gas?: bigint | undefined;
|
|
53086
53102
|
nonce?: number | undefined;
|
|
53087
|
-
blobs: readonly
|
|
53103
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
53088
53104
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53089
|
-
kzg?:
|
|
53105
|
+
kzg?: viem356.Kzg | undefined;
|
|
53090
53106
|
gasPrice?: undefined | undefined;
|
|
53091
53107
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53092
53108
|
maxFeePerGas?: bigint | undefined;
|
|
53093
53109
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53094
|
-
accessList?:
|
|
53095
|
-
sidecars?: readonly
|
|
53110
|
+
accessList?: viem356.AccessList | undefined;
|
|
53111
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53096
53112
|
authorizationList?: undefined;
|
|
53097
53113
|
chainId?: number | undefined;
|
|
53098
53114
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53101,8 +53117,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53101
53117
|
functionName: string;
|
|
53102
53118
|
args?: readonly unknown[] | undefined;
|
|
53103
53119
|
address: Address;
|
|
53104
|
-
chain?:
|
|
53105
|
-
account?: `0x${string}` |
|
|
53120
|
+
chain?: viem356.Chain | null | undefined;
|
|
53121
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53106
53122
|
value?: bigint | undefined;
|
|
53107
53123
|
dataSuffix?: `0x${string}` | undefined;
|
|
53108
53124
|
type?: "eip7702" | undefined;
|
|
@@ -53115,35 +53131,37 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53115
53131
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53116
53132
|
maxFeePerGas?: bigint | undefined;
|
|
53117
53133
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53118
|
-
accessList?:
|
|
53134
|
+
accessList?: viem356.AccessList | undefined;
|
|
53119
53135
|
sidecars?: undefined;
|
|
53120
|
-
authorizationList?:
|
|
53136
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
53121
53137
|
chainId?: number | undefined;
|
|
53122
53138
|
connector?: wagmi0.Connector | undefined;
|
|
53123
53139
|
};
|
|
53124
|
-
isError: false;
|
|
53125
53140
|
isIdle: false;
|
|
53126
|
-
isPending: true;
|
|
53127
|
-
isSuccess: false;
|
|
53128
53141
|
reset: () => void;
|
|
53129
53142
|
context: unknown;
|
|
53130
|
-
failureCount: number;
|
|
53131
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53132
|
-
isPaused: boolean;
|
|
53133
53143
|
submittedAt: number;
|
|
53144
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53145
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53134
53146
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53135
53147
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53136
53148
|
} | {
|
|
53137
|
-
data: undefined;
|
|
53138
53149
|
error: _wagmi_core0.WriteContractErrorType;
|
|
53150
|
+
data: undefined;
|
|
53139
53151
|
status: "error";
|
|
53152
|
+
isError: true;
|
|
53153
|
+
isPending: false;
|
|
53154
|
+
isSuccess: false;
|
|
53155
|
+
failureCount: number;
|
|
53156
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53157
|
+
isPaused: boolean;
|
|
53140
53158
|
variables: {
|
|
53141
53159
|
abi: abitype0.Abi;
|
|
53142
53160
|
functionName: string;
|
|
53143
53161
|
args?: readonly unknown[] | undefined;
|
|
53144
53162
|
address: Address;
|
|
53145
|
-
chain?:
|
|
53146
|
-
account?: `0x${string}` |
|
|
53163
|
+
chain?: viem356.Chain | null | undefined;
|
|
53164
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53147
53165
|
value?: bigint | undefined;
|
|
53148
53166
|
dataSuffix?: `0x${string}` | undefined;
|
|
53149
53167
|
type?: "legacy" | undefined;
|
|
@@ -53166,8 +53184,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53166
53184
|
functionName: string;
|
|
53167
53185
|
args?: readonly unknown[] | undefined;
|
|
53168
53186
|
address: Address;
|
|
53169
|
-
chain?:
|
|
53170
|
-
account?: `0x${string}` |
|
|
53187
|
+
chain?: viem356.Chain | null | undefined;
|
|
53188
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53171
53189
|
value?: bigint | undefined;
|
|
53172
53190
|
dataSuffix?: `0x${string}` | undefined;
|
|
53173
53191
|
type?: "eip2930" | undefined;
|
|
@@ -53180,7 +53198,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53180
53198
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53181
53199
|
maxFeePerGas?: undefined | undefined;
|
|
53182
53200
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53183
|
-
accessList?:
|
|
53201
|
+
accessList?: viem356.AccessList | undefined;
|
|
53184
53202
|
sidecars?: undefined;
|
|
53185
53203
|
authorizationList?: undefined;
|
|
53186
53204
|
chainId?: number | undefined;
|
|
@@ -53190,8 +53208,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53190
53208
|
functionName: string;
|
|
53191
53209
|
args?: readonly unknown[] | undefined;
|
|
53192
53210
|
address: Address;
|
|
53193
|
-
chain?:
|
|
53194
|
-
account?: `0x${string}` |
|
|
53211
|
+
chain?: viem356.Chain | null | undefined;
|
|
53212
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53195
53213
|
value?: bigint | undefined;
|
|
53196
53214
|
dataSuffix?: `0x${string}` | undefined;
|
|
53197
53215
|
type?: "eip1559" | undefined;
|
|
@@ -53204,7 +53222,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53204
53222
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53205
53223
|
maxFeePerGas?: bigint | undefined;
|
|
53206
53224
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53207
|
-
accessList?:
|
|
53225
|
+
accessList?: viem356.AccessList | undefined;
|
|
53208
53226
|
sidecars?: undefined;
|
|
53209
53227
|
authorizationList?: undefined;
|
|
53210
53228
|
chainId?: number | undefined;
|
|
@@ -53214,22 +53232,22 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53214
53232
|
functionName: string;
|
|
53215
53233
|
args?: readonly unknown[] | undefined;
|
|
53216
53234
|
address: Address;
|
|
53217
|
-
chain?:
|
|
53218
|
-
account?: `0x${string}` |
|
|
53235
|
+
chain?: viem356.Chain | null | undefined;
|
|
53236
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53219
53237
|
value?: bigint | undefined;
|
|
53220
53238
|
dataSuffix?: `0x${string}` | undefined;
|
|
53221
53239
|
type?: "eip4844" | undefined;
|
|
53222
53240
|
gas?: bigint | undefined;
|
|
53223
53241
|
nonce?: number | undefined;
|
|
53224
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53225
|
-
blobVersionedHashes: readonly
|
|
53242
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
53243
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
53226
53244
|
kzg?: undefined;
|
|
53227
53245
|
gasPrice?: undefined | undefined;
|
|
53228
53246
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53229
53247
|
maxFeePerGas?: bigint | undefined;
|
|
53230
53248
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53231
|
-
accessList?:
|
|
53232
|
-
sidecars?: readonly
|
|
53249
|
+
accessList?: viem356.AccessList | undefined;
|
|
53250
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53233
53251
|
authorizationList?: undefined;
|
|
53234
53252
|
chainId?: number | undefined;
|
|
53235
53253
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53238,22 +53256,22 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53238
53256
|
functionName: string;
|
|
53239
53257
|
args?: readonly unknown[] | undefined;
|
|
53240
53258
|
address: Address;
|
|
53241
|
-
chain?:
|
|
53242
|
-
account?: `0x${string}` |
|
|
53259
|
+
chain?: viem356.Chain | null | undefined;
|
|
53260
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53243
53261
|
value?: bigint | undefined;
|
|
53244
53262
|
dataSuffix?: `0x${string}` | undefined;
|
|
53245
53263
|
type?: "eip4844" | undefined;
|
|
53246
53264
|
gas?: bigint | undefined;
|
|
53247
53265
|
nonce?: number | undefined;
|
|
53248
|
-
blobs: readonly
|
|
53266
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
53249
53267
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53250
|
-
kzg?:
|
|
53268
|
+
kzg?: viem356.Kzg | undefined;
|
|
53251
53269
|
gasPrice?: undefined | undefined;
|
|
53252
53270
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53253
53271
|
maxFeePerGas?: bigint | undefined;
|
|
53254
53272
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53255
|
-
accessList?:
|
|
53256
|
-
sidecars?: readonly
|
|
53273
|
+
accessList?: viem356.AccessList | undefined;
|
|
53274
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53257
53275
|
authorizationList?: undefined;
|
|
53258
53276
|
chainId?: number | undefined;
|
|
53259
53277
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53262,8 +53280,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53262
53280
|
functionName: string;
|
|
53263
53281
|
args?: readonly unknown[] | undefined;
|
|
53264
53282
|
address: Address;
|
|
53265
|
-
chain?:
|
|
53266
|
-
account?: `0x${string}` |
|
|
53283
|
+
chain?: viem356.Chain | null | undefined;
|
|
53284
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53267
53285
|
value?: bigint | undefined;
|
|
53268
53286
|
dataSuffix?: `0x${string}` | undefined;
|
|
53269
53287
|
type?: "eip7702" | undefined;
|
|
@@ -53276,35 +53294,37 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53276
53294
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53277
53295
|
maxFeePerGas?: bigint | undefined;
|
|
53278
53296
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53279
|
-
accessList?:
|
|
53297
|
+
accessList?: viem356.AccessList | undefined;
|
|
53280
53298
|
sidecars?: undefined;
|
|
53281
|
-
authorizationList?:
|
|
53299
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
53282
53300
|
chainId?: number | undefined;
|
|
53283
53301
|
connector?: wagmi0.Connector | undefined;
|
|
53284
53302
|
};
|
|
53285
|
-
isError: true;
|
|
53286
53303
|
isIdle: false;
|
|
53287
|
-
isPending: false;
|
|
53288
|
-
isSuccess: false;
|
|
53289
53304
|
reset: () => void;
|
|
53290
53305
|
context: unknown;
|
|
53291
|
-
failureCount: number;
|
|
53292
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53293
|
-
isPaused: boolean;
|
|
53294
53306
|
submittedAt: number;
|
|
53307
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53308
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53295
53309
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53296
53310
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53297
53311
|
} | {
|
|
53298
|
-
data: `0x${string}`;
|
|
53299
53312
|
error: null;
|
|
53313
|
+
data: `0x${string}`;
|
|
53300
53314
|
status: "success";
|
|
53315
|
+
isError: false;
|
|
53316
|
+
isPending: false;
|
|
53317
|
+
isSuccess: true;
|
|
53318
|
+
failureCount: number;
|
|
53319
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53320
|
+
isPaused: boolean;
|
|
53301
53321
|
variables: {
|
|
53302
53322
|
abi: abitype0.Abi;
|
|
53303
53323
|
functionName: string;
|
|
53304
53324
|
args?: readonly unknown[] | undefined;
|
|
53305
53325
|
address: Address;
|
|
53306
|
-
chain?:
|
|
53307
|
-
account?: `0x${string}` |
|
|
53326
|
+
chain?: viem356.Chain | null | undefined;
|
|
53327
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53308
53328
|
value?: bigint | undefined;
|
|
53309
53329
|
dataSuffix?: `0x${string}` | undefined;
|
|
53310
53330
|
type?: "legacy" | undefined;
|
|
@@ -53327,8 +53347,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53327
53347
|
functionName: string;
|
|
53328
53348
|
args?: readonly unknown[] | undefined;
|
|
53329
53349
|
address: Address;
|
|
53330
|
-
chain?:
|
|
53331
|
-
account?: `0x${string}` |
|
|
53350
|
+
chain?: viem356.Chain | null | undefined;
|
|
53351
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53332
53352
|
value?: bigint | undefined;
|
|
53333
53353
|
dataSuffix?: `0x${string}` | undefined;
|
|
53334
53354
|
type?: "eip2930" | undefined;
|
|
@@ -53341,7 +53361,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53341
53361
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53342
53362
|
maxFeePerGas?: undefined | undefined;
|
|
53343
53363
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53344
|
-
accessList?:
|
|
53364
|
+
accessList?: viem356.AccessList | undefined;
|
|
53345
53365
|
sidecars?: undefined;
|
|
53346
53366
|
authorizationList?: undefined;
|
|
53347
53367
|
chainId?: number | undefined;
|
|
@@ -53351,8 +53371,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53351
53371
|
functionName: string;
|
|
53352
53372
|
args?: readonly unknown[] | undefined;
|
|
53353
53373
|
address: Address;
|
|
53354
|
-
chain?:
|
|
53355
|
-
account?: `0x${string}` |
|
|
53374
|
+
chain?: viem356.Chain | null | undefined;
|
|
53375
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53356
53376
|
value?: bigint | undefined;
|
|
53357
53377
|
dataSuffix?: `0x${string}` | undefined;
|
|
53358
53378
|
type?: "eip1559" | undefined;
|
|
@@ -53365,7 +53385,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53365
53385
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53366
53386
|
maxFeePerGas?: bigint | undefined;
|
|
53367
53387
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53368
|
-
accessList?:
|
|
53388
|
+
accessList?: viem356.AccessList | undefined;
|
|
53369
53389
|
sidecars?: undefined;
|
|
53370
53390
|
authorizationList?: undefined;
|
|
53371
53391
|
chainId?: number | undefined;
|
|
@@ -53375,22 +53395,22 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53375
53395
|
functionName: string;
|
|
53376
53396
|
args?: readonly unknown[] | undefined;
|
|
53377
53397
|
address: Address;
|
|
53378
|
-
chain?:
|
|
53379
|
-
account?: `0x${string}` |
|
|
53398
|
+
chain?: viem356.Chain | null | undefined;
|
|
53399
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53380
53400
|
value?: bigint | undefined;
|
|
53381
53401
|
dataSuffix?: `0x${string}` | undefined;
|
|
53382
53402
|
type?: "eip4844" | undefined;
|
|
53383
53403
|
gas?: bigint | undefined;
|
|
53384
53404
|
nonce?: number | undefined;
|
|
53385
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53386
|
-
blobVersionedHashes: readonly
|
|
53405
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
53406
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
53387
53407
|
kzg?: undefined;
|
|
53388
53408
|
gasPrice?: undefined | undefined;
|
|
53389
53409
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53390
53410
|
maxFeePerGas?: bigint | undefined;
|
|
53391
53411
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53392
|
-
accessList?:
|
|
53393
|
-
sidecars?: readonly
|
|
53412
|
+
accessList?: viem356.AccessList | undefined;
|
|
53413
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53394
53414
|
authorizationList?: undefined;
|
|
53395
53415
|
chainId?: number | undefined;
|
|
53396
53416
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53399,22 +53419,22 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53399
53419
|
functionName: string;
|
|
53400
53420
|
args?: readonly unknown[] | undefined;
|
|
53401
53421
|
address: Address;
|
|
53402
|
-
chain?:
|
|
53403
|
-
account?: `0x${string}` |
|
|
53422
|
+
chain?: viem356.Chain | null | undefined;
|
|
53423
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53404
53424
|
value?: bigint | undefined;
|
|
53405
53425
|
dataSuffix?: `0x${string}` | undefined;
|
|
53406
53426
|
type?: "eip4844" | undefined;
|
|
53407
53427
|
gas?: bigint | undefined;
|
|
53408
53428
|
nonce?: number | undefined;
|
|
53409
|
-
blobs: readonly
|
|
53429
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
53410
53430
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53411
|
-
kzg?:
|
|
53431
|
+
kzg?: viem356.Kzg | undefined;
|
|
53412
53432
|
gasPrice?: undefined | undefined;
|
|
53413
53433
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53414
53434
|
maxFeePerGas?: bigint | undefined;
|
|
53415
53435
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53416
|
-
accessList?:
|
|
53417
|
-
sidecars?: readonly
|
|
53436
|
+
accessList?: viem356.AccessList | undefined;
|
|
53437
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53418
53438
|
authorizationList?: undefined;
|
|
53419
53439
|
chainId?: number | undefined;
|
|
53420
53440
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53423,8 +53443,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53423
53443
|
functionName: string;
|
|
53424
53444
|
args?: readonly unknown[] | undefined;
|
|
53425
53445
|
address: Address;
|
|
53426
|
-
chain?:
|
|
53427
|
-
account?: `0x${string}` |
|
|
53446
|
+
chain?: viem356.Chain | null | undefined;
|
|
53447
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53428
53448
|
value?: bigint | undefined;
|
|
53429
53449
|
dataSuffix?: `0x${string}` | undefined;
|
|
53430
53450
|
type?: "eip7702" | undefined;
|
|
@@ -53437,22 +53457,18 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53437
53457
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53438
53458
|
maxFeePerGas?: bigint | undefined;
|
|
53439
53459
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53440
|
-
accessList?:
|
|
53460
|
+
accessList?: viem356.AccessList | undefined;
|
|
53441
53461
|
sidecars?: undefined;
|
|
53442
|
-
authorizationList?:
|
|
53462
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
53443
53463
|
chainId?: number | undefined;
|
|
53444
53464
|
connector?: wagmi0.Connector | undefined;
|
|
53445
53465
|
};
|
|
53446
|
-
isError: false;
|
|
53447
53466
|
isIdle: false;
|
|
53448
|
-
isPending: false;
|
|
53449
|
-
isSuccess: true;
|
|
53450
53467
|
reset: () => void;
|
|
53451
53468
|
context: unknown;
|
|
53452
|
-
failureCount: number;
|
|
53453
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53454
|
-
isPaused: boolean;
|
|
53455
53469
|
submittedAt: number;
|
|
53470
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53471
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53456
53472
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53457
53473
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53458
53474
|
};
|
|
@@ -53468,20 +53484,22 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
53468
53484
|
//#endregion
|
|
53469
53485
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
53470
53486
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
53471
|
-
data: undefined;
|
|
53472
53487
|
error: null;
|
|
53488
|
+
data: undefined;
|
|
53473
53489
|
status: "idle";
|
|
53474
|
-
variables: undefined;
|
|
53475
53490
|
isError: false;
|
|
53476
|
-
isIdle: true;
|
|
53477
53491
|
isPending: false;
|
|
53478
53492
|
isSuccess: false;
|
|
53479
|
-
reset: () => void;
|
|
53480
|
-
context: unknown;
|
|
53481
53493
|
failureCount: number;
|
|
53482
53494
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53483
53495
|
isPaused: boolean;
|
|
53496
|
+
variables: undefined;
|
|
53497
|
+
isIdle: true;
|
|
53498
|
+
reset: () => void;
|
|
53499
|
+
context: unknown;
|
|
53484
53500
|
submittedAt: number;
|
|
53501
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53502
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53485
53503
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53486
53504
|
updateMarketFees: (rates: {
|
|
53487
53505
|
openingFeeRate?: number;
|
|
@@ -53495,16 +53513,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53495
53513
|
newFeeStrategy: `0x${string}`;
|
|
53496
53514
|
}>;
|
|
53497
53515
|
} | {
|
|
53498
|
-
data: undefined;
|
|
53499
53516
|
error: null;
|
|
53517
|
+
data: undefined;
|
|
53500
53518
|
status: "pending";
|
|
53519
|
+
isError: false;
|
|
53520
|
+
isPending: true;
|
|
53521
|
+
isSuccess: false;
|
|
53522
|
+
failureCount: number;
|
|
53523
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53524
|
+
isPaused: boolean;
|
|
53501
53525
|
variables: {
|
|
53502
53526
|
abi: abitype0.Abi;
|
|
53503
53527
|
functionName: string;
|
|
53504
53528
|
args?: readonly unknown[] | undefined;
|
|
53505
53529
|
address: Address;
|
|
53506
|
-
chain?:
|
|
53507
|
-
account?: `0x${string}` |
|
|
53530
|
+
chain?: viem356.Chain | null | undefined;
|
|
53531
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53508
53532
|
value?: bigint | undefined;
|
|
53509
53533
|
dataSuffix?: `0x${string}` | undefined;
|
|
53510
53534
|
type?: "legacy" | undefined;
|
|
@@ -53527,8 +53551,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53527
53551
|
functionName: string;
|
|
53528
53552
|
args?: readonly unknown[] | undefined;
|
|
53529
53553
|
address: Address;
|
|
53530
|
-
chain?:
|
|
53531
|
-
account?: `0x${string}` |
|
|
53554
|
+
chain?: viem356.Chain | null | undefined;
|
|
53555
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53532
53556
|
value?: bigint | undefined;
|
|
53533
53557
|
dataSuffix?: `0x${string}` | undefined;
|
|
53534
53558
|
type?: "eip2930" | undefined;
|
|
@@ -53541,7 +53565,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53541
53565
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53542
53566
|
maxFeePerGas?: undefined | undefined;
|
|
53543
53567
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53544
|
-
accessList?:
|
|
53568
|
+
accessList?: viem356.AccessList | undefined;
|
|
53545
53569
|
sidecars?: undefined;
|
|
53546
53570
|
authorizationList?: undefined;
|
|
53547
53571
|
chainId?: number | undefined;
|
|
@@ -53551,8 +53575,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53551
53575
|
functionName: string;
|
|
53552
53576
|
args?: readonly unknown[] | undefined;
|
|
53553
53577
|
address: Address;
|
|
53554
|
-
chain?:
|
|
53555
|
-
account?: `0x${string}` |
|
|
53578
|
+
chain?: viem356.Chain | null | undefined;
|
|
53579
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53556
53580
|
value?: bigint | undefined;
|
|
53557
53581
|
dataSuffix?: `0x${string}` | undefined;
|
|
53558
53582
|
type?: "eip1559" | undefined;
|
|
@@ -53565,7 +53589,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53565
53589
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53566
53590
|
maxFeePerGas?: bigint | undefined;
|
|
53567
53591
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53568
|
-
accessList?:
|
|
53592
|
+
accessList?: viem356.AccessList | undefined;
|
|
53569
53593
|
sidecars?: undefined;
|
|
53570
53594
|
authorizationList?: undefined;
|
|
53571
53595
|
chainId?: number | undefined;
|
|
@@ -53575,22 +53599,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53575
53599
|
functionName: string;
|
|
53576
53600
|
args?: readonly unknown[] | undefined;
|
|
53577
53601
|
address: Address;
|
|
53578
|
-
chain?:
|
|
53579
|
-
account?: `0x${string}` |
|
|
53602
|
+
chain?: viem356.Chain | null | undefined;
|
|
53603
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53580
53604
|
value?: bigint | undefined;
|
|
53581
53605
|
dataSuffix?: `0x${string}` | undefined;
|
|
53582
53606
|
type?: "eip4844" | undefined;
|
|
53583
53607
|
gas?: bigint | undefined;
|
|
53584
53608
|
nonce?: number | undefined;
|
|
53585
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53586
|
-
blobVersionedHashes: readonly
|
|
53609
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
53610
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
53587
53611
|
kzg?: undefined;
|
|
53588
53612
|
gasPrice?: undefined | undefined;
|
|
53589
53613
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53590
53614
|
maxFeePerGas?: bigint | undefined;
|
|
53591
53615
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53592
|
-
accessList?:
|
|
53593
|
-
sidecars?: readonly
|
|
53616
|
+
accessList?: viem356.AccessList | undefined;
|
|
53617
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53594
53618
|
authorizationList?: undefined;
|
|
53595
53619
|
chainId?: number | undefined;
|
|
53596
53620
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53599,22 +53623,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53599
53623
|
functionName: string;
|
|
53600
53624
|
args?: readonly unknown[] | undefined;
|
|
53601
53625
|
address: Address;
|
|
53602
|
-
chain?:
|
|
53603
|
-
account?: `0x${string}` |
|
|
53626
|
+
chain?: viem356.Chain | null | undefined;
|
|
53627
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53604
53628
|
value?: bigint | undefined;
|
|
53605
53629
|
dataSuffix?: `0x${string}` | undefined;
|
|
53606
53630
|
type?: "eip4844" | undefined;
|
|
53607
53631
|
gas?: bigint | undefined;
|
|
53608
53632
|
nonce?: number | undefined;
|
|
53609
|
-
blobs: readonly
|
|
53633
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
53610
53634
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53611
|
-
kzg?:
|
|
53635
|
+
kzg?: viem356.Kzg | undefined;
|
|
53612
53636
|
gasPrice?: undefined | undefined;
|
|
53613
53637
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53614
53638
|
maxFeePerGas?: bigint | undefined;
|
|
53615
53639
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53616
|
-
accessList?:
|
|
53617
|
-
sidecars?: readonly
|
|
53640
|
+
accessList?: viem356.AccessList | undefined;
|
|
53641
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53618
53642
|
authorizationList?: undefined;
|
|
53619
53643
|
chainId?: number | undefined;
|
|
53620
53644
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53623,8 +53647,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53623
53647
|
functionName: string;
|
|
53624
53648
|
args?: readonly unknown[] | undefined;
|
|
53625
53649
|
address: Address;
|
|
53626
|
-
chain?:
|
|
53627
|
-
account?: `0x${string}` |
|
|
53650
|
+
chain?: viem356.Chain | null | undefined;
|
|
53651
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53628
53652
|
value?: bigint | undefined;
|
|
53629
53653
|
dataSuffix?: `0x${string}` | undefined;
|
|
53630
53654
|
type?: "eip7702" | undefined;
|
|
@@ -53637,22 +53661,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53637
53661
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53638
53662
|
maxFeePerGas?: bigint | undefined;
|
|
53639
53663
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53640
|
-
accessList?:
|
|
53664
|
+
accessList?: viem356.AccessList | undefined;
|
|
53641
53665
|
sidecars?: undefined;
|
|
53642
|
-
authorizationList?:
|
|
53666
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
53643
53667
|
chainId?: number | undefined;
|
|
53644
53668
|
connector?: wagmi0.Connector | undefined;
|
|
53645
53669
|
};
|
|
53646
|
-
isError: false;
|
|
53647
53670
|
isIdle: false;
|
|
53648
|
-
isPending: true;
|
|
53649
|
-
isSuccess: false;
|
|
53650
53671
|
reset: () => void;
|
|
53651
53672
|
context: unknown;
|
|
53652
|
-
failureCount: number;
|
|
53653
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53654
|
-
isPaused: boolean;
|
|
53655
53673
|
submittedAt: number;
|
|
53674
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53675
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53656
53676
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53657
53677
|
updateMarketFees: (rates: {
|
|
53658
53678
|
openingFeeRate?: number;
|
|
@@ -53666,16 +53686,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53666
53686
|
newFeeStrategy: `0x${string}`;
|
|
53667
53687
|
}>;
|
|
53668
53688
|
} | {
|
|
53669
|
-
data: undefined;
|
|
53670
53689
|
error: _wagmi_core0.WriteContractErrorType;
|
|
53690
|
+
data: undefined;
|
|
53671
53691
|
status: "error";
|
|
53692
|
+
isError: true;
|
|
53693
|
+
isPending: false;
|
|
53694
|
+
isSuccess: false;
|
|
53695
|
+
failureCount: number;
|
|
53696
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53697
|
+
isPaused: boolean;
|
|
53672
53698
|
variables: {
|
|
53673
53699
|
abi: abitype0.Abi;
|
|
53674
53700
|
functionName: string;
|
|
53675
53701
|
args?: readonly unknown[] | undefined;
|
|
53676
53702
|
address: Address;
|
|
53677
|
-
chain?:
|
|
53678
|
-
account?: `0x${string}` |
|
|
53703
|
+
chain?: viem356.Chain | null | undefined;
|
|
53704
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53679
53705
|
value?: bigint | undefined;
|
|
53680
53706
|
dataSuffix?: `0x${string}` | undefined;
|
|
53681
53707
|
type?: "legacy" | undefined;
|
|
@@ -53698,8 +53724,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53698
53724
|
functionName: string;
|
|
53699
53725
|
args?: readonly unknown[] | undefined;
|
|
53700
53726
|
address: Address;
|
|
53701
|
-
chain?:
|
|
53702
|
-
account?: `0x${string}` |
|
|
53727
|
+
chain?: viem356.Chain | null | undefined;
|
|
53728
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53703
53729
|
value?: bigint | undefined;
|
|
53704
53730
|
dataSuffix?: `0x${string}` | undefined;
|
|
53705
53731
|
type?: "eip2930" | undefined;
|
|
@@ -53712,7 +53738,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53712
53738
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53713
53739
|
maxFeePerGas?: undefined | undefined;
|
|
53714
53740
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53715
|
-
accessList?:
|
|
53741
|
+
accessList?: viem356.AccessList | undefined;
|
|
53716
53742
|
sidecars?: undefined;
|
|
53717
53743
|
authorizationList?: undefined;
|
|
53718
53744
|
chainId?: number | undefined;
|
|
@@ -53722,8 +53748,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53722
53748
|
functionName: string;
|
|
53723
53749
|
args?: readonly unknown[] | undefined;
|
|
53724
53750
|
address: Address;
|
|
53725
|
-
chain?:
|
|
53726
|
-
account?: `0x${string}` |
|
|
53751
|
+
chain?: viem356.Chain | null | undefined;
|
|
53752
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53727
53753
|
value?: bigint | undefined;
|
|
53728
53754
|
dataSuffix?: `0x${string}` | undefined;
|
|
53729
53755
|
type?: "eip1559" | undefined;
|
|
@@ -53736,7 +53762,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53736
53762
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53737
53763
|
maxFeePerGas?: bigint | undefined;
|
|
53738
53764
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53739
|
-
accessList?:
|
|
53765
|
+
accessList?: viem356.AccessList | undefined;
|
|
53740
53766
|
sidecars?: undefined;
|
|
53741
53767
|
authorizationList?: undefined;
|
|
53742
53768
|
chainId?: number | undefined;
|
|
@@ -53746,22 +53772,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53746
53772
|
functionName: string;
|
|
53747
53773
|
args?: readonly unknown[] | undefined;
|
|
53748
53774
|
address: Address;
|
|
53749
|
-
chain?:
|
|
53750
|
-
account?: `0x${string}` |
|
|
53775
|
+
chain?: viem356.Chain | null | undefined;
|
|
53776
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53751
53777
|
value?: bigint | undefined;
|
|
53752
53778
|
dataSuffix?: `0x${string}` | undefined;
|
|
53753
53779
|
type?: "eip4844" | undefined;
|
|
53754
53780
|
gas?: bigint | undefined;
|
|
53755
53781
|
nonce?: number | undefined;
|
|
53756
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53757
|
-
blobVersionedHashes: readonly
|
|
53782
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
53783
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
53758
53784
|
kzg?: undefined;
|
|
53759
53785
|
gasPrice?: undefined | undefined;
|
|
53760
53786
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53761
53787
|
maxFeePerGas?: bigint | undefined;
|
|
53762
53788
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53763
|
-
accessList?:
|
|
53764
|
-
sidecars?: readonly
|
|
53789
|
+
accessList?: viem356.AccessList | undefined;
|
|
53790
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53765
53791
|
authorizationList?: undefined;
|
|
53766
53792
|
chainId?: number | undefined;
|
|
53767
53793
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53770,22 +53796,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53770
53796
|
functionName: string;
|
|
53771
53797
|
args?: readonly unknown[] | undefined;
|
|
53772
53798
|
address: Address;
|
|
53773
|
-
chain?:
|
|
53774
|
-
account?: `0x${string}` |
|
|
53799
|
+
chain?: viem356.Chain | null | undefined;
|
|
53800
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53775
53801
|
value?: bigint | undefined;
|
|
53776
53802
|
dataSuffix?: `0x${string}` | undefined;
|
|
53777
53803
|
type?: "eip4844" | undefined;
|
|
53778
53804
|
gas?: bigint | undefined;
|
|
53779
53805
|
nonce?: number | undefined;
|
|
53780
|
-
blobs: readonly
|
|
53806
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
53781
53807
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53782
|
-
kzg?:
|
|
53808
|
+
kzg?: viem356.Kzg | undefined;
|
|
53783
53809
|
gasPrice?: undefined | undefined;
|
|
53784
53810
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53785
53811
|
maxFeePerGas?: bigint | undefined;
|
|
53786
53812
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53787
|
-
accessList?:
|
|
53788
|
-
sidecars?: readonly
|
|
53813
|
+
accessList?: viem356.AccessList | undefined;
|
|
53814
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53789
53815
|
authorizationList?: undefined;
|
|
53790
53816
|
chainId?: number | undefined;
|
|
53791
53817
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53794,8 +53820,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53794
53820
|
functionName: string;
|
|
53795
53821
|
args?: readonly unknown[] | undefined;
|
|
53796
53822
|
address: Address;
|
|
53797
|
-
chain?:
|
|
53798
|
-
account?: `0x${string}` |
|
|
53823
|
+
chain?: viem356.Chain | null | undefined;
|
|
53824
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53799
53825
|
value?: bigint | undefined;
|
|
53800
53826
|
dataSuffix?: `0x${string}` | undefined;
|
|
53801
53827
|
type?: "eip7702" | undefined;
|
|
@@ -53808,22 +53834,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53808
53834
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53809
53835
|
maxFeePerGas?: bigint | undefined;
|
|
53810
53836
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53811
|
-
accessList?:
|
|
53837
|
+
accessList?: viem356.AccessList | undefined;
|
|
53812
53838
|
sidecars?: undefined;
|
|
53813
|
-
authorizationList?:
|
|
53839
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
53814
53840
|
chainId?: number | undefined;
|
|
53815
53841
|
connector?: wagmi0.Connector | undefined;
|
|
53816
53842
|
};
|
|
53817
|
-
isError: true;
|
|
53818
53843
|
isIdle: false;
|
|
53819
|
-
isPending: false;
|
|
53820
|
-
isSuccess: false;
|
|
53821
53844
|
reset: () => void;
|
|
53822
53845
|
context: unknown;
|
|
53823
|
-
failureCount: number;
|
|
53824
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53825
|
-
isPaused: boolean;
|
|
53826
53846
|
submittedAt: number;
|
|
53847
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53848
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53827
53849
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53828
53850
|
updateMarketFees: (rates: {
|
|
53829
53851
|
openingFeeRate?: number;
|
|
@@ -53837,16 +53859,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53837
53859
|
newFeeStrategy: `0x${string}`;
|
|
53838
53860
|
}>;
|
|
53839
53861
|
} | {
|
|
53840
|
-
data: `0x${string}`;
|
|
53841
53862
|
error: null;
|
|
53863
|
+
data: `0x${string}`;
|
|
53842
53864
|
status: "success";
|
|
53865
|
+
isError: false;
|
|
53866
|
+
isPending: false;
|
|
53867
|
+
isSuccess: true;
|
|
53868
|
+
failureCount: number;
|
|
53869
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53870
|
+
isPaused: boolean;
|
|
53843
53871
|
variables: {
|
|
53844
53872
|
abi: abitype0.Abi;
|
|
53845
53873
|
functionName: string;
|
|
53846
53874
|
args?: readonly unknown[] | undefined;
|
|
53847
53875
|
address: Address;
|
|
53848
|
-
chain?:
|
|
53849
|
-
account?: `0x${string}` |
|
|
53876
|
+
chain?: viem356.Chain | null | undefined;
|
|
53877
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53850
53878
|
value?: bigint | undefined;
|
|
53851
53879
|
dataSuffix?: `0x${string}` | undefined;
|
|
53852
53880
|
type?: "legacy" | undefined;
|
|
@@ -53869,8 +53897,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53869
53897
|
functionName: string;
|
|
53870
53898
|
args?: readonly unknown[] | undefined;
|
|
53871
53899
|
address: Address;
|
|
53872
|
-
chain?:
|
|
53873
|
-
account?: `0x${string}` |
|
|
53900
|
+
chain?: viem356.Chain | null | undefined;
|
|
53901
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53874
53902
|
value?: bigint | undefined;
|
|
53875
53903
|
dataSuffix?: `0x${string}` | undefined;
|
|
53876
53904
|
type?: "eip2930" | undefined;
|
|
@@ -53883,7 +53911,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53883
53911
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53884
53912
|
maxFeePerGas?: undefined | undefined;
|
|
53885
53913
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
53886
|
-
accessList?:
|
|
53914
|
+
accessList?: viem356.AccessList | undefined;
|
|
53887
53915
|
sidecars?: undefined;
|
|
53888
53916
|
authorizationList?: undefined;
|
|
53889
53917
|
chainId?: number | undefined;
|
|
@@ -53893,8 +53921,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53893
53921
|
functionName: string;
|
|
53894
53922
|
args?: readonly unknown[] | undefined;
|
|
53895
53923
|
address: Address;
|
|
53896
|
-
chain?:
|
|
53897
|
-
account?: `0x${string}` |
|
|
53924
|
+
chain?: viem356.Chain | null | undefined;
|
|
53925
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53898
53926
|
value?: bigint | undefined;
|
|
53899
53927
|
dataSuffix?: `0x${string}` | undefined;
|
|
53900
53928
|
type?: "eip1559" | undefined;
|
|
@@ -53907,7 +53935,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53907
53935
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53908
53936
|
maxFeePerGas?: bigint | undefined;
|
|
53909
53937
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53910
|
-
accessList?:
|
|
53938
|
+
accessList?: viem356.AccessList | undefined;
|
|
53911
53939
|
sidecars?: undefined;
|
|
53912
53940
|
authorizationList?: undefined;
|
|
53913
53941
|
chainId?: number | undefined;
|
|
@@ -53917,22 +53945,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53917
53945
|
functionName: string;
|
|
53918
53946
|
args?: readonly unknown[] | undefined;
|
|
53919
53947
|
address: Address;
|
|
53920
|
-
chain?:
|
|
53921
|
-
account?: `0x${string}` |
|
|
53948
|
+
chain?: viem356.Chain | null | undefined;
|
|
53949
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53922
53950
|
value?: bigint | undefined;
|
|
53923
53951
|
dataSuffix?: `0x${string}` | undefined;
|
|
53924
53952
|
type?: "eip4844" | undefined;
|
|
53925
53953
|
gas?: bigint | undefined;
|
|
53926
53954
|
nonce?: number | undefined;
|
|
53927
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
53928
|
-
blobVersionedHashes: readonly
|
|
53955
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
53956
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
53929
53957
|
kzg?: undefined;
|
|
53930
53958
|
gasPrice?: undefined | undefined;
|
|
53931
53959
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53932
53960
|
maxFeePerGas?: bigint | undefined;
|
|
53933
53961
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53934
|
-
accessList?:
|
|
53935
|
-
sidecars?: readonly
|
|
53962
|
+
accessList?: viem356.AccessList | undefined;
|
|
53963
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53936
53964
|
authorizationList?: undefined;
|
|
53937
53965
|
chainId?: number | undefined;
|
|
53938
53966
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53941,22 +53969,22 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53941
53969
|
functionName: string;
|
|
53942
53970
|
args?: readonly unknown[] | undefined;
|
|
53943
53971
|
address: Address;
|
|
53944
|
-
chain?:
|
|
53945
|
-
account?: `0x${string}` |
|
|
53972
|
+
chain?: viem356.Chain | null | undefined;
|
|
53973
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53946
53974
|
value?: bigint | undefined;
|
|
53947
53975
|
dataSuffix?: `0x${string}` | undefined;
|
|
53948
53976
|
type?: "eip4844" | undefined;
|
|
53949
53977
|
gas?: bigint | undefined;
|
|
53950
53978
|
nonce?: number | undefined;
|
|
53951
|
-
blobs: readonly
|
|
53979
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
53952
53980
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53953
|
-
kzg?:
|
|
53981
|
+
kzg?: viem356.Kzg | undefined;
|
|
53954
53982
|
gasPrice?: undefined | undefined;
|
|
53955
53983
|
maxFeePerBlobGas?: bigint | undefined;
|
|
53956
53984
|
maxFeePerGas?: bigint | undefined;
|
|
53957
53985
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53958
|
-
accessList?:
|
|
53959
|
-
sidecars?: readonly
|
|
53986
|
+
accessList?: viem356.AccessList | undefined;
|
|
53987
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
53960
53988
|
authorizationList?: undefined;
|
|
53961
53989
|
chainId?: number | undefined;
|
|
53962
53990
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -53965,8 +53993,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53965
53993
|
functionName: string;
|
|
53966
53994
|
args?: readonly unknown[] | undefined;
|
|
53967
53995
|
address: Address;
|
|
53968
|
-
chain?:
|
|
53969
|
-
account?: `0x${string}` |
|
|
53996
|
+
chain?: viem356.Chain | null | undefined;
|
|
53997
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
53970
53998
|
value?: bigint | undefined;
|
|
53971
53999
|
dataSuffix?: `0x${string}` | undefined;
|
|
53972
54000
|
type?: "eip7702" | undefined;
|
|
@@ -53979,22 +54007,18 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53979
54007
|
maxFeePerBlobGas?: undefined | undefined;
|
|
53980
54008
|
maxFeePerGas?: bigint | undefined;
|
|
53981
54009
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
53982
|
-
accessList?:
|
|
54010
|
+
accessList?: viem356.AccessList | undefined;
|
|
53983
54011
|
sidecars?: undefined;
|
|
53984
|
-
authorizationList?:
|
|
54012
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
53985
54013
|
chainId?: number | undefined;
|
|
53986
54014
|
connector?: wagmi0.Connector | undefined;
|
|
53987
54015
|
};
|
|
53988
|
-
isError: false;
|
|
53989
54016
|
isIdle: false;
|
|
53990
|
-
isPending: false;
|
|
53991
|
-
isSuccess: true;
|
|
53992
54017
|
reset: () => void;
|
|
53993
54018
|
context: unknown;
|
|
53994
|
-
failureCount: number;
|
|
53995
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53996
|
-
isPaused: boolean;
|
|
53997
54019
|
submittedAt: number;
|
|
54020
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54021
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53998
54022
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53999
54023
|
updateMarketFees: (rates: {
|
|
54000
54024
|
openingFeeRate?: number;
|
|
@@ -54985,20 +55009,22 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
|
|
|
54985
55009
|
//#endregion
|
|
54986
55010
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
54987
55011
|
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
54988
|
-
data: undefined;
|
|
54989
55012
|
error: null;
|
|
55013
|
+
data: undefined;
|
|
54990
55014
|
status: "idle";
|
|
54991
|
-
variables: undefined;
|
|
54992
55015
|
isError: false;
|
|
54993
|
-
isIdle: true;
|
|
54994
55016
|
isPending: false;
|
|
54995
55017
|
isSuccess: false;
|
|
54996
|
-
reset: () => void;
|
|
54997
|
-
context: unknown;
|
|
54998
55018
|
failureCount: number;
|
|
54999
55019
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55000
55020
|
isPaused: boolean;
|
|
55021
|
+
variables: undefined;
|
|
55022
|
+
isIdle: true;
|
|
55023
|
+
reset: () => void;
|
|
55024
|
+
context: unknown;
|
|
55001
55025
|
submittedAt: number;
|
|
55026
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55027
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55002
55028
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55003
55029
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55004
55030
|
model: "static";
|
|
@@ -55010,16 +55036,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55010
55036
|
newPricingAddr: `0x${string}`;
|
|
55011
55037
|
}>;
|
|
55012
55038
|
} | {
|
|
55013
|
-
data: undefined;
|
|
55014
55039
|
error: null;
|
|
55040
|
+
data: undefined;
|
|
55015
55041
|
status: "pending";
|
|
55042
|
+
isError: false;
|
|
55043
|
+
isPending: true;
|
|
55044
|
+
isSuccess: false;
|
|
55045
|
+
failureCount: number;
|
|
55046
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55047
|
+
isPaused: boolean;
|
|
55016
55048
|
variables: {
|
|
55017
55049
|
abi: abitype0.Abi;
|
|
55018
55050
|
functionName: string;
|
|
55019
55051
|
args?: readonly unknown[] | undefined;
|
|
55020
55052
|
address: Address;
|
|
55021
|
-
chain?:
|
|
55022
|
-
account?: `0x${string}` |
|
|
55053
|
+
chain?: viem356.Chain | null | undefined;
|
|
55054
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55023
55055
|
value?: bigint | undefined;
|
|
55024
55056
|
dataSuffix?: `0x${string}` | undefined;
|
|
55025
55057
|
type?: "legacy" | undefined;
|
|
@@ -55042,8 +55074,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55042
55074
|
functionName: string;
|
|
55043
55075
|
args?: readonly unknown[] | undefined;
|
|
55044
55076
|
address: Address;
|
|
55045
|
-
chain?:
|
|
55046
|
-
account?: `0x${string}` |
|
|
55077
|
+
chain?: viem356.Chain | null | undefined;
|
|
55078
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55047
55079
|
value?: bigint | undefined;
|
|
55048
55080
|
dataSuffix?: `0x${string}` | undefined;
|
|
55049
55081
|
type?: "eip2930" | undefined;
|
|
@@ -55056,7 +55088,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55056
55088
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55057
55089
|
maxFeePerGas?: undefined | undefined;
|
|
55058
55090
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55059
|
-
accessList?:
|
|
55091
|
+
accessList?: viem356.AccessList | undefined;
|
|
55060
55092
|
sidecars?: undefined;
|
|
55061
55093
|
authorizationList?: undefined;
|
|
55062
55094
|
chainId?: number | undefined;
|
|
@@ -55066,8 +55098,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55066
55098
|
functionName: string;
|
|
55067
55099
|
args?: readonly unknown[] | undefined;
|
|
55068
55100
|
address: Address;
|
|
55069
|
-
chain?:
|
|
55070
|
-
account?: `0x${string}` |
|
|
55101
|
+
chain?: viem356.Chain | null | undefined;
|
|
55102
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55071
55103
|
value?: bigint | undefined;
|
|
55072
55104
|
dataSuffix?: `0x${string}` | undefined;
|
|
55073
55105
|
type?: "eip1559" | undefined;
|
|
@@ -55080,7 +55112,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55080
55112
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55081
55113
|
maxFeePerGas?: bigint | undefined;
|
|
55082
55114
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55083
|
-
accessList?:
|
|
55115
|
+
accessList?: viem356.AccessList | undefined;
|
|
55084
55116
|
sidecars?: undefined;
|
|
55085
55117
|
authorizationList?: undefined;
|
|
55086
55118
|
chainId?: number | undefined;
|
|
@@ -55090,22 +55122,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55090
55122
|
functionName: string;
|
|
55091
55123
|
args?: readonly unknown[] | undefined;
|
|
55092
55124
|
address: Address;
|
|
55093
|
-
chain?:
|
|
55094
|
-
account?: `0x${string}` |
|
|
55125
|
+
chain?: viem356.Chain | null | undefined;
|
|
55126
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55095
55127
|
value?: bigint | undefined;
|
|
55096
55128
|
dataSuffix?: `0x${string}` | undefined;
|
|
55097
55129
|
type?: "eip4844" | undefined;
|
|
55098
55130
|
gas?: bigint | undefined;
|
|
55099
55131
|
nonce?: number | undefined;
|
|
55100
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55101
|
-
blobVersionedHashes: readonly
|
|
55132
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
55133
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
55102
55134
|
kzg?: undefined;
|
|
55103
55135
|
gasPrice?: undefined | undefined;
|
|
55104
55136
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55105
55137
|
maxFeePerGas?: bigint | undefined;
|
|
55106
55138
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55107
|
-
accessList?:
|
|
55108
|
-
sidecars?: readonly
|
|
55139
|
+
accessList?: viem356.AccessList | undefined;
|
|
55140
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55109
55141
|
authorizationList?: undefined;
|
|
55110
55142
|
chainId?: number | undefined;
|
|
55111
55143
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -55114,22 +55146,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55114
55146
|
functionName: string;
|
|
55115
55147
|
args?: readonly unknown[] | undefined;
|
|
55116
55148
|
address: Address;
|
|
55117
|
-
chain?:
|
|
55118
|
-
account?: `0x${string}` |
|
|
55149
|
+
chain?: viem356.Chain | null | undefined;
|
|
55150
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55119
55151
|
value?: bigint | undefined;
|
|
55120
55152
|
dataSuffix?: `0x${string}` | undefined;
|
|
55121
55153
|
type?: "eip4844" | undefined;
|
|
55122
55154
|
gas?: bigint | undefined;
|
|
55123
55155
|
nonce?: number | undefined;
|
|
55124
|
-
blobs: readonly
|
|
55156
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
55125
55157
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55126
|
-
kzg?:
|
|
55158
|
+
kzg?: viem356.Kzg | undefined;
|
|
55127
55159
|
gasPrice?: undefined | undefined;
|
|
55128
55160
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55129
55161
|
maxFeePerGas?: bigint | undefined;
|
|
55130
55162
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55131
|
-
accessList?:
|
|
55132
|
-
sidecars?: readonly
|
|
55163
|
+
accessList?: viem356.AccessList | undefined;
|
|
55164
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55133
55165
|
authorizationList?: undefined;
|
|
55134
55166
|
chainId?: number | undefined;
|
|
55135
55167
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -55138,8 +55170,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55138
55170
|
functionName: string;
|
|
55139
55171
|
args?: readonly unknown[] | undefined;
|
|
55140
55172
|
address: Address;
|
|
55141
|
-
chain?:
|
|
55142
|
-
account?: `0x${string}` |
|
|
55173
|
+
chain?: viem356.Chain | null | undefined;
|
|
55174
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55143
55175
|
value?: bigint | undefined;
|
|
55144
55176
|
dataSuffix?: `0x${string}` | undefined;
|
|
55145
55177
|
type?: "eip7702" | undefined;
|
|
@@ -55152,22 +55184,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55152
55184
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55153
55185
|
maxFeePerGas?: bigint | undefined;
|
|
55154
55186
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55155
|
-
accessList?:
|
|
55187
|
+
accessList?: viem356.AccessList | undefined;
|
|
55156
55188
|
sidecars?: undefined;
|
|
55157
|
-
authorizationList?:
|
|
55189
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
55158
55190
|
chainId?: number | undefined;
|
|
55159
55191
|
connector?: wagmi0.Connector | undefined;
|
|
55160
55192
|
};
|
|
55161
|
-
isError: false;
|
|
55162
55193
|
isIdle: false;
|
|
55163
|
-
isPending: true;
|
|
55164
|
-
isSuccess: false;
|
|
55165
55194
|
reset: () => void;
|
|
55166
55195
|
context: unknown;
|
|
55167
|
-
failureCount: number;
|
|
55168
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55169
|
-
isPaused: boolean;
|
|
55170
55196
|
submittedAt: number;
|
|
55197
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55198
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55171
55199
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55172
55200
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55173
55201
|
model: "static";
|
|
@@ -55179,16 +55207,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55179
55207
|
newPricingAddr: `0x${string}`;
|
|
55180
55208
|
}>;
|
|
55181
55209
|
} | {
|
|
55182
|
-
data: undefined;
|
|
55183
55210
|
error: _wagmi_core0.WriteContractErrorType;
|
|
55211
|
+
data: undefined;
|
|
55184
55212
|
status: "error";
|
|
55213
|
+
isError: true;
|
|
55214
|
+
isPending: false;
|
|
55215
|
+
isSuccess: false;
|
|
55216
|
+
failureCount: number;
|
|
55217
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55218
|
+
isPaused: boolean;
|
|
55185
55219
|
variables: {
|
|
55186
55220
|
abi: abitype0.Abi;
|
|
55187
55221
|
functionName: string;
|
|
55188
55222
|
args?: readonly unknown[] | undefined;
|
|
55189
55223
|
address: Address;
|
|
55190
|
-
chain?:
|
|
55191
|
-
account?: `0x${string}` |
|
|
55224
|
+
chain?: viem356.Chain | null | undefined;
|
|
55225
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55192
55226
|
value?: bigint | undefined;
|
|
55193
55227
|
dataSuffix?: `0x${string}` | undefined;
|
|
55194
55228
|
type?: "legacy" | undefined;
|
|
@@ -55211,8 +55245,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55211
55245
|
functionName: string;
|
|
55212
55246
|
args?: readonly unknown[] | undefined;
|
|
55213
55247
|
address: Address;
|
|
55214
|
-
chain?:
|
|
55215
|
-
account?: `0x${string}` |
|
|
55248
|
+
chain?: viem356.Chain | null | undefined;
|
|
55249
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55216
55250
|
value?: bigint | undefined;
|
|
55217
55251
|
dataSuffix?: `0x${string}` | undefined;
|
|
55218
55252
|
type?: "eip2930" | undefined;
|
|
@@ -55225,7 +55259,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55225
55259
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55226
55260
|
maxFeePerGas?: undefined | undefined;
|
|
55227
55261
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55228
|
-
accessList?:
|
|
55262
|
+
accessList?: viem356.AccessList | undefined;
|
|
55229
55263
|
sidecars?: undefined;
|
|
55230
55264
|
authorizationList?: undefined;
|
|
55231
55265
|
chainId?: number | undefined;
|
|
@@ -55235,8 +55269,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55235
55269
|
functionName: string;
|
|
55236
55270
|
args?: readonly unknown[] | undefined;
|
|
55237
55271
|
address: Address;
|
|
55238
|
-
chain?:
|
|
55239
|
-
account?: `0x${string}` |
|
|
55272
|
+
chain?: viem356.Chain | null | undefined;
|
|
55273
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55240
55274
|
value?: bigint | undefined;
|
|
55241
55275
|
dataSuffix?: `0x${string}` | undefined;
|
|
55242
55276
|
type?: "eip1559" | undefined;
|
|
@@ -55249,7 +55283,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55249
55283
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55250
55284
|
maxFeePerGas?: bigint | undefined;
|
|
55251
55285
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55252
|
-
accessList?:
|
|
55286
|
+
accessList?: viem356.AccessList | undefined;
|
|
55253
55287
|
sidecars?: undefined;
|
|
55254
55288
|
authorizationList?: undefined;
|
|
55255
55289
|
chainId?: number | undefined;
|
|
@@ -55259,22 +55293,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55259
55293
|
functionName: string;
|
|
55260
55294
|
args?: readonly unknown[] | undefined;
|
|
55261
55295
|
address: Address;
|
|
55262
|
-
chain?:
|
|
55263
|
-
account?: `0x${string}` |
|
|
55296
|
+
chain?: viem356.Chain | null | undefined;
|
|
55297
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55264
55298
|
value?: bigint | undefined;
|
|
55265
55299
|
dataSuffix?: `0x${string}` | undefined;
|
|
55266
55300
|
type?: "eip4844" | undefined;
|
|
55267
55301
|
gas?: bigint | undefined;
|
|
55268
55302
|
nonce?: number | undefined;
|
|
55269
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55270
|
-
blobVersionedHashes: readonly
|
|
55303
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
55304
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
55271
55305
|
kzg?: undefined;
|
|
55272
55306
|
gasPrice?: undefined | undefined;
|
|
55273
55307
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55274
55308
|
maxFeePerGas?: bigint | undefined;
|
|
55275
55309
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55276
|
-
accessList?:
|
|
55277
|
-
sidecars?: readonly
|
|
55310
|
+
accessList?: viem356.AccessList | undefined;
|
|
55311
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55278
55312
|
authorizationList?: undefined;
|
|
55279
55313
|
chainId?: number | undefined;
|
|
55280
55314
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -55283,22 +55317,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55283
55317
|
functionName: string;
|
|
55284
55318
|
args?: readonly unknown[] | undefined;
|
|
55285
55319
|
address: Address;
|
|
55286
|
-
chain?:
|
|
55287
|
-
account?: `0x${string}` |
|
|
55320
|
+
chain?: viem356.Chain | null | undefined;
|
|
55321
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55288
55322
|
value?: bigint | undefined;
|
|
55289
55323
|
dataSuffix?: `0x${string}` | undefined;
|
|
55290
55324
|
type?: "eip4844" | undefined;
|
|
55291
55325
|
gas?: bigint | undefined;
|
|
55292
55326
|
nonce?: number | undefined;
|
|
55293
|
-
blobs: readonly
|
|
55327
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
55294
55328
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55295
|
-
kzg?:
|
|
55329
|
+
kzg?: viem356.Kzg | undefined;
|
|
55296
55330
|
gasPrice?: undefined | undefined;
|
|
55297
55331
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55298
55332
|
maxFeePerGas?: bigint | undefined;
|
|
55299
55333
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55300
|
-
accessList?:
|
|
55301
|
-
sidecars?: readonly
|
|
55334
|
+
accessList?: viem356.AccessList | undefined;
|
|
55335
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55302
55336
|
authorizationList?: undefined;
|
|
55303
55337
|
chainId?: number | undefined;
|
|
55304
55338
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -55307,8 +55341,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55307
55341
|
functionName: string;
|
|
55308
55342
|
args?: readonly unknown[] | undefined;
|
|
55309
55343
|
address: Address;
|
|
55310
|
-
chain?:
|
|
55311
|
-
account?: `0x${string}` |
|
|
55344
|
+
chain?: viem356.Chain | null | undefined;
|
|
55345
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55312
55346
|
value?: bigint | undefined;
|
|
55313
55347
|
dataSuffix?: `0x${string}` | undefined;
|
|
55314
55348
|
type?: "eip7702" | undefined;
|
|
@@ -55321,22 +55355,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55321
55355
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55322
55356
|
maxFeePerGas?: bigint | undefined;
|
|
55323
55357
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55324
|
-
accessList?:
|
|
55358
|
+
accessList?: viem356.AccessList | undefined;
|
|
55325
55359
|
sidecars?: undefined;
|
|
55326
|
-
authorizationList?:
|
|
55360
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
55327
55361
|
chainId?: number | undefined;
|
|
55328
55362
|
connector?: wagmi0.Connector | undefined;
|
|
55329
55363
|
};
|
|
55330
|
-
isError: true;
|
|
55331
55364
|
isIdle: false;
|
|
55332
|
-
isPending: false;
|
|
55333
|
-
isSuccess: false;
|
|
55334
55365
|
reset: () => void;
|
|
55335
55366
|
context: unknown;
|
|
55336
|
-
failureCount: number;
|
|
55337
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55338
|
-
isPaused: boolean;
|
|
55339
55367
|
submittedAt: number;
|
|
55368
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55369
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55340
55370
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55341
55371
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55342
55372
|
model: "static";
|
|
@@ -55348,16 +55378,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55348
55378
|
newPricingAddr: `0x${string}`;
|
|
55349
55379
|
}>;
|
|
55350
55380
|
} | {
|
|
55351
|
-
data: `0x${string}`;
|
|
55352
55381
|
error: null;
|
|
55382
|
+
data: `0x${string}`;
|
|
55353
55383
|
status: "success";
|
|
55384
|
+
isError: false;
|
|
55385
|
+
isPending: false;
|
|
55386
|
+
isSuccess: true;
|
|
55387
|
+
failureCount: number;
|
|
55388
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55389
|
+
isPaused: boolean;
|
|
55354
55390
|
variables: {
|
|
55355
55391
|
abi: abitype0.Abi;
|
|
55356
55392
|
functionName: string;
|
|
55357
55393
|
args?: readonly unknown[] | undefined;
|
|
55358
55394
|
address: Address;
|
|
55359
|
-
chain?:
|
|
55360
|
-
account?: `0x${string}` |
|
|
55395
|
+
chain?: viem356.Chain | null | undefined;
|
|
55396
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55361
55397
|
value?: bigint | undefined;
|
|
55362
55398
|
dataSuffix?: `0x${string}` | undefined;
|
|
55363
55399
|
type?: "legacy" | undefined;
|
|
@@ -55380,8 +55416,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55380
55416
|
functionName: string;
|
|
55381
55417
|
args?: readonly unknown[] | undefined;
|
|
55382
55418
|
address: Address;
|
|
55383
|
-
chain?:
|
|
55384
|
-
account?: `0x${string}` |
|
|
55419
|
+
chain?: viem356.Chain | null | undefined;
|
|
55420
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55385
55421
|
value?: bigint | undefined;
|
|
55386
55422
|
dataSuffix?: `0x${string}` | undefined;
|
|
55387
55423
|
type?: "eip2930" | undefined;
|
|
@@ -55394,7 +55430,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55394
55430
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55395
55431
|
maxFeePerGas?: undefined | undefined;
|
|
55396
55432
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
55397
|
-
accessList?:
|
|
55433
|
+
accessList?: viem356.AccessList | undefined;
|
|
55398
55434
|
sidecars?: undefined;
|
|
55399
55435
|
authorizationList?: undefined;
|
|
55400
55436
|
chainId?: number | undefined;
|
|
@@ -55404,8 +55440,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55404
55440
|
functionName: string;
|
|
55405
55441
|
args?: readonly unknown[] | undefined;
|
|
55406
55442
|
address: Address;
|
|
55407
|
-
chain?:
|
|
55408
|
-
account?: `0x${string}` |
|
|
55443
|
+
chain?: viem356.Chain | null | undefined;
|
|
55444
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55409
55445
|
value?: bigint | undefined;
|
|
55410
55446
|
dataSuffix?: `0x${string}` | undefined;
|
|
55411
55447
|
type?: "eip1559" | undefined;
|
|
@@ -55418,7 +55454,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55418
55454
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55419
55455
|
maxFeePerGas?: bigint | undefined;
|
|
55420
55456
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55421
|
-
accessList?:
|
|
55457
|
+
accessList?: viem356.AccessList | undefined;
|
|
55422
55458
|
sidecars?: undefined;
|
|
55423
55459
|
authorizationList?: undefined;
|
|
55424
55460
|
chainId?: number | undefined;
|
|
@@ -55428,22 +55464,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55428
55464
|
functionName: string;
|
|
55429
55465
|
args?: readonly unknown[] | undefined;
|
|
55430
55466
|
address: Address;
|
|
55431
|
-
chain?:
|
|
55432
|
-
account?: `0x${string}` |
|
|
55467
|
+
chain?: viem356.Chain | null | undefined;
|
|
55468
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55433
55469
|
value?: bigint | undefined;
|
|
55434
55470
|
dataSuffix?: `0x${string}` | undefined;
|
|
55435
55471
|
type?: "eip4844" | undefined;
|
|
55436
55472
|
gas?: bigint | undefined;
|
|
55437
55473
|
nonce?: number | undefined;
|
|
55438
|
-
blobs?: readonly `0x${string}`[] | readonly
|
|
55439
|
-
blobVersionedHashes: readonly
|
|
55474
|
+
blobs?: readonly `0x${string}`[] | readonly viem356.ByteArray[] | undefined;
|
|
55475
|
+
blobVersionedHashes: readonly viem356.Hex[];
|
|
55440
55476
|
kzg?: undefined;
|
|
55441
55477
|
gasPrice?: undefined | undefined;
|
|
55442
55478
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55443
55479
|
maxFeePerGas?: bigint | undefined;
|
|
55444
55480
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55445
|
-
accessList?:
|
|
55446
|
-
sidecars?: readonly
|
|
55481
|
+
accessList?: viem356.AccessList | undefined;
|
|
55482
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55447
55483
|
authorizationList?: undefined;
|
|
55448
55484
|
chainId?: number | undefined;
|
|
55449
55485
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -55452,22 +55488,22 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55452
55488
|
functionName: string;
|
|
55453
55489
|
args?: readonly unknown[] | undefined;
|
|
55454
55490
|
address: Address;
|
|
55455
|
-
chain?:
|
|
55456
|
-
account?: `0x${string}` |
|
|
55491
|
+
chain?: viem356.Chain | null | undefined;
|
|
55492
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55457
55493
|
value?: bigint | undefined;
|
|
55458
55494
|
dataSuffix?: `0x${string}` | undefined;
|
|
55459
55495
|
type?: "eip4844" | undefined;
|
|
55460
55496
|
gas?: bigint | undefined;
|
|
55461
55497
|
nonce?: number | undefined;
|
|
55462
|
-
blobs: readonly
|
|
55498
|
+
blobs: readonly viem356.Hex[] | readonly viem356.ByteArray[];
|
|
55463
55499
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55464
|
-
kzg?:
|
|
55500
|
+
kzg?: viem356.Kzg | undefined;
|
|
55465
55501
|
gasPrice?: undefined | undefined;
|
|
55466
55502
|
maxFeePerBlobGas?: bigint | undefined;
|
|
55467
55503
|
maxFeePerGas?: bigint | undefined;
|
|
55468
55504
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55469
|
-
accessList?:
|
|
55470
|
-
sidecars?: readonly
|
|
55505
|
+
accessList?: viem356.AccessList | undefined;
|
|
55506
|
+
sidecars?: readonly viem356.BlobSidecar<`0x${string}`>[] | undefined;
|
|
55471
55507
|
authorizationList?: undefined;
|
|
55472
55508
|
chainId?: number | undefined;
|
|
55473
55509
|
connector?: wagmi0.Connector | undefined;
|
|
@@ -55476,8 +55512,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55476
55512
|
functionName: string;
|
|
55477
55513
|
args?: readonly unknown[] | undefined;
|
|
55478
55514
|
address: Address;
|
|
55479
|
-
chain?:
|
|
55480
|
-
account?: `0x${string}` |
|
|
55515
|
+
chain?: viem356.Chain | null | undefined;
|
|
55516
|
+
account?: `0x${string}` | viem356.Account | null | undefined;
|
|
55481
55517
|
value?: bigint | undefined;
|
|
55482
55518
|
dataSuffix?: `0x${string}` | undefined;
|
|
55483
55519
|
type?: "eip7702" | undefined;
|
|
@@ -55490,22 +55526,18 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55490
55526
|
maxFeePerBlobGas?: undefined | undefined;
|
|
55491
55527
|
maxFeePerGas?: bigint | undefined;
|
|
55492
55528
|
maxPriorityFeePerGas?: bigint | undefined;
|
|
55493
|
-
accessList?:
|
|
55529
|
+
accessList?: viem356.AccessList | undefined;
|
|
55494
55530
|
sidecars?: undefined;
|
|
55495
|
-
authorizationList?:
|
|
55531
|
+
authorizationList?: viem356.AuthorizationList<number, boolean> | undefined;
|
|
55496
55532
|
chainId?: number | undefined;
|
|
55497
55533
|
connector?: wagmi0.Connector | undefined;
|
|
55498
55534
|
};
|
|
55499
|
-
isError: false;
|
|
55500
55535
|
isIdle: false;
|
|
55501
|
-
isPending: false;
|
|
55502
|
-
isSuccess: true;
|
|
55503
55536
|
reset: () => void;
|
|
55504
55537
|
context: unknown;
|
|
55505
|
-
failureCount: number;
|
|
55506
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55507
|
-
isPaused: boolean;
|
|
55508
55538
|
submittedAt: number;
|
|
55539
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55540
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55509
55541
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55510
55542
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55511
55543
|
model: "static";
|
|
@@ -55522,7 +55554,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55522
55554
|
declare const useLens: () => {
|
|
55523
55555
|
timelockLens: {
|
|
55524
55556
|
read: {
|
|
55525
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
55557
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
55526
55558
|
readonly type: "function";
|
|
55527
55559
|
readonly name: "batchGetRefTick";
|
|
55528
55560
|
readonly inputs: readonly [{
|
|
@@ -56465,7 +56497,7 @@ declare const useLens: () => {
|
|
|
56465
56497
|
}];
|
|
56466
56498
|
readonly stateMutability: "view";
|
|
56467
56499
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
56468
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
56500
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
56469
56501
|
readonly type: "function";
|
|
56470
56502
|
readonly name: "batchGetRefTick";
|
|
56471
56503
|
readonly inputs: readonly [{
|
|
@@ -57420,7 +57452,7 @@ declare const useLens: () => {
|
|
|
57420
57452
|
borrowedAmount0: bigint;
|
|
57421
57453
|
borrowedAmount1: bigint;
|
|
57422
57454
|
}[]>;
|
|
57423
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
57455
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
57424
57456
|
readonly type: "function";
|
|
57425
57457
|
readonly name: "batchGetRefTick";
|
|
57426
57458
|
readonly inputs: readonly [{
|
|
@@ -58373,7 +58405,7 @@ declare const useLens: () => {
|
|
|
58373
58405
|
expiresAt: number;
|
|
58374
58406
|
liquidities: readonly bigint[];
|
|
58375
58407
|
}[]>;
|
|
58376
|
-
getFeeRates: (args: readonly [`0x${string}`], options?:
|
|
58408
|
+
getFeeRates: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
58377
58409
|
readonly type: "function";
|
|
58378
58410
|
readonly name: "batchGetRefTick";
|
|
58379
58411
|
readonly inputs: readonly [{
|
|
@@ -59322,7 +59354,7 @@ declare const useLens: () => {
|
|
|
59322
59354
|
minBaseFee: bigint;
|
|
59323
59355
|
feeRecipient: `0x${string}`;
|
|
59324
59356
|
}>;
|
|
59325
|
-
getGlobalGuardianState: (args: readonly [`0x${string}`], options?:
|
|
59357
|
+
getGlobalGuardianState: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
59326
59358
|
readonly type: "function";
|
|
59327
59359
|
readonly name: "batchGetRefTick";
|
|
59328
59360
|
readonly inputs: readonly [{
|
|
@@ -60281,7 +60313,7 @@ declare const useLens: () => {
|
|
|
60281
60313
|
senderIsAdmin: boolean;
|
|
60282
60314
|
senderIsPauser: boolean;
|
|
60283
60315
|
}>;
|
|
60284
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
60316
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
60285
60317
|
readonly type: "function";
|
|
60286
60318
|
readonly name: "batchGetRefTick";
|
|
60287
60319
|
readonly inputs: readonly [{
|
|
@@ -61224,7 +61256,7 @@ declare const useLens: () => {
|
|
|
61224
61256
|
}];
|
|
61225
61257
|
readonly stateMutability: "view";
|
|
61226
61258
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
61227
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
61259
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
61228
61260
|
readonly type: "function";
|
|
61229
61261
|
readonly name: "batchGetRefTick";
|
|
61230
61262
|
readonly inputs: readonly [{
|
|
@@ -62188,7 +62220,7 @@ declare const useLens: () => {
|
|
|
62188
62220
|
optionAssetName: string;
|
|
62189
62221
|
payoutAssetName: string;
|
|
62190
62222
|
}>;
|
|
62191
|
-
getMarketState: (args: readonly [`0x${string}`], options?:
|
|
62223
|
+
getMarketState: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
62192
62224
|
readonly type: "function";
|
|
62193
62225
|
readonly name: "batchGetRefTick";
|
|
62194
62226
|
readonly inputs: readonly [{
|
|
@@ -63136,7 +63168,7 @@ declare const useLens: () => {
|
|
|
63136
63168
|
feeStrategy: `0x${string}`;
|
|
63137
63169
|
owner: `0x${string}`;
|
|
63138
63170
|
}>;
|
|
63139
|
-
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?:
|
|
63171
|
+
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
63140
63172
|
readonly type: "function";
|
|
63141
63173
|
readonly name: "batchGetRefTick";
|
|
63142
63174
|
readonly inputs: readonly [{
|
|
@@ -64079,7 +64111,7 @@ declare const useLens: () => {
|
|
|
64079
64111
|
}];
|
|
64080
64112
|
readonly stateMutability: "view";
|
|
64081
64113
|
}], "getMaxATMPositionSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
64082
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
64114
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
64083
64115
|
readonly type: "function";
|
|
64084
64116
|
readonly name: "batchGetRefTick";
|
|
64085
64117
|
readonly inputs: readonly [{
|
|
@@ -65022,7 +65054,7 @@ declare const useLens: () => {
|
|
|
65022
65054
|
}];
|
|
65023
65055
|
readonly stateMutability: "view";
|
|
65024
65056
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
65025
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
65057
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
65026
65058
|
readonly type: "function";
|
|
65027
65059
|
readonly name: "batchGetRefTick";
|
|
65028
65060
|
readonly inputs: readonly [{
|
|
@@ -65965,7 +65997,7 @@ declare const useLens: () => {
|
|
|
65965
65997
|
}];
|
|
65966
65998
|
readonly stateMutability: "view";
|
|
65967
65999
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
65968
|
-
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?:
|
|
66000
|
+
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
65969
66001
|
readonly type: "function";
|
|
65970
66002
|
readonly name: "batchGetRefTick";
|
|
65971
66003
|
readonly inputs: readonly [{
|
|
@@ -66908,7 +66940,7 @@ declare const useLens: () => {
|
|
|
66908
66940
|
}];
|
|
66909
66941
|
readonly stateMutability: "view";
|
|
66910
66942
|
}], "getMaxPositionSizes", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
66911
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
66943
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
66912
66944
|
readonly type: "function";
|
|
66913
66945
|
readonly name: "batchGetRefTick";
|
|
66914
66946
|
readonly inputs: readonly [{
|
|
@@ -67861,7 +67893,7 @@ declare const useLens: () => {
|
|
|
67861
67893
|
expiresAt: number;
|
|
67862
67894
|
liquidities: readonly bigint[];
|
|
67863
67895
|
}>;
|
|
67864
|
-
getOptionPricingParams: (args: readonly [`0x${string}`], options?:
|
|
67896
|
+
getOptionPricingParams: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
67865
67897
|
readonly type: "function";
|
|
67866
67898
|
readonly name: "batchGetRefTick";
|
|
67867
67899
|
readonly inputs: readonly [{
|
|
@@ -68810,7 +68842,7 @@ declare const useLens: () => {
|
|
|
68810
68842
|
minPremiumDailyRate: number;
|
|
68811
68843
|
minPremiumAmount: bigint;
|
|
68812
68844
|
}>;
|
|
68813
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
68845
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
68814
68846
|
readonly type: "function";
|
|
68815
68847
|
readonly name: "batchGetRefTick";
|
|
68816
68848
|
readonly inputs: readonly [{
|
|
@@ -69769,7 +69801,7 @@ declare const useLens: () => {
|
|
|
69769
69801
|
fee: number;
|
|
69770
69802
|
tickSpacing: number;
|
|
69771
69803
|
hooks: `0x${string}`;
|
|
69772
|
-
}], options?:
|
|
69804
|
+
}], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
69773
69805
|
readonly type: "function";
|
|
69774
69806
|
readonly name: "batchGetRefTick";
|
|
69775
69807
|
readonly inputs: readonly [{
|
|
@@ -70729,7 +70761,7 @@ declare const useLens: () => {
|
|
|
70729
70761
|
tickSpacing: number;
|
|
70730
70762
|
fee: number;
|
|
70731
70763
|
}>;
|
|
70732
|
-
getPricingParams: (args: readonly [`0x${string}`], options?:
|
|
70764
|
+
getPricingParams: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
70733
70765
|
readonly type: "function";
|
|
70734
70766
|
readonly name: "batchGetRefTick";
|
|
70735
70767
|
readonly inputs: readonly [{
|
|
@@ -71672,7 +71704,7 @@ declare const useLens: () => {
|
|
|
71672
71704
|
}];
|
|
71673
71705
|
readonly stateMutability: "view";
|
|
71674
71706
|
}], "getPricingParams", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [number, `0x${string}`]>;
|
|
71675
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
71707
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
71676
71708
|
readonly type: "function";
|
|
71677
71709
|
readonly name: "batchGetRefTick";
|
|
71678
71710
|
readonly inputs: readonly [{
|
|
@@ -72615,7 +72647,7 @@ declare const useLens: () => {
|
|
|
72615
72647
|
}];
|
|
72616
72648
|
readonly stateMutability: "view";
|
|
72617
72649
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
72618
|
-
getStaticPricingParams: (args: readonly [`0x${string}`], options?:
|
|
72650
|
+
getStaticPricingParams: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
72619
72651
|
readonly type: "function";
|
|
72620
72652
|
readonly name: "batchGetRefTick";
|
|
72621
72653
|
readonly inputs: readonly [{
|
|
@@ -73561,7 +73593,7 @@ declare const useLens: () => {
|
|
|
73561
73593
|
dailyFundingRate: number;
|
|
73562
73594
|
minFundingAmount: bigint;
|
|
73563
73595
|
}>;
|
|
73564
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
73596
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
73565
73597
|
readonly type: "function";
|
|
73566
73598
|
readonly name: "batchGetRefTick";
|
|
73567
73599
|
readonly inputs: readonly [{
|
|
@@ -74508,7 +74540,7 @@ declare const useLens: () => {
|
|
|
74508
74540
|
symbol: string;
|
|
74509
74541
|
name: string;
|
|
74510
74542
|
}>;
|
|
74511
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
74543
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
74512
74544
|
readonly type: "function";
|
|
74513
74545
|
readonly name: "batchGetRefTick";
|
|
74514
74546
|
readonly inputs: readonly [{
|
|
@@ -75461,7 +75493,7 @@ declare const useLens: () => {
|
|
|
75461
75493
|
expiresAt: number;
|
|
75462
75494
|
liquidities: readonly bigint[];
|
|
75463
75495
|
}[], bigint, boolean]>;
|
|
75464
|
-
getVaultData: (args: readonly [`0x${string}`], options?:
|
|
75496
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
75465
75497
|
readonly type: "function";
|
|
75466
75498
|
readonly name: "batchGetRefTick";
|
|
75467
75499
|
readonly inputs: readonly [{
|
|
@@ -76414,7 +76446,7 @@ declare const useLens: () => {
|
|
|
76414
76446
|
};
|
|
76415
76447
|
poolId: `0x${string}`;
|
|
76416
76448
|
}>;
|
|
76417
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
76449
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
76418
76450
|
readonly type: "function";
|
|
76419
76451
|
readonly name: "batchGetRefTick";
|
|
76420
76452
|
readonly inputs: readonly [{
|
|
@@ -78305,7 +78337,7 @@ declare const useLens: () => {
|
|
|
78305
78337
|
} | undefined;
|
|
78306
78338
|
stateView: {
|
|
78307
78339
|
read: {
|
|
78308
|
-
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
78340
|
+
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
78309
78341
|
readonly type: "function";
|
|
78310
78342
|
readonly name: "getFeeGrowthGlobals";
|
|
78311
78343
|
readonly inputs: readonly [{
|
|
@@ -79152,7 +79184,7 @@ declare const useLens: () => {
|
|
|
79152
79184
|
fee: number;
|
|
79153
79185
|
tickSpacing: number;
|
|
79154
79186
|
hooks: `0x${string}`;
|
|
79155
|
-
}], options?:
|
|
79187
|
+
}], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
79156
79188
|
readonly type: "function";
|
|
79157
79189
|
readonly name: "getFeeGrowthGlobals";
|
|
79158
79190
|
readonly inputs: readonly [{
|
|
@@ -79994,7 +80026,7 @@ declare const useLens: () => {
|
|
|
79994
80026
|
tickSpacing: number;
|
|
79995
80027
|
hooks: `0x${string}`;
|
|
79996
80028
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
79997
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?:
|
|
80029
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
79998
80030
|
readonly type: "function";
|
|
79999
80031
|
readonly name: "getFeeGrowthGlobals";
|
|
80000
80032
|
readonly inputs: readonly [{
|
|
@@ -80841,7 +80873,7 @@ declare const useLens: () => {
|
|
|
80841
80873
|
fee: number;
|
|
80842
80874
|
tickSpacing: number;
|
|
80843
80875
|
hooks: `0x${string}`;
|
|
80844
|
-
}, number, number], options?:
|
|
80876
|
+
}, number, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
80845
80877
|
readonly type: "function";
|
|
80846
80878
|
readonly name: "getFeeGrowthGlobals";
|
|
80847
80879
|
readonly inputs: readonly [{
|
|
@@ -81683,7 +81715,7 @@ declare const useLens: () => {
|
|
|
81683
81715
|
tickSpacing: number;
|
|
81684
81716
|
hooks: `0x${string}`;
|
|
81685
81717
|
}, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
81686
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
81718
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
81687
81719
|
readonly type: "function";
|
|
81688
81720
|
readonly name: "getFeeGrowthGlobals";
|
|
81689
81721
|
readonly inputs: readonly [{
|
|
@@ -82530,7 +82562,7 @@ declare const useLens: () => {
|
|
|
82530
82562
|
fee: number;
|
|
82531
82563
|
tickSpacing: number;
|
|
82532
82564
|
hooks: `0x${string}`;
|
|
82533
|
-
}], options?:
|
|
82565
|
+
}], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
82534
82566
|
readonly type: "function";
|
|
82535
82567
|
readonly name: "getFeeGrowthGlobals";
|
|
82536
82568
|
readonly inputs: readonly [{
|
|
@@ -83372,7 +83404,7 @@ declare const useLens: () => {
|
|
|
83372
83404
|
tickSpacing: number;
|
|
83373
83405
|
hooks: `0x${string}`;
|
|
83374
83406
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
83375
|
-
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
83407
|
+
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
83376
83408
|
readonly type: "function";
|
|
83377
83409
|
readonly name: "getFeeGrowthGlobals";
|
|
83378
83410
|
readonly inputs: readonly [{
|
|
@@ -84219,7 +84251,7 @@ declare const useLens: () => {
|
|
|
84219
84251
|
fee: number;
|
|
84220
84252
|
tickSpacing: number;
|
|
84221
84253
|
hooks: `0x${string}`;
|
|
84222
|
-
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?:
|
|
84254
|
+
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
84223
84255
|
readonly type: "function";
|
|
84224
84256
|
readonly name: "getFeeGrowthGlobals";
|
|
84225
84257
|
readonly inputs: readonly [{
|
|
@@ -85072,7 +85104,7 @@ declare const useLens: () => {
|
|
|
85072
85104
|
fee: number;
|
|
85073
85105
|
tickSpacing: number;
|
|
85074
85106
|
hooks: `0x${string}`;
|
|
85075
|
-
}, `0x${string}`], options?:
|
|
85107
|
+
}, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
85076
85108
|
readonly type: "function";
|
|
85077
85109
|
readonly name: "getFeeGrowthGlobals";
|
|
85078
85110
|
readonly inputs: readonly [{
|
|
@@ -85925,7 +85957,7 @@ declare const useLens: () => {
|
|
|
85925
85957
|
fee: number;
|
|
85926
85958
|
tickSpacing: number;
|
|
85927
85959
|
hooks: `0x${string}`;
|
|
85928
|
-
}, `0x${string}`, number, number, `0x${string}`], options?:
|
|
85960
|
+
}, `0x${string}`, number, number, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
85929
85961
|
readonly type: "function";
|
|
85930
85962
|
readonly name: "getFeeGrowthGlobals";
|
|
85931
85963
|
readonly inputs: readonly [{
|
|
@@ -86773,7 +86805,7 @@ declare const useLens: () => {
|
|
|
86773
86805
|
tickSpacing: number;
|
|
86774
86806
|
hooks: `0x${string}`;
|
|
86775
86807
|
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
86776
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
86808
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
86777
86809
|
readonly type: "function";
|
|
86778
86810
|
readonly name: "getFeeGrowthGlobals";
|
|
86779
86811
|
readonly inputs: readonly [{
|
|
@@ -87620,7 +87652,7 @@ declare const useLens: () => {
|
|
|
87620
87652
|
fee: number;
|
|
87621
87653
|
tickSpacing: number;
|
|
87622
87654
|
hooks: `0x${string}`;
|
|
87623
|
-
}, `0x${string}`], options?:
|
|
87655
|
+
}, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
87624
87656
|
readonly type: "function";
|
|
87625
87657
|
readonly name: "getFeeGrowthGlobals";
|
|
87626
87658
|
readonly inputs: readonly [{
|
|
@@ -88468,7 +88500,7 @@ declare const useLens: () => {
|
|
|
88468
88500
|
fee: number;
|
|
88469
88501
|
tickSpacing: number;
|
|
88470
88502
|
hooks: `0x${string}`;
|
|
88471
|
-
}], options?:
|
|
88503
|
+
}], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
88472
88504
|
readonly type: "function";
|
|
88473
88505
|
readonly name: "getFeeGrowthGlobals";
|
|
88474
88506
|
readonly inputs: readonly [{
|
|
@@ -89310,7 +89342,7 @@ declare const useLens: () => {
|
|
|
89310
89342
|
tickSpacing: number;
|
|
89311
89343
|
hooks: `0x${string}`;
|
|
89312
89344
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
|
|
89313
|
-
getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
89345
|
+
getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
89314
89346
|
readonly type: "function";
|
|
89315
89347
|
readonly name: "getFeeGrowthGlobals";
|
|
89316
89348
|
readonly inputs: readonly [{
|
|
@@ -90146,7 +90178,7 @@ declare const useLens: () => {
|
|
|
90146
90178
|
}];
|
|
90147
90179
|
readonly stateMutability: "view";
|
|
90148
90180
|
}], "getSlot0FromId", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
|
|
90149
|
-
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
90181
|
+
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
90150
90182
|
readonly type: "function";
|
|
90151
90183
|
readonly name: "getFeeGrowthGlobals";
|
|
90152
90184
|
readonly inputs: readonly [{
|
|
@@ -90993,7 +91025,7 @@ declare const useLens: () => {
|
|
|
90993
91025
|
fee: number;
|
|
90994
91026
|
tickSpacing: number;
|
|
90995
91027
|
hooks: `0x${string}`;
|
|
90996
|
-
}, number], options?:
|
|
91028
|
+
}, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
90997
91029
|
readonly type: "function";
|
|
90998
91030
|
readonly name: "getFeeGrowthGlobals";
|
|
90999
91031
|
readonly inputs: readonly [{
|
|
@@ -91835,7 +91867,7 @@ declare const useLens: () => {
|
|
|
91835
91867
|
tickSpacing: number;
|
|
91836
91868
|
hooks: `0x${string}`;
|
|
91837
91869
|
}, number] | readonly [`0x${string}`, `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
91838
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
91870
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
91839
91871
|
readonly type: "function";
|
|
91840
91872
|
readonly name: "getFeeGrowthGlobals";
|
|
91841
91873
|
readonly inputs: readonly [{
|
|
@@ -92682,7 +92714,7 @@ declare const useLens: () => {
|
|
|
92682
92714
|
fee: number;
|
|
92683
92715
|
tickSpacing: number;
|
|
92684
92716
|
hooks: `0x${string}`;
|
|
92685
|
-
}, number], options?:
|
|
92717
|
+
}, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
92686
92718
|
readonly type: "function";
|
|
92687
92719
|
readonly name: "getFeeGrowthGlobals";
|
|
92688
92720
|
readonly inputs: readonly [{
|
|
@@ -93524,7 +93556,7 @@ declare const useLens: () => {
|
|
|
93524
93556
|
tickSpacing: number;
|
|
93525
93557
|
hooks: `0x${string}`;
|
|
93526
93558
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
93527
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
93559
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
93528
93560
|
readonly type: "function";
|
|
93529
93561
|
readonly name: "getFeeGrowthGlobals";
|
|
93530
93562
|
readonly inputs: readonly [{
|
|
@@ -94371,7 +94403,7 @@ declare const useLens: () => {
|
|
|
94371
94403
|
fee: number;
|
|
94372
94404
|
tickSpacing: number;
|
|
94373
94405
|
hooks: `0x${string}`;
|
|
94374
|
-
}, number], options?:
|
|
94406
|
+
}, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
94375
94407
|
readonly type: "function";
|
|
94376
94408
|
readonly name: "getFeeGrowthGlobals";
|
|
94377
94409
|
readonly inputs: readonly [{
|
|
@@ -95213,7 +95245,7 @@ declare const useLens: () => {
|
|
|
95213
95245
|
tickSpacing: number;
|
|
95214
95246
|
hooks: `0x${string}`;
|
|
95215
95247
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
95216
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
95248
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
95217
95249
|
readonly type: "function";
|
|
95218
95250
|
readonly name: "getFeeGrowthGlobals";
|
|
95219
95251
|
readonly inputs: readonly [{
|
|
@@ -96060,7 +96092,7 @@ declare const useLens: () => {
|
|
|
96060
96092
|
fee: number;
|
|
96061
96093
|
tickSpacing: number;
|
|
96062
96094
|
hooks: `0x${string}`;
|
|
96063
|
-
}, number], options?:
|
|
96095
|
+
}, number], options?: viem356.Prettify<viem356.UnionOmit<viem356.ReadContractParameters<readonly [{
|
|
96064
96096
|
readonly type: "function";
|
|
96065
96097
|
readonly name: "getFeeGrowthGlobals";
|
|
96066
96098
|
readonly inputs: readonly [{
|
|
@@ -97744,4 +97776,4 @@ declare const useLens: () => {
|
|
|
97744
97776
|
};
|
|
97745
97777
|
//#endregion
|
|
97746
97778
|
export { PriceResolution as $, swapRouters as $t, useCurrentPrice as A, scaleAmount as At, getPriceAtTick as B, useMarketState as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatCondensed as Dt, usePriceHistory as E, formatAmount as Et, getPayoutAtTick as F, wrapAmountUnscaled as Ft, liquiditiesToAmounts as G, TimelockLens as Gt, getTickAtPrice as H, TimelockProvider as Ht, PRICE_PRECISION as I, wrapPrice as It, token0ToToken1AtTick as J, getErc20 as Jt, roundTick as K, TimelockMarket as Kt, getAmountsFromLiquidity as L, wrapPriceUnscaled as Lt, UniswapPoolData as M, unscaleAmount as Mt, usePoolData as N, unscalePrice as Nt, usePriceAtTick as O, formatUSD as Ot, getPayoutAtPrice as P, wrapAmount as Pt, PriceDataPoint as Q, stateViews as Qt, getNearestValidStrikeTick as R, zero as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, useCurrentMarket as Ut, getSqrtPriceX96AtPrice as V, useMarketData as Vt, liquiditiesToAmount1 as W, useTimelockConfig as Wt, token1ToToken0AtTick as X, getTimelockLens as Xt, token1ToToken0 as Y, getStateView as Yt, PriceData as Z, getTimelockMarket as Zt, useTokenData as _, useOptionPremium as _t, OptionPricingParams as a, useActiveUserPerps as at, batchGetAmountsFromLiquidity as b, OptionData as bt, usePricingParams as c, usePerpsOperator as ct, usePauseMarketTrading as d, ExerciseOptionEvent as dt, swappers as en, getCurrentPrice as et, usePauseGlobalTrading as f, ExtendEvent as ft, TokenData as g, useExtendOption as gt, useTokenBalance as h, useOptionTimeline as ht, useOptionPricingParams as i, useOperatorPerms as it, PoolKey as j, scalePrice as jt, useCurrentTick as k, formatVagueAmount as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockLenses as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarketData as qt, useStaticPricingParams as r, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, timelockFactories as tn, getPriceHistory as tt, useFeeRates as u, useMintPerp as ut, useVaultTVL as v, useOptionPnl as vt, useBurnLiquidity as w, useMaxPositionSize as wt, useMintLiquidity as x, useActiveUserOptions as xt, useVaultData as y, useExerciseOption as yt, getPriceAtSqrtPriceX96 as z, useMarketVolume as zt };
|
|
97747
|
-
//# sourceMappingURL=client-
|
|
97779
|
+
//# sourceMappingURL=client-BIJ-W30I.d.cts.map
|