timelock-sdk 0.0.154 → 0.0.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +1 -1
- package/dist/{client-Czhi5lSG.d.ts → client-DfG9023x.d.ts} +3271 -526
- package/dist/{client-Dug-JH14.d.cts → client-L8_H45kU.d.cts} +3271 -526
- package/dist/client.cjs +16 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/client.js +16 -3
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-mVijJiqG.js → optionUtils-B7EA45zY.js} +3 -3
- package/dist/{optionUtils-mVijJiqG.js.map → optionUtils-B7EA45zY.js.map} +1 -1
- package/dist/{optionUtils-CbB06NF6.cjs → optionUtils-Daz9iARj.cjs} +3 -3
- package/dist/{optionUtils-CbB06NF6.cjs.map → optionUtils-Daz9iARj.cjs.map} +1 -1
- package/dist/{optionsMarket-Bs6Pf2pL.js → optionsMarket-CT26uUTa.js} +38 -6
- package/dist/optionsMarket-CT26uUTa.js.map +1 -0
- package/dist/{optionsMarket-BXnAfG3Q.cjs → optionsMarket-T7r7iDKa.cjs} +38 -6
- package/dist/optionsMarket-T7r7iDKa.cjs.map +1 -0
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{uniswapMathLens-y9EJ9LnG.d.cts → uniswapMathLens-DNbMIHSs.d.ts} +32 -5
- package/dist/{uniswapMathLens-BeaDNApk.d.ts → uniswapMathLens-DT3TTcQa.d.cts} +32 -5
- package/package.json +1 -1
- package/dist/optionsMarket-BXnAfG3Q.cjs.map +0 -1
- package/dist/optionsMarket-Bs6Pf2pL.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-DNbMIHSs.js";
|
|
2
2
|
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
@@ -427,7 +427,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
427
427
|
}];
|
|
428
428
|
readonly stateMutability: "nonpayable";
|
|
429
429
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
430
|
-
|
|
430
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
431
431
|
readonly type: "constructor";
|
|
432
432
|
readonly inputs: readonly [{
|
|
433
433
|
readonly name: "name_";
|
|
@@ -605,8 +605,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
605
605
|
readonly internalType: "bool";
|
|
606
606
|
}];
|
|
607
607
|
readonly stateMutability: "nonpayable";
|
|
608
|
-
}], "
|
|
609
|
-
|
|
608
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
609
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
610
610
|
readonly type: "constructor";
|
|
611
611
|
readonly inputs: readonly [{
|
|
612
612
|
readonly name: "name_";
|
|
@@ -784,8 +784,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
784
784
|
readonly internalType: "bool";
|
|
785
785
|
}];
|
|
786
786
|
readonly stateMutability: "nonpayable";
|
|
787
|
-
}], "
|
|
788
|
-
|
|
787
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
788
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
789
789
|
readonly type: "constructor";
|
|
790
790
|
readonly inputs: readonly [{
|
|
791
791
|
readonly name: "name_";
|
|
@@ -963,8 +963,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
963
963
|
readonly internalType: "bool";
|
|
964
964
|
}];
|
|
965
965
|
readonly stateMutability: "nonpayable";
|
|
966
|
-
}], "
|
|
967
|
-
|
|
966
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
967
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
968
968
|
readonly type: "constructor";
|
|
969
969
|
readonly inputs: readonly [{
|
|
970
970
|
readonly name: "name_";
|
|
@@ -1142,7 +1142,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1142
1142
|
readonly internalType: "bool";
|
|
1143
1143
|
}];
|
|
1144
1144
|
readonly stateMutability: "nonpayable";
|
|
1145
|
-
}], "
|
|
1145
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
1146
1146
|
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1147
1147
|
readonly type: "constructor";
|
|
1148
1148
|
readonly inputs: readonly [{
|
|
@@ -25571,6 +25571,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25571
25571
|
readonly internalType: "bool";
|
|
25572
25572
|
}];
|
|
25573
25573
|
readonly stateMutability: "view";
|
|
25574
|
+
}, {
|
|
25575
|
+
readonly type: "function";
|
|
25576
|
+
readonly name: "getFeeRates";
|
|
25577
|
+
readonly inputs: readonly [{
|
|
25578
|
+
readonly name: "feeStrategy";
|
|
25579
|
+
readonly type: "address";
|
|
25580
|
+
readonly internalType: "contract FeeStrategy";
|
|
25581
|
+
}];
|
|
25582
|
+
readonly outputs: readonly [{
|
|
25583
|
+
readonly name: "rates";
|
|
25584
|
+
readonly type: "tuple";
|
|
25585
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
25586
|
+
readonly components: readonly [{
|
|
25587
|
+
readonly name: "openingFeeRate";
|
|
25588
|
+
readonly type: "uint32";
|
|
25589
|
+
readonly internalType: "uint32";
|
|
25590
|
+
}, {
|
|
25591
|
+
readonly name: "baseFeeRate";
|
|
25592
|
+
readonly type: "uint32";
|
|
25593
|
+
readonly internalType: "uint32";
|
|
25594
|
+
}, {
|
|
25595
|
+
readonly name: "minOpeningFee";
|
|
25596
|
+
readonly type: "uint128";
|
|
25597
|
+
readonly internalType: "uint128";
|
|
25598
|
+
}, {
|
|
25599
|
+
readonly name: "minBaseFee";
|
|
25600
|
+
readonly type: "uint128";
|
|
25601
|
+
readonly internalType: "uint128";
|
|
25602
|
+
}];
|
|
25603
|
+
}];
|
|
25604
|
+
readonly stateMutability: "view";
|
|
25574
25605
|
}, {
|
|
25575
25606
|
readonly type: "function";
|
|
25576
25607
|
readonly name: "getGlobalGuardianState";
|
|
@@ -25756,10 +25787,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25756
25787
|
readonly name: "feeStrategy";
|
|
25757
25788
|
readonly type: "address";
|
|
25758
25789
|
readonly internalType: "address";
|
|
25759
|
-
}, {
|
|
25760
|
-
readonly name: "feeRecipient";
|
|
25761
|
-
readonly type: "address";
|
|
25762
|
-
readonly internalType: "address";
|
|
25763
25790
|
}, {
|
|
25764
25791
|
readonly name: "owner";
|
|
25765
25792
|
readonly type: "address";
|
|
@@ -26396,6 +26423,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26396
26423
|
readonly internalType: "bool";
|
|
26397
26424
|
}];
|
|
26398
26425
|
readonly stateMutability: "view";
|
|
26426
|
+
}, {
|
|
26427
|
+
readonly type: "function";
|
|
26428
|
+
readonly name: "getFeeRates";
|
|
26429
|
+
readonly inputs: readonly [{
|
|
26430
|
+
readonly name: "feeStrategy";
|
|
26431
|
+
readonly type: "address";
|
|
26432
|
+
readonly internalType: "contract FeeStrategy";
|
|
26433
|
+
}];
|
|
26434
|
+
readonly outputs: readonly [{
|
|
26435
|
+
readonly name: "rates";
|
|
26436
|
+
readonly type: "tuple";
|
|
26437
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
26438
|
+
readonly components: readonly [{
|
|
26439
|
+
readonly name: "openingFeeRate";
|
|
26440
|
+
readonly type: "uint32";
|
|
26441
|
+
readonly internalType: "uint32";
|
|
26442
|
+
}, {
|
|
26443
|
+
readonly name: "baseFeeRate";
|
|
26444
|
+
readonly type: "uint32";
|
|
26445
|
+
readonly internalType: "uint32";
|
|
26446
|
+
}, {
|
|
26447
|
+
readonly name: "minOpeningFee";
|
|
26448
|
+
readonly type: "uint128";
|
|
26449
|
+
readonly internalType: "uint128";
|
|
26450
|
+
}, {
|
|
26451
|
+
readonly name: "minBaseFee";
|
|
26452
|
+
readonly type: "uint128";
|
|
26453
|
+
readonly internalType: "uint128";
|
|
26454
|
+
}];
|
|
26455
|
+
}];
|
|
26456
|
+
readonly stateMutability: "view";
|
|
26399
26457
|
}, {
|
|
26400
26458
|
readonly type: "function";
|
|
26401
26459
|
readonly name: "getGlobalGuardianState";
|
|
@@ -26581,10 +26639,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26581
26639
|
readonly name: "feeStrategy";
|
|
26582
26640
|
readonly type: "address";
|
|
26583
26641
|
readonly internalType: "address";
|
|
26584
|
-
}, {
|
|
26585
|
-
readonly name: "feeRecipient";
|
|
26586
|
-
readonly type: "address";
|
|
26587
|
-
readonly internalType: "address";
|
|
26588
26642
|
}, {
|
|
26589
26643
|
readonly name: "owner";
|
|
26590
26644
|
readonly type: "address";
|
|
@@ -27233,6 +27287,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27233
27287
|
readonly internalType: "bool";
|
|
27234
27288
|
}];
|
|
27235
27289
|
readonly stateMutability: "view";
|
|
27290
|
+
}, {
|
|
27291
|
+
readonly type: "function";
|
|
27292
|
+
readonly name: "getFeeRates";
|
|
27293
|
+
readonly inputs: readonly [{
|
|
27294
|
+
readonly name: "feeStrategy";
|
|
27295
|
+
readonly type: "address";
|
|
27296
|
+
readonly internalType: "contract FeeStrategy";
|
|
27297
|
+
}];
|
|
27298
|
+
readonly outputs: readonly [{
|
|
27299
|
+
readonly name: "rates";
|
|
27300
|
+
readonly type: "tuple";
|
|
27301
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
27302
|
+
readonly components: readonly [{
|
|
27303
|
+
readonly name: "openingFeeRate";
|
|
27304
|
+
readonly type: "uint32";
|
|
27305
|
+
readonly internalType: "uint32";
|
|
27306
|
+
}, {
|
|
27307
|
+
readonly name: "baseFeeRate";
|
|
27308
|
+
readonly type: "uint32";
|
|
27309
|
+
readonly internalType: "uint32";
|
|
27310
|
+
}, {
|
|
27311
|
+
readonly name: "minOpeningFee";
|
|
27312
|
+
readonly type: "uint128";
|
|
27313
|
+
readonly internalType: "uint128";
|
|
27314
|
+
}, {
|
|
27315
|
+
readonly name: "minBaseFee";
|
|
27316
|
+
readonly type: "uint128";
|
|
27317
|
+
readonly internalType: "uint128";
|
|
27318
|
+
}];
|
|
27319
|
+
}];
|
|
27320
|
+
readonly stateMutability: "view";
|
|
27236
27321
|
}, {
|
|
27237
27322
|
readonly type: "function";
|
|
27238
27323
|
readonly name: "getGlobalGuardianState";
|
|
@@ -27418,10 +27503,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27418
27503
|
readonly name: "feeStrategy";
|
|
27419
27504
|
readonly type: "address";
|
|
27420
27505
|
readonly internalType: "address";
|
|
27421
|
-
}, {
|
|
27422
|
-
readonly name: "feeRecipient";
|
|
27423
|
-
readonly type: "address";
|
|
27424
|
-
readonly internalType: "address";
|
|
27425
27506
|
}, {
|
|
27426
27507
|
readonly name: "owner";
|
|
27427
27508
|
readonly type: "address";
|
|
@@ -27924,7 +28005,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27924
28005
|
expiresAt: number;
|
|
27925
28006
|
liquidities: readonly bigint[];
|
|
27926
28007
|
}[], bigint, boolean]>;
|
|
27927
|
-
|
|
28008
|
+
getFeeRates: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27928
28009
|
readonly type: "function";
|
|
27929
28010
|
readonly name: "batchGetRefTick";
|
|
27930
28011
|
readonly inputs: readonly [{
|
|
@@ -28068,6 +28149,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28068
28149
|
readonly internalType: "bool";
|
|
28069
28150
|
}];
|
|
28070
28151
|
readonly stateMutability: "view";
|
|
28152
|
+
}, {
|
|
28153
|
+
readonly type: "function";
|
|
28154
|
+
readonly name: "getFeeRates";
|
|
28155
|
+
readonly inputs: readonly [{
|
|
28156
|
+
readonly name: "feeStrategy";
|
|
28157
|
+
readonly type: "address";
|
|
28158
|
+
readonly internalType: "contract FeeStrategy";
|
|
28159
|
+
}];
|
|
28160
|
+
readonly outputs: readonly [{
|
|
28161
|
+
readonly name: "rates";
|
|
28162
|
+
readonly type: "tuple";
|
|
28163
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
28164
|
+
readonly components: readonly [{
|
|
28165
|
+
readonly name: "openingFeeRate";
|
|
28166
|
+
readonly type: "uint32";
|
|
28167
|
+
readonly internalType: "uint32";
|
|
28168
|
+
}, {
|
|
28169
|
+
readonly name: "baseFeeRate";
|
|
28170
|
+
readonly type: "uint32";
|
|
28171
|
+
readonly internalType: "uint32";
|
|
28172
|
+
}, {
|
|
28173
|
+
readonly name: "minOpeningFee";
|
|
28174
|
+
readonly type: "uint128";
|
|
28175
|
+
readonly internalType: "uint128";
|
|
28176
|
+
}, {
|
|
28177
|
+
readonly name: "minBaseFee";
|
|
28178
|
+
readonly type: "uint128";
|
|
28179
|
+
readonly internalType: "uint128";
|
|
28180
|
+
}];
|
|
28181
|
+
}];
|
|
28182
|
+
readonly stateMutability: "view";
|
|
28071
28183
|
}, {
|
|
28072
28184
|
readonly type: "function";
|
|
28073
28185
|
readonly name: "getGlobalGuardianState";
|
|
@@ -28253,10 +28365,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28253
28365
|
readonly name: "feeStrategy";
|
|
28254
28366
|
readonly type: "address";
|
|
28255
28367
|
readonly internalType: "address";
|
|
28256
|
-
}, {
|
|
28257
|
-
readonly name: "feeRecipient";
|
|
28258
|
-
readonly type: "address";
|
|
28259
|
-
readonly internalType: "address";
|
|
28260
28368
|
}, {
|
|
28261
28369
|
readonly name: "owner";
|
|
28262
28370
|
readonly type: "address";
|
|
@@ -28748,24 +28856,13 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28748
28856
|
readonly internalType: "uint256";
|
|
28749
28857
|
}];
|
|
28750
28858
|
readonly stateMutability: "view";
|
|
28751
|
-
}], "
|
|
28752
|
-
|
|
28753
|
-
|
|
28754
|
-
|
|
28755
|
-
|
|
28756
|
-
globalBurnPaused: {
|
|
28757
|
-
paused: boolean;
|
|
28758
|
-
updatedAt: bigint;
|
|
28759
|
-
};
|
|
28760
|
-
globalTradingPaused: {
|
|
28761
|
-
paused: boolean;
|
|
28762
|
-
updatedAt: bigint;
|
|
28763
|
-
};
|
|
28764
|
-
minWithdrawalInterval: bigint;
|
|
28765
|
-
senderIsAdmin: boolean;
|
|
28766
|
-
senderIsPauser: boolean;
|
|
28859
|
+
}], "getFeeRates", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
28860
|
+
openingFeeRate: number;
|
|
28861
|
+
baseFeeRate: number;
|
|
28862
|
+
minOpeningFee: bigint;
|
|
28863
|
+
minBaseFee: bigint;
|
|
28767
28864
|
}>;
|
|
28768
|
-
|
|
28865
|
+
getGlobalGuardianState: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28769
28866
|
readonly type: "function";
|
|
28770
28867
|
readonly name: "batchGetRefTick";
|
|
28771
28868
|
readonly inputs: readonly [{
|
|
@@ -28909,6 +29006,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28909
29006
|
readonly internalType: "bool";
|
|
28910
29007
|
}];
|
|
28911
29008
|
readonly stateMutability: "view";
|
|
29009
|
+
}, {
|
|
29010
|
+
readonly type: "function";
|
|
29011
|
+
readonly name: "getFeeRates";
|
|
29012
|
+
readonly inputs: readonly [{
|
|
29013
|
+
readonly name: "feeStrategy";
|
|
29014
|
+
readonly type: "address";
|
|
29015
|
+
readonly internalType: "contract FeeStrategy";
|
|
29016
|
+
}];
|
|
29017
|
+
readonly outputs: readonly [{
|
|
29018
|
+
readonly name: "rates";
|
|
29019
|
+
readonly type: "tuple";
|
|
29020
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
29021
|
+
readonly components: readonly [{
|
|
29022
|
+
readonly name: "openingFeeRate";
|
|
29023
|
+
readonly type: "uint32";
|
|
29024
|
+
readonly internalType: "uint32";
|
|
29025
|
+
}, {
|
|
29026
|
+
readonly name: "baseFeeRate";
|
|
29027
|
+
readonly type: "uint32";
|
|
29028
|
+
readonly internalType: "uint32";
|
|
29029
|
+
}, {
|
|
29030
|
+
readonly name: "minOpeningFee";
|
|
29031
|
+
readonly type: "uint128";
|
|
29032
|
+
readonly internalType: "uint128";
|
|
29033
|
+
}, {
|
|
29034
|
+
readonly name: "minBaseFee";
|
|
29035
|
+
readonly type: "uint128";
|
|
29036
|
+
readonly internalType: "uint128";
|
|
29037
|
+
}];
|
|
29038
|
+
}];
|
|
29039
|
+
readonly stateMutability: "view";
|
|
28912
29040
|
}, {
|
|
28913
29041
|
readonly type: "function";
|
|
28914
29042
|
readonly name: "getGlobalGuardianState";
|
|
@@ -29094,10 +29222,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29094
29222
|
readonly name: "feeStrategy";
|
|
29095
29223
|
readonly type: "address";
|
|
29096
29224
|
readonly internalType: "address";
|
|
29097
|
-
}, {
|
|
29098
|
-
readonly name: "feeRecipient";
|
|
29099
|
-
readonly type: "address";
|
|
29100
|
-
readonly internalType: "address";
|
|
29101
29225
|
}, {
|
|
29102
29226
|
readonly name: "owner";
|
|
29103
29227
|
readonly type: "address";
|
|
@@ -29589,8 +29713,24 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29589
29713
|
readonly internalType: "uint256";
|
|
29590
29714
|
}];
|
|
29591
29715
|
readonly stateMutability: "view";
|
|
29592
|
-
}], "
|
|
29593
|
-
|
|
29716
|
+
}], "getGlobalGuardianState", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
29717
|
+
globalMintPaused: {
|
|
29718
|
+
paused: boolean;
|
|
29719
|
+
updatedAt: bigint;
|
|
29720
|
+
};
|
|
29721
|
+
globalBurnPaused: {
|
|
29722
|
+
paused: boolean;
|
|
29723
|
+
updatedAt: bigint;
|
|
29724
|
+
};
|
|
29725
|
+
globalTradingPaused: {
|
|
29726
|
+
paused: boolean;
|
|
29727
|
+
updatedAt: bigint;
|
|
29728
|
+
};
|
|
29729
|
+
minWithdrawalInterval: bigint;
|
|
29730
|
+
senderIsAdmin: boolean;
|
|
29731
|
+
senderIsPauser: boolean;
|
|
29732
|
+
}>;
|
|
29733
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29594
29734
|
readonly type: "function";
|
|
29595
29735
|
readonly name: "batchGetRefTick";
|
|
29596
29736
|
readonly inputs: readonly [{
|
|
@@ -29734,6 +29874,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29734
29874
|
readonly internalType: "bool";
|
|
29735
29875
|
}];
|
|
29736
29876
|
readonly stateMutability: "view";
|
|
29877
|
+
}, {
|
|
29878
|
+
readonly type: "function";
|
|
29879
|
+
readonly name: "getFeeRates";
|
|
29880
|
+
readonly inputs: readonly [{
|
|
29881
|
+
readonly name: "feeStrategy";
|
|
29882
|
+
readonly type: "address";
|
|
29883
|
+
readonly internalType: "contract FeeStrategy";
|
|
29884
|
+
}];
|
|
29885
|
+
readonly outputs: readonly [{
|
|
29886
|
+
readonly name: "rates";
|
|
29887
|
+
readonly type: "tuple";
|
|
29888
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
29889
|
+
readonly components: readonly [{
|
|
29890
|
+
readonly name: "openingFeeRate";
|
|
29891
|
+
readonly type: "uint32";
|
|
29892
|
+
readonly internalType: "uint32";
|
|
29893
|
+
}, {
|
|
29894
|
+
readonly name: "baseFeeRate";
|
|
29895
|
+
readonly type: "uint32";
|
|
29896
|
+
readonly internalType: "uint32";
|
|
29897
|
+
}, {
|
|
29898
|
+
readonly name: "minOpeningFee";
|
|
29899
|
+
readonly type: "uint128";
|
|
29900
|
+
readonly internalType: "uint128";
|
|
29901
|
+
}, {
|
|
29902
|
+
readonly name: "minBaseFee";
|
|
29903
|
+
readonly type: "uint128";
|
|
29904
|
+
readonly internalType: "uint128";
|
|
29905
|
+
}];
|
|
29906
|
+
}];
|
|
29907
|
+
readonly stateMutability: "view";
|
|
29737
29908
|
}, {
|
|
29738
29909
|
readonly type: "function";
|
|
29739
29910
|
readonly name: "getGlobalGuardianState";
|
|
@@ -29919,10 +30090,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29919
30090
|
readonly name: "feeStrategy";
|
|
29920
30091
|
readonly type: "address";
|
|
29921
30092
|
readonly internalType: "address";
|
|
29922
|
-
}, {
|
|
29923
|
-
readonly name: "feeRecipient";
|
|
29924
|
-
readonly type: "address";
|
|
29925
|
-
readonly internalType: "address";
|
|
29926
30093
|
}, {
|
|
29927
30094
|
readonly name: "owner";
|
|
29928
30095
|
readonly type: "address";
|
|
@@ -30414,33 +30581,8 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30414
30581
|
readonly internalType: "uint256";
|
|
30415
30582
|
}];
|
|
30416
30583
|
readonly stateMutability: "view";
|
|
30417
|
-
}], "
|
|
30418
|
-
|
|
30419
|
-
vault: `0x${string}`;
|
|
30420
|
-
poolManager: `0x${string}`;
|
|
30421
|
-
poolKey: {
|
|
30422
|
-
currency0: `0x${string}`;
|
|
30423
|
-
currency1: `0x${string}`;
|
|
30424
|
-
fee: number;
|
|
30425
|
-
tickSpacing: number;
|
|
30426
|
-
hooks: `0x${string}`;
|
|
30427
|
-
};
|
|
30428
|
-
optionAsset: `0x${string}`;
|
|
30429
|
-
payoutAsset: `0x${string}`;
|
|
30430
|
-
optionAssetDecimals: number;
|
|
30431
|
-
payoutAssetDecimals: number;
|
|
30432
|
-
optionAssetSymbol: string;
|
|
30433
|
-
payoutAssetSymbol: string;
|
|
30434
|
-
optionAssetName: string;
|
|
30435
|
-
payoutAssetName: string;
|
|
30436
|
-
optionsCount: bigint;
|
|
30437
|
-
guardian: `0x${string}`;
|
|
30438
|
-
optionPricing: `0x${string}`;
|
|
30439
|
-
feeStrategy: `0x${string}`;
|
|
30440
|
-
feeRecipient: `0x${string}`;
|
|
30441
|
-
owner: `0x${string}`;
|
|
30442
|
-
}>;
|
|
30443
|
-
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30584
|
+
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
30585
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30444
30586
|
readonly type: "function";
|
|
30445
30587
|
readonly name: "batchGetRefTick";
|
|
30446
30588
|
readonly inputs: readonly [{
|
|
@@ -30584,6 +30726,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30584
30726
|
readonly internalType: "bool";
|
|
30585
30727
|
}];
|
|
30586
30728
|
readonly stateMutability: "view";
|
|
30729
|
+
}, {
|
|
30730
|
+
readonly type: "function";
|
|
30731
|
+
readonly name: "getFeeRates";
|
|
30732
|
+
readonly inputs: readonly [{
|
|
30733
|
+
readonly name: "feeStrategy";
|
|
30734
|
+
readonly type: "address";
|
|
30735
|
+
readonly internalType: "contract FeeStrategy";
|
|
30736
|
+
}];
|
|
30737
|
+
readonly outputs: readonly [{
|
|
30738
|
+
readonly name: "rates";
|
|
30739
|
+
readonly type: "tuple";
|
|
30740
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
30741
|
+
readonly components: readonly [{
|
|
30742
|
+
readonly name: "openingFeeRate";
|
|
30743
|
+
readonly type: "uint32";
|
|
30744
|
+
readonly internalType: "uint32";
|
|
30745
|
+
}, {
|
|
30746
|
+
readonly name: "baseFeeRate";
|
|
30747
|
+
readonly type: "uint32";
|
|
30748
|
+
readonly internalType: "uint32";
|
|
30749
|
+
}, {
|
|
30750
|
+
readonly name: "minOpeningFee";
|
|
30751
|
+
readonly type: "uint128";
|
|
30752
|
+
readonly internalType: "uint128";
|
|
30753
|
+
}, {
|
|
30754
|
+
readonly name: "minBaseFee";
|
|
30755
|
+
readonly type: "uint128";
|
|
30756
|
+
readonly internalType: "uint128";
|
|
30757
|
+
}];
|
|
30758
|
+
}];
|
|
30759
|
+
readonly stateMutability: "view";
|
|
30587
30760
|
}, {
|
|
30588
30761
|
readonly type: "function";
|
|
30589
30762
|
readonly name: "getGlobalGuardianState";
|
|
@@ -30769,10 +30942,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30769
30942
|
readonly name: "feeStrategy";
|
|
30770
30943
|
readonly type: "address";
|
|
30771
30944
|
readonly internalType: "address";
|
|
30772
|
-
}, {
|
|
30773
|
-
readonly name: "feeRecipient";
|
|
30774
|
-
readonly type: "address";
|
|
30775
|
-
readonly internalType: "address";
|
|
30776
30945
|
}, {
|
|
30777
30946
|
readonly name: "owner";
|
|
30778
30947
|
readonly type: "address";
|
|
@@ -31264,8 +31433,32 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31264
31433
|
readonly internalType: "uint256";
|
|
31265
31434
|
}];
|
|
31266
31435
|
readonly stateMutability: "view";
|
|
31267
|
-
}], "
|
|
31268
|
-
|
|
31436
|
+
}], "getMarketData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
31437
|
+
optionAssetIsToken0: boolean;
|
|
31438
|
+
vault: `0x${string}`;
|
|
31439
|
+
poolManager: `0x${string}`;
|
|
31440
|
+
poolKey: {
|
|
31441
|
+
currency0: `0x${string}`;
|
|
31442
|
+
currency1: `0x${string}`;
|
|
31443
|
+
fee: number;
|
|
31444
|
+
tickSpacing: number;
|
|
31445
|
+
hooks: `0x${string}`;
|
|
31446
|
+
};
|
|
31447
|
+
optionAsset: `0x${string}`;
|
|
31448
|
+
payoutAsset: `0x${string}`;
|
|
31449
|
+
optionAssetDecimals: number;
|
|
31450
|
+
payoutAssetDecimals: number;
|
|
31451
|
+
optionAssetSymbol: string;
|
|
31452
|
+
payoutAssetSymbol: string;
|
|
31453
|
+
optionAssetName: string;
|
|
31454
|
+
payoutAssetName: string;
|
|
31455
|
+
optionsCount: bigint;
|
|
31456
|
+
guardian: `0x${string}`;
|
|
31457
|
+
optionPricing: `0x${string}`;
|
|
31458
|
+
feeStrategy: `0x${string}`;
|
|
31459
|
+
owner: `0x${string}`;
|
|
31460
|
+
}>;
|
|
31461
|
+
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
31269
31462
|
readonly type: "function";
|
|
31270
31463
|
readonly name: "batchGetRefTick";
|
|
31271
31464
|
readonly inputs: readonly [{
|
|
@@ -31409,6 +31602,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31409
31602
|
readonly internalType: "bool";
|
|
31410
31603
|
}];
|
|
31411
31604
|
readonly stateMutability: "view";
|
|
31605
|
+
}, {
|
|
31606
|
+
readonly type: "function";
|
|
31607
|
+
readonly name: "getFeeRates";
|
|
31608
|
+
readonly inputs: readonly [{
|
|
31609
|
+
readonly name: "feeStrategy";
|
|
31610
|
+
readonly type: "address";
|
|
31611
|
+
readonly internalType: "contract FeeStrategy";
|
|
31612
|
+
}];
|
|
31613
|
+
readonly outputs: readonly [{
|
|
31614
|
+
readonly name: "rates";
|
|
31615
|
+
readonly type: "tuple";
|
|
31616
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
31617
|
+
readonly components: readonly [{
|
|
31618
|
+
readonly name: "openingFeeRate";
|
|
31619
|
+
readonly type: "uint32";
|
|
31620
|
+
readonly internalType: "uint32";
|
|
31621
|
+
}, {
|
|
31622
|
+
readonly name: "baseFeeRate";
|
|
31623
|
+
readonly type: "uint32";
|
|
31624
|
+
readonly internalType: "uint32";
|
|
31625
|
+
}, {
|
|
31626
|
+
readonly name: "minOpeningFee";
|
|
31627
|
+
readonly type: "uint128";
|
|
31628
|
+
readonly internalType: "uint128";
|
|
31629
|
+
}, {
|
|
31630
|
+
readonly name: "minBaseFee";
|
|
31631
|
+
readonly type: "uint128";
|
|
31632
|
+
readonly internalType: "uint128";
|
|
31633
|
+
}];
|
|
31634
|
+
}];
|
|
31635
|
+
readonly stateMutability: "view";
|
|
31412
31636
|
}, {
|
|
31413
31637
|
readonly type: "function";
|
|
31414
31638
|
readonly name: "getGlobalGuardianState";
|
|
@@ -31594,10 +31818,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31594
31818
|
readonly name: "feeStrategy";
|
|
31595
31819
|
readonly type: "address";
|
|
31596
31820
|
readonly internalType: "address";
|
|
31597
|
-
}, {
|
|
31598
|
-
readonly name: "feeRecipient";
|
|
31599
|
-
readonly type: "address";
|
|
31600
|
-
readonly internalType: "address";
|
|
31601
31821
|
}, {
|
|
31602
31822
|
readonly name: "owner";
|
|
31603
31823
|
readonly type: "address";
|
|
@@ -32089,8 +32309,8 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32089
32309
|
readonly internalType: "uint256";
|
|
32090
32310
|
}];
|
|
32091
32311
|
readonly stateMutability: "view";
|
|
32092
|
-
}], "
|
|
32093
|
-
|
|
32312
|
+
}], "getMaxATMPositionSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
32313
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
32094
32314
|
readonly type: "function";
|
|
32095
32315
|
readonly name: "batchGetRefTick";
|
|
32096
32316
|
readonly inputs: readonly [{
|
|
@@ -32234,6 +32454,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32234
32454
|
readonly internalType: "bool";
|
|
32235
32455
|
}];
|
|
32236
32456
|
readonly stateMutability: "view";
|
|
32457
|
+
}, {
|
|
32458
|
+
readonly type: "function";
|
|
32459
|
+
readonly name: "getFeeRates";
|
|
32460
|
+
readonly inputs: readonly [{
|
|
32461
|
+
readonly name: "feeStrategy";
|
|
32462
|
+
readonly type: "address";
|
|
32463
|
+
readonly internalType: "contract FeeStrategy";
|
|
32464
|
+
}];
|
|
32465
|
+
readonly outputs: readonly [{
|
|
32466
|
+
readonly name: "rates";
|
|
32467
|
+
readonly type: "tuple";
|
|
32468
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
32469
|
+
readonly components: readonly [{
|
|
32470
|
+
readonly name: "openingFeeRate";
|
|
32471
|
+
readonly type: "uint32";
|
|
32472
|
+
readonly internalType: "uint32";
|
|
32473
|
+
}, {
|
|
32474
|
+
readonly name: "baseFeeRate";
|
|
32475
|
+
readonly type: "uint32";
|
|
32476
|
+
readonly internalType: "uint32";
|
|
32477
|
+
}, {
|
|
32478
|
+
readonly name: "minOpeningFee";
|
|
32479
|
+
readonly type: "uint128";
|
|
32480
|
+
readonly internalType: "uint128";
|
|
32481
|
+
}, {
|
|
32482
|
+
readonly name: "minBaseFee";
|
|
32483
|
+
readonly type: "uint128";
|
|
32484
|
+
readonly internalType: "uint128";
|
|
32485
|
+
}];
|
|
32486
|
+
}];
|
|
32487
|
+
readonly stateMutability: "view";
|
|
32237
32488
|
}, {
|
|
32238
32489
|
readonly type: "function";
|
|
32239
32490
|
readonly name: "getGlobalGuardianState";
|
|
@@ -32419,10 +32670,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32419
32670
|
readonly name: "feeStrategy";
|
|
32420
32671
|
readonly type: "address";
|
|
32421
32672
|
readonly internalType: "address";
|
|
32422
|
-
}, {
|
|
32423
|
-
readonly name: "feeRecipient";
|
|
32424
|
-
readonly type: "address";
|
|
32425
|
-
readonly internalType: "address";
|
|
32426
32673
|
}, {
|
|
32427
32674
|
readonly name: "owner";
|
|
32428
32675
|
readonly type: "address";
|
|
@@ -32914,8 +33161,8 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32914
33161
|
readonly internalType: "uint256";
|
|
32915
33162
|
}];
|
|
32916
33163
|
readonly stateMutability: "view";
|
|
32917
|
-
}], "
|
|
32918
|
-
|
|
33164
|
+
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
33165
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
32919
33166
|
readonly type: "function";
|
|
32920
33167
|
readonly name: "batchGetRefTick";
|
|
32921
33168
|
readonly inputs: readonly [{
|
|
@@ -33059,6 +33306,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33059
33306
|
readonly internalType: "bool";
|
|
33060
33307
|
}];
|
|
33061
33308
|
readonly stateMutability: "view";
|
|
33309
|
+
}, {
|
|
33310
|
+
readonly type: "function";
|
|
33311
|
+
readonly name: "getFeeRates";
|
|
33312
|
+
readonly inputs: readonly [{
|
|
33313
|
+
readonly name: "feeStrategy";
|
|
33314
|
+
readonly type: "address";
|
|
33315
|
+
readonly internalType: "contract FeeStrategy";
|
|
33316
|
+
}];
|
|
33317
|
+
readonly outputs: readonly [{
|
|
33318
|
+
readonly name: "rates";
|
|
33319
|
+
readonly type: "tuple";
|
|
33320
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
33321
|
+
readonly components: readonly [{
|
|
33322
|
+
readonly name: "openingFeeRate";
|
|
33323
|
+
readonly type: "uint32";
|
|
33324
|
+
readonly internalType: "uint32";
|
|
33325
|
+
}, {
|
|
33326
|
+
readonly name: "baseFeeRate";
|
|
33327
|
+
readonly type: "uint32";
|
|
33328
|
+
readonly internalType: "uint32";
|
|
33329
|
+
}, {
|
|
33330
|
+
readonly name: "minOpeningFee";
|
|
33331
|
+
readonly type: "uint128";
|
|
33332
|
+
readonly internalType: "uint128";
|
|
33333
|
+
}, {
|
|
33334
|
+
readonly name: "minBaseFee";
|
|
33335
|
+
readonly type: "uint128";
|
|
33336
|
+
readonly internalType: "uint128";
|
|
33337
|
+
}];
|
|
33338
|
+
}];
|
|
33339
|
+
readonly stateMutability: "view";
|
|
33062
33340
|
}, {
|
|
33063
33341
|
readonly type: "function";
|
|
33064
33342
|
readonly name: "getGlobalGuardianState";
|
|
@@ -33244,10 +33522,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33244
33522
|
readonly name: "feeStrategy";
|
|
33245
33523
|
readonly type: "address";
|
|
33246
33524
|
readonly internalType: "address";
|
|
33247
|
-
}, {
|
|
33248
|
-
readonly name: "feeRecipient";
|
|
33249
|
-
readonly type: "address";
|
|
33250
|
-
readonly internalType: "address";
|
|
33251
33525
|
}, {
|
|
33252
33526
|
readonly name: "owner";
|
|
33253
33527
|
readonly type: "address";
|
|
@@ -33739,8 +34013,8 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33739
34013
|
readonly internalType: "uint256";
|
|
33740
34014
|
}];
|
|
33741
34015
|
readonly stateMutability: "view";
|
|
33742
|
-
}], "
|
|
33743
|
-
|
|
34016
|
+
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
34017
|
+
getMaxPositionSizes: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
33744
34018
|
readonly type: "function";
|
|
33745
34019
|
readonly name: "batchGetRefTick";
|
|
33746
34020
|
readonly inputs: readonly [{
|
|
@@ -33884,6 +34158,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33884
34158
|
readonly internalType: "bool";
|
|
33885
34159
|
}];
|
|
33886
34160
|
readonly stateMutability: "view";
|
|
34161
|
+
}, {
|
|
34162
|
+
readonly type: "function";
|
|
34163
|
+
readonly name: "getFeeRates";
|
|
34164
|
+
readonly inputs: readonly [{
|
|
34165
|
+
readonly name: "feeStrategy";
|
|
34166
|
+
readonly type: "address";
|
|
34167
|
+
readonly internalType: "contract FeeStrategy";
|
|
34168
|
+
}];
|
|
34169
|
+
readonly outputs: readonly [{
|
|
34170
|
+
readonly name: "rates";
|
|
34171
|
+
readonly type: "tuple";
|
|
34172
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
34173
|
+
readonly components: readonly [{
|
|
34174
|
+
readonly name: "openingFeeRate";
|
|
34175
|
+
readonly type: "uint32";
|
|
34176
|
+
readonly internalType: "uint32";
|
|
34177
|
+
}, {
|
|
34178
|
+
readonly name: "baseFeeRate";
|
|
34179
|
+
readonly type: "uint32";
|
|
34180
|
+
readonly internalType: "uint32";
|
|
34181
|
+
}, {
|
|
34182
|
+
readonly name: "minOpeningFee";
|
|
34183
|
+
readonly type: "uint128";
|
|
34184
|
+
readonly internalType: "uint128";
|
|
34185
|
+
}, {
|
|
34186
|
+
readonly name: "minBaseFee";
|
|
34187
|
+
readonly type: "uint128";
|
|
34188
|
+
readonly internalType: "uint128";
|
|
34189
|
+
}];
|
|
34190
|
+
}];
|
|
34191
|
+
readonly stateMutability: "view";
|
|
33887
34192
|
}, {
|
|
33888
34193
|
readonly type: "function";
|
|
33889
34194
|
readonly name: "getGlobalGuardianState";
|
|
@@ -34069,10 +34374,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34069
34374
|
readonly name: "feeStrategy";
|
|
34070
34375
|
readonly type: "address";
|
|
34071
34376
|
readonly internalType: "address";
|
|
34072
|
-
}, {
|
|
34073
|
-
readonly name: "feeRecipient";
|
|
34074
|
-
readonly type: "address";
|
|
34075
|
-
readonly internalType: "address";
|
|
34076
34377
|
}, {
|
|
34077
34378
|
readonly name: "owner";
|
|
34078
34379
|
readonly type: "address";
|
|
@@ -34564,18 +34865,8 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34564
34865
|
readonly internalType: "uint256";
|
|
34565
34866
|
}];
|
|
34566
34867
|
readonly stateMutability: "view";
|
|
34567
|
-
}], "
|
|
34568
|
-
|
|
34569
|
-
owner: `0x${string}`;
|
|
34570
|
-
optionType: number;
|
|
34571
|
-
startTick: number;
|
|
34572
|
-
strikeTick: number;
|
|
34573
|
-
strikePrice: bigint;
|
|
34574
|
-
positionSize: bigint;
|
|
34575
|
-
expiresAt: number;
|
|
34576
|
-
liquidities: readonly bigint[];
|
|
34577
|
-
}>;
|
|
34578
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
34868
|
+
}], "getMaxPositionSizes", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
34869
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
34579
34870
|
readonly type: "function";
|
|
34580
34871
|
readonly name: "batchGetRefTick";
|
|
34581
34872
|
readonly inputs: readonly [{
|
|
@@ -34719,6 +35010,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34719
35010
|
readonly internalType: "bool";
|
|
34720
35011
|
}];
|
|
34721
35012
|
readonly stateMutability: "view";
|
|
35013
|
+
}, {
|
|
35014
|
+
readonly type: "function";
|
|
35015
|
+
readonly name: "getFeeRates";
|
|
35016
|
+
readonly inputs: readonly [{
|
|
35017
|
+
readonly name: "feeStrategy";
|
|
35018
|
+
readonly type: "address";
|
|
35019
|
+
readonly internalType: "contract FeeStrategy";
|
|
35020
|
+
}];
|
|
35021
|
+
readonly outputs: readonly [{
|
|
35022
|
+
readonly name: "rates";
|
|
35023
|
+
readonly type: "tuple";
|
|
35024
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
35025
|
+
readonly components: readonly [{
|
|
35026
|
+
readonly name: "openingFeeRate";
|
|
35027
|
+
readonly type: "uint32";
|
|
35028
|
+
readonly internalType: "uint32";
|
|
35029
|
+
}, {
|
|
35030
|
+
readonly name: "baseFeeRate";
|
|
35031
|
+
readonly type: "uint32";
|
|
35032
|
+
readonly internalType: "uint32";
|
|
35033
|
+
}, {
|
|
35034
|
+
readonly name: "minOpeningFee";
|
|
35035
|
+
readonly type: "uint128";
|
|
35036
|
+
readonly internalType: "uint128";
|
|
35037
|
+
}, {
|
|
35038
|
+
readonly name: "minBaseFee";
|
|
35039
|
+
readonly type: "uint128";
|
|
35040
|
+
readonly internalType: "uint128";
|
|
35041
|
+
}];
|
|
35042
|
+
}];
|
|
35043
|
+
readonly stateMutability: "view";
|
|
34722
35044
|
}, {
|
|
34723
35045
|
readonly type: "function";
|
|
34724
35046
|
readonly name: "getGlobalGuardianState";
|
|
@@ -34904,10 +35226,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34904
35226
|
readonly name: "feeStrategy";
|
|
34905
35227
|
readonly type: "address";
|
|
34906
35228
|
readonly internalType: "address";
|
|
34907
|
-
}, {
|
|
34908
|
-
readonly name: "feeRecipient";
|
|
34909
|
-
readonly type: "address";
|
|
34910
|
-
readonly internalType: "address";
|
|
34911
35229
|
}, {
|
|
34912
35230
|
readonly name: "owner";
|
|
34913
35231
|
readonly type: "address";
|
|
@@ -35399,7 +35717,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35399
35717
|
readonly internalType: "uint256";
|
|
35400
35718
|
}];
|
|
35401
35719
|
readonly stateMutability: "view";
|
|
35402
|
-
}], "
|
|
35720
|
+
}], "getOptionData", readonly [`0x${string}`, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
35403
35721
|
optionId: bigint;
|
|
35404
35722
|
owner: `0x${string}`;
|
|
35405
35723
|
optionType: number;
|
|
@@ -35409,14 +35727,8 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35409
35727
|
positionSize: bigint;
|
|
35410
35728
|
expiresAt: number;
|
|
35411
35729
|
liquidities: readonly bigint[];
|
|
35412
|
-
}
|
|
35413
|
-
|
|
35414
|
-
currency0: `0x${string}`;
|
|
35415
|
-
currency1: `0x${string}`;
|
|
35416
|
-
fee: number;
|
|
35417
|
-
tickSpacing: number;
|
|
35418
|
-
hooks: `0x${string}`;
|
|
35419
|
-
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
35730
|
+
}>;
|
|
35731
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
35420
35732
|
readonly type: "function";
|
|
35421
35733
|
readonly name: "batchGetRefTick";
|
|
35422
35734
|
readonly inputs: readonly [{
|
|
@@ -35560,6 +35872,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35560
35872
|
readonly internalType: "bool";
|
|
35561
35873
|
}];
|
|
35562
35874
|
readonly stateMutability: "view";
|
|
35875
|
+
}, {
|
|
35876
|
+
readonly type: "function";
|
|
35877
|
+
readonly name: "getFeeRates";
|
|
35878
|
+
readonly inputs: readonly [{
|
|
35879
|
+
readonly name: "feeStrategy";
|
|
35880
|
+
readonly type: "address";
|
|
35881
|
+
readonly internalType: "contract FeeStrategy";
|
|
35882
|
+
}];
|
|
35883
|
+
readonly outputs: readonly [{
|
|
35884
|
+
readonly name: "rates";
|
|
35885
|
+
readonly type: "tuple";
|
|
35886
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
35887
|
+
readonly components: readonly [{
|
|
35888
|
+
readonly name: "openingFeeRate";
|
|
35889
|
+
readonly type: "uint32";
|
|
35890
|
+
readonly internalType: "uint32";
|
|
35891
|
+
}, {
|
|
35892
|
+
readonly name: "baseFeeRate";
|
|
35893
|
+
readonly type: "uint32";
|
|
35894
|
+
readonly internalType: "uint32";
|
|
35895
|
+
}, {
|
|
35896
|
+
readonly name: "minOpeningFee";
|
|
35897
|
+
readonly type: "uint128";
|
|
35898
|
+
readonly internalType: "uint128";
|
|
35899
|
+
}, {
|
|
35900
|
+
readonly name: "minBaseFee";
|
|
35901
|
+
readonly type: "uint128";
|
|
35902
|
+
readonly internalType: "uint128";
|
|
35903
|
+
}];
|
|
35904
|
+
}];
|
|
35905
|
+
readonly stateMutability: "view";
|
|
35563
35906
|
}, {
|
|
35564
35907
|
readonly type: "function";
|
|
35565
35908
|
readonly name: "getGlobalGuardianState";
|
|
@@ -35745,10 +36088,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35745
36088
|
readonly name: "feeStrategy";
|
|
35746
36089
|
readonly type: "address";
|
|
35747
36090
|
readonly internalType: "address";
|
|
35748
|
-
}, {
|
|
35749
|
-
readonly name: "feeRecipient";
|
|
35750
|
-
readonly type: "address";
|
|
35751
|
-
readonly internalType: "address";
|
|
35752
36091
|
}, {
|
|
35753
36092
|
readonly name: "owner";
|
|
35754
36093
|
readonly type: "address";
|
|
@@ -36240,25 +36579,24 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36240
36579
|
readonly internalType: "uint256";
|
|
36241
36580
|
}];
|
|
36242
36581
|
readonly stateMutability: "view";
|
|
36243
|
-
}], "
|
|
36582
|
+
}], "getOptionsData", readonly [`0x${string}`, readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
36583
|
+
optionId: bigint;
|
|
36584
|
+
owner: `0x${string}`;
|
|
36585
|
+
optionType: number;
|
|
36586
|
+
startTick: number;
|
|
36587
|
+
strikeTick: number;
|
|
36588
|
+
strikePrice: bigint;
|
|
36589
|
+
positionSize: bigint;
|
|
36590
|
+
expiresAt: number;
|
|
36591
|
+
liquidities: readonly bigint[];
|
|
36592
|
+
}[]>;
|
|
36593
|
+
getPoolData: (args: readonly [`0x${string}`, {
|
|
36244
36594
|
currency0: `0x${string}`;
|
|
36245
36595
|
currency1: `0x${string}`;
|
|
36246
36596
|
fee: number;
|
|
36247
36597
|
tickSpacing: number;
|
|
36248
36598
|
hooks: `0x${string}`;
|
|
36249
|
-
}]
|
|
36250
|
-
token0: `0x${string}`;
|
|
36251
|
-
token1: `0x${string}`;
|
|
36252
|
-
token0Decimals: number;
|
|
36253
|
-
token1Decimals: number;
|
|
36254
|
-
token0Symbol: string;
|
|
36255
|
-
token1Symbol: string;
|
|
36256
|
-
token0Name: string;
|
|
36257
|
-
token1Name: string;
|
|
36258
|
-
tickSpacing: number;
|
|
36259
|
-
fee: number;
|
|
36260
|
-
}>;
|
|
36261
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36599
|
+
}], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36262
36600
|
readonly type: "function";
|
|
36263
36601
|
readonly name: "batchGetRefTick";
|
|
36264
36602
|
readonly inputs: readonly [{
|
|
@@ -36402,6 +36740,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36402
36740
|
readonly internalType: "bool";
|
|
36403
36741
|
}];
|
|
36404
36742
|
readonly stateMutability: "view";
|
|
36743
|
+
}, {
|
|
36744
|
+
readonly type: "function";
|
|
36745
|
+
readonly name: "getFeeRates";
|
|
36746
|
+
readonly inputs: readonly [{
|
|
36747
|
+
readonly name: "feeStrategy";
|
|
36748
|
+
readonly type: "address";
|
|
36749
|
+
readonly internalType: "contract FeeStrategy";
|
|
36750
|
+
}];
|
|
36751
|
+
readonly outputs: readonly [{
|
|
36752
|
+
readonly name: "rates";
|
|
36753
|
+
readonly type: "tuple";
|
|
36754
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
36755
|
+
readonly components: readonly [{
|
|
36756
|
+
readonly name: "openingFeeRate";
|
|
36757
|
+
readonly type: "uint32";
|
|
36758
|
+
readonly internalType: "uint32";
|
|
36759
|
+
}, {
|
|
36760
|
+
readonly name: "baseFeeRate";
|
|
36761
|
+
readonly type: "uint32";
|
|
36762
|
+
readonly internalType: "uint32";
|
|
36763
|
+
}, {
|
|
36764
|
+
readonly name: "minOpeningFee";
|
|
36765
|
+
readonly type: "uint128";
|
|
36766
|
+
readonly internalType: "uint128";
|
|
36767
|
+
}, {
|
|
36768
|
+
readonly name: "minBaseFee";
|
|
36769
|
+
readonly type: "uint128";
|
|
36770
|
+
readonly internalType: "uint128";
|
|
36771
|
+
}];
|
|
36772
|
+
}];
|
|
36773
|
+
readonly stateMutability: "view";
|
|
36405
36774
|
}, {
|
|
36406
36775
|
readonly type: "function";
|
|
36407
36776
|
readonly name: "getGlobalGuardianState";
|
|
@@ -36587,10 +36956,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36587
36956
|
readonly name: "feeStrategy";
|
|
36588
36957
|
readonly type: "address";
|
|
36589
36958
|
readonly internalType: "address";
|
|
36590
|
-
}, {
|
|
36591
|
-
readonly name: "feeRecipient";
|
|
36592
|
-
readonly type: "address";
|
|
36593
|
-
readonly internalType: "address";
|
|
36594
36959
|
}, {
|
|
36595
36960
|
readonly name: "owner";
|
|
36596
36961
|
readonly type: "address";
|
|
@@ -37082,8 +37447,25 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
37082
37447
|
readonly internalType: "uint256";
|
|
37083
37448
|
}];
|
|
37084
37449
|
readonly stateMutability: "view";
|
|
37085
|
-
}], "
|
|
37086
|
-
|
|
37450
|
+
}], "getPoolData", readonly [`0x${string}`, {
|
|
37451
|
+
currency0: `0x${string}`;
|
|
37452
|
+
currency1: `0x${string}`;
|
|
37453
|
+
fee: number;
|
|
37454
|
+
tickSpacing: number;
|
|
37455
|
+
hooks: `0x${string}`;
|
|
37456
|
+
}]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
37457
|
+
token0: `0x${string}`;
|
|
37458
|
+
token1: `0x${string}`;
|
|
37459
|
+
token0Decimals: number;
|
|
37460
|
+
token1Decimals: number;
|
|
37461
|
+
token0Symbol: string;
|
|
37462
|
+
token1Symbol: string;
|
|
37463
|
+
token0Name: string;
|
|
37464
|
+
token1Name: string;
|
|
37465
|
+
tickSpacing: number;
|
|
37466
|
+
fee: number;
|
|
37467
|
+
}>;
|
|
37468
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37087
37469
|
readonly type: "function";
|
|
37088
37470
|
readonly name: "batchGetRefTick";
|
|
37089
37471
|
readonly inputs: readonly [{
|
|
@@ -37227,6 +37609,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
37227
37609
|
readonly internalType: "bool";
|
|
37228
37610
|
}];
|
|
37229
37611
|
readonly stateMutability: "view";
|
|
37612
|
+
}, {
|
|
37613
|
+
readonly type: "function";
|
|
37614
|
+
readonly name: "getFeeRates";
|
|
37615
|
+
readonly inputs: readonly [{
|
|
37616
|
+
readonly name: "feeStrategy";
|
|
37617
|
+
readonly type: "address";
|
|
37618
|
+
readonly internalType: "contract FeeStrategy";
|
|
37619
|
+
}];
|
|
37620
|
+
readonly outputs: readonly [{
|
|
37621
|
+
readonly name: "rates";
|
|
37622
|
+
readonly type: "tuple";
|
|
37623
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
37624
|
+
readonly components: readonly [{
|
|
37625
|
+
readonly name: "openingFeeRate";
|
|
37626
|
+
readonly type: "uint32";
|
|
37627
|
+
readonly internalType: "uint32";
|
|
37628
|
+
}, {
|
|
37629
|
+
readonly name: "baseFeeRate";
|
|
37630
|
+
readonly type: "uint32";
|
|
37631
|
+
readonly internalType: "uint32";
|
|
37632
|
+
}, {
|
|
37633
|
+
readonly name: "minOpeningFee";
|
|
37634
|
+
readonly type: "uint128";
|
|
37635
|
+
readonly internalType: "uint128";
|
|
37636
|
+
}, {
|
|
37637
|
+
readonly name: "minBaseFee";
|
|
37638
|
+
readonly type: "uint128";
|
|
37639
|
+
readonly internalType: "uint128";
|
|
37640
|
+
}];
|
|
37641
|
+
}];
|
|
37642
|
+
readonly stateMutability: "view";
|
|
37230
37643
|
}, {
|
|
37231
37644
|
readonly type: "function";
|
|
37232
37645
|
readonly name: "getGlobalGuardianState";
|
|
@@ -37412,10 +37825,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
37412
37825
|
readonly name: "feeStrategy";
|
|
37413
37826
|
readonly type: "address";
|
|
37414
37827
|
readonly internalType: "address";
|
|
37415
|
-
}, {
|
|
37416
|
-
readonly name: "feeRecipient";
|
|
37417
|
-
readonly type: "address";
|
|
37418
|
-
readonly internalType: "address";
|
|
37419
37828
|
}, {
|
|
37420
37829
|
readonly name: "owner";
|
|
37421
37830
|
readonly type: "address";
|
|
@@ -37907,12 +38316,8 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
37907
38316
|
readonly internalType: "uint256";
|
|
37908
38317
|
}];
|
|
37909
38318
|
readonly stateMutability: "view";
|
|
37910
|
-
}], "
|
|
37911
|
-
|
|
37912
|
-
symbol: string;
|
|
37913
|
-
name: string;
|
|
37914
|
-
}>;
|
|
37915
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38319
|
+
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
38320
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37916
38321
|
readonly type: "function";
|
|
37917
38322
|
readonly name: "batchGetRefTick";
|
|
37918
38323
|
readonly inputs: readonly [{
|
|
@@ -38056,6 +38461,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
38056
38461
|
readonly internalType: "bool";
|
|
38057
38462
|
}];
|
|
38058
38463
|
readonly stateMutability: "view";
|
|
38464
|
+
}, {
|
|
38465
|
+
readonly type: "function";
|
|
38466
|
+
readonly name: "getFeeRates";
|
|
38467
|
+
readonly inputs: readonly [{
|
|
38468
|
+
readonly name: "feeStrategy";
|
|
38469
|
+
readonly type: "address";
|
|
38470
|
+
readonly internalType: "contract FeeStrategy";
|
|
38471
|
+
}];
|
|
38472
|
+
readonly outputs: readonly [{
|
|
38473
|
+
readonly name: "rates";
|
|
38474
|
+
readonly type: "tuple";
|
|
38475
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
38476
|
+
readonly components: readonly [{
|
|
38477
|
+
readonly name: "openingFeeRate";
|
|
38478
|
+
readonly type: "uint32";
|
|
38479
|
+
readonly internalType: "uint32";
|
|
38480
|
+
}, {
|
|
38481
|
+
readonly name: "baseFeeRate";
|
|
38482
|
+
readonly type: "uint32";
|
|
38483
|
+
readonly internalType: "uint32";
|
|
38484
|
+
}, {
|
|
38485
|
+
readonly name: "minOpeningFee";
|
|
38486
|
+
readonly type: "uint128";
|
|
38487
|
+
readonly internalType: "uint128";
|
|
38488
|
+
}, {
|
|
38489
|
+
readonly name: "minBaseFee";
|
|
38490
|
+
readonly type: "uint128";
|
|
38491
|
+
readonly internalType: "uint128";
|
|
38492
|
+
}];
|
|
38493
|
+
}];
|
|
38494
|
+
readonly stateMutability: "view";
|
|
38059
38495
|
}, {
|
|
38060
38496
|
readonly type: "function";
|
|
38061
38497
|
readonly name: "getGlobalGuardianState";
|
|
@@ -38241,10 +38677,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
38241
38677
|
readonly name: "feeStrategy";
|
|
38242
38678
|
readonly type: "address";
|
|
38243
38679
|
readonly internalType: "address";
|
|
38244
|
-
}, {
|
|
38245
|
-
readonly name: "feeRecipient";
|
|
38246
|
-
readonly type: "address";
|
|
38247
|
-
readonly internalType: "address";
|
|
38248
38680
|
}, {
|
|
38249
38681
|
readonly name: "owner";
|
|
38250
38682
|
readonly type: "address";
|
|
@@ -38736,18 +39168,12 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
38736
39168
|
readonly internalType: "uint256";
|
|
38737
39169
|
}];
|
|
38738
39170
|
readonly stateMutability: "view";
|
|
38739
|
-
}], "
|
|
38740
|
-
|
|
38741
|
-
|
|
38742
|
-
|
|
38743
|
-
|
|
38744
|
-
|
|
38745
|
-
strikePrice: bigint;
|
|
38746
|
-
positionSize: bigint;
|
|
38747
|
-
expiresAt: number;
|
|
38748
|
-
liquidities: readonly bigint[];
|
|
38749
|
-
}[], bigint, boolean]>;
|
|
38750
|
-
getVaultData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39171
|
+
}], "getTokenData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
39172
|
+
decimals: number;
|
|
39173
|
+
symbol: string;
|
|
39174
|
+
name: string;
|
|
39175
|
+
}>;
|
|
39176
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38751
39177
|
readonly type: "function";
|
|
38752
39178
|
readonly name: "batchGetRefTick";
|
|
38753
39179
|
readonly inputs: readonly [{
|
|
@@ -38891,6 +39317,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
38891
39317
|
readonly internalType: "bool";
|
|
38892
39318
|
}];
|
|
38893
39319
|
readonly stateMutability: "view";
|
|
39320
|
+
}, {
|
|
39321
|
+
readonly type: "function";
|
|
39322
|
+
readonly name: "getFeeRates";
|
|
39323
|
+
readonly inputs: readonly [{
|
|
39324
|
+
readonly name: "feeStrategy";
|
|
39325
|
+
readonly type: "address";
|
|
39326
|
+
readonly internalType: "contract FeeStrategy";
|
|
39327
|
+
}];
|
|
39328
|
+
readonly outputs: readonly [{
|
|
39329
|
+
readonly name: "rates";
|
|
39330
|
+
readonly type: "tuple";
|
|
39331
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
39332
|
+
readonly components: readonly [{
|
|
39333
|
+
readonly name: "openingFeeRate";
|
|
39334
|
+
readonly type: "uint32";
|
|
39335
|
+
readonly internalType: "uint32";
|
|
39336
|
+
}, {
|
|
39337
|
+
readonly name: "baseFeeRate";
|
|
39338
|
+
readonly type: "uint32";
|
|
39339
|
+
readonly internalType: "uint32";
|
|
39340
|
+
}, {
|
|
39341
|
+
readonly name: "minOpeningFee";
|
|
39342
|
+
readonly type: "uint128";
|
|
39343
|
+
readonly internalType: "uint128";
|
|
39344
|
+
}, {
|
|
39345
|
+
readonly name: "minBaseFee";
|
|
39346
|
+
readonly type: "uint128";
|
|
39347
|
+
readonly internalType: "uint128";
|
|
39348
|
+
}];
|
|
39349
|
+
}];
|
|
39350
|
+
readonly stateMutability: "view";
|
|
38894
39351
|
}, {
|
|
38895
39352
|
readonly type: "function";
|
|
38896
39353
|
readonly name: "getGlobalGuardianState";
|
|
@@ -39076,10 +39533,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
39076
39533
|
readonly name: "feeStrategy";
|
|
39077
39534
|
readonly type: "address";
|
|
39078
39535
|
readonly internalType: "address";
|
|
39079
|
-
}, {
|
|
39080
|
-
readonly name: "feeRecipient";
|
|
39081
|
-
readonly type: "address";
|
|
39082
|
-
readonly internalType: "address";
|
|
39083
39536
|
}, {
|
|
39084
39537
|
readonly name: "owner";
|
|
39085
39538
|
readonly type: "address";
|
|
@@ -39571,18 +40024,18 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
39571
40024
|
readonly internalType: "uint256";
|
|
39572
40025
|
}];
|
|
39573
40026
|
readonly stateMutability: "view";
|
|
39574
|
-
}], "
|
|
39575
|
-
|
|
39576
|
-
poolKey: {
|
|
39577
|
-
currency0: `0x${string}`;
|
|
39578
|
-
currency1: `0x${string}`;
|
|
39579
|
-
fee: number;
|
|
39580
|
-
tickSpacing: number;
|
|
39581
|
-
hooks: `0x${string}`;
|
|
39582
|
-
};
|
|
40027
|
+
}], "getUserOptions", readonly [`0x${string}`, `0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
40028
|
+
optionId: bigint;
|
|
39583
40029
|
owner: `0x${string}`;
|
|
39584
|
-
|
|
39585
|
-
|
|
40030
|
+
optionType: number;
|
|
40031
|
+
startTick: number;
|
|
40032
|
+
strikeTick: number;
|
|
40033
|
+
strikePrice: bigint;
|
|
40034
|
+
positionSize: bigint;
|
|
40035
|
+
expiresAt: number;
|
|
40036
|
+
liquidities: readonly bigint[];
|
|
40037
|
+
}[], bigint, boolean]>;
|
|
40038
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39586
40039
|
readonly type: "function";
|
|
39587
40040
|
readonly name: "batchGetRefTick";
|
|
39588
40041
|
readonly inputs: readonly [{
|
|
@@ -39726,6 +40179,37 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
39726
40179
|
readonly internalType: "bool";
|
|
39727
40180
|
}];
|
|
39728
40181
|
readonly stateMutability: "view";
|
|
40182
|
+
}, {
|
|
40183
|
+
readonly type: "function";
|
|
40184
|
+
readonly name: "getFeeRates";
|
|
40185
|
+
readonly inputs: readonly [{
|
|
40186
|
+
readonly name: "feeStrategy";
|
|
40187
|
+
readonly type: "address";
|
|
40188
|
+
readonly internalType: "contract FeeStrategy";
|
|
40189
|
+
}];
|
|
40190
|
+
readonly outputs: readonly [{
|
|
40191
|
+
readonly name: "rates";
|
|
40192
|
+
readonly type: "tuple";
|
|
40193
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
40194
|
+
readonly components: readonly [{
|
|
40195
|
+
readonly name: "openingFeeRate";
|
|
40196
|
+
readonly type: "uint32";
|
|
40197
|
+
readonly internalType: "uint32";
|
|
40198
|
+
}, {
|
|
40199
|
+
readonly name: "baseFeeRate";
|
|
40200
|
+
readonly type: "uint32";
|
|
40201
|
+
readonly internalType: "uint32";
|
|
40202
|
+
}, {
|
|
40203
|
+
readonly name: "minOpeningFee";
|
|
40204
|
+
readonly type: "uint128";
|
|
40205
|
+
readonly internalType: "uint128";
|
|
40206
|
+
}, {
|
|
40207
|
+
readonly name: "minBaseFee";
|
|
40208
|
+
readonly type: "uint128";
|
|
40209
|
+
readonly internalType: "uint128";
|
|
40210
|
+
}];
|
|
40211
|
+
}];
|
|
40212
|
+
readonly stateMutability: "view";
|
|
39729
40213
|
}, {
|
|
39730
40214
|
readonly type: "function";
|
|
39731
40215
|
readonly name: "getGlobalGuardianState";
|
|
@@ -39911,10 +40395,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
39911
40395
|
readonly name: "feeStrategy";
|
|
39912
40396
|
readonly type: "address";
|
|
39913
40397
|
readonly internalType: "address";
|
|
39914
|
-
}, {
|
|
39915
|
-
readonly name: "feeRecipient";
|
|
39916
|
-
readonly type: "address";
|
|
39917
|
-
readonly internalType: "address";
|
|
39918
40398
|
}, {
|
|
39919
40399
|
readonly name: "owner";
|
|
39920
40400
|
readonly type: "address";
|
|
@@ -40406,235 +40886,1128 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
40406
40886
|
readonly internalType: "uint256";
|
|
40407
40887
|
}];
|
|
40408
40888
|
readonly stateMutability: "view";
|
|
40409
|
-
}], "
|
|
40410
|
-
|
|
40411
|
-
|
|
40412
|
-
|
|
40413
|
-
|
|
40414
|
-
|
|
40415
|
-
|
|
40416
|
-
|
|
40417
|
-
|
|
40418
|
-
|
|
40419
|
-
}
|
|
40420
|
-
|
|
40421
|
-
readonly type: "
|
|
40422
|
-
readonly
|
|
40423
|
-
|
|
40424
|
-
|
|
40425
|
-
|
|
40426
|
-
|
|
40427
|
-
readonly internalType: "int24[]";
|
|
40428
|
-
}];
|
|
40429
|
-
readonly stateMutability: "view";
|
|
40430
|
-
}, {
|
|
40431
|
-
readonly type: "function";
|
|
40432
|
-
readonly name: "getAllBlocks";
|
|
40433
|
-
readonly inputs: readonly [{
|
|
40434
|
-
readonly name: "vault";
|
|
40435
|
-
readonly type: "address";
|
|
40436
|
-
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
40437
|
-
}];
|
|
40438
|
-
readonly outputs: readonly [{
|
|
40439
|
-
readonly name: "blocks";
|
|
40440
|
-
readonly type: "tuple[]";
|
|
40441
|
-
readonly internalType: "struct TimelockLens.LiquidityBlockData[]";
|
|
40442
|
-
readonly components: readonly [{
|
|
40443
|
-
readonly name: "tickLower";
|
|
40444
|
-
readonly type: "int24";
|
|
40445
|
-
readonly internalType: "int24";
|
|
40446
|
-
}, {
|
|
40447
|
-
readonly name: "tickUpper";
|
|
40448
|
-
readonly type: "int24";
|
|
40449
|
-
readonly internalType: "int24";
|
|
40450
|
-
}, {
|
|
40451
|
-
readonly name: "prevTickLower";
|
|
40452
|
-
readonly type: "int24";
|
|
40453
|
-
readonly internalType: "int24";
|
|
40454
|
-
}, {
|
|
40455
|
-
readonly name: "totalLiquidity";
|
|
40456
|
-
readonly type: "uint128";
|
|
40457
|
-
readonly internalType: "uint128";
|
|
40458
|
-
}, {
|
|
40459
|
-
readonly name: "borrowedLiquidity";
|
|
40460
|
-
readonly type: "uint128";
|
|
40461
|
-
readonly internalType: "uint128";
|
|
40462
|
-
}, {
|
|
40463
|
-
readonly name: "reservedLiquidity";
|
|
40464
|
-
readonly type: "uint128";
|
|
40465
|
-
readonly internalType: "uint128";
|
|
40466
|
-
}, {
|
|
40467
|
-
readonly name: "availableLiquidity";
|
|
40468
|
-
readonly type: "uint128";
|
|
40469
|
-
readonly internalType: "uint128";
|
|
40470
|
-
}, {
|
|
40471
|
-
readonly name: "totalAmount0";
|
|
40472
|
-
readonly type: "uint256";
|
|
40473
|
-
readonly internalType: "uint256";
|
|
40474
|
-
}, {
|
|
40475
|
-
readonly name: "totalAmount1";
|
|
40476
|
-
readonly type: "uint256";
|
|
40477
|
-
readonly internalType: "uint256";
|
|
40478
|
-
}, {
|
|
40479
|
-
readonly name: "borrowedAmount0";
|
|
40480
|
-
readonly type: "uint256";
|
|
40481
|
-
readonly internalType: "uint256";
|
|
40889
|
+
}], "getVaultData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
40890
|
+
poolManager: `0x${string}`;
|
|
40891
|
+
poolKey: {
|
|
40892
|
+
currency0: `0x${string}`;
|
|
40893
|
+
currency1: `0x${string}`;
|
|
40894
|
+
fee: number;
|
|
40895
|
+
tickSpacing: number;
|
|
40896
|
+
hooks: `0x${string}`;
|
|
40897
|
+
};
|
|
40898
|
+
owner: `0x${string}`;
|
|
40899
|
+
}>;
|
|
40900
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40901
|
+
readonly type: "function";
|
|
40902
|
+
readonly name: "batchGetRefTick";
|
|
40903
|
+
readonly inputs: readonly [{
|
|
40904
|
+
readonly name: "vault";
|
|
40905
|
+
readonly type: "address";
|
|
40906
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
40482
40907
|
}, {
|
|
40483
|
-
readonly name: "
|
|
40484
|
-
readonly type: "
|
|
40485
|
-
readonly internalType: "
|
|
40908
|
+
readonly name: "tickLower";
|
|
40909
|
+
readonly type: "int24[]";
|
|
40910
|
+
readonly internalType: "int24[]";
|
|
40486
40911
|
}];
|
|
40487
|
-
|
|
40488
|
-
|
|
40489
|
-
|
|
40490
|
-
|
|
40491
|
-
|
|
40492
|
-
|
|
40493
|
-
readonly name: "market";
|
|
40494
|
-
readonly type: "address";
|
|
40495
|
-
readonly internalType: "contract TimelockOptionsMarket";
|
|
40912
|
+
readonly outputs: readonly [{
|
|
40913
|
+
readonly name: "refTicks";
|
|
40914
|
+
readonly type: "int24[]";
|
|
40915
|
+
readonly internalType: "int24[]";
|
|
40916
|
+
}];
|
|
40917
|
+
readonly stateMutability: "view";
|
|
40496
40918
|
}, {
|
|
40497
|
-
readonly
|
|
40498
|
-
readonly
|
|
40499
|
-
readonly
|
|
40919
|
+
readonly type: "function";
|
|
40920
|
+
readonly name: "getAllBlocks";
|
|
40921
|
+
readonly inputs: readonly [{
|
|
40922
|
+
readonly name: "vault";
|
|
40923
|
+
readonly type: "address";
|
|
40924
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
40925
|
+
}];
|
|
40926
|
+
readonly outputs: readonly [{
|
|
40927
|
+
readonly name: "blocks";
|
|
40928
|
+
readonly type: "tuple[]";
|
|
40929
|
+
readonly internalType: "struct TimelockLens.LiquidityBlockData[]";
|
|
40930
|
+
readonly components: readonly [{
|
|
40931
|
+
readonly name: "tickLower";
|
|
40932
|
+
readonly type: "int24";
|
|
40933
|
+
readonly internalType: "int24";
|
|
40934
|
+
}, {
|
|
40935
|
+
readonly name: "tickUpper";
|
|
40936
|
+
readonly type: "int24";
|
|
40937
|
+
readonly internalType: "int24";
|
|
40938
|
+
}, {
|
|
40939
|
+
readonly name: "prevTickLower";
|
|
40940
|
+
readonly type: "int24";
|
|
40941
|
+
readonly internalType: "int24";
|
|
40942
|
+
}, {
|
|
40943
|
+
readonly name: "totalLiquidity";
|
|
40944
|
+
readonly type: "uint128";
|
|
40945
|
+
readonly internalType: "uint128";
|
|
40946
|
+
}, {
|
|
40947
|
+
readonly name: "borrowedLiquidity";
|
|
40948
|
+
readonly type: "uint128";
|
|
40949
|
+
readonly internalType: "uint128";
|
|
40950
|
+
}, {
|
|
40951
|
+
readonly name: "reservedLiquidity";
|
|
40952
|
+
readonly type: "uint128";
|
|
40953
|
+
readonly internalType: "uint128";
|
|
40954
|
+
}, {
|
|
40955
|
+
readonly name: "availableLiquidity";
|
|
40956
|
+
readonly type: "uint128";
|
|
40957
|
+
readonly internalType: "uint128";
|
|
40958
|
+
}, {
|
|
40959
|
+
readonly name: "totalAmount0";
|
|
40960
|
+
readonly type: "uint256";
|
|
40961
|
+
readonly internalType: "uint256";
|
|
40962
|
+
}, {
|
|
40963
|
+
readonly name: "totalAmount1";
|
|
40964
|
+
readonly type: "uint256";
|
|
40965
|
+
readonly internalType: "uint256";
|
|
40966
|
+
}, {
|
|
40967
|
+
readonly name: "borrowedAmount0";
|
|
40968
|
+
readonly type: "uint256";
|
|
40969
|
+
readonly internalType: "uint256";
|
|
40970
|
+
}, {
|
|
40971
|
+
readonly name: "borrowedAmount1";
|
|
40972
|
+
readonly type: "uint256";
|
|
40973
|
+
readonly internalType: "uint256";
|
|
40974
|
+
}];
|
|
40975
|
+
}];
|
|
40976
|
+
readonly stateMutability: "view";
|
|
40500
40977
|
}, {
|
|
40501
|
-
readonly
|
|
40502
|
-
readonly
|
|
40503
|
-
readonly
|
|
40504
|
-
|
|
40505
|
-
readonly outputs: readonly [{
|
|
40506
|
-
readonly name: "expiredOptions";
|
|
40507
|
-
readonly type: "tuple[]";
|
|
40508
|
-
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
40509
|
-
readonly components: readonly [{
|
|
40510
|
-
readonly name: "optionId";
|
|
40511
|
-
readonly type: "uint256";
|
|
40512
|
-
readonly internalType: "uint256";
|
|
40513
|
-
}, {
|
|
40514
|
-
readonly name: "owner";
|
|
40978
|
+
readonly type: "function";
|
|
40979
|
+
readonly name: "getExpiredOptions";
|
|
40980
|
+
readonly inputs: readonly [{
|
|
40981
|
+
readonly name: "market";
|
|
40515
40982
|
readonly type: "address";
|
|
40516
|
-
readonly internalType: "
|
|
40517
|
-
}, {
|
|
40518
|
-
readonly name: "optionType";
|
|
40519
|
-
readonly type: "uint8";
|
|
40520
|
-
readonly internalType: "uint8";
|
|
40521
|
-
}, {
|
|
40522
|
-
readonly name: "startTick";
|
|
40523
|
-
readonly type: "int24";
|
|
40524
|
-
readonly internalType: "int24";
|
|
40525
|
-
}, {
|
|
40526
|
-
readonly name: "strikeTick";
|
|
40527
|
-
readonly type: "int24";
|
|
40528
|
-
readonly internalType: "int24";
|
|
40983
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
40529
40984
|
}, {
|
|
40530
|
-
readonly name: "
|
|
40985
|
+
readonly name: "startId";
|
|
40531
40986
|
readonly type: "uint256";
|
|
40532
40987
|
readonly internalType: "uint256";
|
|
40533
40988
|
}, {
|
|
40534
|
-
readonly name: "
|
|
40989
|
+
readonly name: "endId";
|
|
40535
40990
|
readonly type: "uint256";
|
|
40536
40991
|
readonly internalType: "uint256";
|
|
40537
|
-
}, {
|
|
40538
|
-
readonly name: "expiresAt";
|
|
40539
|
-
readonly type: "uint32";
|
|
40540
|
-
readonly internalType: "uint32";
|
|
40541
|
-
}, {
|
|
40542
|
-
readonly name: "liquidities";
|
|
40543
|
-
readonly type: "uint128[]";
|
|
40544
|
-
readonly internalType: "uint128[]";
|
|
40545
40992
|
}];
|
|
40546
|
-
|
|
40547
|
-
|
|
40548
|
-
|
|
40549
|
-
|
|
40550
|
-
}, {
|
|
40551
|
-
readonly name: "";
|
|
40552
|
-
readonly type: "bool";
|
|
40553
|
-
readonly internalType: "bool";
|
|
40554
|
-
}];
|
|
40555
|
-
readonly stateMutability: "view";
|
|
40556
|
-
}, {
|
|
40557
|
-
readonly type: "function";
|
|
40558
|
-
readonly name: "getGlobalGuardianState";
|
|
40559
|
-
readonly inputs: readonly [{
|
|
40560
|
-
readonly name: "guardian";
|
|
40561
|
-
readonly type: "address";
|
|
40562
|
-
readonly internalType: "contract TimelockGuardian";
|
|
40563
|
-
}];
|
|
40564
|
-
readonly outputs: readonly [{
|
|
40565
|
-
readonly name: "guardianState";
|
|
40566
|
-
readonly type: "tuple";
|
|
40567
|
-
readonly internalType: "struct TimelockLens.GuardianGlobalState";
|
|
40568
|
-
readonly components: readonly [{
|
|
40569
|
-
readonly name: "globalMintPaused";
|
|
40570
|
-
readonly type: "tuple";
|
|
40571
|
-
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
40993
|
+
readonly outputs: readonly [{
|
|
40994
|
+
readonly name: "expiredOptions";
|
|
40995
|
+
readonly type: "tuple[]";
|
|
40996
|
+
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
40572
40997
|
readonly components: readonly [{
|
|
40573
|
-
readonly name: "
|
|
40574
|
-
readonly type: "
|
|
40575
|
-
readonly internalType: "
|
|
40998
|
+
readonly name: "optionId";
|
|
40999
|
+
readonly type: "uint256";
|
|
41000
|
+
readonly internalType: "uint256";
|
|
40576
41001
|
}, {
|
|
40577
|
-
readonly name: "
|
|
40578
|
-
readonly type: "
|
|
40579
|
-
readonly internalType: "
|
|
40580
|
-
}];
|
|
40581
|
-
}, {
|
|
40582
|
-
readonly name: "globalBurnPaused";
|
|
40583
|
-
readonly type: "tuple";
|
|
40584
|
-
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
40585
|
-
readonly components: readonly [{
|
|
40586
|
-
readonly name: "paused";
|
|
40587
|
-
readonly type: "bool";
|
|
40588
|
-
readonly internalType: "bool";
|
|
41002
|
+
readonly name: "owner";
|
|
41003
|
+
readonly type: "address";
|
|
41004
|
+
readonly internalType: "address";
|
|
40589
41005
|
}, {
|
|
40590
|
-
readonly name: "
|
|
40591
|
-
readonly type: "
|
|
40592
|
-
readonly internalType: "
|
|
40593
|
-
}];
|
|
40594
|
-
}, {
|
|
40595
|
-
readonly name: "globalTradingPaused";
|
|
40596
|
-
readonly type: "tuple";
|
|
40597
|
-
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
40598
|
-
readonly components: readonly [{
|
|
40599
|
-
readonly name: "paused";
|
|
40600
|
-
readonly type: "bool";
|
|
40601
|
-
readonly internalType: "bool";
|
|
41006
|
+
readonly name: "optionType";
|
|
41007
|
+
readonly type: "uint8";
|
|
41008
|
+
readonly internalType: "uint8";
|
|
40602
41009
|
}, {
|
|
40603
|
-
readonly name: "
|
|
40604
|
-
readonly type: "
|
|
40605
|
-
readonly internalType: "
|
|
41010
|
+
readonly name: "startTick";
|
|
41011
|
+
readonly type: "int24";
|
|
41012
|
+
readonly internalType: "int24";
|
|
41013
|
+
}, {
|
|
41014
|
+
readonly name: "strikeTick";
|
|
41015
|
+
readonly type: "int24";
|
|
41016
|
+
readonly internalType: "int24";
|
|
41017
|
+
}, {
|
|
41018
|
+
readonly name: "strikePrice";
|
|
41019
|
+
readonly type: "uint256";
|
|
41020
|
+
readonly internalType: "uint256";
|
|
41021
|
+
}, {
|
|
41022
|
+
readonly name: "positionSize";
|
|
41023
|
+
readonly type: "uint256";
|
|
41024
|
+
readonly internalType: "uint256";
|
|
41025
|
+
}, {
|
|
41026
|
+
readonly name: "expiresAt";
|
|
41027
|
+
readonly type: "uint32";
|
|
41028
|
+
readonly internalType: "uint32";
|
|
41029
|
+
}, {
|
|
41030
|
+
readonly name: "liquidities";
|
|
41031
|
+
readonly type: "uint128[]";
|
|
41032
|
+
readonly internalType: "uint128[]";
|
|
40606
41033
|
}];
|
|
40607
41034
|
}, {
|
|
40608
|
-
readonly name: "
|
|
41035
|
+
readonly name: "";
|
|
40609
41036
|
readonly type: "uint256";
|
|
40610
41037
|
readonly internalType: "uint256";
|
|
40611
41038
|
}, {
|
|
40612
|
-
readonly name: "
|
|
40613
|
-
readonly type: "bool";
|
|
40614
|
-
readonly internalType: "bool";
|
|
40615
|
-
}, {
|
|
40616
|
-
readonly name: "senderIsPauser";
|
|
41039
|
+
readonly name: "";
|
|
40617
41040
|
readonly type: "bool";
|
|
40618
41041
|
readonly internalType: "bool";
|
|
40619
41042
|
}];
|
|
40620
|
-
|
|
40621
|
-
|
|
40622
|
-
|
|
40623
|
-
|
|
40624
|
-
|
|
40625
|
-
|
|
40626
|
-
|
|
40627
|
-
|
|
40628
|
-
|
|
40629
|
-
|
|
40630
|
-
|
|
40631
|
-
|
|
40632
|
-
|
|
40633
|
-
|
|
40634
|
-
|
|
40635
|
-
|
|
40636
|
-
|
|
40637
|
-
|
|
41043
|
+
readonly stateMutability: "view";
|
|
41044
|
+
}, {
|
|
41045
|
+
readonly type: "function";
|
|
41046
|
+
readonly name: "getFeeRates";
|
|
41047
|
+
readonly inputs: readonly [{
|
|
41048
|
+
readonly name: "feeStrategy";
|
|
41049
|
+
readonly type: "address";
|
|
41050
|
+
readonly internalType: "contract FeeStrategy";
|
|
41051
|
+
}];
|
|
41052
|
+
readonly outputs: readonly [{
|
|
41053
|
+
readonly name: "rates";
|
|
41054
|
+
readonly type: "tuple";
|
|
41055
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
41056
|
+
readonly components: readonly [{
|
|
41057
|
+
readonly name: "openingFeeRate";
|
|
41058
|
+
readonly type: "uint32";
|
|
41059
|
+
readonly internalType: "uint32";
|
|
41060
|
+
}, {
|
|
41061
|
+
readonly name: "baseFeeRate";
|
|
41062
|
+
readonly type: "uint32";
|
|
41063
|
+
readonly internalType: "uint32";
|
|
41064
|
+
}, {
|
|
41065
|
+
readonly name: "minOpeningFee";
|
|
41066
|
+
readonly type: "uint128";
|
|
41067
|
+
readonly internalType: "uint128";
|
|
41068
|
+
}, {
|
|
41069
|
+
readonly name: "minBaseFee";
|
|
41070
|
+
readonly type: "uint128";
|
|
41071
|
+
readonly internalType: "uint128";
|
|
41072
|
+
}];
|
|
41073
|
+
}];
|
|
41074
|
+
readonly stateMutability: "view";
|
|
41075
|
+
}, {
|
|
41076
|
+
readonly type: "function";
|
|
41077
|
+
readonly name: "getGlobalGuardianState";
|
|
41078
|
+
readonly inputs: readonly [{
|
|
41079
|
+
readonly name: "guardian";
|
|
41080
|
+
readonly type: "address";
|
|
41081
|
+
readonly internalType: "contract TimelockGuardian";
|
|
41082
|
+
}];
|
|
41083
|
+
readonly outputs: readonly [{
|
|
41084
|
+
readonly name: "guardianState";
|
|
41085
|
+
readonly type: "tuple";
|
|
41086
|
+
readonly internalType: "struct TimelockLens.GuardianGlobalState";
|
|
41087
|
+
readonly components: readonly [{
|
|
41088
|
+
readonly name: "globalMintPaused";
|
|
41089
|
+
readonly type: "tuple";
|
|
41090
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
41091
|
+
readonly components: readonly [{
|
|
41092
|
+
readonly name: "paused";
|
|
41093
|
+
readonly type: "bool";
|
|
41094
|
+
readonly internalType: "bool";
|
|
41095
|
+
}, {
|
|
41096
|
+
readonly name: "updatedAt";
|
|
41097
|
+
readonly type: "uint64";
|
|
41098
|
+
readonly internalType: "uint64";
|
|
41099
|
+
}];
|
|
41100
|
+
}, {
|
|
41101
|
+
readonly name: "globalBurnPaused";
|
|
41102
|
+
readonly type: "tuple";
|
|
41103
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
41104
|
+
readonly components: readonly [{
|
|
41105
|
+
readonly name: "paused";
|
|
41106
|
+
readonly type: "bool";
|
|
41107
|
+
readonly internalType: "bool";
|
|
41108
|
+
}, {
|
|
41109
|
+
readonly name: "updatedAt";
|
|
41110
|
+
readonly type: "uint64";
|
|
41111
|
+
readonly internalType: "uint64";
|
|
41112
|
+
}];
|
|
41113
|
+
}, {
|
|
41114
|
+
readonly name: "globalTradingPaused";
|
|
41115
|
+
readonly type: "tuple";
|
|
41116
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
41117
|
+
readonly components: readonly [{
|
|
41118
|
+
readonly name: "paused";
|
|
41119
|
+
readonly type: "bool";
|
|
41120
|
+
readonly internalType: "bool";
|
|
41121
|
+
}, {
|
|
41122
|
+
readonly name: "updatedAt";
|
|
41123
|
+
readonly type: "uint64";
|
|
41124
|
+
readonly internalType: "uint64";
|
|
41125
|
+
}];
|
|
41126
|
+
}, {
|
|
41127
|
+
readonly name: "minWithdrawalInterval";
|
|
41128
|
+
readonly type: "uint256";
|
|
41129
|
+
readonly internalType: "uint256";
|
|
41130
|
+
}, {
|
|
41131
|
+
readonly name: "senderIsAdmin";
|
|
41132
|
+
readonly type: "bool";
|
|
41133
|
+
readonly internalType: "bool";
|
|
41134
|
+
}, {
|
|
41135
|
+
readonly name: "senderIsPauser";
|
|
41136
|
+
readonly type: "bool";
|
|
41137
|
+
readonly internalType: "bool";
|
|
41138
|
+
}];
|
|
41139
|
+
}];
|
|
41140
|
+
readonly stateMutability: "view";
|
|
41141
|
+
}, {
|
|
41142
|
+
readonly type: "function";
|
|
41143
|
+
readonly name: "getLiquidityAtTick";
|
|
41144
|
+
readonly inputs: readonly [{
|
|
41145
|
+
readonly name: "vault";
|
|
41146
|
+
readonly type: "address";
|
|
41147
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
41148
|
+
}, {
|
|
41149
|
+
readonly name: "tickLower";
|
|
41150
|
+
readonly type: "int24";
|
|
41151
|
+
readonly internalType: "int24";
|
|
41152
|
+
}];
|
|
41153
|
+
readonly outputs: readonly [{
|
|
41154
|
+
readonly name: "totalLiquidity";
|
|
41155
|
+
readonly type: "uint128";
|
|
41156
|
+
readonly internalType: "uint128";
|
|
41157
|
+
}, {
|
|
41158
|
+
readonly name: "borrowedLiquidity";
|
|
41159
|
+
readonly type: "uint128";
|
|
41160
|
+
readonly internalType: "uint128";
|
|
41161
|
+
}];
|
|
41162
|
+
readonly stateMutability: "view";
|
|
41163
|
+
}, {
|
|
41164
|
+
readonly type: "function";
|
|
41165
|
+
readonly name: "getMarketData";
|
|
41166
|
+
readonly inputs: readonly [{
|
|
41167
|
+
readonly name: "market";
|
|
41168
|
+
readonly type: "address";
|
|
41169
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
41170
|
+
}];
|
|
41171
|
+
readonly outputs: readonly [{
|
|
41172
|
+
readonly name: "marketData";
|
|
41173
|
+
readonly type: "tuple";
|
|
41174
|
+
readonly internalType: "struct TimelockLens.TimelockMarketData";
|
|
41175
|
+
readonly components: readonly [{
|
|
41176
|
+
readonly name: "optionAssetIsToken0";
|
|
41177
|
+
readonly type: "bool";
|
|
41178
|
+
readonly internalType: "bool";
|
|
41179
|
+
}, {
|
|
41180
|
+
readonly name: "vault";
|
|
41181
|
+
readonly type: "address";
|
|
41182
|
+
readonly internalType: "contract ITimelockVault";
|
|
41183
|
+
}, {
|
|
41184
|
+
readonly name: "poolManager";
|
|
41185
|
+
readonly type: "address";
|
|
41186
|
+
readonly internalType: "contract IPoolManager";
|
|
41187
|
+
}, {
|
|
41188
|
+
readonly name: "poolKey";
|
|
41189
|
+
readonly type: "tuple";
|
|
41190
|
+
readonly internalType: "struct PoolKey";
|
|
41191
|
+
readonly components: readonly [{
|
|
41192
|
+
readonly name: "currency0";
|
|
41193
|
+
readonly type: "address";
|
|
41194
|
+
readonly internalType: "Currency";
|
|
41195
|
+
}, {
|
|
41196
|
+
readonly name: "currency1";
|
|
41197
|
+
readonly type: "address";
|
|
41198
|
+
readonly internalType: "Currency";
|
|
41199
|
+
}, {
|
|
41200
|
+
readonly name: "fee";
|
|
41201
|
+
readonly type: "uint24";
|
|
41202
|
+
readonly internalType: "uint24";
|
|
41203
|
+
}, {
|
|
41204
|
+
readonly name: "tickSpacing";
|
|
41205
|
+
readonly type: "int24";
|
|
41206
|
+
readonly internalType: "int24";
|
|
41207
|
+
}, {
|
|
41208
|
+
readonly name: "hooks";
|
|
41209
|
+
readonly type: "address";
|
|
41210
|
+
readonly internalType: "contract IHooks";
|
|
41211
|
+
}];
|
|
41212
|
+
}, {
|
|
41213
|
+
readonly name: "optionAsset";
|
|
41214
|
+
readonly type: "address";
|
|
41215
|
+
readonly internalType: "address";
|
|
41216
|
+
}, {
|
|
41217
|
+
readonly name: "payoutAsset";
|
|
41218
|
+
readonly type: "address";
|
|
41219
|
+
readonly internalType: "address";
|
|
41220
|
+
}, {
|
|
41221
|
+
readonly name: "optionAssetDecimals";
|
|
41222
|
+
readonly type: "uint8";
|
|
41223
|
+
readonly internalType: "uint8";
|
|
41224
|
+
}, {
|
|
41225
|
+
readonly name: "payoutAssetDecimals";
|
|
41226
|
+
readonly type: "uint8";
|
|
41227
|
+
readonly internalType: "uint8";
|
|
41228
|
+
}, {
|
|
41229
|
+
readonly name: "optionAssetSymbol";
|
|
41230
|
+
readonly type: "string";
|
|
41231
|
+
readonly internalType: "string";
|
|
41232
|
+
}, {
|
|
41233
|
+
readonly name: "payoutAssetSymbol";
|
|
41234
|
+
readonly type: "string";
|
|
41235
|
+
readonly internalType: "string";
|
|
41236
|
+
}, {
|
|
41237
|
+
readonly name: "optionAssetName";
|
|
41238
|
+
readonly type: "string";
|
|
41239
|
+
readonly internalType: "string";
|
|
41240
|
+
}, {
|
|
41241
|
+
readonly name: "payoutAssetName";
|
|
41242
|
+
readonly type: "string";
|
|
41243
|
+
readonly internalType: "string";
|
|
41244
|
+
}, {
|
|
41245
|
+
readonly name: "optionsCount";
|
|
41246
|
+
readonly type: "uint256";
|
|
41247
|
+
readonly internalType: "uint256";
|
|
41248
|
+
}, {
|
|
41249
|
+
readonly name: "guardian";
|
|
41250
|
+
readonly type: "address";
|
|
41251
|
+
readonly internalType: "address";
|
|
41252
|
+
}, {
|
|
41253
|
+
readonly name: "optionPricing";
|
|
41254
|
+
readonly type: "address";
|
|
41255
|
+
readonly internalType: "address";
|
|
41256
|
+
}, {
|
|
41257
|
+
readonly name: "feeStrategy";
|
|
41258
|
+
readonly type: "address";
|
|
41259
|
+
readonly internalType: "address";
|
|
41260
|
+
}, {
|
|
41261
|
+
readonly name: "owner";
|
|
41262
|
+
readonly type: "address";
|
|
41263
|
+
readonly internalType: "address";
|
|
41264
|
+
}];
|
|
41265
|
+
}];
|
|
41266
|
+
readonly stateMutability: "view";
|
|
41267
|
+
}, {
|
|
41268
|
+
readonly type: "function";
|
|
41269
|
+
readonly name: "getMaxATMPositionSizes";
|
|
41270
|
+
readonly inputs: readonly [{
|
|
41271
|
+
readonly name: "market";
|
|
41272
|
+
readonly type: "address";
|
|
41273
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
41274
|
+
}, {
|
|
41275
|
+
readonly name: "maxSteps";
|
|
41276
|
+
readonly type: "int24";
|
|
41277
|
+
readonly internalType: "int24";
|
|
41278
|
+
}];
|
|
41279
|
+
readonly outputs: readonly [{
|
|
41280
|
+
readonly name: "maxCallSize";
|
|
41281
|
+
readonly type: "uint256";
|
|
41282
|
+
readonly internalType: "uint256";
|
|
41283
|
+
}, {
|
|
41284
|
+
readonly name: "maxPutSize";
|
|
41285
|
+
readonly type: "uint256";
|
|
41286
|
+
readonly internalType: "uint256";
|
|
41287
|
+
}];
|
|
41288
|
+
readonly stateMutability: "view";
|
|
41289
|
+
}, {
|
|
41290
|
+
readonly type: "function";
|
|
41291
|
+
readonly name: "getMaxBorrowable0";
|
|
41292
|
+
readonly inputs: readonly [{
|
|
41293
|
+
readonly name: "vault";
|
|
41294
|
+
readonly type: "address";
|
|
41295
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
41296
|
+
}, {
|
|
41297
|
+
readonly name: "strikeTick";
|
|
41298
|
+
readonly type: "int24";
|
|
41299
|
+
readonly internalType: "int24";
|
|
41300
|
+
}, {
|
|
41301
|
+
readonly name: "maxSteps";
|
|
41302
|
+
readonly type: "int24";
|
|
41303
|
+
readonly internalType: "int24";
|
|
41304
|
+
}];
|
|
41305
|
+
readonly outputs: readonly [{
|
|
41306
|
+
readonly name: "borrowable0";
|
|
41307
|
+
readonly type: "uint256";
|
|
41308
|
+
readonly internalType: "uint256";
|
|
41309
|
+
}];
|
|
41310
|
+
readonly stateMutability: "view";
|
|
41311
|
+
}, {
|
|
41312
|
+
readonly type: "function";
|
|
41313
|
+
readonly name: "getMaxBorrowable1";
|
|
41314
|
+
readonly inputs: readonly [{
|
|
41315
|
+
readonly name: "vault";
|
|
41316
|
+
readonly type: "address";
|
|
41317
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
41318
|
+
}, {
|
|
41319
|
+
readonly name: "strikeTick";
|
|
41320
|
+
readonly type: "int24";
|
|
41321
|
+
readonly internalType: "int24";
|
|
41322
|
+
}, {
|
|
41323
|
+
readonly name: "maxSteps";
|
|
41324
|
+
readonly type: "int24";
|
|
41325
|
+
readonly internalType: "int24";
|
|
41326
|
+
}];
|
|
41327
|
+
readonly outputs: readonly [{
|
|
41328
|
+
readonly name: "borrowable1";
|
|
41329
|
+
readonly type: "uint256";
|
|
41330
|
+
readonly internalType: "uint256";
|
|
41331
|
+
}];
|
|
41332
|
+
readonly stateMutability: "view";
|
|
41333
|
+
}, {
|
|
41334
|
+
readonly type: "function";
|
|
41335
|
+
readonly name: "getMaxPositionSizes";
|
|
41336
|
+
readonly inputs: readonly [{
|
|
41337
|
+
readonly name: "market";
|
|
41338
|
+
readonly type: "address";
|
|
41339
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
41340
|
+
}, {
|
|
41341
|
+
readonly name: "strikeTick";
|
|
41342
|
+
readonly type: "int24";
|
|
41343
|
+
readonly internalType: "int24";
|
|
41344
|
+
}, {
|
|
41345
|
+
readonly name: "maxSteps";
|
|
41346
|
+
readonly type: "int24";
|
|
41347
|
+
readonly internalType: "int24";
|
|
41348
|
+
}];
|
|
41349
|
+
readonly outputs: readonly [{
|
|
41350
|
+
readonly name: "maxCallSize";
|
|
41351
|
+
readonly type: "uint256";
|
|
41352
|
+
readonly internalType: "uint256";
|
|
41353
|
+
}, {
|
|
41354
|
+
readonly name: "maxPutSize";
|
|
41355
|
+
readonly type: "uint256";
|
|
41356
|
+
readonly internalType: "uint256";
|
|
41357
|
+
}];
|
|
41358
|
+
readonly stateMutability: "view";
|
|
41359
|
+
}, {
|
|
41360
|
+
readonly type: "function";
|
|
41361
|
+
readonly name: "getOptionData";
|
|
41362
|
+
readonly inputs: readonly [{
|
|
41363
|
+
readonly name: "market";
|
|
41364
|
+
readonly type: "address";
|
|
41365
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
41366
|
+
}, {
|
|
41367
|
+
readonly name: "optionId";
|
|
41368
|
+
readonly type: "uint256";
|
|
41369
|
+
readonly internalType: "uint256";
|
|
41370
|
+
}];
|
|
41371
|
+
readonly outputs: readonly [{
|
|
41372
|
+
readonly name: "";
|
|
41373
|
+
readonly type: "tuple";
|
|
41374
|
+
readonly internalType: "struct TimelockLens.OptionData";
|
|
41375
|
+
readonly components: readonly [{
|
|
41376
|
+
readonly name: "optionId";
|
|
41377
|
+
readonly type: "uint256";
|
|
41378
|
+
readonly internalType: "uint256";
|
|
41379
|
+
}, {
|
|
41380
|
+
readonly name: "owner";
|
|
41381
|
+
readonly type: "address";
|
|
41382
|
+
readonly internalType: "address";
|
|
41383
|
+
}, {
|
|
41384
|
+
readonly name: "optionType";
|
|
41385
|
+
readonly type: "uint8";
|
|
41386
|
+
readonly internalType: "uint8";
|
|
41387
|
+
}, {
|
|
41388
|
+
readonly name: "startTick";
|
|
41389
|
+
readonly type: "int24";
|
|
41390
|
+
readonly internalType: "int24";
|
|
41391
|
+
}, {
|
|
41392
|
+
readonly name: "strikeTick";
|
|
41393
|
+
readonly type: "int24";
|
|
41394
|
+
readonly internalType: "int24";
|
|
41395
|
+
}, {
|
|
41396
|
+
readonly name: "strikePrice";
|
|
41397
|
+
readonly type: "uint256";
|
|
41398
|
+
readonly internalType: "uint256";
|
|
41399
|
+
}, {
|
|
41400
|
+
readonly name: "positionSize";
|
|
41401
|
+
readonly type: "uint256";
|
|
41402
|
+
readonly internalType: "uint256";
|
|
41403
|
+
}, {
|
|
41404
|
+
readonly name: "expiresAt";
|
|
41405
|
+
readonly type: "uint32";
|
|
41406
|
+
readonly internalType: "uint32";
|
|
41407
|
+
}, {
|
|
41408
|
+
readonly name: "liquidities";
|
|
41409
|
+
readonly type: "uint128[]";
|
|
41410
|
+
readonly internalType: "uint128[]";
|
|
41411
|
+
}];
|
|
41412
|
+
}];
|
|
41413
|
+
readonly stateMutability: "view";
|
|
41414
|
+
}, {
|
|
41415
|
+
readonly type: "function";
|
|
41416
|
+
readonly name: "getOptionsData";
|
|
41417
|
+
readonly inputs: readonly [{
|
|
41418
|
+
readonly name: "market";
|
|
41419
|
+
readonly type: "address";
|
|
41420
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
41421
|
+
}, {
|
|
41422
|
+
readonly name: "optionIds";
|
|
41423
|
+
readonly type: "uint256[]";
|
|
41424
|
+
readonly internalType: "uint256[]";
|
|
41425
|
+
}];
|
|
41426
|
+
readonly outputs: readonly [{
|
|
41427
|
+
readonly name: "optionsData";
|
|
41428
|
+
readonly type: "tuple[]";
|
|
41429
|
+
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
41430
|
+
readonly components: readonly [{
|
|
41431
|
+
readonly name: "optionId";
|
|
41432
|
+
readonly type: "uint256";
|
|
41433
|
+
readonly internalType: "uint256";
|
|
41434
|
+
}, {
|
|
41435
|
+
readonly name: "owner";
|
|
41436
|
+
readonly type: "address";
|
|
41437
|
+
readonly internalType: "address";
|
|
41438
|
+
}, {
|
|
41439
|
+
readonly name: "optionType";
|
|
41440
|
+
readonly type: "uint8";
|
|
41441
|
+
readonly internalType: "uint8";
|
|
41442
|
+
}, {
|
|
41443
|
+
readonly name: "startTick";
|
|
41444
|
+
readonly type: "int24";
|
|
41445
|
+
readonly internalType: "int24";
|
|
41446
|
+
}, {
|
|
41447
|
+
readonly name: "strikeTick";
|
|
41448
|
+
readonly type: "int24";
|
|
41449
|
+
readonly internalType: "int24";
|
|
41450
|
+
}, {
|
|
41451
|
+
readonly name: "strikePrice";
|
|
41452
|
+
readonly type: "uint256";
|
|
41453
|
+
readonly internalType: "uint256";
|
|
41454
|
+
}, {
|
|
41455
|
+
readonly name: "positionSize";
|
|
41456
|
+
readonly type: "uint256";
|
|
41457
|
+
readonly internalType: "uint256";
|
|
41458
|
+
}, {
|
|
41459
|
+
readonly name: "expiresAt";
|
|
41460
|
+
readonly type: "uint32";
|
|
41461
|
+
readonly internalType: "uint32";
|
|
41462
|
+
}, {
|
|
41463
|
+
readonly name: "liquidities";
|
|
41464
|
+
readonly type: "uint128[]";
|
|
41465
|
+
readonly internalType: "uint128[]";
|
|
41466
|
+
}];
|
|
41467
|
+
}];
|
|
41468
|
+
readonly stateMutability: "view";
|
|
41469
|
+
}, {
|
|
41470
|
+
readonly type: "function";
|
|
41471
|
+
readonly name: "getPoolData";
|
|
41472
|
+
readonly inputs: readonly [{
|
|
41473
|
+
readonly name: "poolManager";
|
|
41474
|
+
readonly type: "address";
|
|
41475
|
+
readonly internalType: "contract IPoolManager";
|
|
41476
|
+
}, {
|
|
41477
|
+
readonly name: "poolKey";
|
|
41478
|
+
readonly type: "tuple";
|
|
41479
|
+
readonly internalType: "struct PoolKey";
|
|
41480
|
+
readonly components: readonly [{
|
|
41481
|
+
readonly name: "currency0";
|
|
41482
|
+
readonly type: "address";
|
|
41483
|
+
readonly internalType: "Currency";
|
|
41484
|
+
}, {
|
|
41485
|
+
readonly name: "currency1";
|
|
41486
|
+
readonly type: "address";
|
|
41487
|
+
readonly internalType: "Currency";
|
|
41488
|
+
}, {
|
|
41489
|
+
readonly name: "fee";
|
|
41490
|
+
readonly type: "uint24";
|
|
41491
|
+
readonly internalType: "uint24";
|
|
41492
|
+
}, {
|
|
41493
|
+
readonly name: "tickSpacing";
|
|
41494
|
+
readonly type: "int24";
|
|
41495
|
+
readonly internalType: "int24";
|
|
41496
|
+
}, {
|
|
41497
|
+
readonly name: "hooks";
|
|
41498
|
+
readonly type: "address";
|
|
41499
|
+
readonly internalType: "contract IHooks";
|
|
41500
|
+
}];
|
|
41501
|
+
}];
|
|
41502
|
+
readonly outputs: readonly [{
|
|
41503
|
+
readonly name: "poolData";
|
|
41504
|
+
readonly type: "tuple";
|
|
41505
|
+
readonly internalType: "struct TimelockLens.UniswapPoolData";
|
|
41506
|
+
readonly components: readonly [{
|
|
41507
|
+
readonly name: "token0";
|
|
41508
|
+
readonly type: "address";
|
|
41509
|
+
readonly internalType: "address";
|
|
41510
|
+
}, {
|
|
41511
|
+
readonly name: "token1";
|
|
41512
|
+
readonly type: "address";
|
|
41513
|
+
readonly internalType: "address";
|
|
41514
|
+
}, {
|
|
41515
|
+
readonly name: "token0Decimals";
|
|
41516
|
+
readonly type: "uint8";
|
|
41517
|
+
readonly internalType: "uint8";
|
|
41518
|
+
}, {
|
|
41519
|
+
readonly name: "token1Decimals";
|
|
41520
|
+
readonly type: "uint8";
|
|
41521
|
+
readonly internalType: "uint8";
|
|
41522
|
+
}, {
|
|
41523
|
+
readonly name: "token0Symbol";
|
|
41524
|
+
readonly type: "string";
|
|
41525
|
+
readonly internalType: "string";
|
|
41526
|
+
}, {
|
|
41527
|
+
readonly name: "token1Symbol";
|
|
41528
|
+
readonly type: "string";
|
|
41529
|
+
readonly internalType: "string";
|
|
41530
|
+
}, {
|
|
41531
|
+
readonly name: "token0Name";
|
|
41532
|
+
readonly type: "string";
|
|
41533
|
+
readonly internalType: "string";
|
|
41534
|
+
}, {
|
|
41535
|
+
readonly name: "token1Name";
|
|
41536
|
+
readonly type: "string";
|
|
41537
|
+
readonly internalType: "string";
|
|
41538
|
+
}, {
|
|
41539
|
+
readonly name: "tickSpacing";
|
|
41540
|
+
readonly type: "int24";
|
|
41541
|
+
readonly internalType: "int24";
|
|
41542
|
+
}, {
|
|
41543
|
+
readonly name: "fee";
|
|
41544
|
+
readonly type: "uint24";
|
|
41545
|
+
readonly internalType: "uint24";
|
|
41546
|
+
}];
|
|
41547
|
+
}];
|
|
41548
|
+
readonly stateMutability: "view";
|
|
41549
|
+
}, {
|
|
41550
|
+
readonly type: "function";
|
|
41551
|
+
readonly name: "getRefTick";
|
|
41552
|
+
readonly inputs: readonly [{
|
|
41553
|
+
readonly name: "vault";
|
|
41554
|
+
readonly type: "address";
|
|
41555
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
41556
|
+
}, {
|
|
41557
|
+
readonly name: "tickLower";
|
|
41558
|
+
readonly type: "int24";
|
|
41559
|
+
readonly internalType: "int24";
|
|
41560
|
+
}];
|
|
41561
|
+
readonly outputs: readonly [{
|
|
41562
|
+
readonly name: "refTick";
|
|
41563
|
+
readonly type: "int24";
|
|
41564
|
+
readonly internalType: "int24";
|
|
41565
|
+
}];
|
|
41566
|
+
readonly stateMutability: "view";
|
|
41567
|
+
}, {
|
|
41568
|
+
readonly type: "function";
|
|
41569
|
+
readonly name: "getTokenData";
|
|
41570
|
+
readonly inputs: readonly [{
|
|
41571
|
+
readonly name: "token";
|
|
41572
|
+
readonly type: "address";
|
|
41573
|
+
readonly internalType: "address";
|
|
41574
|
+
}];
|
|
41575
|
+
readonly outputs: readonly [{
|
|
41576
|
+
readonly name: "tokenData";
|
|
41577
|
+
readonly type: "tuple";
|
|
41578
|
+
readonly internalType: "struct TimelockLens.TokenData";
|
|
41579
|
+
readonly components: readonly [{
|
|
41580
|
+
readonly name: "decimals";
|
|
41581
|
+
readonly type: "uint8";
|
|
41582
|
+
readonly internalType: "uint8";
|
|
41583
|
+
}, {
|
|
41584
|
+
readonly name: "symbol";
|
|
41585
|
+
readonly type: "string";
|
|
41586
|
+
readonly internalType: "string";
|
|
41587
|
+
}, {
|
|
41588
|
+
readonly name: "name";
|
|
41589
|
+
readonly type: "string";
|
|
41590
|
+
readonly internalType: "string";
|
|
41591
|
+
}];
|
|
41592
|
+
}];
|
|
41593
|
+
readonly stateMutability: "view";
|
|
41594
|
+
}, {
|
|
41595
|
+
readonly type: "function";
|
|
41596
|
+
readonly name: "getUserOptions";
|
|
41597
|
+
readonly inputs: readonly [{
|
|
41598
|
+
readonly name: "market";
|
|
41599
|
+
readonly type: "address";
|
|
41600
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
41601
|
+
}, {
|
|
41602
|
+
readonly name: "user";
|
|
41603
|
+
readonly type: "address";
|
|
41604
|
+
readonly internalType: "address";
|
|
41605
|
+
}, {
|
|
41606
|
+
readonly name: "startId";
|
|
41607
|
+
readonly type: "uint256";
|
|
41608
|
+
readonly internalType: "uint256";
|
|
41609
|
+
}, {
|
|
41610
|
+
readonly name: "limit";
|
|
41611
|
+
readonly type: "uint256";
|
|
41612
|
+
readonly internalType: "uint256";
|
|
41613
|
+
}];
|
|
41614
|
+
readonly outputs: readonly [{
|
|
41615
|
+
readonly name: "userOptions";
|
|
41616
|
+
readonly type: "tuple[]";
|
|
41617
|
+
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
41618
|
+
readonly components: readonly [{
|
|
41619
|
+
readonly name: "optionId";
|
|
41620
|
+
readonly type: "uint256";
|
|
41621
|
+
readonly internalType: "uint256";
|
|
41622
|
+
}, {
|
|
41623
|
+
readonly name: "owner";
|
|
41624
|
+
readonly type: "address";
|
|
41625
|
+
readonly internalType: "address";
|
|
41626
|
+
}, {
|
|
41627
|
+
readonly name: "optionType";
|
|
41628
|
+
readonly type: "uint8";
|
|
41629
|
+
readonly internalType: "uint8";
|
|
41630
|
+
}, {
|
|
41631
|
+
readonly name: "startTick";
|
|
41632
|
+
readonly type: "int24";
|
|
41633
|
+
readonly internalType: "int24";
|
|
41634
|
+
}, {
|
|
41635
|
+
readonly name: "strikeTick";
|
|
41636
|
+
readonly type: "int24";
|
|
41637
|
+
readonly internalType: "int24";
|
|
41638
|
+
}, {
|
|
41639
|
+
readonly name: "strikePrice";
|
|
41640
|
+
readonly type: "uint256";
|
|
41641
|
+
readonly internalType: "uint256";
|
|
41642
|
+
}, {
|
|
41643
|
+
readonly name: "positionSize";
|
|
41644
|
+
readonly type: "uint256";
|
|
41645
|
+
readonly internalType: "uint256";
|
|
41646
|
+
}, {
|
|
41647
|
+
readonly name: "expiresAt";
|
|
41648
|
+
readonly type: "uint32";
|
|
41649
|
+
readonly internalType: "uint32";
|
|
41650
|
+
}, {
|
|
41651
|
+
readonly name: "liquidities";
|
|
41652
|
+
readonly type: "uint128[]";
|
|
41653
|
+
readonly internalType: "uint128[]";
|
|
41654
|
+
}];
|
|
41655
|
+
}, {
|
|
41656
|
+
readonly name: "nextStartId";
|
|
41657
|
+
readonly type: "uint256";
|
|
41658
|
+
readonly internalType: "uint256";
|
|
41659
|
+
}, {
|
|
41660
|
+
readonly name: "hasMore";
|
|
41661
|
+
readonly type: "bool";
|
|
41662
|
+
readonly internalType: "bool";
|
|
41663
|
+
}];
|
|
41664
|
+
readonly stateMutability: "view";
|
|
41665
|
+
}, {
|
|
41666
|
+
readonly type: "function";
|
|
41667
|
+
readonly name: "getVaultData";
|
|
41668
|
+
readonly inputs: readonly [{
|
|
41669
|
+
readonly name: "vault";
|
|
41670
|
+
readonly type: "address";
|
|
41671
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
41672
|
+
}];
|
|
41673
|
+
readonly outputs: readonly [{
|
|
41674
|
+
readonly name: "vaultData";
|
|
41675
|
+
readonly type: "tuple";
|
|
41676
|
+
readonly internalType: "struct TimelockLens.TimelockVaultData";
|
|
41677
|
+
readonly components: readonly [{
|
|
41678
|
+
readonly name: "poolManager";
|
|
41679
|
+
readonly type: "address";
|
|
41680
|
+
readonly internalType: "contract IPoolManager";
|
|
41681
|
+
}, {
|
|
41682
|
+
readonly name: "poolKey";
|
|
41683
|
+
readonly type: "tuple";
|
|
41684
|
+
readonly internalType: "struct PoolKey";
|
|
41685
|
+
readonly components: readonly [{
|
|
41686
|
+
readonly name: "currency0";
|
|
41687
|
+
readonly type: "address";
|
|
41688
|
+
readonly internalType: "Currency";
|
|
41689
|
+
}, {
|
|
41690
|
+
readonly name: "currency1";
|
|
41691
|
+
readonly type: "address";
|
|
41692
|
+
readonly internalType: "Currency";
|
|
41693
|
+
}, {
|
|
41694
|
+
readonly name: "fee";
|
|
41695
|
+
readonly type: "uint24";
|
|
41696
|
+
readonly internalType: "uint24";
|
|
41697
|
+
}, {
|
|
41698
|
+
readonly name: "tickSpacing";
|
|
41699
|
+
readonly type: "int24";
|
|
41700
|
+
readonly internalType: "int24";
|
|
41701
|
+
}, {
|
|
41702
|
+
readonly name: "hooks";
|
|
41703
|
+
readonly type: "address";
|
|
41704
|
+
readonly internalType: "contract IHooks";
|
|
41705
|
+
}];
|
|
41706
|
+
}, {
|
|
41707
|
+
readonly name: "owner";
|
|
41708
|
+
readonly type: "address";
|
|
41709
|
+
readonly internalType: "address";
|
|
41710
|
+
}];
|
|
41711
|
+
}];
|
|
41712
|
+
readonly stateMutability: "view";
|
|
41713
|
+
}, {
|
|
41714
|
+
readonly type: "function";
|
|
41715
|
+
readonly name: "getVaultTVL";
|
|
41716
|
+
readonly inputs: readonly [{
|
|
41717
|
+
readonly name: "vault";
|
|
41718
|
+
readonly type: "address";
|
|
41719
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
41720
|
+
}];
|
|
41721
|
+
readonly outputs: readonly [{
|
|
41722
|
+
readonly name: "total0";
|
|
41723
|
+
readonly type: "uint256";
|
|
41724
|
+
readonly internalType: "uint256";
|
|
41725
|
+
}, {
|
|
41726
|
+
readonly name: "total1";
|
|
41727
|
+
readonly type: "uint256";
|
|
41728
|
+
readonly internalType: "uint256";
|
|
41729
|
+
}, {
|
|
41730
|
+
readonly name: "borrowed0";
|
|
41731
|
+
readonly type: "uint256";
|
|
41732
|
+
readonly internalType: "uint256";
|
|
41733
|
+
}, {
|
|
41734
|
+
readonly name: "borrowed1";
|
|
41735
|
+
readonly type: "uint256";
|
|
41736
|
+
readonly internalType: "uint256";
|
|
41737
|
+
}, {
|
|
41738
|
+
readonly name: "tvlAs0";
|
|
41739
|
+
readonly type: "uint256";
|
|
41740
|
+
readonly internalType: "uint256";
|
|
41741
|
+
}, {
|
|
41742
|
+
readonly name: "tvlAs1";
|
|
41743
|
+
readonly type: "uint256";
|
|
41744
|
+
readonly internalType: "uint256";
|
|
41745
|
+
}, {
|
|
41746
|
+
readonly name: "blocksCount";
|
|
41747
|
+
readonly type: "uint256";
|
|
41748
|
+
readonly internalType: "uint256";
|
|
41749
|
+
}];
|
|
41750
|
+
readonly stateMutability: "view";
|
|
41751
|
+
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
41752
|
+
};
|
|
41753
|
+
address: `0x${string}`;
|
|
41754
|
+
abi: readonly [{
|
|
41755
|
+
readonly type: "function";
|
|
41756
|
+
readonly name: "batchGetRefTick";
|
|
41757
|
+
readonly inputs: readonly [{
|
|
41758
|
+
readonly name: "vault";
|
|
41759
|
+
readonly type: "address";
|
|
41760
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
41761
|
+
}, {
|
|
41762
|
+
readonly name: "tickLower";
|
|
41763
|
+
readonly type: "int24[]";
|
|
41764
|
+
readonly internalType: "int24[]";
|
|
41765
|
+
}];
|
|
41766
|
+
readonly outputs: readonly [{
|
|
41767
|
+
readonly name: "refTicks";
|
|
41768
|
+
readonly type: "int24[]";
|
|
41769
|
+
readonly internalType: "int24[]";
|
|
41770
|
+
}];
|
|
41771
|
+
readonly stateMutability: "view";
|
|
41772
|
+
}, {
|
|
41773
|
+
readonly type: "function";
|
|
41774
|
+
readonly name: "getAllBlocks";
|
|
41775
|
+
readonly inputs: readonly [{
|
|
41776
|
+
readonly name: "vault";
|
|
41777
|
+
readonly type: "address";
|
|
41778
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
41779
|
+
}];
|
|
41780
|
+
readonly outputs: readonly [{
|
|
41781
|
+
readonly name: "blocks";
|
|
41782
|
+
readonly type: "tuple[]";
|
|
41783
|
+
readonly internalType: "struct TimelockLens.LiquidityBlockData[]";
|
|
41784
|
+
readonly components: readonly [{
|
|
41785
|
+
readonly name: "tickLower";
|
|
41786
|
+
readonly type: "int24";
|
|
41787
|
+
readonly internalType: "int24";
|
|
41788
|
+
}, {
|
|
41789
|
+
readonly name: "tickUpper";
|
|
41790
|
+
readonly type: "int24";
|
|
41791
|
+
readonly internalType: "int24";
|
|
41792
|
+
}, {
|
|
41793
|
+
readonly name: "prevTickLower";
|
|
41794
|
+
readonly type: "int24";
|
|
41795
|
+
readonly internalType: "int24";
|
|
41796
|
+
}, {
|
|
41797
|
+
readonly name: "totalLiquidity";
|
|
41798
|
+
readonly type: "uint128";
|
|
41799
|
+
readonly internalType: "uint128";
|
|
41800
|
+
}, {
|
|
41801
|
+
readonly name: "borrowedLiquidity";
|
|
41802
|
+
readonly type: "uint128";
|
|
41803
|
+
readonly internalType: "uint128";
|
|
41804
|
+
}, {
|
|
41805
|
+
readonly name: "reservedLiquidity";
|
|
41806
|
+
readonly type: "uint128";
|
|
41807
|
+
readonly internalType: "uint128";
|
|
41808
|
+
}, {
|
|
41809
|
+
readonly name: "availableLiquidity";
|
|
41810
|
+
readonly type: "uint128";
|
|
41811
|
+
readonly internalType: "uint128";
|
|
41812
|
+
}, {
|
|
41813
|
+
readonly name: "totalAmount0";
|
|
41814
|
+
readonly type: "uint256";
|
|
41815
|
+
readonly internalType: "uint256";
|
|
41816
|
+
}, {
|
|
41817
|
+
readonly name: "totalAmount1";
|
|
41818
|
+
readonly type: "uint256";
|
|
41819
|
+
readonly internalType: "uint256";
|
|
41820
|
+
}, {
|
|
41821
|
+
readonly name: "borrowedAmount0";
|
|
41822
|
+
readonly type: "uint256";
|
|
41823
|
+
readonly internalType: "uint256";
|
|
41824
|
+
}, {
|
|
41825
|
+
readonly name: "borrowedAmount1";
|
|
41826
|
+
readonly type: "uint256";
|
|
41827
|
+
readonly internalType: "uint256";
|
|
41828
|
+
}];
|
|
41829
|
+
}];
|
|
41830
|
+
readonly stateMutability: "view";
|
|
41831
|
+
}, {
|
|
41832
|
+
readonly type: "function";
|
|
41833
|
+
readonly name: "getExpiredOptions";
|
|
41834
|
+
readonly inputs: readonly [{
|
|
41835
|
+
readonly name: "market";
|
|
41836
|
+
readonly type: "address";
|
|
41837
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
41838
|
+
}, {
|
|
41839
|
+
readonly name: "startId";
|
|
41840
|
+
readonly type: "uint256";
|
|
41841
|
+
readonly internalType: "uint256";
|
|
41842
|
+
}, {
|
|
41843
|
+
readonly name: "endId";
|
|
41844
|
+
readonly type: "uint256";
|
|
41845
|
+
readonly internalType: "uint256";
|
|
41846
|
+
}];
|
|
41847
|
+
readonly outputs: readonly [{
|
|
41848
|
+
readonly name: "expiredOptions";
|
|
41849
|
+
readonly type: "tuple[]";
|
|
41850
|
+
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
41851
|
+
readonly components: readonly [{
|
|
41852
|
+
readonly name: "optionId";
|
|
41853
|
+
readonly type: "uint256";
|
|
41854
|
+
readonly internalType: "uint256";
|
|
41855
|
+
}, {
|
|
41856
|
+
readonly name: "owner";
|
|
41857
|
+
readonly type: "address";
|
|
41858
|
+
readonly internalType: "address";
|
|
41859
|
+
}, {
|
|
41860
|
+
readonly name: "optionType";
|
|
41861
|
+
readonly type: "uint8";
|
|
41862
|
+
readonly internalType: "uint8";
|
|
41863
|
+
}, {
|
|
41864
|
+
readonly name: "startTick";
|
|
41865
|
+
readonly type: "int24";
|
|
41866
|
+
readonly internalType: "int24";
|
|
41867
|
+
}, {
|
|
41868
|
+
readonly name: "strikeTick";
|
|
41869
|
+
readonly type: "int24";
|
|
41870
|
+
readonly internalType: "int24";
|
|
41871
|
+
}, {
|
|
41872
|
+
readonly name: "strikePrice";
|
|
41873
|
+
readonly type: "uint256";
|
|
41874
|
+
readonly internalType: "uint256";
|
|
41875
|
+
}, {
|
|
41876
|
+
readonly name: "positionSize";
|
|
41877
|
+
readonly type: "uint256";
|
|
41878
|
+
readonly internalType: "uint256";
|
|
41879
|
+
}, {
|
|
41880
|
+
readonly name: "expiresAt";
|
|
41881
|
+
readonly type: "uint32";
|
|
41882
|
+
readonly internalType: "uint32";
|
|
41883
|
+
}, {
|
|
41884
|
+
readonly name: "liquidities";
|
|
41885
|
+
readonly type: "uint128[]";
|
|
41886
|
+
readonly internalType: "uint128[]";
|
|
41887
|
+
}];
|
|
41888
|
+
}, {
|
|
41889
|
+
readonly name: "";
|
|
41890
|
+
readonly type: "uint256";
|
|
41891
|
+
readonly internalType: "uint256";
|
|
41892
|
+
}, {
|
|
41893
|
+
readonly name: "";
|
|
41894
|
+
readonly type: "bool";
|
|
41895
|
+
readonly internalType: "bool";
|
|
41896
|
+
}];
|
|
41897
|
+
readonly stateMutability: "view";
|
|
41898
|
+
}, {
|
|
41899
|
+
readonly type: "function";
|
|
41900
|
+
readonly name: "getFeeRates";
|
|
41901
|
+
readonly inputs: readonly [{
|
|
41902
|
+
readonly name: "feeStrategy";
|
|
41903
|
+
readonly type: "address";
|
|
41904
|
+
readonly internalType: "contract FeeStrategy";
|
|
41905
|
+
}];
|
|
41906
|
+
readonly outputs: readonly [{
|
|
41907
|
+
readonly name: "rates";
|
|
41908
|
+
readonly type: "tuple";
|
|
41909
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
41910
|
+
readonly components: readonly [{
|
|
41911
|
+
readonly name: "openingFeeRate";
|
|
41912
|
+
readonly type: "uint32";
|
|
41913
|
+
readonly internalType: "uint32";
|
|
41914
|
+
}, {
|
|
41915
|
+
readonly name: "baseFeeRate";
|
|
41916
|
+
readonly type: "uint32";
|
|
41917
|
+
readonly internalType: "uint32";
|
|
41918
|
+
}, {
|
|
41919
|
+
readonly name: "minOpeningFee";
|
|
41920
|
+
readonly type: "uint128";
|
|
41921
|
+
readonly internalType: "uint128";
|
|
41922
|
+
}, {
|
|
41923
|
+
readonly name: "minBaseFee";
|
|
41924
|
+
readonly type: "uint128";
|
|
41925
|
+
readonly internalType: "uint128";
|
|
41926
|
+
}];
|
|
41927
|
+
}];
|
|
41928
|
+
readonly stateMutability: "view";
|
|
41929
|
+
}, {
|
|
41930
|
+
readonly type: "function";
|
|
41931
|
+
readonly name: "getGlobalGuardianState";
|
|
41932
|
+
readonly inputs: readonly [{
|
|
41933
|
+
readonly name: "guardian";
|
|
41934
|
+
readonly type: "address";
|
|
41935
|
+
readonly internalType: "contract TimelockGuardian";
|
|
41936
|
+
}];
|
|
41937
|
+
readonly outputs: readonly [{
|
|
41938
|
+
readonly name: "guardianState";
|
|
41939
|
+
readonly type: "tuple";
|
|
41940
|
+
readonly internalType: "struct TimelockLens.GuardianGlobalState";
|
|
41941
|
+
readonly components: readonly [{
|
|
41942
|
+
readonly name: "globalMintPaused";
|
|
41943
|
+
readonly type: "tuple";
|
|
41944
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
41945
|
+
readonly components: readonly [{
|
|
41946
|
+
readonly name: "paused";
|
|
41947
|
+
readonly type: "bool";
|
|
41948
|
+
readonly internalType: "bool";
|
|
41949
|
+
}, {
|
|
41950
|
+
readonly name: "updatedAt";
|
|
41951
|
+
readonly type: "uint64";
|
|
41952
|
+
readonly internalType: "uint64";
|
|
41953
|
+
}];
|
|
41954
|
+
}, {
|
|
41955
|
+
readonly name: "globalBurnPaused";
|
|
41956
|
+
readonly type: "tuple";
|
|
41957
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
41958
|
+
readonly components: readonly [{
|
|
41959
|
+
readonly name: "paused";
|
|
41960
|
+
readonly type: "bool";
|
|
41961
|
+
readonly internalType: "bool";
|
|
41962
|
+
}, {
|
|
41963
|
+
readonly name: "updatedAt";
|
|
41964
|
+
readonly type: "uint64";
|
|
41965
|
+
readonly internalType: "uint64";
|
|
41966
|
+
}];
|
|
41967
|
+
}, {
|
|
41968
|
+
readonly name: "globalTradingPaused";
|
|
41969
|
+
readonly type: "tuple";
|
|
41970
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
41971
|
+
readonly components: readonly [{
|
|
41972
|
+
readonly name: "paused";
|
|
41973
|
+
readonly type: "bool";
|
|
41974
|
+
readonly internalType: "bool";
|
|
41975
|
+
}, {
|
|
41976
|
+
readonly name: "updatedAt";
|
|
41977
|
+
readonly type: "uint64";
|
|
41978
|
+
readonly internalType: "uint64";
|
|
41979
|
+
}];
|
|
41980
|
+
}, {
|
|
41981
|
+
readonly name: "minWithdrawalInterval";
|
|
41982
|
+
readonly type: "uint256";
|
|
41983
|
+
readonly internalType: "uint256";
|
|
41984
|
+
}, {
|
|
41985
|
+
readonly name: "senderIsAdmin";
|
|
41986
|
+
readonly type: "bool";
|
|
41987
|
+
readonly internalType: "bool";
|
|
41988
|
+
}, {
|
|
41989
|
+
readonly name: "senderIsPauser";
|
|
41990
|
+
readonly type: "bool";
|
|
41991
|
+
readonly internalType: "bool";
|
|
41992
|
+
}];
|
|
41993
|
+
}];
|
|
41994
|
+
readonly stateMutability: "view";
|
|
41995
|
+
}, {
|
|
41996
|
+
readonly type: "function";
|
|
41997
|
+
readonly name: "getLiquidityAtTick";
|
|
41998
|
+
readonly inputs: readonly [{
|
|
41999
|
+
readonly name: "vault";
|
|
42000
|
+
readonly type: "address";
|
|
42001
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
42002
|
+
}, {
|
|
42003
|
+
readonly name: "tickLower";
|
|
42004
|
+
readonly type: "int24";
|
|
42005
|
+
readonly internalType: "int24";
|
|
42006
|
+
}];
|
|
42007
|
+
readonly outputs: readonly [{
|
|
42008
|
+
readonly name: "totalLiquidity";
|
|
42009
|
+
readonly type: "uint128";
|
|
42010
|
+
readonly internalType: "uint128";
|
|
40638
42011
|
}, {
|
|
40639
42012
|
readonly name: "borrowedLiquidity";
|
|
40640
42013
|
readonly type: "uint128";
|
|
@@ -40738,10 +42111,6 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
40738
42111
|
readonly name: "feeStrategy";
|
|
40739
42112
|
readonly type: "address";
|
|
40740
42113
|
readonly internalType: "address";
|
|
40741
|
-
}, {
|
|
40742
|
-
readonly name: "feeRecipient";
|
|
40743
|
-
readonly type: "address";
|
|
40744
|
-
readonly internalType: "address";
|
|
40745
42114
|
}, {
|
|
40746
42115
|
readonly name: "owner";
|
|
40747
42116
|
readonly type: "address";
|
|
@@ -43399,7 +44768,6 @@ declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard
|
|
|
43399
44768
|
guardian: `0x${string}`;
|
|
43400
44769
|
optionPricing: `0x${string}`;
|
|
43401
44770
|
feeStrategy: `0x${string}`;
|
|
43402
|
-
feeRecipient: `0x${string}`;
|
|
43403
44771
|
owner: `0x${string}`;
|
|
43404
44772
|
} | undefined>>;
|
|
43405
44773
|
//#endregion
|
|
@@ -47480,11 +48848,11 @@ declare const usePauseGlobalTrading: ({
|
|
|
47480
48848
|
marketAddr?: Address;
|
|
47481
48849
|
}) => {
|
|
47482
48850
|
data: undefined;
|
|
47483
|
-
status: "idle";
|
|
47484
48851
|
error: null;
|
|
47485
48852
|
isError: false;
|
|
47486
48853
|
isPending: false;
|
|
47487
48854
|
isSuccess: false;
|
|
48855
|
+
status: "idle";
|
|
47488
48856
|
failureCount: number;
|
|
47489
48857
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
47490
48858
|
isPaused: boolean;
|
|
@@ -47497,11 +48865,11 @@ declare const usePauseGlobalTrading: ({
|
|
|
47497
48865
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
47498
48866
|
} | {
|
|
47499
48867
|
data: undefined;
|
|
47500
|
-
status: "pending";
|
|
47501
48868
|
error: null;
|
|
47502
48869
|
isError: false;
|
|
47503
48870
|
isPending: true;
|
|
47504
48871
|
isSuccess: false;
|
|
48872
|
+
status: "pending";
|
|
47505
48873
|
failureCount: number;
|
|
47506
48874
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
47507
48875
|
isPaused: boolean;
|
|
@@ -47658,11 +49026,11 @@ declare const usePauseGlobalTrading: ({
|
|
|
47658
49026
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
47659
49027
|
} | {
|
|
47660
49028
|
data: undefined;
|
|
47661
|
-
status: "error";
|
|
47662
49029
|
error: _wagmi_core0.WriteContractErrorType;
|
|
47663
49030
|
isError: true;
|
|
47664
49031
|
isPending: false;
|
|
47665
49032
|
isSuccess: false;
|
|
49033
|
+
status: "error";
|
|
47666
49034
|
failureCount: number;
|
|
47667
49035
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
47668
49036
|
isPaused: boolean;
|
|
@@ -47819,11 +49187,11 @@ declare const usePauseGlobalTrading: ({
|
|
|
47819
49187
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
47820
49188
|
} | {
|
|
47821
49189
|
data: `0x${string}`;
|
|
47822
|
-
status: "success";
|
|
47823
49190
|
error: null;
|
|
47824
49191
|
isError: false;
|
|
47825
49192
|
isPending: false;
|
|
47826
49193
|
isSuccess: true;
|
|
49194
|
+
status: "success";
|
|
47827
49195
|
failureCount: number;
|
|
47828
49196
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
47829
49197
|
isPaused: boolean;
|
|
@@ -47987,11 +49355,11 @@ declare const usePauseMarketTrading: ({
|
|
|
47987
49355
|
marketAddr?: Address;
|
|
47988
49356
|
}) => {
|
|
47989
49357
|
data: undefined;
|
|
47990
|
-
status: "idle";
|
|
47991
49358
|
error: null;
|
|
47992
49359
|
isError: false;
|
|
47993
49360
|
isPending: false;
|
|
47994
49361
|
isSuccess: false;
|
|
49362
|
+
status: "idle";
|
|
47995
49363
|
failureCount: number;
|
|
47996
49364
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
47997
49365
|
isPaused: boolean;
|
|
@@ -48004,11 +49372,11 @@ declare const usePauseMarketTrading: ({
|
|
|
48004
49372
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
48005
49373
|
} | {
|
|
48006
49374
|
data: undefined;
|
|
48007
|
-
status: "pending";
|
|
48008
49375
|
error: null;
|
|
48009
49376
|
isError: false;
|
|
48010
49377
|
isPending: true;
|
|
48011
49378
|
isSuccess: false;
|
|
49379
|
+
status: "pending";
|
|
48012
49380
|
failureCount: number;
|
|
48013
49381
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
48014
49382
|
isPaused: boolean;
|
|
@@ -48165,11 +49533,11 @@ declare const usePauseMarketTrading: ({
|
|
|
48165
49533
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
48166
49534
|
} | {
|
|
48167
49535
|
data: undefined;
|
|
48168
|
-
status: "error";
|
|
48169
49536
|
error: _wagmi_core0.WriteContractErrorType;
|
|
48170
49537
|
isError: true;
|
|
48171
49538
|
isPending: false;
|
|
48172
49539
|
isSuccess: false;
|
|
49540
|
+
status: "error";
|
|
48173
49541
|
failureCount: number;
|
|
48174
49542
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
48175
49543
|
isPaused: boolean;
|
|
@@ -48326,11 +49694,11 @@ declare const usePauseMarketTrading: ({
|
|
|
48326
49694
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
48327
49695
|
} | {
|
|
48328
49696
|
data: `0x${string}`;
|
|
48329
|
-
status: "success";
|
|
48330
49697
|
error: null;
|
|
48331
49698
|
isError: false;
|
|
48332
49699
|
isPending: false;
|
|
48333
49700
|
isSuccess: true;
|
|
49701
|
+
status: "success";
|
|
48334
49702
|
failureCount: number;
|
|
48335
49703
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
48336
49704
|
isPaused: boolean;
|
|
@@ -48487,6 +49855,14 @@ declare const usePauseMarketTrading: ({
|
|
|
48487
49855
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
48488
49856
|
};
|
|
48489
49857
|
//#endregion
|
|
49858
|
+
//#region src/hooks/fees/useFeeRates.d.ts
|
|
49859
|
+
declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<{
|
|
49860
|
+
openingFeeRate: number;
|
|
49861
|
+
baseFeeRate: number;
|
|
49862
|
+
minOpeningFee: bigint;
|
|
49863
|
+
minBaseFee: bigint;
|
|
49864
|
+
} | undefined>>;
|
|
49865
|
+
//#endregion
|
|
48490
49866
|
//#region src/hooks/useLens.d.ts
|
|
48491
49867
|
declare const useLens: () => {
|
|
48492
49868
|
timelockLens: {
|
|
@@ -48635,6 +50011,889 @@ declare const useLens: () => {
|
|
|
48635
50011
|
readonly internalType: "bool";
|
|
48636
50012
|
}];
|
|
48637
50013
|
readonly stateMutability: "view";
|
|
50014
|
+
}, {
|
|
50015
|
+
readonly type: "function";
|
|
50016
|
+
readonly name: "getFeeRates";
|
|
50017
|
+
readonly inputs: readonly [{
|
|
50018
|
+
readonly name: "feeStrategy";
|
|
50019
|
+
readonly type: "address";
|
|
50020
|
+
readonly internalType: "contract FeeStrategy";
|
|
50021
|
+
}];
|
|
50022
|
+
readonly outputs: readonly [{
|
|
50023
|
+
readonly name: "rates";
|
|
50024
|
+
readonly type: "tuple";
|
|
50025
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
50026
|
+
readonly components: readonly [{
|
|
50027
|
+
readonly name: "openingFeeRate";
|
|
50028
|
+
readonly type: "uint32";
|
|
50029
|
+
readonly internalType: "uint32";
|
|
50030
|
+
}, {
|
|
50031
|
+
readonly name: "baseFeeRate";
|
|
50032
|
+
readonly type: "uint32";
|
|
50033
|
+
readonly internalType: "uint32";
|
|
50034
|
+
}, {
|
|
50035
|
+
readonly name: "minOpeningFee";
|
|
50036
|
+
readonly type: "uint128";
|
|
50037
|
+
readonly internalType: "uint128";
|
|
50038
|
+
}, {
|
|
50039
|
+
readonly name: "minBaseFee";
|
|
50040
|
+
readonly type: "uint128";
|
|
50041
|
+
readonly internalType: "uint128";
|
|
50042
|
+
}];
|
|
50043
|
+
}];
|
|
50044
|
+
readonly stateMutability: "view";
|
|
50045
|
+
}, {
|
|
50046
|
+
readonly type: "function";
|
|
50047
|
+
readonly name: "getGlobalGuardianState";
|
|
50048
|
+
readonly inputs: readonly [{
|
|
50049
|
+
readonly name: "guardian";
|
|
50050
|
+
readonly type: "address";
|
|
50051
|
+
readonly internalType: "contract TimelockGuardian";
|
|
50052
|
+
}];
|
|
50053
|
+
readonly outputs: readonly [{
|
|
50054
|
+
readonly name: "guardianState";
|
|
50055
|
+
readonly type: "tuple";
|
|
50056
|
+
readonly internalType: "struct TimelockLens.GuardianGlobalState";
|
|
50057
|
+
readonly components: readonly [{
|
|
50058
|
+
readonly name: "globalMintPaused";
|
|
50059
|
+
readonly type: "tuple";
|
|
50060
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
50061
|
+
readonly components: readonly [{
|
|
50062
|
+
readonly name: "paused";
|
|
50063
|
+
readonly type: "bool";
|
|
50064
|
+
readonly internalType: "bool";
|
|
50065
|
+
}, {
|
|
50066
|
+
readonly name: "updatedAt";
|
|
50067
|
+
readonly type: "uint64";
|
|
50068
|
+
readonly internalType: "uint64";
|
|
50069
|
+
}];
|
|
50070
|
+
}, {
|
|
50071
|
+
readonly name: "globalBurnPaused";
|
|
50072
|
+
readonly type: "tuple";
|
|
50073
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
50074
|
+
readonly components: readonly [{
|
|
50075
|
+
readonly name: "paused";
|
|
50076
|
+
readonly type: "bool";
|
|
50077
|
+
readonly internalType: "bool";
|
|
50078
|
+
}, {
|
|
50079
|
+
readonly name: "updatedAt";
|
|
50080
|
+
readonly type: "uint64";
|
|
50081
|
+
readonly internalType: "uint64";
|
|
50082
|
+
}];
|
|
50083
|
+
}, {
|
|
50084
|
+
readonly name: "globalTradingPaused";
|
|
50085
|
+
readonly type: "tuple";
|
|
50086
|
+
readonly internalType: "struct TimelockGuardian.PauseState";
|
|
50087
|
+
readonly components: readonly [{
|
|
50088
|
+
readonly name: "paused";
|
|
50089
|
+
readonly type: "bool";
|
|
50090
|
+
readonly internalType: "bool";
|
|
50091
|
+
}, {
|
|
50092
|
+
readonly name: "updatedAt";
|
|
50093
|
+
readonly type: "uint64";
|
|
50094
|
+
readonly internalType: "uint64";
|
|
50095
|
+
}];
|
|
50096
|
+
}, {
|
|
50097
|
+
readonly name: "minWithdrawalInterval";
|
|
50098
|
+
readonly type: "uint256";
|
|
50099
|
+
readonly internalType: "uint256";
|
|
50100
|
+
}, {
|
|
50101
|
+
readonly name: "senderIsAdmin";
|
|
50102
|
+
readonly type: "bool";
|
|
50103
|
+
readonly internalType: "bool";
|
|
50104
|
+
}, {
|
|
50105
|
+
readonly name: "senderIsPauser";
|
|
50106
|
+
readonly type: "bool";
|
|
50107
|
+
readonly internalType: "bool";
|
|
50108
|
+
}];
|
|
50109
|
+
}];
|
|
50110
|
+
readonly stateMutability: "view";
|
|
50111
|
+
}, {
|
|
50112
|
+
readonly type: "function";
|
|
50113
|
+
readonly name: "getLiquidityAtTick";
|
|
50114
|
+
readonly inputs: readonly [{
|
|
50115
|
+
readonly name: "vault";
|
|
50116
|
+
readonly type: "address";
|
|
50117
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
50118
|
+
}, {
|
|
50119
|
+
readonly name: "tickLower";
|
|
50120
|
+
readonly type: "int24";
|
|
50121
|
+
readonly internalType: "int24";
|
|
50122
|
+
}];
|
|
50123
|
+
readonly outputs: readonly [{
|
|
50124
|
+
readonly name: "totalLiquidity";
|
|
50125
|
+
readonly type: "uint128";
|
|
50126
|
+
readonly internalType: "uint128";
|
|
50127
|
+
}, {
|
|
50128
|
+
readonly name: "borrowedLiquidity";
|
|
50129
|
+
readonly type: "uint128";
|
|
50130
|
+
readonly internalType: "uint128";
|
|
50131
|
+
}];
|
|
50132
|
+
readonly stateMutability: "view";
|
|
50133
|
+
}, {
|
|
50134
|
+
readonly type: "function";
|
|
50135
|
+
readonly name: "getMarketData";
|
|
50136
|
+
readonly inputs: readonly [{
|
|
50137
|
+
readonly name: "market";
|
|
50138
|
+
readonly type: "address";
|
|
50139
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
50140
|
+
}];
|
|
50141
|
+
readonly outputs: readonly [{
|
|
50142
|
+
readonly name: "marketData";
|
|
50143
|
+
readonly type: "tuple";
|
|
50144
|
+
readonly internalType: "struct TimelockLens.TimelockMarketData";
|
|
50145
|
+
readonly components: readonly [{
|
|
50146
|
+
readonly name: "optionAssetIsToken0";
|
|
50147
|
+
readonly type: "bool";
|
|
50148
|
+
readonly internalType: "bool";
|
|
50149
|
+
}, {
|
|
50150
|
+
readonly name: "vault";
|
|
50151
|
+
readonly type: "address";
|
|
50152
|
+
readonly internalType: "contract ITimelockVault";
|
|
50153
|
+
}, {
|
|
50154
|
+
readonly name: "poolManager";
|
|
50155
|
+
readonly type: "address";
|
|
50156
|
+
readonly internalType: "contract IPoolManager";
|
|
50157
|
+
}, {
|
|
50158
|
+
readonly name: "poolKey";
|
|
50159
|
+
readonly type: "tuple";
|
|
50160
|
+
readonly internalType: "struct PoolKey";
|
|
50161
|
+
readonly components: readonly [{
|
|
50162
|
+
readonly name: "currency0";
|
|
50163
|
+
readonly type: "address";
|
|
50164
|
+
readonly internalType: "Currency";
|
|
50165
|
+
}, {
|
|
50166
|
+
readonly name: "currency1";
|
|
50167
|
+
readonly type: "address";
|
|
50168
|
+
readonly internalType: "Currency";
|
|
50169
|
+
}, {
|
|
50170
|
+
readonly name: "fee";
|
|
50171
|
+
readonly type: "uint24";
|
|
50172
|
+
readonly internalType: "uint24";
|
|
50173
|
+
}, {
|
|
50174
|
+
readonly name: "tickSpacing";
|
|
50175
|
+
readonly type: "int24";
|
|
50176
|
+
readonly internalType: "int24";
|
|
50177
|
+
}, {
|
|
50178
|
+
readonly name: "hooks";
|
|
50179
|
+
readonly type: "address";
|
|
50180
|
+
readonly internalType: "contract IHooks";
|
|
50181
|
+
}];
|
|
50182
|
+
}, {
|
|
50183
|
+
readonly name: "optionAsset";
|
|
50184
|
+
readonly type: "address";
|
|
50185
|
+
readonly internalType: "address";
|
|
50186
|
+
}, {
|
|
50187
|
+
readonly name: "payoutAsset";
|
|
50188
|
+
readonly type: "address";
|
|
50189
|
+
readonly internalType: "address";
|
|
50190
|
+
}, {
|
|
50191
|
+
readonly name: "optionAssetDecimals";
|
|
50192
|
+
readonly type: "uint8";
|
|
50193
|
+
readonly internalType: "uint8";
|
|
50194
|
+
}, {
|
|
50195
|
+
readonly name: "payoutAssetDecimals";
|
|
50196
|
+
readonly type: "uint8";
|
|
50197
|
+
readonly internalType: "uint8";
|
|
50198
|
+
}, {
|
|
50199
|
+
readonly name: "optionAssetSymbol";
|
|
50200
|
+
readonly type: "string";
|
|
50201
|
+
readonly internalType: "string";
|
|
50202
|
+
}, {
|
|
50203
|
+
readonly name: "payoutAssetSymbol";
|
|
50204
|
+
readonly type: "string";
|
|
50205
|
+
readonly internalType: "string";
|
|
50206
|
+
}, {
|
|
50207
|
+
readonly name: "optionAssetName";
|
|
50208
|
+
readonly type: "string";
|
|
50209
|
+
readonly internalType: "string";
|
|
50210
|
+
}, {
|
|
50211
|
+
readonly name: "payoutAssetName";
|
|
50212
|
+
readonly type: "string";
|
|
50213
|
+
readonly internalType: "string";
|
|
50214
|
+
}, {
|
|
50215
|
+
readonly name: "optionsCount";
|
|
50216
|
+
readonly type: "uint256";
|
|
50217
|
+
readonly internalType: "uint256";
|
|
50218
|
+
}, {
|
|
50219
|
+
readonly name: "guardian";
|
|
50220
|
+
readonly type: "address";
|
|
50221
|
+
readonly internalType: "address";
|
|
50222
|
+
}, {
|
|
50223
|
+
readonly name: "optionPricing";
|
|
50224
|
+
readonly type: "address";
|
|
50225
|
+
readonly internalType: "address";
|
|
50226
|
+
}, {
|
|
50227
|
+
readonly name: "feeStrategy";
|
|
50228
|
+
readonly type: "address";
|
|
50229
|
+
readonly internalType: "address";
|
|
50230
|
+
}, {
|
|
50231
|
+
readonly name: "owner";
|
|
50232
|
+
readonly type: "address";
|
|
50233
|
+
readonly internalType: "address";
|
|
50234
|
+
}];
|
|
50235
|
+
}];
|
|
50236
|
+
readonly stateMutability: "view";
|
|
50237
|
+
}, {
|
|
50238
|
+
readonly type: "function";
|
|
50239
|
+
readonly name: "getMaxATMPositionSizes";
|
|
50240
|
+
readonly inputs: readonly [{
|
|
50241
|
+
readonly name: "market";
|
|
50242
|
+
readonly type: "address";
|
|
50243
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
50244
|
+
}, {
|
|
50245
|
+
readonly name: "maxSteps";
|
|
50246
|
+
readonly type: "int24";
|
|
50247
|
+
readonly internalType: "int24";
|
|
50248
|
+
}];
|
|
50249
|
+
readonly outputs: readonly [{
|
|
50250
|
+
readonly name: "maxCallSize";
|
|
50251
|
+
readonly type: "uint256";
|
|
50252
|
+
readonly internalType: "uint256";
|
|
50253
|
+
}, {
|
|
50254
|
+
readonly name: "maxPutSize";
|
|
50255
|
+
readonly type: "uint256";
|
|
50256
|
+
readonly internalType: "uint256";
|
|
50257
|
+
}];
|
|
50258
|
+
readonly stateMutability: "view";
|
|
50259
|
+
}, {
|
|
50260
|
+
readonly type: "function";
|
|
50261
|
+
readonly name: "getMaxBorrowable0";
|
|
50262
|
+
readonly inputs: readonly [{
|
|
50263
|
+
readonly name: "vault";
|
|
50264
|
+
readonly type: "address";
|
|
50265
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
50266
|
+
}, {
|
|
50267
|
+
readonly name: "strikeTick";
|
|
50268
|
+
readonly type: "int24";
|
|
50269
|
+
readonly internalType: "int24";
|
|
50270
|
+
}, {
|
|
50271
|
+
readonly name: "maxSteps";
|
|
50272
|
+
readonly type: "int24";
|
|
50273
|
+
readonly internalType: "int24";
|
|
50274
|
+
}];
|
|
50275
|
+
readonly outputs: readonly [{
|
|
50276
|
+
readonly name: "borrowable0";
|
|
50277
|
+
readonly type: "uint256";
|
|
50278
|
+
readonly internalType: "uint256";
|
|
50279
|
+
}];
|
|
50280
|
+
readonly stateMutability: "view";
|
|
50281
|
+
}, {
|
|
50282
|
+
readonly type: "function";
|
|
50283
|
+
readonly name: "getMaxBorrowable1";
|
|
50284
|
+
readonly inputs: readonly [{
|
|
50285
|
+
readonly name: "vault";
|
|
50286
|
+
readonly type: "address";
|
|
50287
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
50288
|
+
}, {
|
|
50289
|
+
readonly name: "strikeTick";
|
|
50290
|
+
readonly type: "int24";
|
|
50291
|
+
readonly internalType: "int24";
|
|
50292
|
+
}, {
|
|
50293
|
+
readonly name: "maxSteps";
|
|
50294
|
+
readonly type: "int24";
|
|
50295
|
+
readonly internalType: "int24";
|
|
50296
|
+
}];
|
|
50297
|
+
readonly outputs: readonly [{
|
|
50298
|
+
readonly name: "borrowable1";
|
|
50299
|
+
readonly type: "uint256";
|
|
50300
|
+
readonly internalType: "uint256";
|
|
50301
|
+
}];
|
|
50302
|
+
readonly stateMutability: "view";
|
|
50303
|
+
}, {
|
|
50304
|
+
readonly type: "function";
|
|
50305
|
+
readonly name: "getMaxPositionSizes";
|
|
50306
|
+
readonly inputs: readonly [{
|
|
50307
|
+
readonly name: "market";
|
|
50308
|
+
readonly type: "address";
|
|
50309
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
50310
|
+
}, {
|
|
50311
|
+
readonly name: "strikeTick";
|
|
50312
|
+
readonly type: "int24";
|
|
50313
|
+
readonly internalType: "int24";
|
|
50314
|
+
}, {
|
|
50315
|
+
readonly name: "maxSteps";
|
|
50316
|
+
readonly type: "int24";
|
|
50317
|
+
readonly internalType: "int24";
|
|
50318
|
+
}];
|
|
50319
|
+
readonly outputs: readonly [{
|
|
50320
|
+
readonly name: "maxCallSize";
|
|
50321
|
+
readonly type: "uint256";
|
|
50322
|
+
readonly internalType: "uint256";
|
|
50323
|
+
}, {
|
|
50324
|
+
readonly name: "maxPutSize";
|
|
50325
|
+
readonly type: "uint256";
|
|
50326
|
+
readonly internalType: "uint256";
|
|
50327
|
+
}];
|
|
50328
|
+
readonly stateMutability: "view";
|
|
50329
|
+
}, {
|
|
50330
|
+
readonly type: "function";
|
|
50331
|
+
readonly name: "getOptionData";
|
|
50332
|
+
readonly inputs: readonly [{
|
|
50333
|
+
readonly name: "market";
|
|
50334
|
+
readonly type: "address";
|
|
50335
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
50336
|
+
}, {
|
|
50337
|
+
readonly name: "optionId";
|
|
50338
|
+
readonly type: "uint256";
|
|
50339
|
+
readonly internalType: "uint256";
|
|
50340
|
+
}];
|
|
50341
|
+
readonly outputs: readonly [{
|
|
50342
|
+
readonly name: "";
|
|
50343
|
+
readonly type: "tuple";
|
|
50344
|
+
readonly internalType: "struct TimelockLens.OptionData";
|
|
50345
|
+
readonly components: readonly [{
|
|
50346
|
+
readonly name: "optionId";
|
|
50347
|
+
readonly type: "uint256";
|
|
50348
|
+
readonly internalType: "uint256";
|
|
50349
|
+
}, {
|
|
50350
|
+
readonly name: "owner";
|
|
50351
|
+
readonly type: "address";
|
|
50352
|
+
readonly internalType: "address";
|
|
50353
|
+
}, {
|
|
50354
|
+
readonly name: "optionType";
|
|
50355
|
+
readonly type: "uint8";
|
|
50356
|
+
readonly internalType: "uint8";
|
|
50357
|
+
}, {
|
|
50358
|
+
readonly name: "startTick";
|
|
50359
|
+
readonly type: "int24";
|
|
50360
|
+
readonly internalType: "int24";
|
|
50361
|
+
}, {
|
|
50362
|
+
readonly name: "strikeTick";
|
|
50363
|
+
readonly type: "int24";
|
|
50364
|
+
readonly internalType: "int24";
|
|
50365
|
+
}, {
|
|
50366
|
+
readonly name: "strikePrice";
|
|
50367
|
+
readonly type: "uint256";
|
|
50368
|
+
readonly internalType: "uint256";
|
|
50369
|
+
}, {
|
|
50370
|
+
readonly name: "positionSize";
|
|
50371
|
+
readonly type: "uint256";
|
|
50372
|
+
readonly internalType: "uint256";
|
|
50373
|
+
}, {
|
|
50374
|
+
readonly name: "expiresAt";
|
|
50375
|
+
readonly type: "uint32";
|
|
50376
|
+
readonly internalType: "uint32";
|
|
50377
|
+
}, {
|
|
50378
|
+
readonly name: "liquidities";
|
|
50379
|
+
readonly type: "uint128[]";
|
|
50380
|
+
readonly internalType: "uint128[]";
|
|
50381
|
+
}];
|
|
50382
|
+
}];
|
|
50383
|
+
readonly stateMutability: "view";
|
|
50384
|
+
}, {
|
|
50385
|
+
readonly type: "function";
|
|
50386
|
+
readonly name: "getOptionsData";
|
|
50387
|
+
readonly inputs: readonly [{
|
|
50388
|
+
readonly name: "market";
|
|
50389
|
+
readonly type: "address";
|
|
50390
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
50391
|
+
}, {
|
|
50392
|
+
readonly name: "optionIds";
|
|
50393
|
+
readonly type: "uint256[]";
|
|
50394
|
+
readonly internalType: "uint256[]";
|
|
50395
|
+
}];
|
|
50396
|
+
readonly outputs: readonly [{
|
|
50397
|
+
readonly name: "optionsData";
|
|
50398
|
+
readonly type: "tuple[]";
|
|
50399
|
+
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
50400
|
+
readonly components: readonly [{
|
|
50401
|
+
readonly name: "optionId";
|
|
50402
|
+
readonly type: "uint256";
|
|
50403
|
+
readonly internalType: "uint256";
|
|
50404
|
+
}, {
|
|
50405
|
+
readonly name: "owner";
|
|
50406
|
+
readonly type: "address";
|
|
50407
|
+
readonly internalType: "address";
|
|
50408
|
+
}, {
|
|
50409
|
+
readonly name: "optionType";
|
|
50410
|
+
readonly type: "uint8";
|
|
50411
|
+
readonly internalType: "uint8";
|
|
50412
|
+
}, {
|
|
50413
|
+
readonly name: "startTick";
|
|
50414
|
+
readonly type: "int24";
|
|
50415
|
+
readonly internalType: "int24";
|
|
50416
|
+
}, {
|
|
50417
|
+
readonly name: "strikeTick";
|
|
50418
|
+
readonly type: "int24";
|
|
50419
|
+
readonly internalType: "int24";
|
|
50420
|
+
}, {
|
|
50421
|
+
readonly name: "strikePrice";
|
|
50422
|
+
readonly type: "uint256";
|
|
50423
|
+
readonly internalType: "uint256";
|
|
50424
|
+
}, {
|
|
50425
|
+
readonly name: "positionSize";
|
|
50426
|
+
readonly type: "uint256";
|
|
50427
|
+
readonly internalType: "uint256";
|
|
50428
|
+
}, {
|
|
50429
|
+
readonly name: "expiresAt";
|
|
50430
|
+
readonly type: "uint32";
|
|
50431
|
+
readonly internalType: "uint32";
|
|
50432
|
+
}, {
|
|
50433
|
+
readonly name: "liquidities";
|
|
50434
|
+
readonly type: "uint128[]";
|
|
50435
|
+
readonly internalType: "uint128[]";
|
|
50436
|
+
}];
|
|
50437
|
+
}];
|
|
50438
|
+
readonly stateMutability: "view";
|
|
50439
|
+
}, {
|
|
50440
|
+
readonly type: "function";
|
|
50441
|
+
readonly name: "getPoolData";
|
|
50442
|
+
readonly inputs: readonly [{
|
|
50443
|
+
readonly name: "poolManager";
|
|
50444
|
+
readonly type: "address";
|
|
50445
|
+
readonly internalType: "contract IPoolManager";
|
|
50446
|
+
}, {
|
|
50447
|
+
readonly name: "poolKey";
|
|
50448
|
+
readonly type: "tuple";
|
|
50449
|
+
readonly internalType: "struct PoolKey";
|
|
50450
|
+
readonly components: readonly [{
|
|
50451
|
+
readonly name: "currency0";
|
|
50452
|
+
readonly type: "address";
|
|
50453
|
+
readonly internalType: "Currency";
|
|
50454
|
+
}, {
|
|
50455
|
+
readonly name: "currency1";
|
|
50456
|
+
readonly type: "address";
|
|
50457
|
+
readonly internalType: "Currency";
|
|
50458
|
+
}, {
|
|
50459
|
+
readonly name: "fee";
|
|
50460
|
+
readonly type: "uint24";
|
|
50461
|
+
readonly internalType: "uint24";
|
|
50462
|
+
}, {
|
|
50463
|
+
readonly name: "tickSpacing";
|
|
50464
|
+
readonly type: "int24";
|
|
50465
|
+
readonly internalType: "int24";
|
|
50466
|
+
}, {
|
|
50467
|
+
readonly name: "hooks";
|
|
50468
|
+
readonly type: "address";
|
|
50469
|
+
readonly internalType: "contract IHooks";
|
|
50470
|
+
}];
|
|
50471
|
+
}];
|
|
50472
|
+
readonly outputs: readonly [{
|
|
50473
|
+
readonly name: "poolData";
|
|
50474
|
+
readonly type: "tuple";
|
|
50475
|
+
readonly internalType: "struct TimelockLens.UniswapPoolData";
|
|
50476
|
+
readonly components: readonly [{
|
|
50477
|
+
readonly name: "token0";
|
|
50478
|
+
readonly type: "address";
|
|
50479
|
+
readonly internalType: "address";
|
|
50480
|
+
}, {
|
|
50481
|
+
readonly name: "token1";
|
|
50482
|
+
readonly type: "address";
|
|
50483
|
+
readonly internalType: "address";
|
|
50484
|
+
}, {
|
|
50485
|
+
readonly name: "token0Decimals";
|
|
50486
|
+
readonly type: "uint8";
|
|
50487
|
+
readonly internalType: "uint8";
|
|
50488
|
+
}, {
|
|
50489
|
+
readonly name: "token1Decimals";
|
|
50490
|
+
readonly type: "uint8";
|
|
50491
|
+
readonly internalType: "uint8";
|
|
50492
|
+
}, {
|
|
50493
|
+
readonly name: "token0Symbol";
|
|
50494
|
+
readonly type: "string";
|
|
50495
|
+
readonly internalType: "string";
|
|
50496
|
+
}, {
|
|
50497
|
+
readonly name: "token1Symbol";
|
|
50498
|
+
readonly type: "string";
|
|
50499
|
+
readonly internalType: "string";
|
|
50500
|
+
}, {
|
|
50501
|
+
readonly name: "token0Name";
|
|
50502
|
+
readonly type: "string";
|
|
50503
|
+
readonly internalType: "string";
|
|
50504
|
+
}, {
|
|
50505
|
+
readonly name: "token1Name";
|
|
50506
|
+
readonly type: "string";
|
|
50507
|
+
readonly internalType: "string";
|
|
50508
|
+
}, {
|
|
50509
|
+
readonly name: "tickSpacing";
|
|
50510
|
+
readonly type: "int24";
|
|
50511
|
+
readonly internalType: "int24";
|
|
50512
|
+
}, {
|
|
50513
|
+
readonly name: "fee";
|
|
50514
|
+
readonly type: "uint24";
|
|
50515
|
+
readonly internalType: "uint24";
|
|
50516
|
+
}];
|
|
50517
|
+
}];
|
|
50518
|
+
readonly stateMutability: "view";
|
|
50519
|
+
}, {
|
|
50520
|
+
readonly type: "function";
|
|
50521
|
+
readonly name: "getRefTick";
|
|
50522
|
+
readonly inputs: readonly [{
|
|
50523
|
+
readonly name: "vault";
|
|
50524
|
+
readonly type: "address";
|
|
50525
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
50526
|
+
}, {
|
|
50527
|
+
readonly name: "tickLower";
|
|
50528
|
+
readonly type: "int24";
|
|
50529
|
+
readonly internalType: "int24";
|
|
50530
|
+
}];
|
|
50531
|
+
readonly outputs: readonly [{
|
|
50532
|
+
readonly name: "refTick";
|
|
50533
|
+
readonly type: "int24";
|
|
50534
|
+
readonly internalType: "int24";
|
|
50535
|
+
}];
|
|
50536
|
+
readonly stateMutability: "view";
|
|
50537
|
+
}, {
|
|
50538
|
+
readonly type: "function";
|
|
50539
|
+
readonly name: "getTokenData";
|
|
50540
|
+
readonly inputs: readonly [{
|
|
50541
|
+
readonly name: "token";
|
|
50542
|
+
readonly type: "address";
|
|
50543
|
+
readonly internalType: "address";
|
|
50544
|
+
}];
|
|
50545
|
+
readonly outputs: readonly [{
|
|
50546
|
+
readonly name: "tokenData";
|
|
50547
|
+
readonly type: "tuple";
|
|
50548
|
+
readonly internalType: "struct TimelockLens.TokenData";
|
|
50549
|
+
readonly components: readonly [{
|
|
50550
|
+
readonly name: "decimals";
|
|
50551
|
+
readonly type: "uint8";
|
|
50552
|
+
readonly internalType: "uint8";
|
|
50553
|
+
}, {
|
|
50554
|
+
readonly name: "symbol";
|
|
50555
|
+
readonly type: "string";
|
|
50556
|
+
readonly internalType: "string";
|
|
50557
|
+
}, {
|
|
50558
|
+
readonly name: "name";
|
|
50559
|
+
readonly type: "string";
|
|
50560
|
+
readonly internalType: "string";
|
|
50561
|
+
}];
|
|
50562
|
+
}];
|
|
50563
|
+
readonly stateMutability: "view";
|
|
50564
|
+
}, {
|
|
50565
|
+
readonly type: "function";
|
|
50566
|
+
readonly name: "getUserOptions";
|
|
50567
|
+
readonly inputs: readonly [{
|
|
50568
|
+
readonly name: "market";
|
|
50569
|
+
readonly type: "address";
|
|
50570
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
50571
|
+
}, {
|
|
50572
|
+
readonly name: "user";
|
|
50573
|
+
readonly type: "address";
|
|
50574
|
+
readonly internalType: "address";
|
|
50575
|
+
}, {
|
|
50576
|
+
readonly name: "startId";
|
|
50577
|
+
readonly type: "uint256";
|
|
50578
|
+
readonly internalType: "uint256";
|
|
50579
|
+
}, {
|
|
50580
|
+
readonly name: "limit";
|
|
50581
|
+
readonly type: "uint256";
|
|
50582
|
+
readonly internalType: "uint256";
|
|
50583
|
+
}];
|
|
50584
|
+
readonly outputs: readonly [{
|
|
50585
|
+
readonly name: "userOptions";
|
|
50586
|
+
readonly type: "tuple[]";
|
|
50587
|
+
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
50588
|
+
readonly components: readonly [{
|
|
50589
|
+
readonly name: "optionId";
|
|
50590
|
+
readonly type: "uint256";
|
|
50591
|
+
readonly internalType: "uint256";
|
|
50592
|
+
}, {
|
|
50593
|
+
readonly name: "owner";
|
|
50594
|
+
readonly type: "address";
|
|
50595
|
+
readonly internalType: "address";
|
|
50596
|
+
}, {
|
|
50597
|
+
readonly name: "optionType";
|
|
50598
|
+
readonly type: "uint8";
|
|
50599
|
+
readonly internalType: "uint8";
|
|
50600
|
+
}, {
|
|
50601
|
+
readonly name: "startTick";
|
|
50602
|
+
readonly type: "int24";
|
|
50603
|
+
readonly internalType: "int24";
|
|
50604
|
+
}, {
|
|
50605
|
+
readonly name: "strikeTick";
|
|
50606
|
+
readonly type: "int24";
|
|
50607
|
+
readonly internalType: "int24";
|
|
50608
|
+
}, {
|
|
50609
|
+
readonly name: "strikePrice";
|
|
50610
|
+
readonly type: "uint256";
|
|
50611
|
+
readonly internalType: "uint256";
|
|
50612
|
+
}, {
|
|
50613
|
+
readonly name: "positionSize";
|
|
50614
|
+
readonly type: "uint256";
|
|
50615
|
+
readonly internalType: "uint256";
|
|
50616
|
+
}, {
|
|
50617
|
+
readonly name: "expiresAt";
|
|
50618
|
+
readonly type: "uint32";
|
|
50619
|
+
readonly internalType: "uint32";
|
|
50620
|
+
}, {
|
|
50621
|
+
readonly name: "liquidities";
|
|
50622
|
+
readonly type: "uint128[]";
|
|
50623
|
+
readonly internalType: "uint128[]";
|
|
50624
|
+
}];
|
|
50625
|
+
}, {
|
|
50626
|
+
readonly name: "nextStartId";
|
|
50627
|
+
readonly type: "uint256";
|
|
50628
|
+
readonly internalType: "uint256";
|
|
50629
|
+
}, {
|
|
50630
|
+
readonly name: "hasMore";
|
|
50631
|
+
readonly type: "bool";
|
|
50632
|
+
readonly internalType: "bool";
|
|
50633
|
+
}];
|
|
50634
|
+
readonly stateMutability: "view";
|
|
50635
|
+
}, {
|
|
50636
|
+
readonly type: "function";
|
|
50637
|
+
readonly name: "getVaultData";
|
|
50638
|
+
readonly inputs: readonly [{
|
|
50639
|
+
readonly name: "vault";
|
|
50640
|
+
readonly type: "address";
|
|
50641
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
50642
|
+
}];
|
|
50643
|
+
readonly outputs: readonly [{
|
|
50644
|
+
readonly name: "vaultData";
|
|
50645
|
+
readonly type: "tuple";
|
|
50646
|
+
readonly internalType: "struct TimelockLens.TimelockVaultData";
|
|
50647
|
+
readonly components: readonly [{
|
|
50648
|
+
readonly name: "poolManager";
|
|
50649
|
+
readonly type: "address";
|
|
50650
|
+
readonly internalType: "contract IPoolManager";
|
|
50651
|
+
}, {
|
|
50652
|
+
readonly name: "poolKey";
|
|
50653
|
+
readonly type: "tuple";
|
|
50654
|
+
readonly internalType: "struct PoolKey";
|
|
50655
|
+
readonly components: readonly [{
|
|
50656
|
+
readonly name: "currency0";
|
|
50657
|
+
readonly type: "address";
|
|
50658
|
+
readonly internalType: "Currency";
|
|
50659
|
+
}, {
|
|
50660
|
+
readonly name: "currency1";
|
|
50661
|
+
readonly type: "address";
|
|
50662
|
+
readonly internalType: "Currency";
|
|
50663
|
+
}, {
|
|
50664
|
+
readonly name: "fee";
|
|
50665
|
+
readonly type: "uint24";
|
|
50666
|
+
readonly internalType: "uint24";
|
|
50667
|
+
}, {
|
|
50668
|
+
readonly name: "tickSpacing";
|
|
50669
|
+
readonly type: "int24";
|
|
50670
|
+
readonly internalType: "int24";
|
|
50671
|
+
}, {
|
|
50672
|
+
readonly name: "hooks";
|
|
50673
|
+
readonly type: "address";
|
|
50674
|
+
readonly internalType: "contract IHooks";
|
|
50675
|
+
}];
|
|
50676
|
+
}, {
|
|
50677
|
+
readonly name: "owner";
|
|
50678
|
+
readonly type: "address";
|
|
50679
|
+
readonly internalType: "address";
|
|
50680
|
+
}];
|
|
50681
|
+
}];
|
|
50682
|
+
readonly stateMutability: "view";
|
|
50683
|
+
}, {
|
|
50684
|
+
readonly type: "function";
|
|
50685
|
+
readonly name: "getVaultTVL";
|
|
50686
|
+
readonly inputs: readonly [{
|
|
50687
|
+
readonly name: "vault";
|
|
50688
|
+
readonly type: "address";
|
|
50689
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
50690
|
+
}];
|
|
50691
|
+
readonly outputs: readonly [{
|
|
50692
|
+
readonly name: "total0";
|
|
50693
|
+
readonly type: "uint256";
|
|
50694
|
+
readonly internalType: "uint256";
|
|
50695
|
+
}, {
|
|
50696
|
+
readonly name: "total1";
|
|
50697
|
+
readonly type: "uint256";
|
|
50698
|
+
readonly internalType: "uint256";
|
|
50699
|
+
}, {
|
|
50700
|
+
readonly name: "borrowed0";
|
|
50701
|
+
readonly type: "uint256";
|
|
50702
|
+
readonly internalType: "uint256";
|
|
50703
|
+
}, {
|
|
50704
|
+
readonly name: "borrowed1";
|
|
50705
|
+
readonly type: "uint256";
|
|
50706
|
+
readonly internalType: "uint256";
|
|
50707
|
+
}, {
|
|
50708
|
+
readonly name: "tvlAs0";
|
|
50709
|
+
readonly type: "uint256";
|
|
50710
|
+
readonly internalType: "uint256";
|
|
50711
|
+
}, {
|
|
50712
|
+
readonly name: "tvlAs1";
|
|
50713
|
+
readonly type: "uint256";
|
|
50714
|
+
readonly internalType: "uint256";
|
|
50715
|
+
}, {
|
|
50716
|
+
readonly name: "blocksCount";
|
|
50717
|
+
readonly type: "uint256";
|
|
50718
|
+
readonly internalType: "uint256";
|
|
50719
|
+
}];
|
|
50720
|
+
readonly stateMutability: "view";
|
|
50721
|
+
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
50722
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50723
|
+
readonly type: "function";
|
|
50724
|
+
readonly name: "batchGetRefTick";
|
|
50725
|
+
readonly inputs: readonly [{
|
|
50726
|
+
readonly name: "vault";
|
|
50727
|
+
readonly type: "address";
|
|
50728
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
50729
|
+
}, {
|
|
50730
|
+
readonly name: "tickLower";
|
|
50731
|
+
readonly type: "int24[]";
|
|
50732
|
+
readonly internalType: "int24[]";
|
|
50733
|
+
}];
|
|
50734
|
+
readonly outputs: readonly [{
|
|
50735
|
+
readonly name: "refTicks";
|
|
50736
|
+
readonly type: "int24[]";
|
|
50737
|
+
readonly internalType: "int24[]";
|
|
50738
|
+
}];
|
|
50739
|
+
readonly stateMutability: "view";
|
|
50740
|
+
}, {
|
|
50741
|
+
readonly type: "function";
|
|
50742
|
+
readonly name: "getAllBlocks";
|
|
50743
|
+
readonly inputs: readonly [{
|
|
50744
|
+
readonly name: "vault";
|
|
50745
|
+
readonly type: "address";
|
|
50746
|
+
readonly internalType: "contract TimelockSingleOwnerVault";
|
|
50747
|
+
}];
|
|
50748
|
+
readonly outputs: readonly [{
|
|
50749
|
+
readonly name: "blocks";
|
|
50750
|
+
readonly type: "tuple[]";
|
|
50751
|
+
readonly internalType: "struct TimelockLens.LiquidityBlockData[]";
|
|
50752
|
+
readonly components: readonly [{
|
|
50753
|
+
readonly name: "tickLower";
|
|
50754
|
+
readonly type: "int24";
|
|
50755
|
+
readonly internalType: "int24";
|
|
50756
|
+
}, {
|
|
50757
|
+
readonly name: "tickUpper";
|
|
50758
|
+
readonly type: "int24";
|
|
50759
|
+
readonly internalType: "int24";
|
|
50760
|
+
}, {
|
|
50761
|
+
readonly name: "prevTickLower";
|
|
50762
|
+
readonly type: "int24";
|
|
50763
|
+
readonly internalType: "int24";
|
|
50764
|
+
}, {
|
|
50765
|
+
readonly name: "totalLiquidity";
|
|
50766
|
+
readonly type: "uint128";
|
|
50767
|
+
readonly internalType: "uint128";
|
|
50768
|
+
}, {
|
|
50769
|
+
readonly name: "borrowedLiquidity";
|
|
50770
|
+
readonly type: "uint128";
|
|
50771
|
+
readonly internalType: "uint128";
|
|
50772
|
+
}, {
|
|
50773
|
+
readonly name: "reservedLiquidity";
|
|
50774
|
+
readonly type: "uint128";
|
|
50775
|
+
readonly internalType: "uint128";
|
|
50776
|
+
}, {
|
|
50777
|
+
readonly name: "availableLiquidity";
|
|
50778
|
+
readonly type: "uint128";
|
|
50779
|
+
readonly internalType: "uint128";
|
|
50780
|
+
}, {
|
|
50781
|
+
readonly name: "totalAmount0";
|
|
50782
|
+
readonly type: "uint256";
|
|
50783
|
+
readonly internalType: "uint256";
|
|
50784
|
+
}, {
|
|
50785
|
+
readonly name: "totalAmount1";
|
|
50786
|
+
readonly type: "uint256";
|
|
50787
|
+
readonly internalType: "uint256";
|
|
50788
|
+
}, {
|
|
50789
|
+
readonly name: "borrowedAmount0";
|
|
50790
|
+
readonly type: "uint256";
|
|
50791
|
+
readonly internalType: "uint256";
|
|
50792
|
+
}, {
|
|
50793
|
+
readonly name: "borrowedAmount1";
|
|
50794
|
+
readonly type: "uint256";
|
|
50795
|
+
readonly internalType: "uint256";
|
|
50796
|
+
}];
|
|
50797
|
+
}];
|
|
50798
|
+
readonly stateMutability: "view";
|
|
50799
|
+
}, {
|
|
50800
|
+
readonly type: "function";
|
|
50801
|
+
readonly name: "getExpiredOptions";
|
|
50802
|
+
readonly inputs: readonly [{
|
|
50803
|
+
readonly name: "market";
|
|
50804
|
+
readonly type: "address";
|
|
50805
|
+
readonly internalType: "contract TimelockOptionsMarket";
|
|
50806
|
+
}, {
|
|
50807
|
+
readonly name: "startId";
|
|
50808
|
+
readonly type: "uint256";
|
|
50809
|
+
readonly internalType: "uint256";
|
|
50810
|
+
}, {
|
|
50811
|
+
readonly name: "endId";
|
|
50812
|
+
readonly type: "uint256";
|
|
50813
|
+
readonly internalType: "uint256";
|
|
50814
|
+
}];
|
|
50815
|
+
readonly outputs: readonly [{
|
|
50816
|
+
readonly name: "expiredOptions";
|
|
50817
|
+
readonly type: "tuple[]";
|
|
50818
|
+
readonly internalType: "struct TimelockLens.OptionData[]";
|
|
50819
|
+
readonly components: readonly [{
|
|
50820
|
+
readonly name: "optionId";
|
|
50821
|
+
readonly type: "uint256";
|
|
50822
|
+
readonly internalType: "uint256";
|
|
50823
|
+
}, {
|
|
50824
|
+
readonly name: "owner";
|
|
50825
|
+
readonly type: "address";
|
|
50826
|
+
readonly internalType: "address";
|
|
50827
|
+
}, {
|
|
50828
|
+
readonly name: "optionType";
|
|
50829
|
+
readonly type: "uint8";
|
|
50830
|
+
readonly internalType: "uint8";
|
|
50831
|
+
}, {
|
|
50832
|
+
readonly name: "startTick";
|
|
50833
|
+
readonly type: "int24";
|
|
50834
|
+
readonly internalType: "int24";
|
|
50835
|
+
}, {
|
|
50836
|
+
readonly name: "strikeTick";
|
|
50837
|
+
readonly type: "int24";
|
|
50838
|
+
readonly internalType: "int24";
|
|
50839
|
+
}, {
|
|
50840
|
+
readonly name: "strikePrice";
|
|
50841
|
+
readonly type: "uint256";
|
|
50842
|
+
readonly internalType: "uint256";
|
|
50843
|
+
}, {
|
|
50844
|
+
readonly name: "positionSize";
|
|
50845
|
+
readonly type: "uint256";
|
|
50846
|
+
readonly internalType: "uint256";
|
|
50847
|
+
}, {
|
|
50848
|
+
readonly name: "expiresAt";
|
|
50849
|
+
readonly type: "uint32";
|
|
50850
|
+
readonly internalType: "uint32";
|
|
50851
|
+
}, {
|
|
50852
|
+
readonly name: "liquidities";
|
|
50853
|
+
readonly type: "uint128[]";
|
|
50854
|
+
readonly internalType: "uint128[]";
|
|
50855
|
+
}];
|
|
50856
|
+
}, {
|
|
50857
|
+
readonly name: "";
|
|
50858
|
+
readonly type: "uint256";
|
|
50859
|
+
readonly internalType: "uint256";
|
|
50860
|
+
}, {
|
|
50861
|
+
readonly name: "";
|
|
50862
|
+
readonly type: "bool";
|
|
50863
|
+
readonly internalType: "bool";
|
|
50864
|
+
}];
|
|
50865
|
+
readonly stateMutability: "view";
|
|
50866
|
+
}, {
|
|
50867
|
+
readonly type: "function";
|
|
50868
|
+
readonly name: "getFeeRates";
|
|
50869
|
+
readonly inputs: readonly [{
|
|
50870
|
+
readonly name: "feeStrategy";
|
|
50871
|
+
readonly type: "address";
|
|
50872
|
+
readonly internalType: "contract FeeStrategy";
|
|
50873
|
+
}];
|
|
50874
|
+
readonly outputs: readonly [{
|
|
50875
|
+
readonly name: "rates";
|
|
50876
|
+
readonly type: "tuple";
|
|
50877
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
50878
|
+
readonly components: readonly [{
|
|
50879
|
+
readonly name: "openingFeeRate";
|
|
50880
|
+
readonly type: "uint32";
|
|
50881
|
+
readonly internalType: "uint32";
|
|
50882
|
+
}, {
|
|
50883
|
+
readonly name: "baseFeeRate";
|
|
50884
|
+
readonly type: "uint32";
|
|
50885
|
+
readonly internalType: "uint32";
|
|
50886
|
+
}, {
|
|
50887
|
+
readonly name: "minOpeningFee";
|
|
50888
|
+
readonly type: "uint128";
|
|
50889
|
+
readonly internalType: "uint128";
|
|
50890
|
+
}, {
|
|
50891
|
+
readonly name: "minBaseFee";
|
|
50892
|
+
readonly type: "uint128";
|
|
50893
|
+
readonly internalType: "uint128";
|
|
50894
|
+
}];
|
|
50895
|
+
}];
|
|
50896
|
+
readonly stateMutability: "view";
|
|
48638
50897
|
}, {
|
|
48639
50898
|
readonly type: "function";
|
|
48640
50899
|
readonly name: "getGlobalGuardianState";
|
|
@@ -48820,10 +51079,6 @@ declare const useLens: () => {
|
|
|
48820
51079
|
readonly name: "feeStrategy";
|
|
48821
51080
|
readonly type: "address";
|
|
48822
51081
|
readonly internalType: "address";
|
|
48823
|
-
}, {
|
|
48824
|
-
readonly name: "feeRecipient";
|
|
48825
|
-
readonly type: "address";
|
|
48826
|
-
readonly internalType: "address";
|
|
48827
51082
|
}, {
|
|
48828
51083
|
readonly name: "owner";
|
|
48829
51084
|
readonly type: "address";
|
|
@@ -49315,8 +51570,20 @@ declare const useLens: () => {
|
|
|
49315
51570
|
readonly internalType: "uint256";
|
|
49316
51571
|
}];
|
|
49317
51572
|
readonly stateMutability: "view";
|
|
49318
|
-
}], "
|
|
49319
|
-
|
|
51573
|
+
}], "getAllBlocks", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
51574
|
+
tickLower: number;
|
|
51575
|
+
tickUpper: number;
|
|
51576
|
+
prevTickLower: number;
|
|
51577
|
+
totalLiquidity: bigint;
|
|
51578
|
+
borrowedLiquidity: bigint;
|
|
51579
|
+
reservedLiquidity: bigint;
|
|
51580
|
+
availableLiquidity: bigint;
|
|
51581
|
+
totalAmount0: bigint;
|
|
51582
|
+
totalAmount1: bigint;
|
|
51583
|
+
borrowedAmount0: bigint;
|
|
51584
|
+
borrowedAmount1: bigint;
|
|
51585
|
+
}[]>;
|
|
51586
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49320
51587
|
readonly type: "function";
|
|
49321
51588
|
readonly name: "batchGetRefTick";
|
|
49322
51589
|
readonly inputs: readonly [{
|
|
@@ -49460,6 +51727,37 @@ declare const useLens: () => {
|
|
|
49460
51727
|
readonly internalType: "bool";
|
|
49461
51728
|
}];
|
|
49462
51729
|
readonly stateMutability: "view";
|
|
51730
|
+
}, {
|
|
51731
|
+
readonly type: "function";
|
|
51732
|
+
readonly name: "getFeeRates";
|
|
51733
|
+
readonly inputs: readonly [{
|
|
51734
|
+
readonly name: "feeStrategy";
|
|
51735
|
+
readonly type: "address";
|
|
51736
|
+
readonly internalType: "contract FeeStrategy";
|
|
51737
|
+
}];
|
|
51738
|
+
readonly outputs: readonly [{
|
|
51739
|
+
readonly name: "rates";
|
|
51740
|
+
readonly type: "tuple";
|
|
51741
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
51742
|
+
readonly components: readonly [{
|
|
51743
|
+
readonly name: "openingFeeRate";
|
|
51744
|
+
readonly type: "uint32";
|
|
51745
|
+
readonly internalType: "uint32";
|
|
51746
|
+
}, {
|
|
51747
|
+
readonly name: "baseFeeRate";
|
|
51748
|
+
readonly type: "uint32";
|
|
51749
|
+
readonly internalType: "uint32";
|
|
51750
|
+
}, {
|
|
51751
|
+
readonly name: "minOpeningFee";
|
|
51752
|
+
readonly type: "uint128";
|
|
51753
|
+
readonly internalType: "uint128";
|
|
51754
|
+
}, {
|
|
51755
|
+
readonly name: "minBaseFee";
|
|
51756
|
+
readonly type: "uint128";
|
|
51757
|
+
readonly internalType: "uint128";
|
|
51758
|
+
}];
|
|
51759
|
+
}];
|
|
51760
|
+
readonly stateMutability: "view";
|
|
49463
51761
|
}, {
|
|
49464
51762
|
readonly type: "function";
|
|
49465
51763
|
readonly name: "getGlobalGuardianState";
|
|
@@ -49645,10 +51943,6 @@ declare const useLens: () => {
|
|
|
49645
51943
|
readonly name: "feeStrategy";
|
|
49646
51944
|
readonly type: "address";
|
|
49647
51945
|
readonly internalType: "address";
|
|
49648
|
-
}, {
|
|
49649
|
-
readonly name: "feeRecipient";
|
|
49650
|
-
readonly type: "address";
|
|
49651
|
-
readonly internalType: "address";
|
|
49652
51946
|
}, {
|
|
49653
51947
|
readonly name: "owner";
|
|
49654
51948
|
readonly type: "address";
|
|
@@ -50140,20 +52434,18 @@ declare const useLens: () => {
|
|
|
50140
52434
|
readonly internalType: "uint256";
|
|
50141
52435
|
}];
|
|
50142
52436
|
readonly stateMutability: "view";
|
|
50143
|
-
}], "
|
|
50144
|
-
|
|
50145
|
-
|
|
50146
|
-
|
|
50147
|
-
|
|
50148
|
-
|
|
50149
|
-
|
|
50150
|
-
|
|
50151
|
-
|
|
50152
|
-
|
|
50153
|
-
|
|
50154
|
-
|
|
50155
|
-
}[]>;
|
|
50156
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52437
|
+
}], "getExpiredOptions", readonly [`0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
52438
|
+
optionId: bigint;
|
|
52439
|
+
owner: `0x${string}`;
|
|
52440
|
+
optionType: number;
|
|
52441
|
+
startTick: number;
|
|
52442
|
+
strikeTick: number;
|
|
52443
|
+
strikePrice: bigint;
|
|
52444
|
+
positionSize: bigint;
|
|
52445
|
+
expiresAt: number;
|
|
52446
|
+
liquidities: readonly bigint[];
|
|
52447
|
+
}[], bigint, boolean]>;
|
|
52448
|
+
getFeeRates: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50157
52449
|
readonly type: "function";
|
|
50158
52450
|
readonly name: "batchGetRefTick";
|
|
50159
52451
|
readonly inputs: readonly [{
|
|
@@ -50297,6 +52589,37 @@ declare const useLens: () => {
|
|
|
50297
52589
|
readonly internalType: "bool";
|
|
50298
52590
|
}];
|
|
50299
52591
|
readonly stateMutability: "view";
|
|
52592
|
+
}, {
|
|
52593
|
+
readonly type: "function";
|
|
52594
|
+
readonly name: "getFeeRates";
|
|
52595
|
+
readonly inputs: readonly [{
|
|
52596
|
+
readonly name: "feeStrategy";
|
|
52597
|
+
readonly type: "address";
|
|
52598
|
+
readonly internalType: "contract FeeStrategy";
|
|
52599
|
+
}];
|
|
52600
|
+
readonly outputs: readonly [{
|
|
52601
|
+
readonly name: "rates";
|
|
52602
|
+
readonly type: "tuple";
|
|
52603
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
52604
|
+
readonly components: readonly [{
|
|
52605
|
+
readonly name: "openingFeeRate";
|
|
52606
|
+
readonly type: "uint32";
|
|
52607
|
+
readonly internalType: "uint32";
|
|
52608
|
+
}, {
|
|
52609
|
+
readonly name: "baseFeeRate";
|
|
52610
|
+
readonly type: "uint32";
|
|
52611
|
+
readonly internalType: "uint32";
|
|
52612
|
+
}, {
|
|
52613
|
+
readonly name: "minOpeningFee";
|
|
52614
|
+
readonly type: "uint128";
|
|
52615
|
+
readonly internalType: "uint128";
|
|
52616
|
+
}, {
|
|
52617
|
+
readonly name: "minBaseFee";
|
|
52618
|
+
readonly type: "uint128";
|
|
52619
|
+
readonly internalType: "uint128";
|
|
52620
|
+
}];
|
|
52621
|
+
}];
|
|
52622
|
+
readonly stateMutability: "view";
|
|
50300
52623
|
}, {
|
|
50301
52624
|
readonly type: "function";
|
|
50302
52625
|
readonly name: "getGlobalGuardianState";
|
|
@@ -50482,10 +52805,6 @@ declare const useLens: () => {
|
|
|
50482
52805
|
readonly name: "feeStrategy";
|
|
50483
52806
|
readonly type: "address";
|
|
50484
52807
|
readonly internalType: "address";
|
|
50485
|
-
}, {
|
|
50486
|
-
readonly name: "feeRecipient";
|
|
50487
|
-
readonly type: "address";
|
|
50488
|
-
readonly internalType: "address";
|
|
50489
52808
|
}, {
|
|
50490
52809
|
readonly name: "owner";
|
|
50491
52810
|
readonly type: "address";
|
|
@@ -50977,17 +53296,12 @@ declare const useLens: () => {
|
|
|
50977
53296
|
readonly internalType: "uint256";
|
|
50978
53297
|
}];
|
|
50979
53298
|
readonly stateMutability: "view";
|
|
50980
|
-
}], "
|
|
50981
|
-
|
|
50982
|
-
|
|
50983
|
-
|
|
50984
|
-
|
|
50985
|
-
|
|
50986
|
-
strikePrice: bigint;
|
|
50987
|
-
positionSize: bigint;
|
|
50988
|
-
expiresAt: number;
|
|
50989
|
-
liquidities: readonly bigint[];
|
|
50990
|
-
}[], bigint, boolean]>;
|
|
53299
|
+
}], "getFeeRates", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
53300
|
+
openingFeeRate: number;
|
|
53301
|
+
baseFeeRate: number;
|
|
53302
|
+
minOpeningFee: bigint;
|
|
53303
|
+
minBaseFee: bigint;
|
|
53304
|
+
}>;
|
|
50991
53305
|
getGlobalGuardianState: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50992
53306
|
readonly type: "function";
|
|
50993
53307
|
readonly name: "batchGetRefTick";
|
|
@@ -51132,6 +53446,37 @@ declare const useLens: () => {
|
|
|
51132
53446
|
readonly internalType: "bool";
|
|
51133
53447
|
}];
|
|
51134
53448
|
readonly stateMutability: "view";
|
|
53449
|
+
}, {
|
|
53450
|
+
readonly type: "function";
|
|
53451
|
+
readonly name: "getFeeRates";
|
|
53452
|
+
readonly inputs: readonly [{
|
|
53453
|
+
readonly name: "feeStrategy";
|
|
53454
|
+
readonly type: "address";
|
|
53455
|
+
readonly internalType: "contract FeeStrategy";
|
|
53456
|
+
}];
|
|
53457
|
+
readonly outputs: readonly [{
|
|
53458
|
+
readonly name: "rates";
|
|
53459
|
+
readonly type: "tuple";
|
|
53460
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
53461
|
+
readonly components: readonly [{
|
|
53462
|
+
readonly name: "openingFeeRate";
|
|
53463
|
+
readonly type: "uint32";
|
|
53464
|
+
readonly internalType: "uint32";
|
|
53465
|
+
}, {
|
|
53466
|
+
readonly name: "baseFeeRate";
|
|
53467
|
+
readonly type: "uint32";
|
|
53468
|
+
readonly internalType: "uint32";
|
|
53469
|
+
}, {
|
|
53470
|
+
readonly name: "minOpeningFee";
|
|
53471
|
+
readonly type: "uint128";
|
|
53472
|
+
readonly internalType: "uint128";
|
|
53473
|
+
}, {
|
|
53474
|
+
readonly name: "minBaseFee";
|
|
53475
|
+
readonly type: "uint128";
|
|
53476
|
+
readonly internalType: "uint128";
|
|
53477
|
+
}];
|
|
53478
|
+
}];
|
|
53479
|
+
readonly stateMutability: "view";
|
|
51135
53480
|
}, {
|
|
51136
53481
|
readonly type: "function";
|
|
51137
53482
|
readonly name: "getGlobalGuardianState";
|
|
@@ -51317,10 +53662,6 @@ declare const useLens: () => {
|
|
|
51317
53662
|
readonly name: "feeStrategy";
|
|
51318
53663
|
readonly type: "address";
|
|
51319
53664
|
readonly internalType: "address";
|
|
51320
|
-
}, {
|
|
51321
|
-
readonly name: "feeRecipient";
|
|
51322
|
-
readonly type: "address";
|
|
51323
|
-
readonly internalType: "address";
|
|
51324
53665
|
}, {
|
|
51325
53666
|
readonly name: "owner";
|
|
51326
53667
|
readonly type: "address";
|
|
@@ -51973,6 +54314,37 @@ declare const useLens: () => {
|
|
|
51973
54314
|
readonly internalType: "bool";
|
|
51974
54315
|
}];
|
|
51975
54316
|
readonly stateMutability: "view";
|
|
54317
|
+
}, {
|
|
54318
|
+
readonly type: "function";
|
|
54319
|
+
readonly name: "getFeeRates";
|
|
54320
|
+
readonly inputs: readonly [{
|
|
54321
|
+
readonly name: "feeStrategy";
|
|
54322
|
+
readonly type: "address";
|
|
54323
|
+
readonly internalType: "contract FeeStrategy";
|
|
54324
|
+
}];
|
|
54325
|
+
readonly outputs: readonly [{
|
|
54326
|
+
readonly name: "rates";
|
|
54327
|
+
readonly type: "tuple";
|
|
54328
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
54329
|
+
readonly components: readonly [{
|
|
54330
|
+
readonly name: "openingFeeRate";
|
|
54331
|
+
readonly type: "uint32";
|
|
54332
|
+
readonly internalType: "uint32";
|
|
54333
|
+
}, {
|
|
54334
|
+
readonly name: "baseFeeRate";
|
|
54335
|
+
readonly type: "uint32";
|
|
54336
|
+
readonly internalType: "uint32";
|
|
54337
|
+
}, {
|
|
54338
|
+
readonly name: "minOpeningFee";
|
|
54339
|
+
readonly type: "uint128";
|
|
54340
|
+
readonly internalType: "uint128";
|
|
54341
|
+
}, {
|
|
54342
|
+
readonly name: "minBaseFee";
|
|
54343
|
+
readonly type: "uint128";
|
|
54344
|
+
readonly internalType: "uint128";
|
|
54345
|
+
}];
|
|
54346
|
+
}];
|
|
54347
|
+
readonly stateMutability: "view";
|
|
51976
54348
|
}, {
|
|
51977
54349
|
readonly type: "function";
|
|
51978
54350
|
readonly name: "getGlobalGuardianState";
|
|
@@ -52158,10 +54530,6 @@ declare const useLens: () => {
|
|
|
52158
54530
|
readonly name: "feeStrategy";
|
|
52159
54531
|
readonly type: "address";
|
|
52160
54532
|
readonly internalType: "address";
|
|
52161
|
-
}, {
|
|
52162
|
-
readonly name: "feeRecipient";
|
|
52163
|
-
readonly type: "address";
|
|
52164
|
-
readonly internalType: "address";
|
|
52165
54533
|
}, {
|
|
52166
54534
|
readonly name: "owner";
|
|
52167
54535
|
readonly type: "address";
|
|
@@ -52798,6 +55166,37 @@ declare const useLens: () => {
|
|
|
52798
55166
|
readonly internalType: "bool";
|
|
52799
55167
|
}];
|
|
52800
55168
|
readonly stateMutability: "view";
|
|
55169
|
+
}, {
|
|
55170
|
+
readonly type: "function";
|
|
55171
|
+
readonly name: "getFeeRates";
|
|
55172
|
+
readonly inputs: readonly [{
|
|
55173
|
+
readonly name: "feeStrategy";
|
|
55174
|
+
readonly type: "address";
|
|
55175
|
+
readonly internalType: "contract FeeStrategy";
|
|
55176
|
+
}];
|
|
55177
|
+
readonly outputs: readonly [{
|
|
55178
|
+
readonly name: "rates";
|
|
55179
|
+
readonly type: "tuple";
|
|
55180
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
55181
|
+
readonly components: readonly [{
|
|
55182
|
+
readonly name: "openingFeeRate";
|
|
55183
|
+
readonly type: "uint32";
|
|
55184
|
+
readonly internalType: "uint32";
|
|
55185
|
+
}, {
|
|
55186
|
+
readonly name: "baseFeeRate";
|
|
55187
|
+
readonly type: "uint32";
|
|
55188
|
+
readonly internalType: "uint32";
|
|
55189
|
+
}, {
|
|
55190
|
+
readonly name: "minOpeningFee";
|
|
55191
|
+
readonly type: "uint128";
|
|
55192
|
+
readonly internalType: "uint128";
|
|
55193
|
+
}, {
|
|
55194
|
+
readonly name: "minBaseFee";
|
|
55195
|
+
readonly type: "uint128";
|
|
55196
|
+
readonly internalType: "uint128";
|
|
55197
|
+
}];
|
|
55198
|
+
}];
|
|
55199
|
+
readonly stateMutability: "view";
|
|
52801
55200
|
}, {
|
|
52802
55201
|
readonly type: "function";
|
|
52803
55202
|
readonly name: "getGlobalGuardianState";
|
|
@@ -52983,10 +55382,6 @@ declare const useLens: () => {
|
|
|
52983
55382
|
readonly name: "feeStrategy";
|
|
52984
55383
|
readonly type: "address";
|
|
52985
55384
|
readonly internalType: "address";
|
|
52986
|
-
}, {
|
|
52987
|
-
readonly name: "feeRecipient";
|
|
52988
|
-
readonly type: "address";
|
|
52989
|
-
readonly internalType: "address";
|
|
52990
55385
|
}, {
|
|
52991
55386
|
readonly name: "owner";
|
|
52992
55387
|
readonly type: "address";
|
|
@@ -53501,7 +55896,6 @@ declare const useLens: () => {
|
|
|
53501
55896
|
guardian: `0x${string}`;
|
|
53502
55897
|
optionPricing: `0x${string}`;
|
|
53503
55898
|
feeStrategy: `0x${string}`;
|
|
53504
|
-
feeRecipient: `0x${string}`;
|
|
53505
55899
|
owner: `0x${string}`;
|
|
53506
55900
|
}>;
|
|
53507
55901
|
getMaxATMPositionSizes: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
@@ -53648,6 +56042,37 @@ declare const useLens: () => {
|
|
|
53648
56042
|
readonly internalType: "bool";
|
|
53649
56043
|
}];
|
|
53650
56044
|
readonly stateMutability: "view";
|
|
56045
|
+
}, {
|
|
56046
|
+
readonly type: "function";
|
|
56047
|
+
readonly name: "getFeeRates";
|
|
56048
|
+
readonly inputs: readonly [{
|
|
56049
|
+
readonly name: "feeStrategy";
|
|
56050
|
+
readonly type: "address";
|
|
56051
|
+
readonly internalType: "contract FeeStrategy";
|
|
56052
|
+
}];
|
|
56053
|
+
readonly outputs: readonly [{
|
|
56054
|
+
readonly name: "rates";
|
|
56055
|
+
readonly type: "tuple";
|
|
56056
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
56057
|
+
readonly components: readonly [{
|
|
56058
|
+
readonly name: "openingFeeRate";
|
|
56059
|
+
readonly type: "uint32";
|
|
56060
|
+
readonly internalType: "uint32";
|
|
56061
|
+
}, {
|
|
56062
|
+
readonly name: "baseFeeRate";
|
|
56063
|
+
readonly type: "uint32";
|
|
56064
|
+
readonly internalType: "uint32";
|
|
56065
|
+
}, {
|
|
56066
|
+
readonly name: "minOpeningFee";
|
|
56067
|
+
readonly type: "uint128";
|
|
56068
|
+
readonly internalType: "uint128";
|
|
56069
|
+
}, {
|
|
56070
|
+
readonly name: "minBaseFee";
|
|
56071
|
+
readonly type: "uint128";
|
|
56072
|
+
readonly internalType: "uint128";
|
|
56073
|
+
}];
|
|
56074
|
+
}];
|
|
56075
|
+
readonly stateMutability: "view";
|
|
53651
56076
|
}, {
|
|
53652
56077
|
readonly type: "function";
|
|
53653
56078
|
readonly name: "getGlobalGuardianState";
|
|
@@ -53833,10 +56258,6 @@ declare const useLens: () => {
|
|
|
53833
56258
|
readonly name: "feeStrategy";
|
|
53834
56259
|
readonly type: "address";
|
|
53835
56260
|
readonly internalType: "address";
|
|
53836
|
-
}, {
|
|
53837
|
-
readonly name: "feeRecipient";
|
|
53838
|
-
readonly type: "address";
|
|
53839
|
-
readonly internalType: "address";
|
|
53840
56261
|
}, {
|
|
53841
56262
|
readonly name: "owner";
|
|
53842
56263
|
readonly type: "address";
|
|
@@ -54473,6 +56894,37 @@ declare const useLens: () => {
|
|
|
54473
56894
|
readonly internalType: "bool";
|
|
54474
56895
|
}];
|
|
54475
56896
|
readonly stateMutability: "view";
|
|
56897
|
+
}, {
|
|
56898
|
+
readonly type: "function";
|
|
56899
|
+
readonly name: "getFeeRates";
|
|
56900
|
+
readonly inputs: readonly [{
|
|
56901
|
+
readonly name: "feeStrategy";
|
|
56902
|
+
readonly type: "address";
|
|
56903
|
+
readonly internalType: "contract FeeStrategy";
|
|
56904
|
+
}];
|
|
56905
|
+
readonly outputs: readonly [{
|
|
56906
|
+
readonly name: "rates";
|
|
56907
|
+
readonly type: "tuple";
|
|
56908
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
56909
|
+
readonly components: readonly [{
|
|
56910
|
+
readonly name: "openingFeeRate";
|
|
56911
|
+
readonly type: "uint32";
|
|
56912
|
+
readonly internalType: "uint32";
|
|
56913
|
+
}, {
|
|
56914
|
+
readonly name: "baseFeeRate";
|
|
56915
|
+
readonly type: "uint32";
|
|
56916
|
+
readonly internalType: "uint32";
|
|
56917
|
+
}, {
|
|
56918
|
+
readonly name: "minOpeningFee";
|
|
56919
|
+
readonly type: "uint128";
|
|
56920
|
+
readonly internalType: "uint128";
|
|
56921
|
+
}, {
|
|
56922
|
+
readonly name: "minBaseFee";
|
|
56923
|
+
readonly type: "uint128";
|
|
56924
|
+
readonly internalType: "uint128";
|
|
56925
|
+
}];
|
|
56926
|
+
}];
|
|
56927
|
+
readonly stateMutability: "view";
|
|
54476
56928
|
}, {
|
|
54477
56929
|
readonly type: "function";
|
|
54478
56930
|
readonly name: "getGlobalGuardianState";
|
|
@@ -54658,10 +57110,6 @@ declare const useLens: () => {
|
|
|
54658
57110
|
readonly name: "feeStrategy";
|
|
54659
57111
|
readonly type: "address";
|
|
54660
57112
|
readonly internalType: "address";
|
|
54661
|
-
}, {
|
|
54662
|
-
readonly name: "feeRecipient";
|
|
54663
|
-
readonly type: "address";
|
|
54664
|
-
readonly internalType: "address";
|
|
54665
57113
|
}, {
|
|
54666
57114
|
readonly name: "owner";
|
|
54667
57115
|
readonly type: "address";
|
|
@@ -55298,6 +57746,37 @@ declare const useLens: () => {
|
|
|
55298
57746
|
readonly internalType: "bool";
|
|
55299
57747
|
}];
|
|
55300
57748
|
readonly stateMutability: "view";
|
|
57749
|
+
}, {
|
|
57750
|
+
readonly type: "function";
|
|
57751
|
+
readonly name: "getFeeRates";
|
|
57752
|
+
readonly inputs: readonly [{
|
|
57753
|
+
readonly name: "feeStrategy";
|
|
57754
|
+
readonly type: "address";
|
|
57755
|
+
readonly internalType: "contract FeeStrategy";
|
|
57756
|
+
}];
|
|
57757
|
+
readonly outputs: readonly [{
|
|
57758
|
+
readonly name: "rates";
|
|
57759
|
+
readonly type: "tuple";
|
|
57760
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
57761
|
+
readonly components: readonly [{
|
|
57762
|
+
readonly name: "openingFeeRate";
|
|
57763
|
+
readonly type: "uint32";
|
|
57764
|
+
readonly internalType: "uint32";
|
|
57765
|
+
}, {
|
|
57766
|
+
readonly name: "baseFeeRate";
|
|
57767
|
+
readonly type: "uint32";
|
|
57768
|
+
readonly internalType: "uint32";
|
|
57769
|
+
}, {
|
|
57770
|
+
readonly name: "minOpeningFee";
|
|
57771
|
+
readonly type: "uint128";
|
|
57772
|
+
readonly internalType: "uint128";
|
|
57773
|
+
}, {
|
|
57774
|
+
readonly name: "minBaseFee";
|
|
57775
|
+
readonly type: "uint128";
|
|
57776
|
+
readonly internalType: "uint128";
|
|
57777
|
+
}];
|
|
57778
|
+
}];
|
|
57779
|
+
readonly stateMutability: "view";
|
|
55301
57780
|
}, {
|
|
55302
57781
|
readonly type: "function";
|
|
55303
57782
|
readonly name: "getGlobalGuardianState";
|
|
@@ -55483,10 +57962,6 @@ declare const useLens: () => {
|
|
|
55483
57962
|
readonly name: "feeStrategy";
|
|
55484
57963
|
readonly type: "address";
|
|
55485
57964
|
readonly internalType: "address";
|
|
55486
|
-
}, {
|
|
55487
|
-
readonly name: "feeRecipient";
|
|
55488
|
-
readonly type: "address";
|
|
55489
|
-
readonly internalType: "address";
|
|
55490
57965
|
}, {
|
|
55491
57966
|
readonly name: "owner";
|
|
55492
57967
|
readonly type: "address";
|
|
@@ -56123,6 +58598,37 @@ declare const useLens: () => {
|
|
|
56123
58598
|
readonly internalType: "bool";
|
|
56124
58599
|
}];
|
|
56125
58600
|
readonly stateMutability: "view";
|
|
58601
|
+
}, {
|
|
58602
|
+
readonly type: "function";
|
|
58603
|
+
readonly name: "getFeeRates";
|
|
58604
|
+
readonly inputs: readonly [{
|
|
58605
|
+
readonly name: "feeStrategy";
|
|
58606
|
+
readonly type: "address";
|
|
58607
|
+
readonly internalType: "contract FeeStrategy";
|
|
58608
|
+
}];
|
|
58609
|
+
readonly outputs: readonly [{
|
|
58610
|
+
readonly name: "rates";
|
|
58611
|
+
readonly type: "tuple";
|
|
58612
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
58613
|
+
readonly components: readonly [{
|
|
58614
|
+
readonly name: "openingFeeRate";
|
|
58615
|
+
readonly type: "uint32";
|
|
58616
|
+
readonly internalType: "uint32";
|
|
58617
|
+
}, {
|
|
58618
|
+
readonly name: "baseFeeRate";
|
|
58619
|
+
readonly type: "uint32";
|
|
58620
|
+
readonly internalType: "uint32";
|
|
58621
|
+
}, {
|
|
58622
|
+
readonly name: "minOpeningFee";
|
|
58623
|
+
readonly type: "uint128";
|
|
58624
|
+
readonly internalType: "uint128";
|
|
58625
|
+
}, {
|
|
58626
|
+
readonly name: "minBaseFee";
|
|
58627
|
+
readonly type: "uint128";
|
|
58628
|
+
readonly internalType: "uint128";
|
|
58629
|
+
}];
|
|
58630
|
+
}];
|
|
58631
|
+
readonly stateMutability: "view";
|
|
56126
58632
|
}, {
|
|
56127
58633
|
readonly type: "function";
|
|
56128
58634
|
readonly name: "getGlobalGuardianState";
|
|
@@ -56308,10 +58814,6 @@ declare const useLens: () => {
|
|
|
56308
58814
|
readonly name: "feeStrategy";
|
|
56309
58815
|
readonly type: "address";
|
|
56310
58816
|
readonly internalType: "address";
|
|
56311
|
-
}, {
|
|
56312
|
-
readonly name: "feeRecipient";
|
|
56313
|
-
readonly type: "address";
|
|
56314
|
-
readonly internalType: "address";
|
|
56315
58817
|
}, {
|
|
56316
58818
|
readonly name: "owner";
|
|
56317
58819
|
readonly type: "address";
|
|
@@ -56948,6 +59450,37 @@ declare const useLens: () => {
|
|
|
56948
59450
|
readonly internalType: "bool";
|
|
56949
59451
|
}];
|
|
56950
59452
|
readonly stateMutability: "view";
|
|
59453
|
+
}, {
|
|
59454
|
+
readonly type: "function";
|
|
59455
|
+
readonly name: "getFeeRates";
|
|
59456
|
+
readonly inputs: readonly [{
|
|
59457
|
+
readonly name: "feeStrategy";
|
|
59458
|
+
readonly type: "address";
|
|
59459
|
+
readonly internalType: "contract FeeStrategy";
|
|
59460
|
+
}];
|
|
59461
|
+
readonly outputs: readonly [{
|
|
59462
|
+
readonly name: "rates";
|
|
59463
|
+
readonly type: "tuple";
|
|
59464
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
59465
|
+
readonly components: readonly [{
|
|
59466
|
+
readonly name: "openingFeeRate";
|
|
59467
|
+
readonly type: "uint32";
|
|
59468
|
+
readonly internalType: "uint32";
|
|
59469
|
+
}, {
|
|
59470
|
+
readonly name: "baseFeeRate";
|
|
59471
|
+
readonly type: "uint32";
|
|
59472
|
+
readonly internalType: "uint32";
|
|
59473
|
+
}, {
|
|
59474
|
+
readonly name: "minOpeningFee";
|
|
59475
|
+
readonly type: "uint128";
|
|
59476
|
+
readonly internalType: "uint128";
|
|
59477
|
+
}, {
|
|
59478
|
+
readonly name: "minBaseFee";
|
|
59479
|
+
readonly type: "uint128";
|
|
59480
|
+
readonly internalType: "uint128";
|
|
59481
|
+
}];
|
|
59482
|
+
}];
|
|
59483
|
+
readonly stateMutability: "view";
|
|
56951
59484
|
}, {
|
|
56952
59485
|
readonly type: "function";
|
|
56953
59486
|
readonly name: "getGlobalGuardianState";
|
|
@@ -57133,10 +59666,6 @@ declare const useLens: () => {
|
|
|
57133
59666
|
readonly name: "feeStrategy";
|
|
57134
59667
|
readonly type: "address";
|
|
57135
59668
|
readonly internalType: "address";
|
|
57136
|
-
}, {
|
|
57137
|
-
readonly name: "feeRecipient";
|
|
57138
|
-
readonly type: "address";
|
|
57139
|
-
readonly internalType: "address";
|
|
57140
59669
|
}, {
|
|
57141
59670
|
readonly name: "owner";
|
|
57142
59671
|
readonly type: "address";
|
|
@@ -57783,6 +60312,37 @@ declare const useLens: () => {
|
|
|
57783
60312
|
readonly internalType: "bool";
|
|
57784
60313
|
}];
|
|
57785
60314
|
readonly stateMutability: "view";
|
|
60315
|
+
}, {
|
|
60316
|
+
readonly type: "function";
|
|
60317
|
+
readonly name: "getFeeRates";
|
|
60318
|
+
readonly inputs: readonly [{
|
|
60319
|
+
readonly name: "feeStrategy";
|
|
60320
|
+
readonly type: "address";
|
|
60321
|
+
readonly internalType: "contract FeeStrategy";
|
|
60322
|
+
}];
|
|
60323
|
+
readonly outputs: readonly [{
|
|
60324
|
+
readonly name: "rates";
|
|
60325
|
+
readonly type: "tuple";
|
|
60326
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
60327
|
+
readonly components: readonly [{
|
|
60328
|
+
readonly name: "openingFeeRate";
|
|
60329
|
+
readonly type: "uint32";
|
|
60330
|
+
readonly internalType: "uint32";
|
|
60331
|
+
}, {
|
|
60332
|
+
readonly name: "baseFeeRate";
|
|
60333
|
+
readonly type: "uint32";
|
|
60334
|
+
readonly internalType: "uint32";
|
|
60335
|
+
}, {
|
|
60336
|
+
readonly name: "minOpeningFee";
|
|
60337
|
+
readonly type: "uint128";
|
|
60338
|
+
readonly internalType: "uint128";
|
|
60339
|
+
}, {
|
|
60340
|
+
readonly name: "minBaseFee";
|
|
60341
|
+
readonly type: "uint128";
|
|
60342
|
+
readonly internalType: "uint128";
|
|
60343
|
+
}];
|
|
60344
|
+
}];
|
|
60345
|
+
readonly stateMutability: "view";
|
|
57786
60346
|
}, {
|
|
57787
60347
|
readonly type: "function";
|
|
57788
60348
|
readonly name: "getGlobalGuardianState";
|
|
@@ -57968,10 +60528,6 @@ declare const useLens: () => {
|
|
|
57968
60528
|
readonly name: "feeStrategy";
|
|
57969
60529
|
readonly type: "address";
|
|
57970
60530
|
readonly internalType: "address";
|
|
57971
|
-
}, {
|
|
57972
|
-
readonly name: "feeRecipient";
|
|
57973
|
-
readonly type: "address";
|
|
57974
|
-
readonly internalType: "address";
|
|
57975
60531
|
}, {
|
|
57976
60532
|
readonly name: "owner";
|
|
57977
60533
|
readonly type: "address";
|
|
@@ -58624,6 +61180,37 @@ declare const useLens: () => {
|
|
|
58624
61180
|
readonly internalType: "bool";
|
|
58625
61181
|
}];
|
|
58626
61182
|
readonly stateMutability: "view";
|
|
61183
|
+
}, {
|
|
61184
|
+
readonly type: "function";
|
|
61185
|
+
readonly name: "getFeeRates";
|
|
61186
|
+
readonly inputs: readonly [{
|
|
61187
|
+
readonly name: "feeStrategy";
|
|
61188
|
+
readonly type: "address";
|
|
61189
|
+
readonly internalType: "contract FeeStrategy";
|
|
61190
|
+
}];
|
|
61191
|
+
readonly outputs: readonly [{
|
|
61192
|
+
readonly name: "rates";
|
|
61193
|
+
readonly type: "tuple";
|
|
61194
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
61195
|
+
readonly components: readonly [{
|
|
61196
|
+
readonly name: "openingFeeRate";
|
|
61197
|
+
readonly type: "uint32";
|
|
61198
|
+
readonly internalType: "uint32";
|
|
61199
|
+
}, {
|
|
61200
|
+
readonly name: "baseFeeRate";
|
|
61201
|
+
readonly type: "uint32";
|
|
61202
|
+
readonly internalType: "uint32";
|
|
61203
|
+
}, {
|
|
61204
|
+
readonly name: "minOpeningFee";
|
|
61205
|
+
readonly type: "uint128";
|
|
61206
|
+
readonly internalType: "uint128";
|
|
61207
|
+
}, {
|
|
61208
|
+
readonly name: "minBaseFee";
|
|
61209
|
+
readonly type: "uint128";
|
|
61210
|
+
readonly internalType: "uint128";
|
|
61211
|
+
}];
|
|
61212
|
+
}];
|
|
61213
|
+
readonly stateMutability: "view";
|
|
58627
61214
|
}, {
|
|
58628
61215
|
readonly type: "function";
|
|
58629
61216
|
readonly name: "getGlobalGuardianState";
|
|
@@ -58809,10 +61396,6 @@ declare const useLens: () => {
|
|
|
58809
61396
|
readonly name: "feeStrategy";
|
|
58810
61397
|
readonly type: "address";
|
|
58811
61398
|
readonly internalType: "address";
|
|
58812
|
-
}, {
|
|
58813
|
-
readonly name: "feeRecipient";
|
|
58814
|
-
readonly type: "address";
|
|
58815
|
-
readonly internalType: "address";
|
|
58816
61399
|
}, {
|
|
58817
61400
|
readonly name: "owner";
|
|
58818
61401
|
readonly type: "address";
|
|
@@ -59466,6 +62049,37 @@ declare const useLens: () => {
|
|
|
59466
62049
|
readonly internalType: "bool";
|
|
59467
62050
|
}];
|
|
59468
62051
|
readonly stateMutability: "view";
|
|
62052
|
+
}, {
|
|
62053
|
+
readonly type: "function";
|
|
62054
|
+
readonly name: "getFeeRates";
|
|
62055
|
+
readonly inputs: readonly [{
|
|
62056
|
+
readonly name: "feeStrategy";
|
|
62057
|
+
readonly type: "address";
|
|
62058
|
+
readonly internalType: "contract FeeStrategy";
|
|
62059
|
+
}];
|
|
62060
|
+
readonly outputs: readonly [{
|
|
62061
|
+
readonly name: "rates";
|
|
62062
|
+
readonly type: "tuple";
|
|
62063
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
62064
|
+
readonly components: readonly [{
|
|
62065
|
+
readonly name: "openingFeeRate";
|
|
62066
|
+
readonly type: "uint32";
|
|
62067
|
+
readonly internalType: "uint32";
|
|
62068
|
+
}, {
|
|
62069
|
+
readonly name: "baseFeeRate";
|
|
62070
|
+
readonly type: "uint32";
|
|
62071
|
+
readonly internalType: "uint32";
|
|
62072
|
+
}, {
|
|
62073
|
+
readonly name: "minOpeningFee";
|
|
62074
|
+
readonly type: "uint128";
|
|
62075
|
+
readonly internalType: "uint128";
|
|
62076
|
+
}, {
|
|
62077
|
+
readonly name: "minBaseFee";
|
|
62078
|
+
readonly type: "uint128";
|
|
62079
|
+
readonly internalType: "uint128";
|
|
62080
|
+
}];
|
|
62081
|
+
}];
|
|
62082
|
+
readonly stateMutability: "view";
|
|
59469
62083
|
}, {
|
|
59470
62084
|
readonly type: "function";
|
|
59471
62085
|
readonly name: "getGlobalGuardianState";
|
|
@@ -59651,10 +62265,6 @@ declare const useLens: () => {
|
|
|
59651
62265
|
readonly name: "feeStrategy";
|
|
59652
62266
|
readonly type: "address";
|
|
59653
62267
|
readonly internalType: "address";
|
|
59654
|
-
}, {
|
|
59655
|
-
readonly name: "feeRecipient";
|
|
59656
|
-
readonly type: "address";
|
|
59657
|
-
readonly internalType: "address";
|
|
59658
62268
|
}, {
|
|
59659
62269
|
readonly name: "owner";
|
|
59660
62270
|
readonly type: "address";
|
|
@@ -60291,6 +62901,37 @@ declare const useLens: () => {
|
|
|
60291
62901
|
readonly internalType: "bool";
|
|
60292
62902
|
}];
|
|
60293
62903
|
readonly stateMutability: "view";
|
|
62904
|
+
}, {
|
|
62905
|
+
readonly type: "function";
|
|
62906
|
+
readonly name: "getFeeRates";
|
|
62907
|
+
readonly inputs: readonly [{
|
|
62908
|
+
readonly name: "feeStrategy";
|
|
62909
|
+
readonly type: "address";
|
|
62910
|
+
readonly internalType: "contract FeeStrategy";
|
|
62911
|
+
}];
|
|
62912
|
+
readonly outputs: readonly [{
|
|
62913
|
+
readonly name: "rates";
|
|
62914
|
+
readonly type: "tuple";
|
|
62915
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
62916
|
+
readonly components: readonly [{
|
|
62917
|
+
readonly name: "openingFeeRate";
|
|
62918
|
+
readonly type: "uint32";
|
|
62919
|
+
readonly internalType: "uint32";
|
|
62920
|
+
}, {
|
|
62921
|
+
readonly name: "baseFeeRate";
|
|
62922
|
+
readonly type: "uint32";
|
|
62923
|
+
readonly internalType: "uint32";
|
|
62924
|
+
}, {
|
|
62925
|
+
readonly name: "minOpeningFee";
|
|
62926
|
+
readonly type: "uint128";
|
|
62927
|
+
readonly internalType: "uint128";
|
|
62928
|
+
}, {
|
|
62929
|
+
readonly name: "minBaseFee";
|
|
62930
|
+
readonly type: "uint128";
|
|
62931
|
+
readonly internalType: "uint128";
|
|
62932
|
+
}];
|
|
62933
|
+
}];
|
|
62934
|
+
readonly stateMutability: "view";
|
|
60294
62935
|
}, {
|
|
60295
62936
|
readonly type: "function";
|
|
60296
62937
|
readonly name: "getGlobalGuardianState";
|
|
@@ -60476,10 +63117,6 @@ declare const useLens: () => {
|
|
|
60476
63117
|
readonly name: "feeStrategy";
|
|
60477
63118
|
readonly type: "address";
|
|
60478
63119
|
readonly internalType: "address";
|
|
60479
|
-
}, {
|
|
60480
|
-
readonly name: "feeRecipient";
|
|
60481
|
-
readonly type: "address";
|
|
60482
|
-
readonly internalType: "address";
|
|
60483
63120
|
}, {
|
|
60484
63121
|
readonly name: "owner";
|
|
60485
63122
|
readonly type: "address";
|
|
@@ -61120,6 +63757,37 @@ declare const useLens: () => {
|
|
|
61120
63757
|
readonly internalType: "bool";
|
|
61121
63758
|
}];
|
|
61122
63759
|
readonly stateMutability: "view";
|
|
63760
|
+
}, {
|
|
63761
|
+
readonly type: "function";
|
|
63762
|
+
readonly name: "getFeeRates";
|
|
63763
|
+
readonly inputs: readonly [{
|
|
63764
|
+
readonly name: "feeStrategy";
|
|
63765
|
+
readonly type: "address";
|
|
63766
|
+
readonly internalType: "contract FeeStrategy";
|
|
63767
|
+
}];
|
|
63768
|
+
readonly outputs: readonly [{
|
|
63769
|
+
readonly name: "rates";
|
|
63770
|
+
readonly type: "tuple";
|
|
63771
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
63772
|
+
readonly components: readonly [{
|
|
63773
|
+
readonly name: "openingFeeRate";
|
|
63774
|
+
readonly type: "uint32";
|
|
63775
|
+
readonly internalType: "uint32";
|
|
63776
|
+
}, {
|
|
63777
|
+
readonly name: "baseFeeRate";
|
|
63778
|
+
readonly type: "uint32";
|
|
63779
|
+
readonly internalType: "uint32";
|
|
63780
|
+
}, {
|
|
63781
|
+
readonly name: "minOpeningFee";
|
|
63782
|
+
readonly type: "uint128";
|
|
63783
|
+
readonly internalType: "uint128";
|
|
63784
|
+
}, {
|
|
63785
|
+
readonly name: "minBaseFee";
|
|
63786
|
+
readonly type: "uint128";
|
|
63787
|
+
readonly internalType: "uint128";
|
|
63788
|
+
}];
|
|
63789
|
+
}];
|
|
63790
|
+
readonly stateMutability: "view";
|
|
61123
63791
|
}, {
|
|
61124
63792
|
readonly type: "function";
|
|
61125
63793
|
readonly name: "getGlobalGuardianState";
|
|
@@ -61305,10 +63973,6 @@ declare const useLens: () => {
|
|
|
61305
63973
|
readonly name: "feeStrategy";
|
|
61306
63974
|
readonly type: "address";
|
|
61307
63975
|
readonly internalType: "address";
|
|
61308
|
-
}, {
|
|
61309
|
-
readonly name: "feeRecipient";
|
|
61310
|
-
readonly type: "address";
|
|
61311
|
-
readonly internalType: "address";
|
|
61312
63976
|
}, {
|
|
61313
63977
|
readonly name: "owner";
|
|
61314
63978
|
readonly type: "address";
|
|
@@ -61955,6 +64619,37 @@ declare const useLens: () => {
|
|
|
61955
64619
|
readonly internalType: "bool";
|
|
61956
64620
|
}];
|
|
61957
64621
|
readonly stateMutability: "view";
|
|
64622
|
+
}, {
|
|
64623
|
+
readonly type: "function";
|
|
64624
|
+
readonly name: "getFeeRates";
|
|
64625
|
+
readonly inputs: readonly [{
|
|
64626
|
+
readonly name: "feeStrategy";
|
|
64627
|
+
readonly type: "address";
|
|
64628
|
+
readonly internalType: "contract FeeStrategy";
|
|
64629
|
+
}];
|
|
64630
|
+
readonly outputs: readonly [{
|
|
64631
|
+
readonly name: "rates";
|
|
64632
|
+
readonly type: "tuple";
|
|
64633
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
64634
|
+
readonly components: readonly [{
|
|
64635
|
+
readonly name: "openingFeeRate";
|
|
64636
|
+
readonly type: "uint32";
|
|
64637
|
+
readonly internalType: "uint32";
|
|
64638
|
+
}, {
|
|
64639
|
+
readonly name: "baseFeeRate";
|
|
64640
|
+
readonly type: "uint32";
|
|
64641
|
+
readonly internalType: "uint32";
|
|
64642
|
+
}, {
|
|
64643
|
+
readonly name: "minOpeningFee";
|
|
64644
|
+
readonly type: "uint128";
|
|
64645
|
+
readonly internalType: "uint128";
|
|
64646
|
+
}, {
|
|
64647
|
+
readonly name: "minBaseFee";
|
|
64648
|
+
readonly type: "uint128";
|
|
64649
|
+
readonly internalType: "uint128";
|
|
64650
|
+
}];
|
|
64651
|
+
}];
|
|
64652
|
+
readonly stateMutability: "view";
|
|
61958
64653
|
}, {
|
|
61959
64654
|
readonly type: "function";
|
|
61960
64655
|
readonly name: "getGlobalGuardianState";
|
|
@@ -62140,10 +64835,6 @@ declare const useLens: () => {
|
|
|
62140
64835
|
readonly name: "feeStrategy";
|
|
62141
64836
|
readonly type: "address";
|
|
62142
64837
|
readonly internalType: "address";
|
|
62143
|
-
}, {
|
|
62144
|
-
readonly name: "feeRecipient";
|
|
62145
|
-
readonly type: "address";
|
|
62146
|
-
readonly internalType: "address";
|
|
62147
64838
|
}, {
|
|
62148
64839
|
readonly name: "owner";
|
|
62149
64840
|
readonly type: "address";
|
|
@@ -62790,6 +65481,37 @@ declare const useLens: () => {
|
|
|
62790
65481
|
readonly internalType: "bool";
|
|
62791
65482
|
}];
|
|
62792
65483
|
readonly stateMutability: "view";
|
|
65484
|
+
}, {
|
|
65485
|
+
readonly type: "function";
|
|
65486
|
+
readonly name: "getFeeRates";
|
|
65487
|
+
readonly inputs: readonly [{
|
|
65488
|
+
readonly name: "feeStrategy";
|
|
65489
|
+
readonly type: "address";
|
|
65490
|
+
readonly internalType: "contract FeeStrategy";
|
|
65491
|
+
}];
|
|
65492
|
+
readonly outputs: readonly [{
|
|
65493
|
+
readonly name: "rates";
|
|
65494
|
+
readonly type: "tuple";
|
|
65495
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
65496
|
+
readonly components: readonly [{
|
|
65497
|
+
readonly name: "openingFeeRate";
|
|
65498
|
+
readonly type: "uint32";
|
|
65499
|
+
readonly internalType: "uint32";
|
|
65500
|
+
}, {
|
|
65501
|
+
readonly name: "baseFeeRate";
|
|
65502
|
+
readonly type: "uint32";
|
|
65503
|
+
readonly internalType: "uint32";
|
|
65504
|
+
}, {
|
|
65505
|
+
readonly name: "minOpeningFee";
|
|
65506
|
+
readonly type: "uint128";
|
|
65507
|
+
readonly internalType: "uint128";
|
|
65508
|
+
}, {
|
|
65509
|
+
readonly name: "minBaseFee";
|
|
65510
|
+
readonly type: "uint128";
|
|
65511
|
+
readonly internalType: "uint128";
|
|
65512
|
+
}];
|
|
65513
|
+
}];
|
|
65514
|
+
readonly stateMutability: "view";
|
|
62793
65515
|
}, {
|
|
62794
65516
|
readonly type: "function";
|
|
62795
65517
|
readonly name: "getGlobalGuardianState";
|
|
@@ -62975,10 +65697,6 @@ declare const useLens: () => {
|
|
|
62975
65697
|
readonly name: "feeStrategy";
|
|
62976
65698
|
readonly type: "address";
|
|
62977
65699
|
readonly internalType: "address";
|
|
62978
|
-
}, {
|
|
62979
|
-
readonly name: "feeRecipient";
|
|
62980
|
-
readonly type: "address";
|
|
62981
|
-
readonly internalType: "address";
|
|
62982
65700
|
}, {
|
|
62983
65701
|
readonly name: "owner";
|
|
62984
65702
|
readonly type: "address";
|
|
@@ -63617,6 +66335,37 @@ declare const useLens: () => {
|
|
|
63617
66335
|
readonly internalType: "bool";
|
|
63618
66336
|
}];
|
|
63619
66337
|
readonly stateMutability: "view";
|
|
66338
|
+
}, {
|
|
66339
|
+
readonly type: "function";
|
|
66340
|
+
readonly name: "getFeeRates";
|
|
66341
|
+
readonly inputs: readonly [{
|
|
66342
|
+
readonly name: "feeStrategy";
|
|
66343
|
+
readonly type: "address";
|
|
66344
|
+
readonly internalType: "contract FeeStrategy";
|
|
66345
|
+
}];
|
|
66346
|
+
readonly outputs: readonly [{
|
|
66347
|
+
readonly name: "rates";
|
|
66348
|
+
readonly type: "tuple";
|
|
66349
|
+
readonly internalType: "struct TimelockLens.FeeStrategyRates";
|
|
66350
|
+
readonly components: readonly [{
|
|
66351
|
+
readonly name: "openingFeeRate";
|
|
66352
|
+
readonly type: "uint32";
|
|
66353
|
+
readonly internalType: "uint32";
|
|
66354
|
+
}, {
|
|
66355
|
+
readonly name: "baseFeeRate";
|
|
66356
|
+
readonly type: "uint32";
|
|
66357
|
+
readonly internalType: "uint32";
|
|
66358
|
+
}, {
|
|
66359
|
+
readonly name: "minOpeningFee";
|
|
66360
|
+
readonly type: "uint128";
|
|
66361
|
+
readonly internalType: "uint128";
|
|
66362
|
+
}, {
|
|
66363
|
+
readonly name: "minBaseFee";
|
|
66364
|
+
readonly type: "uint128";
|
|
66365
|
+
readonly internalType: "uint128";
|
|
66366
|
+
}];
|
|
66367
|
+
}];
|
|
66368
|
+
readonly stateMutability: "view";
|
|
63620
66369
|
}, {
|
|
63621
66370
|
readonly type: "function";
|
|
63622
66371
|
readonly name: "getGlobalGuardianState";
|
|
@@ -63802,10 +66551,6 @@ declare const useLens: () => {
|
|
|
63802
66551
|
readonly name: "feeStrategy";
|
|
63803
66552
|
readonly type: "address";
|
|
63804
66553
|
readonly internalType: "address";
|
|
63805
|
-
}, {
|
|
63806
|
-
readonly name: "feeRecipient";
|
|
63807
|
-
readonly type: "address";
|
|
63808
|
-
readonly internalType: "address";
|
|
63809
66554
|
}, {
|
|
63810
66555
|
readonly name: "owner";
|
|
63811
66556
|
readonly type: "address";
|
|
@@ -83744,5 +86489,5 @@ declare const useLens: () => {
|
|
|
83744
86489
|
} | undefined;
|
|
83745
86490
|
};
|
|
83746
86491
|
//#endregion
|
|
83747
|
-
export {
|
|
83748
|
-
//# sourceMappingURL=client-
|
|
86492
|
+
export { useUserPerps as $, getNearestValidStrikeTick as A, useExerciseOption as At, token0ToToken1AtTick as B, UniswapMathLens as Bt, PoolKey as C, wrapAmount as Ct, getPayoutAtTick as D, zero as Dt, getPayoutAtPrice as E, wrapPriceUnscaled as Et, liquiditiesToAmount0 as F, useCurrentMarket as Ft, PriceResolution as G, stateViews as Gt, token1ToToken0AtTick as H, getStateView as Ht, liquiditiesToAmount1 as I, useTimelockConfig as It, useSetOperatorPerms as J, timelockLenses as Jt, getCurrentPrice as K, swapRouters as Kt, liquiditiesToAmounts as L, TimelockLens as Lt, getPriceAtTick as M, useActiveUserOptions as Mt, getSqrtPriceX96AtPrice as N, useClosedUserOptions as Nt, PRICE_PRECISION as O, useMarketVolume as Ot, getTickAtPrice as P, TimelockProvider as Pt, useClosedUserPerps as Q, roundTick as R, TimelockMarket as Rt, useCurrentPrice as S, unscalePrice as St, usePoolData as T, wrapPrice as Tt, PriceData as U, getTimelockLens as Ut, token1ToToken0 as V, getErc20 as Vt, PriceDataPoint as W, getTimelockMarket as Wt, useOperatorPerms as X, useUserOperators as Y, useActiveUserPerps as Z, useMarketPriceHistory as _, formatUSD as _t, useGuardianGlobalState as a, MintOptionEvent as at, usePriceAtTick as b, scalePrice as bt, TokenData as c, useExtendOption as ct, useVaultData as d, useMintOption as dt, usePerpsOperator as et, batchGetAmountsFromLiquidity as f, useMaxPositionSize as ft, useBurnLiquidity as g, formatCondensed as gt, useLiquidityBlocks as h, formatAmount as ht, usePauseGlobalTrading as i, ExtendEvent as it, getPriceAtSqrtPriceX96 as j, OptionData as jt, getAmountsFromLiquidity as k, useMarketData as kt, useTokenData as l, useOptionPremium as lt, LiquidityBlockData as m, EMPTY_ARRAY as mt, useFeeRates as n, useMintPerp as nt, useApproval as o, OptionEvent as ot, useMintLiquidity as p, Amount as pt, getPriceHistory as q, swappers as qt, usePauseMarketTrading as r, ExerciseOptionEvent as rt, useTokenBalance as s, useOptionTimeline as st, useLens as t, useClosePerp as tt, useVaultTVL as u, useOptionPnl as ut, usePriceHistory as v, formatVagueAmount as vt, UniswapPoolData as w, wrapAmountUnscaled as wt, useCurrentTick as x, unscaleAmount as xt, usePriceAtSqrtPriceX96 as y, scaleAmount as yt, token0ToToken1 as z, TimelockMarketData as zt };
|
|
86493
|
+
//# sourceMappingURL=client-DfG9023x.d.ts.map
|