timelock-sdk 0.0.139 → 0.0.140
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-40kJVPoc.d.ts → client-BLQCtXFi.d.ts} +11 -10
- package/dist/{client-DTyVaDKH.d.cts → client-FNWYyxxl.d.cts} +206 -205
- package/dist/client.cjs +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/{optionUtils-BunZxBrW.js → optionUtils-9m2sevDs.js} +15 -5
- package/dist/optionUtils-9m2sevDs.js.map +1 -0
- package/dist/{optionUtils-BUJzXFyd.cjs → optionUtils-pIZ0mbRp.cjs} +19 -3
- package/dist/optionUtils-pIZ0mbRp.cjs.map +1 -0
- package/dist/package.cjs +2 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/package.json +1 -1
- package/dist/optionUtils-BUJzXFyd.cjs.map +0 -1
- package/dist/optionUtils-BunZxBrW.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-X6H7QwrK.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem184 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
@@ -245,7 +245,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
245
245
|
};
|
|
246
246
|
declare const getErc20: (address: Address, client: Client) => {
|
|
247
247
|
read: {
|
|
248
|
-
symbol: (options?:
|
|
248
|
+
symbol: (options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
249
249
|
readonly type: "constructor";
|
|
250
250
|
readonly inputs: readonly [{
|
|
251
251
|
readonly name: "name_";
|
|
@@ -424,7 +424,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
424
424
|
}];
|
|
425
425
|
readonly stateMutability: "nonpayable";
|
|
426
426
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
427
|
-
|
|
427
|
+
decimals: (options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
428
428
|
readonly type: "constructor";
|
|
429
429
|
readonly inputs: readonly [{
|
|
430
430
|
readonly name: "name_";
|
|
@@ -602,8 +602,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
602
602
|
readonly internalType: "bool";
|
|
603
603
|
}];
|
|
604
604
|
readonly stateMutability: "nonpayable";
|
|
605
|
-
}], "
|
|
606
|
-
|
|
605
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
606
|
+
name: (options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
607
607
|
readonly type: "constructor";
|
|
608
608
|
readonly inputs: readonly [{
|
|
609
609
|
readonly name: "name_";
|
|
@@ -781,8 +781,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
781
781
|
readonly internalType: "bool";
|
|
782
782
|
}];
|
|
783
783
|
readonly stateMutability: "nonpayable";
|
|
784
|
-
}], "
|
|
785
|
-
|
|
784
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
785
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
786
786
|
readonly type: "constructor";
|
|
787
787
|
readonly inputs: readonly [{
|
|
788
788
|
readonly name: "name_";
|
|
@@ -960,8 +960,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
960
960
|
readonly internalType: "bool";
|
|
961
961
|
}];
|
|
962
962
|
readonly stateMutability: "nonpayable";
|
|
963
|
-
}], "
|
|
964
|
-
|
|
963
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
964
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
965
965
|
readonly type: "constructor";
|
|
966
966
|
readonly inputs: readonly [{
|
|
967
967
|
readonly name: "name_";
|
|
@@ -1139,8 +1139,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1139
1139
|
readonly internalType: "bool";
|
|
1140
1140
|
}];
|
|
1141
1141
|
readonly stateMutability: "nonpayable";
|
|
1142
|
-
}], "
|
|
1143
|
-
totalSupply: (options?:
|
|
1142
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1143
|
+
totalSupply: (options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
1144
1144
|
readonly type: "constructor";
|
|
1145
1145
|
readonly inputs: readonly [{
|
|
1146
1146
|
readonly name: "name_";
|
|
@@ -1321,7 +1321,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1321
1321
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1322
1322
|
};
|
|
1323
1323
|
estimateGas: {
|
|
1324
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1324
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
1325
1325
|
readonly type: "constructor";
|
|
1326
1326
|
readonly inputs: readonly [{
|
|
1327
1327
|
readonly name: "name_";
|
|
@@ -1499,8 +1499,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1499
1499
|
readonly internalType: "bool";
|
|
1500
1500
|
}];
|
|
1501
1501
|
readonly stateMutability: "nonpayable";
|
|
1502
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1503
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1502
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
1503
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
1504
1504
|
readonly type: "constructor";
|
|
1505
1505
|
readonly inputs: readonly [{
|
|
1506
1506
|
readonly name: "name_";
|
|
@@ -1678,8 +1678,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1678
1678
|
readonly internalType: "bool";
|
|
1679
1679
|
}];
|
|
1680
1680
|
readonly stateMutability: "nonpayable";
|
|
1681
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1682
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1681
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
1682
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
1683
1683
|
readonly type: "constructor";
|
|
1684
1684
|
readonly inputs: readonly [{
|
|
1685
1685
|
readonly name: "name_";
|
|
@@ -1857,8 +1857,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1857
1857
|
readonly internalType: "bool";
|
|
1858
1858
|
}];
|
|
1859
1859
|
readonly stateMutability: "nonpayable";
|
|
1860
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1861
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1860
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
1861
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
1862
1862
|
readonly type: "constructor";
|
|
1863
1863
|
readonly inputs: readonly [{
|
|
1864
1864
|
readonly name: "name_";
|
|
@@ -2036,8 +2036,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2036
2036
|
readonly internalType: "bool";
|
|
2037
2037
|
}];
|
|
2038
2038
|
readonly stateMutability: "nonpayable";
|
|
2039
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2040
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2039
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2040
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2041
2041
|
readonly type: "constructor";
|
|
2042
2042
|
readonly inputs: readonly [{
|
|
2043
2043
|
readonly name: "name_";
|
|
@@ -2215,9 +2215,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2215
2215
|
readonly internalType: "bool";
|
|
2216
2216
|
}];
|
|
2217
2217
|
readonly stateMutability: "nonpayable";
|
|
2218
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2218
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2219
2219
|
} & {
|
|
2220
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2220
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2221
2221
|
readonly type: "constructor";
|
|
2222
2222
|
readonly inputs: readonly [{
|
|
2223
2223
|
readonly name: "name_";
|
|
@@ -2395,8 +2395,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2395
2395
|
readonly internalType: "bool";
|
|
2396
2396
|
}];
|
|
2397
2397
|
readonly stateMutability: "nonpayable";
|
|
2398
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2399
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2398
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2399
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2400
2400
|
readonly type: "constructor";
|
|
2401
2401
|
readonly inputs: readonly [{
|
|
2402
2402
|
readonly name: "name_";
|
|
@@ -2574,8 +2574,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2574
2574
|
readonly internalType: "bool";
|
|
2575
2575
|
}];
|
|
2576
2576
|
readonly stateMutability: "nonpayable";
|
|
2577
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2578
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2577
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2578
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2579
2579
|
readonly type: "constructor";
|
|
2580
2580
|
readonly inputs: readonly [{
|
|
2581
2581
|
readonly name: "name_";
|
|
@@ -2753,8 +2753,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2753
2753
|
readonly internalType: "bool";
|
|
2754
2754
|
}];
|
|
2755
2755
|
readonly stateMutability: "nonpayable";
|
|
2756
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2757
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2756
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2757
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2758
2758
|
readonly type: "constructor";
|
|
2759
2759
|
readonly inputs: readonly [{
|
|
2760
2760
|
readonly name: "name_";
|
|
@@ -2932,8 +2932,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2932
2932
|
readonly internalType: "bool";
|
|
2933
2933
|
}];
|
|
2934
2934
|
readonly stateMutability: "nonpayable";
|
|
2935
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2936
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2935
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2936
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2937
2937
|
readonly type: "constructor";
|
|
2938
2938
|
readonly inputs: readonly [{
|
|
2939
2939
|
readonly name: "name_";
|
|
@@ -3111,10 +3111,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3111
3111
|
readonly internalType: "bool";
|
|
3112
3112
|
}];
|
|
3113
3113
|
readonly stateMutability: "nonpayable";
|
|
3114
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3114
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
3115
3115
|
};
|
|
3116
3116
|
simulate: {
|
|
3117
|
-
approve: <chainOverride extends
|
|
3117
|
+
approve: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
3118
3118
|
readonly type: "constructor";
|
|
3119
3119
|
readonly inputs: readonly [{
|
|
3120
3120
|
readonly name: "name_";
|
|
@@ -3292,7 +3292,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3292
3292
|
readonly internalType: "bool";
|
|
3293
3293
|
}];
|
|
3294
3294
|
readonly stateMutability: "nonpayable";
|
|
3295
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3295
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
3296
3296
|
readonly type: "constructor";
|
|
3297
3297
|
readonly inputs: readonly [{
|
|
3298
3298
|
readonly name: "name_";
|
|
@@ -3470,8 +3470,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3470
3470
|
readonly internalType: "bool";
|
|
3471
3471
|
}];
|
|
3472
3472
|
readonly stateMutability: "nonpayable";
|
|
3473
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3474
|
-
decreaseAllowance: <chainOverride extends
|
|
3473
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
3474
|
+
decreaseAllowance: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
3475
3475
|
readonly type: "constructor";
|
|
3476
3476
|
readonly inputs: readonly [{
|
|
3477
3477
|
readonly name: "name_";
|
|
@@ -3649,7 +3649,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3649
3649
|
readonly internalType: "bool";
|
|
3650
3650
|
}];
|
|
3651
3651
|
readonly stateMutability: "nonpayable";
|
|
3652
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3652
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
3653
3653
|
readonly type: "constructor";
|
|
3654
3654
|
readonly inputs: readonly [{
|
|
3655
3655
|
readonly name: "name_";
|
|
@@ -3827,8 +3827,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3827
3827
|
readonly internalType: "bool";
|
|
3828
3828
|
}];
|
|
3829
3829
|
readonly stateMutability: "nonpayable";
|
|
3830
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3831
|
-
increaseAllowance: <chainOverride extends
|
|
3830
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
3831
|
+
increaseAllowance: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
3832
3832
|
readonly type: "constructor";
|
|
3833
3833
|
readonly inputs: readonly [{
|
|
3834
3834
|
readonly name: "name_";
|
|
@@ -4006,7 +4006,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4006
4006
|
readonly internalType: "bool";
|
|
4007
4007
|
}];
|
|
4008
4008
|
readonly stateMutability: "nonpayable";
|
|
4009
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4009
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
4010
4010
|
readonly type: "constructor";
|
|
4011
4011
|
readonly inputs: readonly [{
|
|
4012
4012
|
readonly name: "name_";
|
|
@@ -4184,8 +4184,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4184
4184
|
readonly internalType: "bool";
|
|
4185
4185
|
}];
|
|
4186
4186
|
readonly stateMutability: "nonpayable";
|
|
4187
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4188
|
-
transfer: <chainOverride extends
|
|
4187
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
4188
|
+
transfer: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
4189
4189
|
readonly type: "constructor";
|
|
4190
4190
|
readonly inputs: readonly [{
|
|
4191
4191
|
readonly name: "name_";
|
|
@@ -4363,7 +4363,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4363
4363
|
readonly internalType: "bool";
|
|
4364
4364
|
}];
|
|
4365
4365
|
readonly stateMutability: "nonpayable";
|
|
4366
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4366
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
4367
4367
|
readonly type: "constructor";
|
|
4368
4368
|
readonly inputs: readonly [{
|
|
4369
4369
|
readonly name: "name_";
|
|
@@ -4541,8 +4541,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4541
4541
|
readonly internalType: "bool";
|
|
4542
4542
|
}];
|
|
4543
4543
|
readonly stateMutability: "nonpayable";
|
|
4544
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4545
|
-
transferFrom: <chainOverride extends
|
|
4544
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
4545
|
+
transferFrom: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
4546
4546
|
readonly type: "constructor";
|
|
4547
4547
|
readonly inputs: readonly [{
|
|
4548
4548
|
readonly name: "name_";
|
|
@@ -4720,7 +4720,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4720
4720
|
readonly internalType: "bool";
|
|
4721
4721
|
}];
|
|
4722
4722
|
readonly stateMutability: "nonpayable";
|
|
4723
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4723
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
4724
4724
|
readonly type: "constructor";
|
|
4725
4725
|
readonly inputs: readonly [{
|
|
4726
4726
|
readonly name: "name_";
|
|
@@ -4898,10 +4898,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4898
4898
|
readonly internalType: "bool";
|
|
4899
4899
|
}];
|
|
4900
4900
|
readonly stateMutability: "nonpayable";
|
|
4901
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4901
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
4902
4902
|
};
|
|
4903
4903
|
write: {
|
|
4904
|
-
approve: <chainOverride extends
|
|
4904
|
+
approve: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
4905
4905
|
readonly type: "constructor";
|
|
4906
4906
|
readonly inputs: readonly [{
|
|
4907
4907
|
readonly name: "name_";
|
|
@@ -5079,8 +5079,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5079
5079
|
readonly internalType: "bool";
|
|
5080
5080
|
}];
|
|
5081
5081
|
readonly stateMutability: "nonpayable";
|
|
5082
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5083
|
-
decreaseAllowance: <chainOverride extends
|
|
5082
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5083
|
+
decreaseAllowance: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
5084
5084
|
readonly type: "constructor";
|
|
5085
5085
|
readonly inputs: readonly [{
|
|
5086
5086
|
readonly name: "name_";
|
|
@@ -5258,8 +5258,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5258
5258
|
readonly internalType: "bool";
|
|
5259
5259
|
}];
|
|
5260
5260
|
readonly stateMutability: "nonpayable";
|
|
5261
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5262
|
-
increaseAllowance: <chainOverride extends
|
|
5261
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5262
|
+
increaseAllowance: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
5263
5263
|
readonly type: "constructor";
|
|
5264
5264
|
readonly inputs: readonly [{
|
|
5265
5265
|
readonly name: "name_";
|
|
@@ -5437,8 +5437,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5437
5437
|
readonly internalType: "bool";
|
|
5438
5438
|
}];
|
|
5439
5439
|
readonly stateMutability: "nonpayable";
|
|
5440
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5441
|
-
transfer: <chainOverride extends
|
|
5440
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5441
|
+
transfer: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
5442
5442
|
readonly type: "constructor";
|
|
5443
5443
|
readonly inputs: readonly [{
|
|
5444
5444
|
readonly name: "name_";
|
|
@@ -5616,8 +5616,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5616
5616
|
readonly internalType: "bool";
|
|
5617
5617
|
}];
|
|
5618
5618
|
readonly stateMutability: "nonpayable";
|
|
5619
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5620
|
-
transferFrom: <chainOverride extends
|
|
5619
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5620
|
+
transferFrom: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
5621
5621
|
readonly type: "constructor";
|
|
5622
5622
|
readonly inputs: readonly [{
|
|
5623
5623
|
readonly name: "name_";
|
|
@@ -5795,7 +5795,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5795
5795
|
readonly internalType: "bool";
|
|
5796
5796
|
}];
|
|
5797
5797
|
readonly stateMutability: "nonpayable";
|
|
5798
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5798
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5799
5799
|
};
|
|
5800
5800
|
address: `0x${string}`;
|
|
5801
5801
|
abi: readonly [{
|
|
@@ -5981,7 +5981,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5981
5981
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5982
5982
|
declare const getStateView: (client: Client | PublicClient) => {
|
|
5983
5983
|
read: {
|
|
5984
|
-
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
5984
|
+
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
5985
5985
|
readonly type: "function";
|
|
5986
5986
|
readonly name: "getFeeGrowthGlobals";
|
|
5987
5987
|
readonly inputs: readonly [{
|
|
@@ -6828,7 +6828,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
6828
6828
|
fee: number;
|
|
6829
6829
|
tickSpacing: number;
|
|
6830
6830
|
hooks: `0x${string}`;
|
|
6831
|
-
}], options?:
|
|
6831
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
6832
6832
|
readonly type: "function";
|
|
6833
6833
|
readonly name: "getFeeGrowthGlobals";
|
|
6834
6834
|
readonly inputs: readonly [{
|
|
@@ -7670,7 +7670,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
7670
7670
|
tickSpacing: number;
|
|
7671
7671
|
hooks: `0x${string}`;
|
|
7672
7672
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
7673
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?:
|
|
7673
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
7674
7674
|
readonly type: "function";
|
|
7675
7675
|
readonly name: "getFeeGrowthGlobals";
|
|
7676
7676
|
readonly inputs: readonly [{
|
|
@@ -8517,7 +8517,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
8517
8517
|
fee: number;
|
|
8518
8518
|
tickSpacing: number;
|
|
8519
8519
|
hooks: `0x${string}`;
|
|
8520
|
-
}, number, number], options?:
|
|
8520
|
+
}, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
8521
8521
|
readonly type: "function";
|
|
8522
8522
|
readonly name: "getFeeGrowthGlobals";
|
|
8523
8523
|
readonly inputs: readonly [{
|
|
@@ -9359,7 +9359,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
9359
9359
|
tickSpacing: number;
|
|
9360
9360
|
hooks: `0x${string}`;
|
|
9361
9361
|
}, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
9362
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
9362
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
9363
9363
|
readonly type: "function";
|
|
9364
9364
|
readonly name: "getFeeGrowthGlobals";
|
|
9365
9365
|
readonly inputs: readonly [{
|
|
@@ -10206,7 +10206,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
10206
10206
|
fee: number;
|
|
10207
10207
|
tickSpacing: number;
|
|
10208
10208
|
hooks: `0x${string}`;
|
|
10209
|
-
}], options?:
|
|
10209
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
10210
10210
|
readonly type: "function";
|
|
10211
10211
|
readonly name: "getFeeGrowthGlobals";
|
|
10212
10212
|
readonly inputs: readonly [{
|
|
@@ -11048,7 +11048,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
11048
11048
|
tickSpacing: number;
|
|
11049
11049
|
hooks: `0x${string}`;
|
|
11050
11050
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
11051
|
-
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
11051
|
+
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
11052
11052
|
readonly type: "function";
|
|
11053
11053
|
readonly name: "getFeeGrowthGlobals";
|
|
11054
11054
|
readonly inputs: readonly [{
|
|
@@ -11895,7 +11895,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
11895
11895
|
fee: number;
|
|
11896
11896
|
tickSpacing: number;
|
|
11897
11897
|
hooks: `0x${string}`;
|
|
11898
|
-
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?:
|
|
11898
|
+
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
11899
11899
|
readonly type: "function";
|
|
11900
11900
|
readonly name: "getFeeGrowthGlobals";
|
|
11901
11901
|
readonly inputs: readonly [{
|
|
@@ -12748,7 +12748,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
12748
12748
|
fee: number;
|
|
12749
12749
|
tickSpacing: number;
|
|
12750
12750
|
hooks: `0x${string}`;
|
|
12751
|
-
}, `0x${string}`], options?:
|
|
12751
|
+
}, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
12752
12752
|
readonly type: "function";
|
|
12753
12753
|
readonly name: "getFeeGrowthGlobals";
|
|
12754
12754
|
readonly inputs: readonly [{
|
|
@@ -13601,7 +13601,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
13601
13601
|
fee: number;
|
|
13602
13602
|
tickSpacing: number;
|
|
13603
13603
|
hooks: `0x${string}`;
|
|
13604
|
-
}, `0x${string}`, number, number, `0x${string}`], options?:
|
|
13604
|
+
}, `0x${string}`, number, number, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
13605
13605
|
readonly type: "function";
|
|
13606
13606
|
readonly name: "getFeeGrowthGlobals";
|
|
13607
13607
|
readonly inputs: readonly [{
|
|
@@ -14449,7 +14449,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
14449
14449
|
tickSpacing: number;
|
|
14450
14450
|
hooks: `0x${string}`;
|
|
14451
14451
|
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
14452
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
14452
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
14453
14453
|
readonly type: "function";
|
|
14454
14454
|
readonly name: "getFeeGrowthGlobals";
|
|
14455
14455
|
readonly inputs: readonly [{
|
|
@@ -15296,7 +15296,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
15296
15296
|
fee: number;
|
|
15297
15297
|
tickSpacing: number;
|
|
15298
15298
|
hooks: `0x${string}`;
|
|
15299
|
-
}, `0x${string}`], options?:
|
|
15299
|
+
}, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
15300
15300
|
readonly type: "function";
|
|
15301
15301
|
readonly name: "getFeeGrowthGlobals";
|
|
15302
15302
|
readonly inputs: readonly [{
|
|
@@ -16138,7 +16138,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
16138
16138
|
tickSpacing: number;
|
|
16139
16139
|
hooks: `0x${string}`;
|
|
16140
16140
|
}, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
16141
|
-
getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
16141
|
+
getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
16142
16142
|
readonly type: "function";
|
|
16143
16143
|
readonly name: "getFeeGrowthGlobals";
|
|
16144
16144
|
readonly inputs: readonly [{
|
|
@@ -16985,7 +16985,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
16985
16985
|
fee: number;
|
|
16986
16986
|
tickSpacing: number;
|
|
16987
16987
|
hooks: `0x${string}`;
|
|
16988
|
-
}], options?:
|
|
16988
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
16989
16989
|
readonly type: "function";
|
|
16990
16990
|
readonly name: "getFeeGrowthGlobals";
|
|
16991
16991
|
readonly inputs: readonly [{
|
|
@@ -17827,7 +17827,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
17827
17827
|
tickSpacing: number;
|
|
17828
17828
|
hooks: `0x${string}`;
|
|
17829
17829
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
17830
|
-
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
17830
|
+
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
17831
17831
|
readonly type: "function";
|
|
17832
17832
|
readonly name: "getFeeGrowthGlobals";
|
|
17833
17833
|
readonly inputs: readonly [{
|
|
@@ -18674,7 +18674,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
18674
18674
|
fee: number;
|
|
18675
18675
|
tickSpacing: number;
|
|
18676
18676
|
hooks: `0x${string}`;
|
|
18677
|
-
}, number], options?:
|
|
18677
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
18678
18678
|
readonly type: "function";
|
|
18679
18679
|
readonly name: "getFeeGrowthGlobals";
|
|
18680
18680
|
readonly inputs: readonly [{
|
|
@@ -19516,7 +19516,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
19516
19516
|
tickSpacing: number;
|
|
19517
19517
|
hooks: `0x${string}`;
|
|
19518
19518
|
}, number] | readonly [`0x${string}`, `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
19519
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
19519
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
19520
19520
|
readonly type: "function";
|
|
19521
19521
|
readonly name: "getFeeGrowthGlobals";
|
|
19522
19522
|
readonly inputs: readonly [{
|
|
@@ -20363,7 +20363,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
20363
20363
|
fee: number;
|
|
20364
20364
|
tickSpacing: number;
|
|
20365
20365
|
hooks: `0x${string}`;
|
|
20366
|
-
}, number], options?:
|
|
20366
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
20367
20367
|
readonly type: "function";
|
|
20368
20368
|
readonly name: "getFeeGrowthGlobals";
|
|
20369
20369
|
readonly inputs: readonly [{
|
|
@@ -21205,7 +21205,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
21205
21205
|
tickSpacing: number;
|
|
21206
21206
|
hooks: `0x${string}`;
|
|
21207
21207
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
21208
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
21208
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
21209
21209
|
readonly type: "function";
|
|
21210
21210
|
readonly name: "getFeeGrowthGlobals";
|
|
21211
21211
|
readonly inputs: readonly [{
|
|
@@ -22052,7 +22052,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
22052
22052
|
fee: number;
|
|
22053
22053
|
tickSpacing: number;
|
|
22054
22054
|
hooks: `0x${string}`;
|
|
22055
|
-
}, number], options?:
|
|
22055
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
22056
22056
|
readonly type: "function";
|
|
22057
22057
|
readonly name: "getFeeGrowthGlobals";
|
|
22058
22058
|
readonly inputs: readonly [{
|
|
@@ -22894,7 +22894,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
22894
22894
|
tickSpacing: number;
|
|
22895
22895
|
hooks: `0x${string}`;
|
|
22896
22896
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
22897
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
22897
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
22898
22898
|
readonly type: "function";
|
|
22899
22899
|
readonly name: "getFeeGrowthGlobals";
|
|
22900
22900
|
readonly inputs: readonly [{
|
|
@@ -23741,7 +23741,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
23741
23741
|
fee: number;
|
|
23742
23742
|
tickSpacing: number;
|
|
23743
23743
|
hooks: `0x${string}`;
|
|
23744
|
-
}, number], options?:
|
|
23744
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
23745
23745
|
readonly type: "function";
|
|
23746
23746
|
readonly name: "getFeeGrowthGlobals";
|
|
23747
23747
|
readonly inputs: readonly [{
|
|
@@ -25424,7 +25424,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
25424
25424
|
};
|
|
25425
25425
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
25426
25426
|
read: {
|
|
25427
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
25427
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
25428
25428
|
readonly type: "function";
|
|
25429
25429
|
readonly name: "batchGetRefTick";
|
|
25430
25430
|
readonly inputs: readonly [{
|
|
@@ -26125,7 +26125,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26125
26125
|
}];
|
|
26126
26126
|
readonly stateMutability: "view";
|
|
26127
26127
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
26128
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
26128
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
26129
26129
|
readonly type: "function";
|
|
26130
26130
|
readonly name: "batchGetRefTick";
|
|
26131
26131
|
readonly inputs: readonly [{
|
|
@@ -26836,7 +26836,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26836
26836
|
borrowedAmount0: bigint;
|
|
26837
26837
|
borrowedAmount1: bigint;
|
|
26838
26838
|
}[]>;
|
|
26839
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
26839
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
26840
26840
|
readonly type: "function";
|
|
26841
26841
|
readonly name: "batchGetRefTick";
|
|
26842
26842
|
readonly inputs: readonly [{
|
|
@@ -27547,7 +27547,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27547
27547
|
expiresAt: number;
|
|
27548
27548
|
liquidities: readonly bigint[];
|
|
27549
27549
|
}[], bigint, boolean]>;
|
|
27550
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
27550
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
27551
27551
|
readonly type: "function";
|
|
27552
27552
|
readonly name: "batchGetRefTick";
|
|
27553
27553
|
readonly inputs: readonly [{
|
|
@@ -28248,7 +28248,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28248
28248
|
}];
|
|
28249
28249
|
readonly stateMutability: "view";
|
|
28250
28250
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
28251
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
28251
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
28252
28252
|
readonly type: "function";
|
|
28253
28253
|
readonly name: "batchGetRefTick";
|
|
28254
28254
|
readonly inputs: readonly [{
|
|
@@ -28969,7 +28969,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28969
28969
|
payoutAssetName: string;
|
|
28970
28970
|
optionsCount: bigint;
|
|
28971
28971
|
}>;
|
|
28972
|
-
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?:
|
|
28972
|
+
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
28973
28973
|
readonly type: "function";
|
|
28974
28974
|
readonly name: "batchGetRefTick";
|
|
28975
28975
|
readonly inputs: readonly [{
|
|
@@ -29670,7 +29670,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29670
29670
|
}];
|
|
29671
29671
|
readonly stateMutability: "view";
|
|
29672
29672
|
}], "getMaxATMSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
29673
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
29673
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
29674
29674
|
readonly type: "function";
|
|
29675
29675
|
readonly name: "batchGetRefTick";
|
|
29676
29676
|
readonly inputs: readonly [{
|
|
@@ -30371,7 +30371,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30371
30371
|
}];
|
|
30372
30372
|
readonly stateMutability: "view";
|
|
30373
30373
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
30374
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
30374
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
30375
30375
|
readonly type: "function";
|
|
30376
30376
|
readonly name: "batchGetRefTick";
|
|
30377
30377
|
readonly inputs: readonly [{
|
|
@@ -31072,7 +31072,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31072
31072
|
}];
|
|
31073
31073
|
readonly stateMutability: "view";
|
|
31074
31074
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
31075
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
31075
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
31076
31076
|
readonly type: "function";
|
|
31077
31077
|
readonly name: "batchGetRefTick";
|
|
31078
31078
|
readonly inputs: readonly [{
|
|
@@ -31783,7 +31783,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31783
31783
|
expiresAt: number;
|
|
31784
31784
|
liquidities: readonly bigint[];
|
|
31785
31785
|
}>;
|
|
31786
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
31786
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
31787
31787
|
readonly type: "function";
|
|
31788
31788
|
readonly name: "batchGetRefTick";
|
|
31789
31789
|
readonly inputs: readonly [{
|
|
@@ -32500,7 +32500,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32500
32500
|
fee: number;
|
|
32501
32501
|
tickSpacing: number;
|
|
32502
32502
|
hooks: `0x${string}`;
|
|
32503
|
-
}], options?:
|
|
32503
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
32504
32504
|
readonly type: "function";
|
|
32505
32505
|
readonly name: "batchGetRefTick";
|
|
32506
32506
|
readonly inputs: readonly [{
|
|
@@ -33218,7 +33218,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33218
33218
|
tickSpacing: number;
|
|
33219
33219
|
fee: number;
|
|
33220
33220
|
}>;
|
|
33221
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
33221
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
33222
33222
|
readonly type: "function";
|
|
33223
33223
|
readonly name: "batchGetRefTick";
|
|
33224
33224
|
readonly inputs: readonly [{
|
|
@@ -33919,7 +33919,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33919
33919
|
}];
|
|
33920
33920
|
readonly stateMutability: "view";
|
|
33921
33921
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
33922
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
33922
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
33923
33923
|
readonly type: "function";
|
|
33924
33924
|
readonly name: "batchGetRefTick";
|
|
33925
33925
|
readonly inputs: readonly [{
|
|
@@ -34624,7 +34624,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34624
34624
|
symbol: string;
|
|
34625
34625
|
name: string;
|
|
34626
34626
|
}>;
|
|
34627
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
34627
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
34628
34628
|
readonly type: "function";
|
|
34629
34629
|
readonly name: "batchGetRefTick";
|
|
34630
34630
|
readonly inputs: readonly [{
|
|
@@ -35335,7 +35335,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35335
35335
|
expiresAt: number;
|
|
35336
35336
|
liquidities: readonly bigint[];
|
|
35337
35337
|
}[], bigint, boolean]>;
|
|
35338
|
-
getVaultData: (args: readonly [`0x${string}`], options?:
|
|
35338
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
35339
35339
|
readonly type: "function";
|
|
35340
35340
|
readonly name: "batchGetRefTick";
|
|
35341
35341
|
readonly inputs: readonly [{
|
|
@@ -36045,7 +36045,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36045
36045
|
hooks: `0x${string}`;
|
|
36046
36046
|
};
|
|
36047
36047
|
}>;
|
|
36048
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
36048
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
36049
36049
|
readonly type: "function";
|
|
36050
36050
|
readonly name: "batchGetRefTick";
|
|
36051
36051
|
readonly inputs: readonly [{
|
|
@@ -37452,6 +37452,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
37452
37452
|
};
|
|
37453
37453
|
declare const swappers: Record<number, Address>;
|
|
37454
37454
|
declare const timelockLenses: Record<number, Address>;
|
|
37455
|
+
declare const swapRouters: Record<number, Address>;
|
|
37455
37456
|
declare const stateViews: Record<number, Address>;
|
|
37456
37457
|
//#endregion
|
|
37457
37458
|
//#region src/lib/perpsOperator.d.ts
|
|
@@ -39653,7 +39654,7 @@ declare const formatUSD: (value: Big | string | number) => string;
|
|
|
39653
39654
|
//#endregion
|
|
39654
39655
|
//#region src/hooks/options/useMaxPositionSize.d.ts
|
|
39655
39656
|
declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowableRange?: number) => {
|
|
39656
|
-
error:
|
|
39657
|
+
error: viem184.ReadContractErrorType;
|
|
39657
39658
|
isError: true;
|
|
39658
39659
|
isPending: false;
|
|
39659
39660
|
isLoading: false;
|
|
@@ -39665,7 +39666,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39665
39666
|
dataUpdatedAt: number;
|
|
39666
39667
|
errorUpdatedAt: number;
|
|
39667
39668
|
failureCount: number;
|
|
39668
|
-
failureReason:
|
|
39669
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39669
39670
|
errorUpdateCount: number;
|
|
39670
39671
|
isFetched: boolean;
|
|
39671
39672
|
isFetchedAfterMount: boolean;
|
|
@@ -39675,7 +39676,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39675
39676
|
isRefetching: boolean;
|
|
39676
39677
|
isStale: boolean;
|
|
39677
39678
|
isEnabled: boolean;
|
|
39678
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39679
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39679
39680
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39680
39681
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39681
39682
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -39694,7 +39695,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39694
39695
|
dataUpdatedAt: number;
|
|
39695
39696
|
errorUpdatedAt: number;
|
|
39696
39697
|
failureCount: number;
|
|
39697
|
-
failureReason:
|
|
39698
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39698
39699
|
errorUpdateCount: number;
|
|
39699
39700
|
isFetched: boolean;
|
|
39700
39701
|
isFetchedAfterMount: boolean;
|
|
@@ -39704,14 +39705,14 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39704
39705
|
isRefetching: boolean;
|
|
39705
39706
|
isStale: boolean;
|
|
39706
39707
|
isEnabled: boolean;
|
|
39707
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39708
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39708
39709
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39709
39710
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39710
39711
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
39711
39712
|
maxCallSize: Amount | undefined;
|
|
39712
39713
|
maxPutSize: Amount | undefined;
|
|
39713
39714
|
} | {
|
|
39714
|
-
error:
|
|
39715
|
+
error: viem184.ReadContractErrorType;
|
|
39715
39716
|
isError: true;
|
|
39716
39717
|
isPending: false;
|
|
39717
39718
|
isLoading: false;
|
|
@@ -39723,7 +39724,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39723
39724
|
dataUpdatedAt: number;
|
|
39724
39725
|
errorUpdatedAt: number;
|
|
39725
39726
|
failureCount: number;
|
|
39726
|
-
failureReason:
|
|
39727
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39727
39728
|
errorUpdateCount: number;
|
|
39728
39729
|
isFetched: boolean;
|
|
39729
39730
|
isFetchedAfterMount: boolean;
|
|
@@ -39733,7 +39734,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39733
39734
|
isRefetching: boolean;
|
|
39734
39735
|
isStale: boolean;
|
|
39735
39736
|
isEnabled: boolean;
|
|
39736
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39737
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39737
39738
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39738
39739
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39739
39740
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -39752,7 +39753,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39752
39753
|
dataUpdatedAt: number;
|
|
39753
39754
|
errorUpdatedAt: number;
|
|
39754
39755
|
failureCount: number;
|
|
39755
|
-
failureReason:
|
|
39756
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39756
39757
|
errorUpdateCount: number;
|
|
39757
39758
|
isFetched: boolean;
|
|
39758
39759
|
isFetchedAfterMount: boolean;
|
|
@@ -39762,7 +39763,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39762
39763
|
isRefetching: boolean;
|
|
39763
39764
|
isStale: boolean;
|
|
39764
39765
|
isEnabled: boolean;
|
|
39765
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39766
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39766
39767
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39767
39768
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39768
39769
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -39780,7 +39781,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39780
39781
|
dataUpdatedAt: number;
|
|
39781
39782
|
errorUpdatedAt: number;
|
|
39782
39783
|
failureCount: number;
|
|
39783
|
-
failureReason:
|
|
39784
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39784
39785
|
errorUpdateCount: number;
|
|
39785
39786
|
isFetched: boolean;
|
|
39786
39787
|
isFetchedAfterMount: boolean;
|
|
@@ -39791,7 +39792,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39791
39792
|
isRefetching: boolean;
|
|
39792
39793
|
isStale: boolean;
|
|
39793
39794
|
isEnabled: boolean;
|
|
39794
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39795
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39795
39796
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39796
39797
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39797
39798
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -39810,7 +39811,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39810
39811
|
dataUpdatedAt: number;
|
|
39811
39812
|
errorUpdatedAt: number;
|
|
39812
39813
|
failureCount: number;
|
|
39813
|
-
failureReason:
|
|
39814
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39814
39815
|
errorUpdateCount: number;
|
|
39815
39816
|
isFetched: boolean;
|
|
39816
39817
|
isFetchedAfterMount: boolean;
|
|
@@ -39820,7 +39821,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39820
39821
|
isRefetching: boolean;
|
|
39821
39822
|
isStale: boolean;
|
|
39822
39823
|
isEnabled: boolean;
|
|
39823
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39824
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39824
39825
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39825
39826
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39826
39827
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -41661,7 +41662,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41661
41662
|
//#endregion
|
|
41662
41663
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
41663
41664
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
41664
|
-
error:
|
|
41665
|
+
error: viem184.ReadContractErrorType;
|
|
41665
41666
|
isError: true;
|
|
41666
41667
|
isPending: false;
|
|
41667
41668
|
isLoading: false;
|
|
@@ -41673,7 +41674,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41673
41674
|
dataUpdatedAt: number;
|
|
41674
41675
|
errorUpdatedAt: number;
|
|
41675
41676
|
failureCount: number;
|
|
41676
|
-
failureReason:
|
|
41677
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41677
41678
|
errorUpdateCount: number;
|
|
41678
41679
|
isFetched: boolean;
|
|
41679
41680
|
isFetchedAfterMount: boolean;
|
|
@@ -41683,7 +41684,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41683
41684
|
isRefetching: boolean;
|
|
41684
41685
|
isStale: boolean;
|
|
41685
41686
|
isEnabled: boolean;
|
|
41686
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41687
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41687
41688
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41688
41689
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41689
41690
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -41708,7 +41709,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41708
41709
|
dataUpdatedAt: number;
|
|
41709
41710
|
errorUpdatedAt: number;
|
|
41710
41711
|
failureCount: number;
|
|
41711
|
-
failureReason:
|
|
41712
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41712
41713
|
errorUpdateCount: number;
|
|
41713
41714
|
isFetched: boolean;
|
|
41714
41715
|
isFetchedAfterMount: boolean;
|
|
@@ -41718,7 +41719,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41718
41719
|
isRefetching: boolean;
|
|
41719
41720
|
isStale: boolean;
|
|
41720
41721
|
isEnabled: boolean;
|
|
41721
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41722
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41722
41723
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41723
41724
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41724
41725
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -41731,7 +41732,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41731
41732
|
effectiveApproval: bigint;
|
|
41732
41733
|
};
|
|
41733
41734
|
} | {
|
|
41734
|
-
error:
|
|
41735
|
+
error: viem184.ReadContractErrorType;
|
|
41735
41736
|
isError: true;
|
|
41736
41737
|
isPending: false;
|
|
41737
41738
|
isLoading: false;
|
|
@@ -41743,7 +41744,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41743
41744
|
dataUpdatedAt: number;
|
|
41744
41745
|
errorUpdatedAt: number;
|
|
41745
41746
|
failureCount: number;
|
|
41746
|
-
failureReason:
|
|
41747
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41747
41748
|
errorUpdateCount: number;
|
|
41748
41749
|
isFetched: boolean;
|
|
41749
41750
|
isFetchedAfterMount: boolean;
|
|
@@ -41753,7 +41754,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41753
41754
|
isRefetching: boolean;
|
|
41754
41755
|
isStale: boolean;
|
|
41755
41756
|
isEnabled: boolean;
|
|
41756
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41757
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41757
41758
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41758
41759
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41759
41760
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -41778,7 +41779,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41778
41779
|
dataUpdatedAt: number;
|
|
41779
41780
|
errorUpdatedAt: number;
|
|
41780
41781
|
failureCount: number;
|
|
41781
|
-
failureReason:
|
|
41782
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41782
41783
|
errorUpdateCount: number;
|
|
41783
41784
|
isFetched: boolean;
|
|
41784
41785
|
isFetchedAfterMount: boolean;
|
|
@@ -41788,7 +41789,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41788
41789
|
isRefetching: boolean;
|
|
41789
41790
|
isStale: boolean;
|
|
41790
41791
|
isEnabled: boolean;
|
|
41791
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41792
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41792
41793
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41793
41794
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41794
41795
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -41812,7 +41813,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41812
41813
|
dataUpdatedAt: number;
|
|
41813
41814
|
errorUpdatedAt: number;
|
|
41814
41815
|
failureCount: number;
|
|
41815
|
-
failureReason:
|
|
41816
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41816
41817
|
errorUpdateCount: number;
|
|
41817
41818
|
isFetched: boolean;
|
|
41818
41819
|
isFetchedAfterMount: boolean;
|
|
@@ -41823,7 +41824,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41823
41824
|
isRefetching: boolean;
|
|
41824
41825
|
isStale: boolean;
|
|
41825
41826
|
isEnabled: boolean;
|
|
41826
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41827
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41827
41828
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41828
41829
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41829
41830
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -41848,7 +41849,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41848
41849
|
dataUpdatedAt: number;
|
|
41849
41850
|
errorUpdatedAt: number;
|
|
41850
41851
|
failureCount: number;
|
|
41851
|
-
failureReason:
|
|
41852
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41852
41853
|
errorUpdateCount: number;
|
|
41853
41854
|
isFetched: boolean;
|
|
41854
41855
|
isFetchedAfterMount: boolean;
|
|
@@ -41858,7 +41859,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41858
41859
|
isRefetching: boolean;
|
|
41859
41860
|
isStale: boolean;
|
|
41860
41861
|
isEnabled: boolean;
|
|
41861
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41862
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41862
41863
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41863
41864
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41864
41865
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -42351,7 +42352,7 @@ declare const useCurrentPrice: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42351
42352
|
//#endregion
|
|
42352
42353
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
42353
42354
|
declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
42354
|
-
error:
|
|
42355
|
+
error: viem184.ReadContractErrorType;
|
|
42355
42356
|
isError: true;
|
|
42356
42357
|
isPending: false;
|
|
42357
42358
|
isLoading: false;
|
|
@@ -42363,7 +42364,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42363
42364
|
dataUpdatedAt: number;
|
|
42364
42365
|
errorUpdatedAt: number;
|
|
42365
42366
|
failureCount: number;
|
|
42366
|
-
failureReason:
|
|
42367
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42367
42368
|
errorUpdateCount: number;
|
|
42368
42369
|
isFetched: boolean;
|
|
42369
42370
|
isFetchedAfterMount: boolean;
|
|
@@ -42377,7 +42378,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42377
42378
|
exact: number;
|
|
42378
42379
|
rounded: number | undefined;
|
|
42379
42380
|
sqrtPriceX96: bigint;
|
|
42380
|
-
},
|
|
42381
|
+
}, viem184.ReadContractErrorType>>;
|
|
42381
42382
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42382
42383
|
promise: Promise<{
|
|
42383
42384
|
exact: number;
|
|
@@ -42401,7 +42402,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42401
42402
|
dataUpdatedAt: number;
|
|
42402
42403
|
errorUpdatedAt: number;
|
|
42403
42404
|
failureCount: number;
|
|
42404
|
-
failureReason:
|
|
42405
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42405
42406
|
errorUpdateCount: number;
|
|
42406
42407
|
isFetched: boolean;
|
|
42407
42408
|
isFetchedAfterMount: boolean;
|
|
@@ -42415,7 +42416,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42415
42416
|
exact: number;
|
|
42416
42417
|
rounded: number | undefined;
|
|
42417
42418
|
sqrtPriceX96: bigint;
|
|
42418
|
-
},
|
|
42419
|
+
}, viem184.ReadContractErrorType>>;
|
|
42419
42420
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42420
42421
|
promise: Promise<{
|
|
42421
42422
|
exact: number;
|
|
@@ -42427,7 +42428,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42427
42428
|
rounded: number | undefined;
|
|
42428
42429
|
sqrtPriceX96: bigint | undefined;
|
|
42429
42430
|
} | {
|
|
42430
|
-
error:
|
|
42431
|
+
error: viem184.ReadContractErrorType;
|
|
42431
42432
|
isError: true;
|
|
42432
42433
|
isPending: false;
|
|
42433
42434
|
isLoading: false;
|
|
@@ -42439,7 +42440,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42439
42440
|
dataUpdatedAt: number;
|
|
42440
42441
|
errorUpdatedAt: number;
|
|
42441
42442
|
failureCount: number;
|
|
42442
|
-
failureReason:
|
|
42443
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42443
42444
|
errorUpdateCount: number;
|
|
42444
42445
|
isFetched: boolean;
|
|
42445
42446
|
isFetchedAfterMount: boolean;
|
|
@@ -42453,7 +42454,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42453
42454
|
exact: number;
|
|
42454
42455
|
rounded: number | undefined;
|
|
42455
42456
|
sqrtPriceX96: bigint;
|
|
42456
|
-
},
|
|
42457
|
+
}, viem184.ReadContractErrorType>>;
|
|
42457
42458
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42458
42459
|
promise: Promise<{
|
|
42459
42460
|
exact: number;
|
|
@@ -42477,7 +42478,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42477
42478
|
dataUpdatedAt: number;
|
|
42478
42479
|
errorUpdatedAt: number;
|
|
42479
42480
|
failureCount: number;
|
|
42480
|
-
failureReason:
|
|
42481
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42481
42482
|
errorUpdateCount: number;
|
|
42482
42483
|
isFetched: boolean;
|
|
42483
42484
|
isFetchedAfterMount: boolean;
|
|
@@ -42491,7 +42492,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42491
42492
|
exact: number;
|
|
42492
42493
|
rounded: number | undefined;
|
|
42493
42494
|
sqrtPriceX96: bigint;
|
|
42494
|
-
},
|
|
42495
|
+
}, viem184.ReadContractErrorType>>;
|
|
42495
42496
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42496
42497
|
promise: Promise<{
|
|
42497
42498
|
exact: number;
|
|
@@ -42514,7 +42515,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42514
42515
|
dataUpdatedAt: number;
|
|
42515
42516
|
errorUpdatedAt: number;
|
|
42516
42517
|
failureCount: number;
|
|
42517
|
-
failureReason:
|
|
42518
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42518
42519
|
errorUpdateCount: number;
|
|
42519
42520
|
isFetched: boolean;
|
|
42520
42521
|
isFetchedAfterMount: boolean;
|
|
@@ -42529,7 +42530,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42529
42530
|
exact: number;
|
|
42530
42531
|
rounded: number | undefined;
|
|
42531
42532
|
sqrtPriceX96: bigint;
|
|
42532
|
-
},
|
|
42533
|
+
}, viem184.ReadContractErrorType>>;
|
|
42533
42534
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42534
42535
|
promise: Promise<{
|
|
42535
42536
|
exact: number;
|
|
@@ -42553,7 +42554,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42553
42554
|
dataUpdatedAt: number;
|
|
42554
42555
|
errorUpdatedAt: number;
|
|
42555
42556
|
failureCount: number;
|
|
42556
|
-
failureReason:
|
|
42557
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42557
42558
|
errorUpdateCount: number;
|
|
42558
42559
|
isFetched: boolean;
|
|
42559
42560
|
isFetchedAfterMount: boolean;
|
|
@@ -42567,7 +42568,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42567
42568
|
exact: number;
|
|
42568
42569
|
rounded: number | undefined;
|
|
42569
42570
|
sqrtPriceX96: bigint;
|
|
42570
|
-
},
|
|
42571
|
+
}, viem184.ReadContractErrorType>>;
|
|
42571
42572
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42572
42573
|
promise: Promise<{
|
|
42573
42574
|
exact: number;
|
|
@@ -42608,7 +42609,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
42608
42609
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
42609
42610
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
42610
42611
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
42611
|
-
error:
|
|
42612
|
+
error: viem184.ReadContractErrorType;
|
|
42612
42613
|
isError: true;
|
|
42613
42614
|
isPending: false;
|
|
42614
42615
|
isLoading: false;
|
|
@@ -42620,7 +42621,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42620
42621
|
dataUpdatedAt: number;
|
|
42621
42622
|
errorUpdatedAt: number;
|
|
42622
42623
|
failureCount: number;
|
|
42623
|
-
failureReason:
|
|
42624
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42624
42625
|
errorUpdateCount: number;
|
|
42625
42626
|
isFetched: boolean;
|
|
42626
42627
|
isFetchedAfterMount: boolean;
|
|
@@ -42640,7 +42641,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42640
42641
|
totalAmount1: bigint;
|
|
42641
42642
|
borrowedAmount0: bigint;
|
|
42642
42643
|
borrowedAmount1: bigint;
|
|
42643
|
-
}[],
|
|
42644
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42644
42645
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42645
42646
|
promise: Promise<readonly {
|
|
42646
42647
|
tickLower: number;
|
|
@@ -42678,7 +42679,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42678
42679
|
dataUpdatedAt: number;
|
|
42679
42680
|
errorUpdatedAt: number;
|
|
42680
42681
|
failureCount: number;
|
|
42681
|
-
failureReason:
|
|
42682
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42682
42683
|
errorUpdateCount: number;
|
|
42683
42684
|
isFetched: boolean;
|
|
42684
42685
|
isFetchedAfterMount: boolean;
|
|
@@ -42698,7 +42699,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42698
42699
|
totalAmount1: bigint;
|
|
42699
42700
|
borrowedAmount0: bigint;
|
|
42700
42701
|
borrowedAmount1: bigint;
|
|
42701
|
-
}[],
|
|
42702
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42702
42703
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42703
42704
|
promise: Promise<readonly {
|
|
42704
42705
|
tickLower: number;
|
|
@@ -42724,7 +42725,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42724
42725
|
borrowedAmount1: bigint;
|
|
42725
42726
|
}[];
|
|
42726
42727
|
} | {
|
|
42727
|
-
error:
|
|
42728
|
+
error: viem184.ReadContractErrorType;
|
|
42728
42729
|
isError: true;
|
|
42729
42730
|
isPending: false;
|
|
42730
42731
|
isLoading: false;
|
|
@@ -42736,7 +42737,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42736
42737
|
dataUpdatedAt: number;
|
|
42737
42738
|
errorUpdatedAt: number;
|
|
42738
42739
|
failureCount: number;
|
|
42739
|
-
failureReason:
|
|
42740
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42740
42741
|
errorUpdateCount: number;
|
|
42741
42742
|
isFetched: boolean;
|
|
42742
42743
|
isFetchedAfterMount: boolean;
|
|
@@ -42756,7 +42757,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42756
42757
|
totalAmount1: bigint;
|
|
42757
42758
|
borrowedAmount0: bigint;
|
|
42758
42759
|
borrowedAmount1: bigint;
|
|
42759
|
-
}[],
|
|
42760
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42760
42761
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42761
42762
|
promise: Promise<readonly {
|
|
42762
42763
|
tickLower: number;
|
|
@@ -42794,7 +42795,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42794
42795
|
dataUpdatedAt: number;
|
|
42795
42796
|
errorUpdatedAt: number;
|
|
42796
42797
|
failureCount: number;
|
|
42797
|
-
failureReason:
|
|
42798
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42798
42799
|
errorUpdateCount: number;
|
|
42799
42800
|
isFetched: boolean;
|
|
42800
42801
|
isFetchedAfterMount: boolean;
|
|
@@ -42814,7 +42815,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42814
42815
|
totalAmount1: bigint;
|
|
42815
42816
|
borrowedAmount0: bigint;
|
|
42816
42817
|
borrowedAmount1: bigint;
|
|
42817
|
-
}[],
|
|
42818
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42818
42819
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42819
42820
|
promise: Promise<readonly {
|
|
42820
42821
|
tickLower: number;
|
|
@@ -42851,7 +42852,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42851
42852
|
dataUpdatedAt: number;
|
|
42852
42853
|
errorUpdatedAt: number;
|
|
42853
42854
|
failureCount: number;
|
|
42854
|
-
failureReason:
|
|
42855
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42855
42856
|
errorUpdateCount: number;
|
|
42856
42857
|
isFetched: boolean;
|
|
42857
42858
|
isFetchedAfterMount: boolean;
|
|
@@ -42872,7 +42873,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42872
42873
|
totalAmount1: bigint;
|
|
42873
42874
|
borrowedAmount0: bigint;
|
|
42874
42875
|
borrowedAmount1: bigint;
|
|
42875
|
-
}[],
|
|
42876
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42876
42877
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42877
42878
|
promise: Promise<readonly {
|
|
42878
42879
|
tickLower: number;
|
|
@@ -42910,7 +42911,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42910
42911
|
dataUpdatedAt: number;
|
|
42911
42912
|
errorUpdatedAt: number;
|
|
42912
42913
|
failureCount: number;
|
|
42913
|
-
failureReason:
|
|
42914
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42914
42915
|
errorUpdateCount: number;
|
|
42915
42916
|
isFetched: boolean;
|
|
42916
42917
|
isFetchedAfterMount: boolean;
|
|
@@ -42930,7 +42931,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42930
42931
|
totalAmount1: bigint;
|
|
42931
42932
|
borrowedAmount0: bigint;
|
|
42932
42933
|
borrowedAmount1: bigint;
|
|
42933
|
-
}[],
|
|
42934
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42934
42935
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42935
42936
|
promise: Promise<readonly {
|
|
42936
42937
|
tickLower: number;
|
|
@@ -43001,7 +43002,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
43001
43002
|
borrowed0: Amount;
|
|
43002
43003
|
borrowed1: Amount;
|
|
43003
43004
|
blocksCount: bigint;
|
|
43004
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
43005
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem184.ReadContractErrorType>>;
|
|
43005
43006
|
};
|
|
43006
43007
|
//#endregion
|
|
43007
43008
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
@@ -43014,7 +43015,7 @@ declare const useTokenData: (tokenAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
|
43014
43015
|
//#endregion
|
|
43015
43016
|
//#region src/hooks/tokens/useTokenBalance.d.ts
|
|
43016
43017
|
declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
43017
|
-
error:
|
|
43018
|
+
error: viem184.ReadContractErrorType;
|
|
43018
43019
|
isError: true;
|
|
43019
43020
|
isPending: false;
|
|
43020
43021
|
isLoading: false;
|
|
@@ -43026,7 +43027,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43026
43027
|
dataUpdatedAt: number;
|
|
43027
43028
|
errorUpdatedAt: number;
|
|
43028
43029
|
failureCount: number;
|
|
43029
|
-
failureReason:
|
|
43030
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43030
43031
|
errorUpdateCount: number;
|
|
43031
43032
|
isFetched: boolean;
|
|
43032
43033
|
isFetchedAfterMount: boolean;
|
|
@@ -43036,7 +43037,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43036
43037
|
isRefetching: boolean;
|
|
43037
43038
|
isStale: boolean;
|
|
43038
43039
|
isEnabled: boolean;
|
|
43039
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43040
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43040
43041
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43041
43042
|
promise: Promise<bigint>;
|
|
43042
43043
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -43054,7 +43055,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43054
43055
|
dataUpdatedAt: number;
|
|
43055
43056
|
errorUpdatedAt: number;
|
|
43056
43057
|
failureCount: number;
|
|
43057
|
-
failureReason:
|
|
43058
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43058
43059
|
errorUpdateCount: number;
|
|
43059
43060
|
isFetched: boolean;
|
|
43060
43061
|
isFetchedAfterMount: boolean;
|
|
@@ -43064,13 +43065,13 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43064
43065
|
isRefetching: boolean;
|
|
43065
43066
|
isStale: boolean;
|
|
43066
43067
|
isEnabled: boolean;
|
|
43067
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43068
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43068
43069
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43069
43070
|
promise: Promise<bigint>;
|
|
43070
43071
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
43071
43072
|
data: Amount | undefined;
|
|
43072
43073
|
} | {
|
|
43073
|
-
error:
|
|
43074
|
+
error: viem184.ReadContractErrorType;
|
|
43074
43075
|
isError: true;
|
|
43075
43076
|
isPending: false;
|
|
43076
43077
|
isLoading: false;
|
|
@@ -43082,7 +43083,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43082
43083
|
dataUpdatedAt: number;
|
|
43083
43084
|
errorUpdatedAt: number;
|
|
43084
43085
|
failureCount: number;
|
|
43085
|
-
failureReason:
|
|
43086
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43086
43087
|
errorUpdateCount: number;
|
|
43087
43088
|
isFetched: boolean;
|
|
43088
43089
|
isFetchedAfterMount: boolean;
|
|
@@ -43092,7 +43093,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43092
43093
|
isRefetching: boolean;
|
|
43093
43094
|
isStale: boolean;
|
|
43094
43095
|
isEnabled: boolean;
|
|
43095
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43096
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43096
43097
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43097
43098
|
promise: Promise<bigint>;
|
|
43098
43099
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -43110,7 +43111,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43110
43111
|
dataUpdatedAt: number;
|
|
43111
43112
|
errorUpdatedAt: number;
|
|
43112
43113
|
failureCount: number;
|
|
43113
|
-
failureReason:
|
|
43114
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43114
43115
|
errorUpdateCount: number;
|
|
43115
43116
|
isFetched: boolean;
|
|
43116
43117
|
isFetchedAfterMount: boolean;
|
|
@@ -43120,7 +43121,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43120
43121
|
isRefetching: boolean;
|
|
43121
43122
|
isStale: boolean;
|
|
43122
43123
|
isEnabled: boolean;
|
|
43123
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43124
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43124
43125
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43125
43126
|
promise: Promise<bigint>;
|
|
43126
43127
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -43137,7 +43138,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43137
43138
|
dataUpdatedAt: number;
|
|
43138
43139
|
errorUpdatedAt: number;
|
|
43139
43140
|
failureCount: number;
|
|
43140
|
-
failureReason:
|
|
43141
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43141
43142
|
errorUpdateCount: number;
|
|
43142
43143
|
isFetched: boolean;
|
|
43143
43144
|
isFetchedAfterMount: boolean;
|
|
@@ -43148,7 +43149,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43148
43149
|
isRefetching: boolean;
|
|
43149
43150
|
isStale: boolean;
|
|
43150
43151
|
isEnabled: boolean;
|
|
43151
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43152
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43152
43153
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43153
43154
|
promise: Promise<bigint>;
|
|
43154
43155
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -43166,7 +43167,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43166
43167
|
dataUpdatedAt: number;
|
|
43167
43168
|
errorUpdatedAt: number;
|
|
43168
43169
|
failureCount: number;
|
|
43169
|
-
failureReason:
|
|
43170
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43170
43171
|
errorUpdateCount: number;
|
|
43171
43172
|
isFetched: boolean;
|
|
43172
43173
|
isFetchedAfterMount: boolean;
|
|
@@ -43176,7 +43177,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43176
43177
|
isRefetching: boolean;
|
|
43177
43178
|
isStale: boolean;
|
|
43178
43179
|
isEnabled: boolean;
|
|
43179
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43180
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43180
43181
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43181
43182
|
promise: Promise<bigint>;
|
|
43182
43183
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -43196,7 +43197,7 @@ declare const useApproval: () => {
|
|
|
43196
43197
|
declare const useLens: () => {
|
|
43197
43198
|
timelockLens: {
|
|
43198
43199
|
read: {
|
|
43199
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
43200
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
43200
43201
|
readonly type: "function";
|
|
43201
43202
|
readonly name: "batchGetRefTick";
|
|
43202
43203
|
readonly inputs: readonly [{
|
|
@@ -43897,7 +43898,7 @@ declare const useLens: () => {
|
|
|
43897
43898
|
}];
|
|
43898
43899
|
readonly stateMutability: "view";
|
|
43899
43900
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
43900
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
43901
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
43901
43902
|
readonly type: "function";
|
|
43902
43903
|
readonly name: "batchGetRefTick";
|
|
43903
43904
|
readonly inputs: readonly [{
|
|
@@ -44608,7 +44609,7 @@ declare const useLens: () => {
|
|
|
44608
44609
|
borrowedAmount0: bigint;
|
|
44609
44610
|
borrowedAmount1: bigint;
|
|
44610
44611
|
}[]>;
|
|
44611
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
44612
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
44612
44613
|
readonly type: "function";
|
|
44613
44614
|
readonly name: "batchGetRefTick";
|
|
44614
44615
|
readonly inputs: readonly [{
|
|
@@ -45319,7 +45320,7 @@ declare const useLens: () => {
|
|
|
45319
45320
|
expiresAt: number;
|
|
45320
45321
|
liquidities: readonly bigint[];
|
|
45321
45322
|
}[], bigint, boolean]>;
|
|
45322
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
45323
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
45323
45324
|
readonly type: "function";
|
|
45324
45325
|
readonly name: "batchGetRefTick";
|
|
45325
45326
|
readonly inputs: readonly [{
|
|
@@ -46020,7 +46021,7 @@ declare const useLens: () => {
|
|
|
46020
46021
|
}];
|
|
46021
46022
|
readonly stateMutability: "view";
|
|
46022
46023
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
46023
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
46024
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
46024
46025
|
readonly type: "function";
|
|
46025
46026
|
readonly name: "batchGetRefTick";
|
|
46026
46027
|
readonly inputs: readonly [{
|
|
@@ -46741,7 +46742,7 @@ declare const useLens: () => {
|
|
|
46741
46742
|
payoutAssetName: string;
|
|
46742
46743
|
optionsCount: bigint;
|
|
46743
46744
|
}>;
|
|
46744
|
-
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?:
|
|
46745
|
+
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
46745
46746
|
readonly type: "function";
|
|
46746
46747
|
readonly name: "batchGetRefTick";
|
|
46747
46748
|
readonly inputs: readonly [{
|
|
@@ -47442,7 +47443,7 @@ declare const useLens: () => {
|
|
|
47442
47443
|
}];
|
|
47443
47444
|
readonly stateMutability: "view";
|
|
47444
47445
|
}], "getMaxATMSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
47445
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
47446
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
47446
47447
|
readonly type: "function";
|
|
47447
47448
|
readonly name: "batchGetRefTick";
|
|
47448
47449
|
readonly inputs: readonly [{
|
|
@@ -48143,7 +48144,7 @@ declare const useLens: () => {
|
|
|
48143
48144
|
}];
|
|
48144
48145
|
readonly stateMutability: "view";
|
|
48145
48146
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
48146
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
48147
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
48147
48148
|
readonly type: "function";
|
|
48148
48149
|
readonly name: "batchGetRefTick";
|
|
48149
48150
|
readonly inputs: readonly [{
|
|
@@ -48844,7 +48845,7 @@ declare const useLens: () => {
|
|
|
48844
48845
|
}];
|
|
48845
48846
|
readonly stateMutability: "view";
|
|
48846
48847
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
48847
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
48848
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
48848
48849
|
readonly type: "function";
|
|
48849
48850
|
readonly name: "batchGetRefTick";
|
|
48850
48851
|
readonly inputs: readonly [{
|
|
@@ -49555,7 +49556,7 @@ declare const useLens: () => {
|
|
|
49555
49556
|
expiresAt: number;
|
|
49556
49557
|
liquidities: readonly bigint[];
|
|
49557
49558
|
}>;
|
|
49558
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
49559
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
49559
49560
|
readonly type: "function";
|
|
49560
49561
|
readonly name: "batchGetRefTick";
|
|
49561
49562
|
readonly inputs: readonly [{
|
|
@@ -50272,7 +50273,7 @@ declare const useLens: () => {
|
|
|
50272
50273
|
fee: number;
|
|
50273
50274
|
tickSpacing: number;
|
|
50274
50275
|
hooks: `0x${string}`;
|
|
50275
|
-
}], options?:
|
|
50276
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
50276
50277
|
readonly type: "function";
|
|
50277
50278
|
readonly name: "batchGetRefTick";
|
|
50278
50279
|
readonly inputs: readonly [{
|
|
@@ -50990,7 +50991,7 @@ declare const useLens: () => {
|
|
|
50990
50991
|
tickSpacing: number;
|
|
50991
50992
|
fee: number;
|
|
50992
50993
|
}>;
|
|
50993
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
50994
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
50994
50995
|
readonly type: "function";
|
|
50995
50996
|
readonly name: "batchGetRefTick";
|
|
50996
50997
|
readonly inputs: readonly [{
|
|
@@ -51691,7 +51692,7 @@ declare const useLens: () => {
|
|
|
51691
51692
|
}];
|
|
51692
51693
|
readonly stateMutability: "view";
|
|
51693
51694
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
51694
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
51695
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
51695
51696
|
readonly type: "function";
|
|
51696
51697
|
readonly name: "batchGetRefTick";
|
|
51697
51698
|
readonly inputs: readonly [{
|
|
@@ -52396,7 +52397,7 @@ declare const useLens: () => {
|
|
|
52396
52397
|
symbol: string;
|
|
52397
52398
|
name: string;
|
|
52398
52399
|
}>;
|
|
52399
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
52400
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
52400
52401
|
readonly type: "function";
|
|
52401
52402
|
readonly name: "batchGetRefTick";
|
|
52402
52403
|
readonly inputs: readonly [{
|
|
@@ -53107,7 +53108,7 @@ declare const useLens: () => {
|
|
|
53107
53108
|
expiresAt: number;
|
|
53108
53109
|
liquidities: readonly bigint[];
|
|
53109
53110
|
}[], bigint, boolean]>;
|
|
53110
|
-
getVaultData: (args: readonly [`0x${string}`], options?:
|
|
53111
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
53111
53112
|
readonly type: "function";
|
|
53112
53113
|
readonly name: "batchGetRefTick";
|
|
53113
53114
|
readonly inputs: readonly [{
|
|
@@ -53817,7 +53818,7 @@ declare const useLens: () => {
|
|
|
53817
53818
|
hooks: `0x${string}`;
|
|
53818
53819
|
};
|
|
53819
53820
|
}>;
|
|
53820
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
53821
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
53821
53822
|
readonly type: "function";
|
|
53822
53823
|
readonly name: "batchGetRefTick";
|
|
53823
53824
|
readonly inputs: readonly [{
|
|
@@ -55224,7 +55225,7 @@ declare const useLens: () => {
|
|
|
55224
55225
|
} | undefined;
|
|
55225
55226
|
stateView: {
|
|
55226
55227
|
read: {
|
|
55227
|
-
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
55228
|
+
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
55228
55229
|
readonly type: "function";
|
|
55229
55230
|
readonly name: "getFeeGrowthGlobals";
|
|
55230
55231
|
readonly inputs: readonly [{
|
|
@@ -56071,7 +56072,7 @@ declare const useLens: () => {
|
|
|
56071
56072
|
fee: number;
|
|
56072
56073
|
tickSpacing: number;
|
|
56073
56074
|
hooks: `0x${string}`;
|
|
56074
|
-
}], options?:
|
|
56075
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
56075
56076
|
readonly type: "function";
|
|
56076
56077
|
readonly name: "getFeeGrowthGlobals";
|
|
56077
56078
|
readonly inputs: readonly [{
|
|
@@ -56913,7 +56914,7 @@ declare const useLens: () => {
|
|
|
56913
56914
|
tickSpacing: number;
|
|
56914
56915
|
hooks: `0x${string}`;
|
|
56915
56916
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
56916
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?:
|
|
56917
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
56917
56918
|
readonly type: "function";
|
|
56918
56919
|
readonly name: "getFeeGrowthGlobals";
|
|
56919
56920
|
readonly inputs: readonly [{
|
|
@@ -57760,7 +57761,7 @@ declare const useLens: () => {
|
|
|
57760
57761
|
fee: number;
|
|
57761
57762
|
tickSpacing: number;
|
|
57762
57763
|
hooks: `0x${string}`;
|
|
57763
|
-
}, number, number], options?:
|
|
57764
|
+
}, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
57764
57765
|
readonly type: "function";
|
|
57765
57766
|
readonly name: "getFeeGrowthGlobals";
|
|
57766
57767
|
readonly inputs: readonly [{
|
|
@@ -58602,7 +58603,7 @@ declare const useLens: () => {
|
|
|
58602
58603
|
tickSpacing: number;
|
|
58603
58604
|
hooks: `0x${string}`;
|
|
58604
58605
|
}, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
58605
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
58606
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
58606
58607
|
readonly type: "function";
|
|
58607
58608
|
readonly name: "getFeeGrowthGlobals";
|
|
58608
58609
|
readonly inputs: readonly [{
|
|
@@ -59449,7 +59450,7 @@ declare const useLens: () => {
|
|
|
59449
59450
|
fee: number;
|
|
59450
59451
|
tickSpacing: number;
|
|
59451
59452
|
hooks: `0x${string}`;
|
|
59452
|
-
}], options?:
|
|
59453
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
59453
59454
|
readonly type: "function";
|
|
59454
59455
|
readonly name: "getFeeGrowthGlobals";
|
|
59455
59456
|
readonly inputs: readonly [{
|
|
@@ -60291,7 +60292,7 @@ declare const useLens: () => {
|
|
|
60291
60292
|
tickSpacing: number;
|
|
60292
60293
|
hooks: `0x${string}`;
|
|
60293
60294
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
60294
|
-
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
60295
|
+
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
60295
60296
|
readonly type: "function";
|
|
60296
60297
|
readonly name: "getFeeGrowthGlobals";
|
|
60297
60298
|
readonly inputs: readonly [{
|
|
@@ -61138,7 +61139,7 @@ declare const useLens: () => {
|
|
|
61138
61139
|
fee: number;
|
|
61139
61140
|
tickSpacing: number;
|
|
61140
61141
|
hooks: `0x${string}`;
|
|
61141
|
-
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?:
|
|
61142
|
+
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
61142
61143
|
readonly type: "function";
|
|
61143
61144
|
readonly name: "getFeeGrowthGlobals";
|
|
61144
61145
|
readonly inputs: readonly [{
|
|
@@ -61991,7 +61992,7 @@ declare const useLens: () => {
|
|
|
61991
61992
|
fee: number;
|
|
61992
61993
|
tickSpacing: number;
|
|
61993
61994
|
hooks: `0x${string}`;
|
|
61994
|
-
}, `0x${string}`], options?:
|
|
61995
|
+
}, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
61995
61996
|
readonly type: "function";
|
|
61996
61997
|
readonly name: "getFeeGrowthGlobals";
|
|
61997
61998
|
readonly inputs: readonly [{
|
|
@@ -62844,7 +62845,7 @@ declare const useLens: () => {
|
|
|
62844
62845
|
fee: number;
|
|
62845
62846
|
tickSpacing: number;
|
|
62846
62847
|
hooks: `0x${string}`;
|
|
62847
|
-
}, `0x${string}`, number, number, `0x${string}`], options?:
|
|
62848
|
+
}, `0x${string}`, number, number, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
62848
62849
|
readonly type: "function";
|
|
62849
62850
|
readonly name: "getFeeGrowthGlobals";
|
|
62850
62851
|
readonly inputs: readonly [{
|
|
@@ -63692,7 +63693,7 @@ declare const useLens: () => {
|
|
|
63692
63693
|
tickSpacing: number;
|
|
63693
63694
|
hooks: `0x${string}`;
|
|
63694
63695
|
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
63695
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
63696
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
63696
63697
|
readonly type: "function";
|
|
63697
63698
|
readonly name: "getFeeGrowthGlobals";
|
|
63698
63699
|
readonly inputs: readonly [{
|
|
@@ -64539,7 +64540,7 @@ declare const useLens: () => {
|
|
|
64539
64540
|
fee: number;
|
|
64540
64541
|
tickSpacing: number;
|
|
64541
64542
|
hooks: `0x${string}`;
|
|
64542
|
-
}, `0x${string}`], options?:
|
|
64543
|
+
}, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
64543
64544
|
readonly type: "function";
|
|
64544
64545
|
readonly name: "getFeeGrowthGlobals";
|
|
64545
64546
|
readonly inputs: readonly [{
|
|
@@ -65381,7 +65382,7 @@ declare const useLens: () => {
|
|
|
65381
65382
|
tickSpacing: number;
|
|
65382
65383
|
hooks: `0x${string}`;
|
|
65383
65384
|
}, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
65384
|
-
getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
65385
|
+
getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
65385
65386
|
readonly type: "function";
|
|
65386
65387
|
readonly name: "getFeeGrowthGlobals";
|
|
65387
65388
|
readonly inputs: readonly [{
|
|
@@ -66228,7 +66229,7 @@ declare const useLens: () => {
|
|
|
66228
66229
|
fee: number;
|
|
66229
66230
|
tickSpacing: number;
|
|
66230
66231
|
hooks: `0x${string}`;
|
|
66231
|
-
}], options?:
|
|
66232
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
66232
66233
|
readonly type: "function";
|
|
66233
66234
|
readonly name: "getFeeGrowthGlobals";
|
|
66234
66235
|
readonly inputs: readonly [{
|
|
@@ -67070,7 +67071,7 @@ declare const useLens: () => {
|
|
|
67070
67071
|
tickSpacing: number;
|
|
67071
67072
|
hooks: `0x${string}`;
|
|
67072
67073
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
67073
|
-
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
67074
|
+
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
67074
67075
|
readonly type: "function";
|
|
67075
67076
|
readonly name: "getFeeGrowthGlobals";
|
|
67076
67077
|
readonly inputs: readonly [{
|
|
@@ -67917,7 +67918,7 @@ declare const useLens: () => {
|
|
|
67917
67918
|
fee: number;
|
|
67918
67919
|
tickSpacing: number;
|
|
67919
67920
|
hooks: `0x${string}`;
|
|
67920
|
-
}, number], options?:
|
|
67921
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
67921
67922
|
readonly type: "function";
|
|
67922
67923
|
readonly name: "getFeeGrowthGlobals";
|
|
67923
67924
|
readonly inputs: readonly [{
|
|
@@ -68759,7 +68760,7 @@ declare const useLens: () => {
|
|
|
68759
68760
|
tickSpacing: number;
|
|
68760
68761
|
hooks: `0x${string}`;
|
|
68761
68762
|
}, number] | readonly [`0x${string}`, `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
68762
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
68763
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
68763
68764
|
readonly type: "function";
|
|
68764
68765
|
readonly name: "getFeeGrowthGlobals";
|
|
68765
68766
|
readonly inputs: readonly [{
|
|
@@ -69606,7 +69607,7 @@ declare const useLens: () => {
|
|
|
69606
69607
|
fee: number;
|
|
69607
69608
|
tickSpacing: number;
|
|
69608
69609
|
hooks: `0x${string}`;
|
|
69609
|
-
}, number], options?:
|
|
69610
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
69610
69611
|
readonly type: "function";
|
|
69611
69612
|
readonly name: "getFeeGrowthGlobals";
|
|
69612
69613
|
readonly inputs: readonly [{
|
|
@@ -70448,7 +70449,7 @@ declare const useLens: () => {
|
|
|
70448
70449
|
tickSpacing: number;
|
|
70449
70450
|
hooks: `0x${string}`;
|
|
70450
70451
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
70451
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
70452
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
70452
70453
|
readonly type: "function";
|
|
70453
70454
|
readonly name: "getFeeGrowthGlobals";
|
|
70454
70455
|
readonly inputs: readonly [{
|
|
@@ -71295,7 +71296,7 @@ declare const useLens: () => {
|
|
|
71295
71296
|
fee: number;
|
|
71296
71297
|
tickSpacing: number;
|
|
71297
71298
|
hooks: `0x${string}`;
|
|
71298
|
-
}, number], options?:
|
|
71299
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
71299
71300
|
readonly type: "function";
|
|
71300
71301
|
readonly name: "getFeeGrowthGlobals";
|
|
71301
71302
|
readonly inputs: readonly [{
|
|
@@ -72137,7 +72138,7 @@ declare const useLens: () => {
|
|
|
72137
72138
|
tickSpacing: number;
|
|
72138
72139
|
hooks: `0x${string}`;
|
|
72139
72140
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
72140
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
72141
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
72141
72142
|
readonly type: "function";
|
|
72142
72143
|
readonly name: "getFeeGrowthGlobals";
|
|
72143
72144
|
readonly inputs: readonly [{
|
|
@@ -72984,7 +72985,7 @@ declare const useLens: () => {
|
|
|
72984
72985
|
fee: number;
|
|
72985
72986
|
tickSpacing: number;
|
|
72986
72987
|
hooks: `0x${string}`;
|
|
72987
|
-
}, number], options?:
|
|
72988
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
72988
72989
|
readonly type: "function";
|
|
72989
72990
|
readonly name: "getFeeGrowthGlobals";
|
|
72990
72991
|
readonly inputs: readonly [{
|
|
@@ -74667,5 +74668,5 @@ declare const useLens: () => {
|
|
|
74667
74668
|
} | undefined;
|
|
74668
74669
|
};
|
|
74669
74670
|
//#endregion
|
|
74670
|
-
export { ExerciseOptionEvent as $, getTickAtPrice as A, TimelockProvider as At, PriceDataPoint as B, getTimelockMarket as Bt, getPayoutAtTick as C, zero as Ct, getPriceAtSqrtPriceX96 as D, OptionData as Dt, getNearestValidStrikeTick as E, useExerciseOption as Et, token0ToToken1 as F, TimelockMarketData as Ft, useUserOperators as G, getCurrentPrice as H,
|
|
74671
|
-
//# sourceMappingURL=client-
|
|
74671
|
+
export { ExerciseOptionEvent as $, getTickAtPrice as A, TimelockProvider as At, PriceDataPoint as B, getTimelockMarket as Bt, getPayoutAtTick as C, zero as Ct, getPriceAtSqrtPriceX96 as D, OptionData as Dt, getNearestValidStrikeTick as E, useExerciseOption as Et, token0ToToken1 as F, TimelockMarketData as Ft, useUserOperators as G, getCurrentPrice as H, swapRouters as Ht, token0ToToken1AtTick as I, UniswapMathLens as It, useClosedUserPerps as J, useOperatorPerms as K, token1ToToken0 as L, getErc20 as Lt, liquiditiesToAmount1 as M, useTimelockConfig as Mt, liquiditiesToAmounts as N, TimelockLens as Nt, getPriceAtTick as O, useActiveUserOptions as Ot, roundTick as P, TimelockMarket as Pt, useMintPerp as Q, token1ToToken0AtTick as R, getStateView as Rt, getPayoutAtPrice as S, wrapPriceUnscaled as St, getAmountsFromLiquidity as T, useMarketData as Tt, getPriceHistory as U, swappers as Ut, PriceResolution as V, stateViews as Vt, useSetOperatorPerms as W, timelockLenses as Wt, usePerpsOperator as X, useUserPerps as Y, useClosePerp as Z, useCurrentTick as _, unscaleAmount as _t, useTokenData as a, useOptionPremium as at, UniswapPoolData as b, wrapAmountUnscaled as bt, batchGetAmountsFromLiquidity as c, useMaxPositionSize as ct, useLiquidityBlocks as d, formatAmount as dt, ExtendEvent as et, useBurnLiquidity as f, formatCondensed as ft, usePriceAtTick as g, scalePrice as gt, usePriceAtSqrtPriceX96 as h, scaleAmount as ht, TokenData as i, useExtendOption as it, liquiditiesToAmount0 as j, useCurrentMarket as jt, getSqrtPriceX96AtPrice as k, useClosedUserOptions as kt, useMintLiquidity as l, Amount as lt, usePriceHistory as m, formatVagueAmount as mt, useApproval as n, OptionEvent as nt, useVaultTVL as o, useOptionPnl as ot, useMarketPriceHistory as p, formatUSD as pt, useActiveUserPerps as q, useTokenBalance as r, useOptionTimeline as rt, useVaultData as s, useMintOption as st, useLens as t, MintOptionEvent as tt, LiquidityBlockData as u, EMPTY_ARRAY as ut, useCurrentPrice as v, unscalePrice as vt, PRICE_PRECISION as w, useMarketVolume as wt, usePoolData as x, wrapPrice as xt, PoolKey as y, wrapAmount as yt, PriceData as z, getTimelockLens as zt };
|
|
74672
|
+
//# sourceMappingURL=client-FNWYyxxl.d.cts.map
|