timelock-sdk 0.0.182 → 0.0.184
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-BpJfUYFr.d.cts → client-DAfdr7d2.d.cts} +475 -268
- package/dist/{client-CtwxWHSL.d.ts → client-mb6de6Cl.d.ts} +475 -268
- package/dist/client.cjs +2 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -3
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-013IznJO.cjs → optionUtils-CEVvDS1q.cjs} +13 -9
- package/dist/{optionUtils-013IznJO.cjs.map → optionUtils-CEVvDS1q.cjs.map} +1 -1
- package/dist/{optionUtils-BOHupq5Q.js → optionUtils-vNu8pzHF.js} +3 -3
- package/dist/{optionUtils-BOHupq5Q.js.map → optionUtils-vNu8pzHF.js.map} +1 -1
- package/dist/{optionsMarket-c4hgszY_.d.cts → optionsMarket-B0Om62Sk.d.cts} +8 -4
- package/dist/{optionsMarket-2HZ-p_dl.d.ts → optionsMarket-B_dYiAnm.d.ts} +8 -4
- 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/{statelessStateView-MGdfMvC4.js → statelessStateView-Cp4eOQME.js} +9 -4
- package/dist/statelessStateView-Cp4eOQME.js.map +1 -0
- package/dist/{statelessStateView-CtzW08Yu.cjs → statelessStateView-Dl3QIl1g.cjs} +9 -4
- package/dist/statelessStateView-Dl3QIl1g.cjs.map +1 -0
- package/package.json +11 -11
- package/dist/statelessStateView-CtzW08Yu.cjs.map +0 -1
- package/dist/statelessStateView-MGdfMvC4.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-
|
|
1
|
+
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-B_dYiAnm.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";
|
|
5
5
|
import JSBI from "jsbi";
|
|
6
6
|
import React, { ReactNode } from "react";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _tanstack_react_query6 from "@tanstack/react-query";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
10
|
import * as wagmi0 from "wagmi";
|
|
11
11
|
import "graphql";
|
|
12
12
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
13
13
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
14
|
+
import * as wagmi_query0 from "wagmi/query";
|
|
15
|
+
import * as abitype0 from "abitype";
|
|
16
16
|
|
|
17
17
|
//#region src/generated/graphql.d.ts
|
|
18
18
|
type Exact<T$1 extends {
|
|
@@ -25729,6 +25729,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
25729
25729
|
readonly type: "address";
|
|
25730
25730
|
readonly internalType: "contract IHooks";
|
|
25731
25731
|
}];
|
|
25732
|
+
}, {
|
|
25733
|
+
readonly name: "poolId";
|
|
25734
|
+
readonly type: "bytes32";
|
|
25735
|
+
readonly internalType: "PoolId";
|
|
25732
25736
|
}, {
|
|
25733
25737
|
readonly name: "optionAssetIsToken0";
|
|
25734
25738
|
readonly type: "bool";
|
|
@@ -26315,9 +26319,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
26315
26319
|
readonly internalType: "contract IHooks";
|
|
26316
26320
|
}];
|
|
26317
26321
|
}, {
|
|
26318
|
-
readonly name: "
|
|
26319
|
-
readonly type: "
|
|
26320
|
-
readonly internalType: "
|
|
26322
|
+
readonly name: "poolId";
|
|
26323
|
+
readonly type: "bytes32";
|
|
26324
|
+
readonly internalType: "PoolId";
|
|
26321
26325
|
}];
|
|
26322
26326
|
}];
|
|
26323
26327
|
readonly stateMutability: "view";
|
|
@@ -26668,6 +26672,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
26668
26672
|
readonly type: "address";
|
|
26669
26673
|
readonly internalType: "contract IHooks";
|
|
26670
26674
|
}];
|
|
26675
|
+
}, {
|
|
26676
|
+
readonly name: "poolId";
|
|
26677
|
+
readonly type: "bytes32";
|
|
26678
|
+
readonly internalType: "PoolId";
|
|
26671
26679
|
}, {
|
|
26672
26680
|
readonly name: "optionAssetIsToken0";
|
|
26673
26681
|
readonly type: "bool";
|
|
@@ -27254,9 +27262,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
27254
27262
|
readonly internalType: "contract IHooks";
|
|
27255
27263
|
}];
|
|
27256
27264
|
}, {
|
|
27257
|
-
readonly name: "
|
|
27258
|
-
readonly type: "
|
|
27259
|
-
readonly internalType: "
|
|
27265
|
+
readonly name: "poolId";
|
|
27266
|
+
readonly type: "bytes32";
|
|
27267
|
+
readonly internalType: "PoolId";
|
|
27260
27268
|
}];
|
|
27261
27269
|
}];
|
|
27262
27270
|
readonly stateMutability: "view";
|
|
@@ -27619,6 +27627,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
27619
27627
|
readonly type: "address";
|
|
27620
27628
|
readonly internalType: "contract IHooks";
|
|
27621
27629
|
}];
|
|
27630
|
+
}, {
|
|
27631
|
+
readonly name: "poolId";
|
|
27632
|
+
readonly type: "bytes32";
|
|
27633
|
+
readonly internalType: "PoolId";
|
|
27622
27634
|
}, {
|
|
27623
27635
|
readonly name: "optionAssetIsToken0";
|
|
27624
27636
|
readonly type: "bool";
|
|
@@ -28205,9 +28217,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
28205
28217
|
readonly internalType: "contract IHooks";
|
|
28206
28218
|
}];
|
|
28207
28219
|
}, {
|
|
28208
|
-
readonly name: "
|
|
28209
|
-
readonly type: "
|
|
28210
|
-
readonly internalType: "
|
|
28220
|
+
readonly name: "poolId";
|
|
28221
|
+
readonly type: "bytes32";
|
|
28222
|
+
readonly internalType: "PoolId";
|
|
28211
28223
|
}];
|
|
28212
28224
|
}];
|
|
28213
28225
|
readonly stateMutability: "view";
|
|
@@ -28568,6 +28580,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
28568
28580
|
readonly type: "address";
|
|
28569
28581
|
readonly internalType: "contract IHooks";
|
|
28570
28582
|
}];
|
|
28583
|
+
}, {
|
|
28584
|
+
readonly name: "poolId";
|
|
28585
|
+
readonly type: "bytes32";
|
|
28586
|
+
readonly internalType: "PoolId";
|
|
28571
28587
|
}, {
|
|
28572
28588
|
readonly name: "optionAssetIsToken0";
|
|
28573
28589
|
readonly type: "bool";
|
|
@@ -29154,9 +29170,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
29154
29170
|
readonly internalType: "contract IHooks";
|
|
29155
29171
|
}];
|
|
29156
29172
|
}, {
|
|
29157
|
-
readonly name: "
|
|
29158
|
-
readonly type: "
|
|
29159
|
-
readonly internalType: "
|
|
29173
|
+
readonly name: "poolId";
|
|
29174
|
+
readonly type: "bytes32";
|
|
29175
|
+
readonly internalType: "PoolId";
|
|
29160
29176
|
}];
|
|
29161
29177
|
}];
|
|
29162
29178
|
readonly stateMutability: "view";
|
|
@@ -29513,6 +29529,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
29513
29529
|
readonly type: "address";
|
|
29514
29530
|
readonly internalType: "contract IHooks";
|
|
29515
29531
|
}];
|
|
29532
|
+
}, {
|
|
29533
|
+
readonly name: "poolId";
|
|
29534
|
+
readonly type: "bytes32";
|
|
29535
|
+
readonly internalType: "PoolId";
|
|
29516
29536
|
}, {
|
|
29517
29537
|
readonly name: "optionAssetIsToken0";
|
|
29518
29538
|
readonly type: "bool";
|
|
@@ -30099,9 +30119,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
30099
30119
|
readonly internalType: "contract IHooks";
|
|
30100
30120
|
}];
|
|
30101
30121
|
}, {
|
|
30102
|
-
readonly name: "
|
|
30103
|
-
readonly type: "
|
|
30104
|
-
readonly internalType: "
|
|
30122
|
+
readonly name: "poolId";
|
|
30123
|
+
readonly type: "bytes32";
|
|
30124
|
+
readonly internalType: "PoolId";
|
|
30105
30125
|
}];
|
|
30106
30126
|
}];
|
|
30107
30127
|
readonly stateMutability: "view";
|
|
@@ -30468,6 +30488,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
30468
30488
|
readonly type: "address";
|
|
30469
30489
|
readonly internalType: "contract IHooks";
|
|
30470
30490
|
}];
|
|
30491
|
+
}, {
|
|
30492
|
+
readonly name: "poolId";
|
|
30493
|
+
readonly type: "bytes32";
|
|
30494
|
+
readonly internalType: "PoolId";
|
|
30471
30495
|
}, {
|
|
30472
30496
|
readonly name: "optionAssetIsToken0";
|
|
30473
30497
|
readonly type: "bool";
|
|
@@ -31054,9 +31078,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
31054
31078
|
readonly internalType: "contract IHooks";
|
|
31055
31079
|
}];
|
|
31056
31080
|
}, {
|
|
31057
|
-
readonly name: "
|
|
31058
|
-
readonly type: "
|
|
31059
|
-
readonly internalType: "
|
|
31081
|
+
readonly name: "poolId";
|
|
31082
|
+
readonly type: "bytes32";
|
|
31083
|
+
readonly internalType: "PoolId";
|
|
31060
31084
|
}];
|
|
31061
31085
|
}];
|
|
31062
31086
|
readonly stateMutability: "view";
|
|
@@ -31407,6 +31431,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
31407
31431
|
readonly type: "address";
|
|
31408
31432
|
readonly internalType: "contract IHooks";
|
|
31409
31433
|
}];
|
|
31434
|
+
}, {
|
|
31435
|
+
readonly name: "poolId";
|
|
31436
|
+
readonly type: "bytes32";
|
|
31437
|
+
readonly internalType: "PoolId";
|
|
31410
31438
|
}, {
|
|
31411
31439
|
readonly name: "optionAssetIsToken0";
|
|
31412
31440
|
readonly type: "bool";
|
|
@@ -31993,9 +32021,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
31993
32021
|
readonly internalType: "contract IHooks";
|
|
31994
32022
|
}];
|
|
31995
32023
|
}, {
|
|
31996
|
-
readonly name: "
|
|
31997
|
-
readonly type: "
|
|
31998
|
-
readonly internalType: "
|
|
32024
|
+
readonly name: "poolId";
|
|
32025
|
+
readonly type: "bytes32";
|
|
32026
|
+
readonly internalType: "PoolId";
|
|
31999
32027
|
}];
|
|
32000
32028
|
}];
|
|
32001
32029
|
readonly stateMutability: "view";
|
|
@@ -32048,6 +32076,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
32048
32076
|
tickSpacing: number;
|
|
32049
32077
|
hooks: `0x${string}`;
|
|
32050
32078
|
};
|
|
32079
|
+
poolId: `0x${string}`;
|
|
32051
32080
|
optionAssetIsToken0: boolean;
|
|
32052
32081
|
optionAsset: `0x${string}`;
|
|
32053
32082
|
payoutAsset: `0x${string}`;
|
|
@@ -32366,6 +32395,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
32366
32395
|
readonly type: "address";
|
|
32367
32396
|
readonly internalType: "contract IHooks";
|
|
32368
32397
|
}];
|
|
32398
|
+
}, {
|
|
32399
|
+
readonly name: "poolId";
|
|
32400
|
+
readonly type: "bytes32";
|
|
32401
|
+
readonly internalType: "PoolId";
|
|
32369
32402
|
}, {
|
|
32370
32403
|
readonly name: "optionAssetIsToken0";
|
|
32371
32404
|
readonly type: "bool";
|
|
@@ -32952,9 +32985,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
32952
32985
|
readonly internalType: "contract IHooks";
|
|
32953
32986
|
}];
|
|
32954
32987
|
}, {
|
|
32955
|
-
readonly name: "
|
|
32956
|
-
readonly type: "
|
|
32957
|
-
readonly internalType: "
|
|
32988
|
+
readonly name: "poolId";
|
|
32989
|
+
readonly type: "bytes32";
|
|
32990
|
+
readonly internalType: "PoolId";
|
|
32958
32991
|
}];
|
|
32959
32992
|
}];
|
|
32960
32993
|
readonly stateMutability: "view";
|
|
@@ -33310,6 +33343,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
33310
33343
|
readonly type: "address";
|
|
33311
33344
|
readonly internalType: "contract IHooks";
|
|
33312
33345
|
}];
|
|
33346
|
+
}, {
|
|
33347
|
+
readonly name: "poolId";
|
|
33348
|
+
readonly type: "bytes32";
|
|
33349
|
+
readonly internalType: "PoolId";
|
|
33313
33350
|
}, {
|
|
33314
33351
|
readonly name: "optionAssetIsToken0";
|
|
33315
33352
|
readonly type: "bool";
|
|
@@ -33896,9 +33933,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
33896
33933
|
readonly internalType: "contract IHooks";
|
|
33897
33934
|
}];
|
|
33898
33935
|
}, {
|
|
33899
|
-
readonly name: "
|
|
33900
|
-
readonly type: "
|
|
33901
|
-
readonly internalType: "
|
|
33936
|
+
readonly name: "poolId";
|
|
33937
|
+
readonly type: "bytes32";
|
|
33938
|
+
readonly internalType: "PoolId";
|
|
33902
33939
|
}];
|
|
33903
33940
|
}];
|
|
33904
33941
|
readonly stateMutability: "view";
|
|
@@ -34249,6 +34286,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
34249
34286
|
readonly type: "address";
|
|
34250
34287
|
readonly internalType: "contract IHooks";
|
|
34251
34288
|
}];
|
|
34289
|
+
}, {
|
|
34290
|
+
readonly name: "poolId";
|
|
34291
|
+
readonly type: "bytes32";
|
|
34292
|
+
readonly internalType: "PoolId";
|
|
34252
34293
|
}, {
|
|
34253
34294
|
readonly name: "optionAssetIsToken0";
|
|
34254
34295
|
readonly type: "bool";
|
|
@@ -34835,9 +34876,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
34835
34876
|
readonly internalType: "contract IHooks";
|
|
34836
34877
|
}];
|
|
34837
34878
|
}, {
|
|
34838
|
-
readonly name: "
|
|
34839
|
-
readonly type: "
|
|
34840
|
-
readonly internalType: "
|
|
34879
|
+
readonly name: "poolId";
|
|
34880
|
+
readonly type: "bytes32";
|
|
34881
|
+
readonly internalType: "PoolId";
|
|
34841
34882
|
}];
|
|
34842
34883
|
}];
|
|
34843
34884
|
readonly stateMutability: "view";
|
|
@@ -35188,6 +35229,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
35188
35229
|
readonly type: "address";
|
|
35189
35230
|
readonly internalType: "contract IHooks";
|
|
35190
35231
|
}];
|
|
35232
|
+
}, {
|
|
35233
|
+
readonly name: "poolId";
|
|
35234
|
+
readonly type: "bytes32";
|
|
35235
|
+
readonly internalType: "PoolId";
|
|
35191
35236
|
}, {
|
|
35192
35237
|
readonly name: "optionAssetIsToken0";
|
|
35193
35238
|
readonly type: "bool";
|
|
@@ -35774,9 +35819,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
35774
35819
|
readonly internalType: "contract IHooks";
|
|
35775
35820
|
}];
|
|
35776
35821
|
}, {
|
|
35777
|
-
readonly name: "
|
|
35778
|
-
readonly type: "
|
|
35779
|
-
readonly internalType: "
|
|
35822
|
+
readonly name: "poolId";
|
|
35823
|
+
readonly type: "bytes32";
|
|
35824
|
+
readonly internalType: "PoolId";
|
|
35780
35825
|
}];
|
|
35781
35826
|
}];
|
|
35782
35827
|
readonly stateMutability: "view";
|
|
@@ -36127,6 +36172,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
36127
36172
|
readonly type: "address";
|
|
36128
36173
|
readonly internalType: "contract IHooks";
|
|
36129
36174
|
}];
|
|
36175
|
+
}, {
|
|
36176
|
+
readonly name: "poolId";
|
|
36177
|
+
readonly type: "bytes32";
|
|
36178
|
+
readonly internalType: "PoolId";
|
|
36130
36179
|
}, {
|
|
36131
36180
|
readonly name: "optionAssetIsToken0";
|
|
36132
36181
|
readonly type: "bool";
|
|
@@ -36713,9 +36762,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
36713
36762
|
readonly internalType: "contract IHooks";
|
|
36714
36763
|
}];
|
|
36715
36764
|
}, {
|
|
36716
|
-
readonly name: "
|
|
36717
|
-
readonly type: "
|
|
36718
|
-
readonly internalType: "
|
|
36765
|
+
readonly name: "poolId";
|
|
36766
|
+
readonly type: "bytes32";
|
|
36767
|
+
readonly internalType: "PoolId";
|
|
36719
36768
|
}];
|
|
36720
36769
|
}];
|
|
36721
36770
|
readonly stateMutability: "view";
|
|
@@ -37066,6 +37115,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
37066
37115
|
readonly type: "address";
|
|
37067
37116
|
readonly internalType: "contract IHooks";
|
|
37068
37117
|
}];
|
|
37118
|
+
}, {
|
|
37119
|
+
readonly name: "poolId";
|
|
37120
|
+
readonly type: "bytes32";
|
|
37121
|
+
readonly internalType: "PoolId";
|
|
37069
37122
|
}, {
|
|
37070
37123
|
readonly name: "optionAssetIsToken0";
|
|
37071
37124
|
readonly type: "bool";
|
|
@@ -37652,9 +37705,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
37652
37705
|
readonly internalType: "contract IHooks";
|
|
37653
37706
|
}];
|
|
37654
37707
|
}, {
|
|
37655
|
-
readonly name: "
|
|
37656
|
-
readonly type: "
|
|
37657
|
-
readonly internalType: "
|
|
37708
|
+
readonly name: "poolId";
|
|
37709
|
+
readonly type: "bytes32";
|
|
37710
|
+
readonly internalType: "PoolId";
|
|
37658
37711
|
}];
|
|
37659
37712
|
}];
|
|
37660
37713
|
readonly stateMutability: "view";
|
|
@@ -38015,6 +38068,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
38015
38068
|
readonly type: "address";
|
|
38016
38069
|
readonly internalType: "contract IHooks";
|
|
38017
38070
|
}];
|
|
38071
|
+
}, {
|
|
38072
|
+
readonly name: "poolId";
|
|
38073
|
+
readonly type: "bytes32";
|
|
38074
|
+
readonly internalType: "PoolId";
|
|
38018
38075
|
}, {
|
|
38019
38076
|
readonly name: "optionAssetIsToken0";
|
|
38020
38077
|
readonly type: "bool";
|
|
@@ -38601,9 +38658,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
38601
38658
|
readonly internalType: "contract IHooks";
|
|
38602
38659
|
}];
|
|
38603
38660
|
}, {
|
|
38604
|
-
readonly name: "
|
|
38605
|
-
readonly type: "
|
|
38606
|
-
readonly internalType: "
|
|
38661
|
+
readonly name: "poolId";
|
|
38662
|
+
readonly type: "bytes32";
|
|
38663
|
+
readonly internalType: "PoolId";
|
|
38607
38664
|
}];
|
|
38608
38665
|
}];
|
|
38609
38666
|
readonly stateMutability: "view";
|
|
@@ -38960,6 +39017,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
38960
39017
|
readonly type: "address";
|
|
38961
39018
|
readonly internalType: "contract IHooks";
|
|
38962
39019
|
}];
|
|
39020
|
+
}, {
|
|
39021
|
+
readonly name: "poolId";
|
|
39022
|
+
readonly type: "bytes32";
|
|
39023
|
+
readonly internalType: "PoolId";
|
|
38963
39024
|
}, {
|
|
38964
39025
|
readonly name: "optionAssetIsToken0";
|
|
38965
39026
|
readonly type: "bool";
|
|
@@ -39546,9 +39607,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
39546
39607
|
readonly internalType: "contract IHooks";
|
|
39547
39608
|
}];
|
|
39548
39609
|
}, {
|
|
39549
|
-
readonly name: "
|
|
39550
|
-
readonly type: "
|
|
39551
|
-
readonly internalType: "
|
|
39610
|
+
readonly name: "poolId";
|
|
39611
|
+
readonly type: "bytes32";
|
|
39612
|
+
readonly internalType: "PoolId";
|
|
39552
39613
|
}];
|
|
39553
39614
|
}];
|
|
39554
39615
|
readonly stateMutability: "view";
|
|
@@ -39915,6 +39976,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
39915
39976
|
readonly type: "address";
|
|
39916
39977
|
readonly internalType: "contract IHooks";
|
|
39917
39978
|
}];
|
|
39979
|
+
}, {
|
|
39980
|
+
readonly name: "poolId";
|
|
39981
|
+
readonly type: "bytes32";
|
|
39982
|
+
readonly internalType: "PoolId";
|
|
39918
39983
|
}, {
|
|
39919
39984
|
readonly name: "optionAssetIsToken0";
|
|
39920
39985
|
readonly type: "bool";
|
|
@@ -40501,9 +40566,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
40501
40566
|
readonly internalType: "contract IHooks";
|
|
40502
40567
|
}];
|
|
40503
40568
|
}, {
|
|
40504
|
-
readonly name: "
|
|
40505
|
-
readonly type: "
|
|
40506
|
-
readonly internalType: "
|
|
40569
|
+
readonly name: "poolId";
|
|
40570
|
+
readonly type: "bytes32";
|
|
40571
|
+
readonly internalType: "PoolId";
|
|
40507
40572
|
}];
|
|
40508
40573
|
}];
|
|
40509
40574
|
readonly stateMutability: "view";
|
|
@@ -40871,6 +40936,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
40871
40936
|
readonly type: "address";
|
|
40872
40937
|
readonly internalType: "contract IHooks";
|
|
40873
40938
|
}];
|
|
40939
|
+
}, {
|
|
40940
|
+
readonly name: "poolId";
|
|
40941
|
+
readonly type: "bytes32";
|
|
40942
|
+
readonly internalType: "PoolId";
|
|
40874
40943
|
}, {
|
|
40875
40944
|
readonly name: "optionAssetIsToken0";
|
|
40876
40945
|
readonly type: "bool";
|
|
@@ -41457,9 +41526,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
41457
41526
|
readonly internalType: "contract IHooks";
|
|
41458
41527
|
}];
|
|
41459
41528
|
}, {
|
|
41460
|
-
readonly name: "
|
|
41461
|
-
readonly type: "
|
|
41462
|
-
readonly internalType: "
|
|
41529
|
+
readonly name: "poolId";
|
|
41530
|
+
readonly type: "bytes32";
|
|
41531
|
+
readonly internalType: "PoolId";
|
|
41463
41532
|
}];
|
|
41464
41533
|
}];
|
|
41465
41534
|
readonly stateMutability: "view";
|
|
@@ -41810,6 +41879,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
41810
41879
|
readonly type: "address";
|
|
41811
41880
|
readonly internalType: "contract IHooks";
|
|
41812
41881
|
}];
|
|
41882
|
+
}, {
|
|
41883
|
+
readonly name: "poolId";
|
|
41884
|
+
readonly type: "bytes32";
|
|
41885
|
+
readonly internalType: "PoolId";
|
|
41813
41886
|
}, {
|
|
41814
41887
|
readonly name: "optionAssetIsToken0";
|
|
41815
41888
|
readonly type: "bool";
|
|
@@ -42396,9 +42469,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
42396
42469
|
readonly internalType: "contract IHooks";
|
|
42397
42470
|
}];
|
|
42398
42471
|
}, {
|
|
42399
|
-
readonly name: "
|
|
42400
|
-
readonly type: "
|
|
42401
|
-
readonly internalType: "
|
|
42472
|
+
readonly name: "poolId";
|
|
42473
|
+
readonly type: "bytes32";
|
|
42474
|
+
readonly internalType: "PoolId";
|
|
42402
42475
|
}];
|
|
42403
42476
|
}];
|
|
42404
42477
|
readonly stateMutability: "view";
|
|
@@ -42749,6 +42822,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
42749
42822
|
readonly type: "address";
|
|
42750
42823
|
readonly internalType: "contract IHooks";
|
|
42751
42824
|
}];
|
|
42825
|
+
}, {
|
|
42826
|
+
readonly name: "poolId";
|
|
42827
|
+
readonly type: "bytes32";
|
|
42828
|
+
readonly internalType: "PoolId";
|
|
42752
42829
|
}, {
|
|
42753
42830
|
readonly name: "optionAssetIsToken0";
|
|
42754
42831
|
readonly type: "bool";
|
|
@@ -43335,9 +43412,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
43335
43412
|
readonly internalType: "contract IHooks";
|
|
43336
43413
|
}];
|
|
43337
43414
|
}, {
|
|
43338
|
-
readonly name: "
|
|
43339
|
-
readonly type: "
|
|
43340
|
-
readonly internalType: "
|
|
43415
|
+
readonly name: "poolId";
|
|
43416
|
+
readonly type: "bytes32";
|
|
43417
|
+
readonly internalType: "PoolId";
|
|
43341
43418
|
}];
|
|
43342
43419
|
}];
|
|
43343
43420
|
readonly stateMutability: "view";
|
|
@@ -43691,6 +43768,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
43691
43768
|
readonly type: "address";
|
|
43692
43769
|
readonly internalType: "contract IHooks";
|
|
43693
43770
|
}];
|
|
43771
|
+
}, {
|
|
43772
|
+
readonly name: "poolId";
|
|
43773
|
+
readonly type: "bytes32";
|
|
43774
|
+
readonly internalType: "PoolId";
|
|
43694
43775
|
}, {
|
|
43695
43776
|
readonly name: "optionAssetIsToken0";
|
|
43696
43777
|
readonly type: "bool";
|
|
@@ -44277,9 +44358,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
44277
44358
|
readonly internalType: "contract IHooks";
|
|
44278
44359
|
}];
|
|
44279
44360
|
}, {
|
|
44280
|
-
readonly name: "
|
|
44281
|
-
readonly type: "
|
|
44282
|
-
readonly internalType: "
|
|
44361
|
+
readonly name: "poolId";
|
|
44362
|
+
readonly type: "bytes32";
|
|
44363
|
+
readonly internalType: "PoolId";
|
|
44283
44364
|
}];
|
|
44284
44365
|
}];
|
|
44285
44366
|
readonly stateMutability: "view";
|
|
@@ -44634,6 +44715,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
44634
44715
|
readonly type: "address";
|
|
44635
44716
|
readonly internalType: "contract IHooks";
|
|
44636
44717
|
}];
|
|
44718
|
+
}, {
|
|
44719
|
+
readonly name: "poolId";
|
|
44720
|
+
readonly type: "bytes32";
|
|
44721
|
+
readonly internalType: "PoolId";
|
|
44637
44722
|
}, {
|
|
44638
44723
|
readonly name: "optionAssetIsToken0";
|
|
44639
44724
|
readonly type: "bool";
|
|
@@ -45220,9 +45305,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
45220
45305
|
readonly internalType: "contract IHooks";
|
|
45221
45306
|
}];
|
|
45222
45307
|
}, {
|
|
45223
|
-
readonly name: "
|
|
45224
|
-
readonly type: "
|
|
45225
|
-
readonly internalType: "
|
|
45308
|
+
readonly name: "poolId";
|
|
45309
|
+
readonly type: "bytes32";
|
|
45310
|
+
readonly internalType: "PoolId";
|
|
45226
45311
|
}];
|
|
45227
45312
|
}];
|
|
45228
45313
|
readonly stateMutability: "view";
|
|
@@ -45583,6 +45668,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
45583
45668
|
readonly type: "address";
|
|
45584
45669
|
readonly internalType: "contract IHooks";
|
|
45585
45670
|
}];
|
|
45671
|
+
}, {
|
|
45672
|
+
readonly name: "poolId";
|
|
45673
|
+
readonly type: "bytes32";
|
|
45674
|
+
readonly internalType: "PoolId";
|
|
45586
45675
|
}, {
|
|
45587
45676
|
readonly name: "optionAssetIsToken0";
|
|
45588
45677
|
readonly type: "bool";
|
|
@@ -46169,9 +46258,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
46169
46258
|
readonly internalType: "contract IHooks";
|
|
46170
46259
|
}];
|
|
46171
46260
|
}, {
|
|
46172
|
-
readonly name: "
|
|
46173
|
-
readonly type: "
|
|
46174
|
-
readonly internalType: "
|
|
46261
|
+
readonly name: "poolId";
|
|
46262
|
+
readonly type: "bytes32";
|
|
46263
|
+
readonly internalType: "PoolId";
|
|
46175
46264
|
}];
|
|
46176
46265
|
}];
|
|
46177
46266
|
readonly stateMutability: "view";
|
|
@@ -46222,7 +46311,7 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
46222
46311
|
tickSpacing: number;
|
|
46223
46312
|
hooks: `0x${string}`;
|
|
46224
46313
|
};
|
|
46225
|
-
|
|
46314
|
+
poolId: `0x${string}`;
|
|
46226
46315
|
}>;
|
|
46227
46316
|
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46228
46317
|
readonly type: "function";
|
|
@@ -46532,6 +46621,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
46532
46621
|
readonly type: "address";
|
|
46533
46622
|
readonly internalType: "contract IHooks";
|
|
46534
46623
|
}];
|
|
46624
|
+
}, {
|
|
46625
|
+
readonly name: "poolId";
|
|
46626
|
+
readonly type: "bytes32";
|
|
46627
|
+
readonly internalType: "PoolId";
|
|
46535
46628
|
}, {
|
|
46536
46629
|
readonly name: "optionAssetIsToken0";
|
|
46537
46630
|
readonly type: "bool";
|
|
@@ -47118,9 +47211,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
47118
47211
|
readonly internalType: "contract IHooks";
|
|
47119
47212
|
}];
|
|
47120
47213
|
}, {
|
|
47121
|
-
readonly name: "
|
|
47122
|
-
readonly type: "
|
|
47123
|
-
readonly internalType: "
|
|
47214
|
+
readonly name: "poolId";
|
|
47215
|
+
readonly type: "bytes32";
|
|
47216
|
+
readonly internalType: "PoolId";
|
|
47124
47217
|
}];
|
|
47125
47218
|
}];
|
|
47126
47219
|
readonly stateMutability: "view";
|
|
@@ -47473,6 +47566,10 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
47473
47566
|
readonly type: "address";
|
|
47474
47567
|
readonly internalType: "contract IHooks";
|
|
47475
47568
|
}];
|
|
47569
|
+
}, {
|
|
47570
|
+
readonly name: "poolId";
|
|
47571
|
+
readonly type: "bytes32";
|
|
47572
|
+
readonly internalType: "PoolId";
|
|
47476
47573
|
}, {
|
|
47477
47574
|
readonly name: "optionAssetIsToken0";
|
|
47478
47575
|
readonly type: "bool";
|
|
@@ -48059,9 +48156,9 @@ declare const getTimelockLens: (client: PublicClient, address?: Address) => Prom
|
|
|
48059
48156
|
readonly internalType: "contract IHooks";
|
|
48060
48157
|
}];
|
|
48061
48158
|
}, {
|
|
48062
|
-
readonly name: "
|
|
48063
|
-
readonly type: "
|
|
48064
|
-
readonly internalType: "
|
|
48159
|
+
readonly name: "poolId";
|
|
48160
|
+
readonly type: "bytes32";
|
|
48161
|
+
readonly internalType: "PoolId";
|
|
48065
48162
|
}];
|
|
48066
48163
|
}];
|
|
48067
48164
|
readonly stateMutability: "view";
|
|
@@ -48194,6 +48291,7 @@ declare const useMarketData: (marketAddr: Address | undefined) => Partial<NonUnd
|
|
|
48194
48291
|
tickSpacing: number;
|
|
48195
48292
|
hooks: `0x${string}`;
|
|
48196
48293
|
};
|
|
48294
|
+
poolId: `0x${string}`;
|
|
48197
48295
|
optionAssetIsToken0: boolean;
|
|
48198
48296
|
optionAsset: `0x${string}`;
|
|
48199
48297
|
payoutAsset: `0x${string}`;
|
|
@@ -48514,6 +48612,10 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
48514
48612
|
readonly type: "address";
|
|
48515
48613
|
readonly internalType: "contract IHooks";
|
|
48516
48614
|
}];
|
|
48615
|
+
}, {
|
|
48616
|
+
readonly name: "poolId";
|
|
48617
|
+
readonly type: "bytes32";
|
|
48618
|
+
readonly internalType: "PoolId";
|
|
48517
48619
|
}, {
|
|
48518
48620
|
readonly name: "optionAssetIsToken0";
|
|
48519
48621
|
readonly type: "bool";
|
|
@@ -49100,9 +49202,9 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
49100
49202
|
readonly internalType: "contract IHooks";
|
|
49101
49203
|
}];
|
|
49102
49204
|
}, {
|
|
49103
|
-
readonly name: "
|
|
49104
|
-
readonly type: "
|
|
49105
|
-
readonly internalType: "
|
|
49205
|
+
readonly name: "poolId";
|
|
49206
|
+
readonly type: "bytes32";
|
|
49207
|
+
readonly internalType: "PoolId";
|
|
49106
49208
|
}];
|
|
49107
49209
|
}];
|
|
49108
49210
|
readonly stateMutability: "view";
|
|
@@ -49152,7 +49254,7 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
49152
49254
|
}>;
|
|
49153
49255
|
//#endregion
|
|
49154
49256
|
//#region src/hooks/market/useMarketVolume.d.ts
|
|
49155
|
-
declare const useMarketVolume: (marketAddr: Address | undefined) =>
|
|
49257
|
+
declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query6.UseQueryResult<{
|
|
49156
49258
|
address: Address;
|
|
49157
49259
|
volume: bigint;
|
|
49158
49260
|
optionsCount: bigint;
|
|
@@ -49360,7 +49462,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49360
49462
|
};
|
|
49361
49463
|
//#endregion
|
|
49362
49464
|
//#region src/hooks/options/useMintOption.d.ts
|
|
49363
|
-
declare const useMintOption: (marketAddr: Address | undefined) =>
|
|
49465
|
+
declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<`0x${string}`, Error, {
|
|
49364
49466
|
optionType: "CALL" | "PUT";
|
|
49365
49467
|
amount: bigint;
|
|
49366
49468
|
duration: number;
|
|
@@ -49370,7 +49472,7 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
|
|
|
49370
49472
|
//#endregion
|
|
49371
49473
|
//#region src/hooks/options/useUserOptions.d.ts
|
|
49372
49474
|
type OptionData = NonUndefinedGuard<ReturnType<typeof useUserOptions>['data']>[number];
|
|
49373
|
-
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) =>
|
|
49475
|
+
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query6.UseQueryResult<{
|
|
49374
49476
|
optionId: bigint;
|
|
49375
49477
|
marketAddr: Address;
|
|
49376
49478
|
ownerAddr: Address;
|
|
@@ -49400,7 +49502,7 @@ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Addres
|
|
|
49400
49502
|
address: string;
|
|
49401
49503
|
} | null;
|
|
49402
49504
|
}[], Error>;
|
|
49403
|
-
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49505
|
+
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query6.UseQueryResult<{
|
|
49404
49506
|
optionId: bigint;
|
|
49405
49507
|
marketAddr: Address;
|
|
49406
49508
|
ownerAddr: Address;
|
|
@@ -49430,7 +49532,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49430
49532
|
address: string;
|
|
49431
49533
|
} | null;
|
|
49432
49534
|
}[], Error>;
|
|
49433
|
-
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49535
|
+
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query6.UseQueryResult<{
|
|
49434
49536
|
optionId: bigint;
|
|
49435
49537
|
marketAddr: Address;
|
|
49436
49538
|
ownerAddr: Address;
|
|
@@ -49462,7 +49564,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49462
49564
|
}[], Error>;
|
|
49463
49565
|
//#endregion
|
|
49464
49566
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
49465
|
-
declare const useExerciseOption: (marketAddr: Address | undefined) =>
|
|
49567
|
+
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<`0x${string}`, Error, {
|
|
49466
49568
|
option: OptionData;
|
|
49467
49569
|
liquidities: readonly bigint[];
|
|
49468
49570
|
}, unknown>;
|
|
@@ -49485,7 +49587,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
49485
49587
|
};
|
|
49486
49588
|
//#endregion
|
|
49487
49589
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
49488
|
-
declare const useExtendOption: (marketAddr: Address | undefined) =>
|
|
49590
|
+
declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<`0x${string}`, Error, {
|
|
49489
49591
|
option: OptionData;
|
|
49490
49592
|
duration: number;
|
|
49491
49593
|
}, unknown>;
|
|
@@ -49501,7 +49603,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
|
49501
49603
|
type ExtendEvent = Extract<OptionEvent, {
|
|
49502
49604
|
type: 'extend';
|
|
49503
49605
|
}>;
|
|
49504
|
-
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) =>
|
|
49606
|
+
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query6.UseQueryResult<({
|
|
49505
49607
|
type: "mint";
|
|
49506
49608
|
data: {
|
|
49507
49609
|
id: string;
|
|
@@ -49542,7 +49644,7 @@ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: big
|
|
|
49542
49644
|
})[], Error>;
|
|
49543
49645
|
//#endregion
|
|
49544
49646
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
49545
|
-
declare const useMintPerp: (marketAddr: Address | undefined) =>
|
|
49647
|
+
declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<void, Error, {
|
|
49546
49648
|
optionType: "CALL" | "PUT";
|
|
49547
49649
|
amount: bigint;
|
|
49548
49650
|
duration: number;
|
|
@@ -49550,17 +49652,17 @@ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_
|
|
|
49550
49652
|
}, unknown>;
|
|
49551
49653
|
//#endregion
|
|
49552
49654
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
49553
|
-
declare const useClosePerp: () =>
|
|
49655
|
+
declare const useClosePerp: () => _tanstack_react_query6.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
49554
49656
|
//#endregion
|
|
49555
49657
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
49556
49658
|
declare const usePerpsOperator: () => {
|
|
49557
49659
|
operator: PerpsOperator | undefined;
|
|
49558
49660
|
address: `0x${string}` | undefined;
|
|
49559
|
-
signMessage:
|
|
49661
|
+
signMessage: _tanstack_react_query6.UseMutationResult<void, Error, void, unknown>;
|
|
49560
49662
|
};
|
|
49561
49663
|
//#endregion
|
|
49562
49664
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
49563
|
-
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) =>
|
|
49665
|
+
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query6.UseQueryResult<{
|
|
49564
49666
|
optionId: bigint;
|
|
49565
49667
|
id: string;
|
|
49566
49668
|
ownerAddr: Address;
|
|
@@ -49569,7 +49671,7 @@ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address
|
|
|
49569
49671
|
expiresAt: number;
|
|
49570
49672
|
closed: boolean;
|
|
49571
49673
|
}[] | undefined, Error>;
|
|
49572
|
-
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49674
|
+
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query6.UseQueryResult<{
|
|
49573
49675
|
optionId: bigint;
|
|
49574
49676
|
id: string;
|
|
49575
49677
|
ownerAddr: Address;
|
|
@@ -49578,7 +49680,7 @@ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49578
49680
|
expiresAt: number;
|
|
49579
49681
|
closed: boolean;
|
|
49580
49682
|
}[] | undefined, Error>;
|
|
49581
|
-
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49683
|
+
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query6.UseQueryResult<{
|
|
49582
49684
|
optionId: bigint;
|
|
49583
49685
|
id: string;
|
|
49584
49686
|
ownerAddr: Address;
|
|
@@ -49802,7 +49904,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49802
49904
|
};
|
|
49803
49905
|
//#endregion
|
|
49804
49906
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
49805
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) =>
|
|
49907
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query6.UseQueryResult<{
|
|
49806
49908
|
spendingApproval: bigint;
|
|
49807
49909
|
operatorAddr: string;
|
|
49808
49910
|
__typename: "UserMarketOperator";
|
|
@@ -49818,7 +49920,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _t
|
|
|
49818
49920
|
}[] | undefined, Error>;
|
|
49819
49921
|
//#endregion
|
|
49820
49922
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
49821
|
-
declare const useSetOperatorPerms: (marketAddr: Address | undefined) =>
|
|
49923
|
+
declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<`0x${string}`, Error, {
|
|
49822
49924
|
operator: Address;
|
|
49823
49925
|
canExtend: boolean;
|
|
49824
49926
|
canExercise: boolean;
|
|
@@ -50744,8 +50846,8 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
|
|
|
50744
50846
|
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
|
|
50745
50847
|
//#endregion
|
|
50746
50848
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
50747
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
50748
|
-
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
50849
|
+
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query6.UseQueryResult<PriceDataPoint[], Error>;
|
|
50850
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query6.UseQueryResult<PriceDataPoint[], Error>;
|
|
50749
50851
|
//#endregion
|
|
50750
50852
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
50751
50853
|
interface BurnPosition {
|
|
@@ -51164,7 +51266,7 @@ interface MintPositionParams {
|
|
|
51164
51266
|
tickUpper: number;
|
|
51165
51267
|
liquidity: bigint;
|
|
51166
51268
|
}
|
|
51167
|
-
declare const useMintLiquidity: (vaultAddr: Address | undefined) =>
|
|
51269
|
+
declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
51168
51270
|
//#endregion
|
|
51169
51271
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
51170
51272
|
declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
@@ -51176,7 +51278,7 @@ declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndef
|
|
|
51176
51278
|
tickSpacing: number;
|
|
51177
51279
|
hooks: `0x${string}`;
|
|
51178
51280
|
};
|
|
51179
|
-
|
|
51281
|
+
poolId: `0x${string}`;
|
|
51180
51282
|
} | undefined>>;
|
|
51181
51283
|
//#endregion
|
|
51182
51284
|
//#region src/hooks/vault/useVaultTVL.d.ts
|
|
@@ -51697,6 +51799,10 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
51697
51799
|
readonly type: "address";
|
|
51698
51800
|
readonly internalType: "contract IHooks";
|
|
51699
51801
|
}];
|
|
51802
|
+
}, {
|
|
51803
|
+
readonly name: "poolId";
|
|
51804
|
+
readonly type: "bytes32";
|
|
51805
|
+
readonly internalType: "PoolId";
|
|
51700
51806
|
}, {
|
|
51701
51807
|
readonly name: "optionAssetIsToken0";
|
|
51702
51808
|
readonly type: "bool";
|
|
@@ -52283,9 +52389,9 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
52283
52389
|
readonly internalType: "contract IHooks";
|
|
52284
52390
|
}];
|
|
52285
52391
|
}, {
|
|
52286
|
-
readonly name: "
|
|
52287
|
-
readonly type: "
|
|
52288
|
-
readonly internalType: "
|
|
52392
|
+
readonly name: "poolId";
|
|
52393
|
+
readonly type: "bytes32";
|
|
52394
|
+
readonly internalType: "PoolId";
|
|
52289
52395
|
}];
|
|
52290
52396
|
}];
|
|
52291
52397
|
readonly stateMutability: "view";
|
|
@@ -52361,7 +52467,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52361
52467
|
reset: () => void;
|
|
52362
52468
|
context: unknown;
|
|
52363
52469
|
submittedAt: number;
|
|
52364
|
-
writeContract:
|
|
52470
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52365
52471
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52366
52472
|
} | {
|
|
52367
52473
|
data: undefined;
|
|
@@ -52374,7 +52480,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52374
52480
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52375
52481
|
isPaused: boolean;
|
|
52376
52482
|
variables: {
|
|
52377
|
-
abi:
|
|
52483
|
+
abi: abitype0.Abi;
|
|
52378
52484
|
functionName: string;
|
|
52379
52485
|
args?: readonly unknown[] | undefined;
|
|
52380
52486
|
address: Address;
|
|
@@ -52398,7 +52504,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52398
52504
|
chainId?: number | undefined;
|
|
52399
52505
|
connector?: wagmi0.Connector | undefined;
|
|
52400
52506
|
} | {
|
|
52401
|
-
abi:
|
|
52507
|
+
abi: abitype0.Abi;
|
|
52402
52508
|
functionName: string;
|
|
52403
52509
|
args?: readonly unknown[] | undefined;
|
|
52404
52510
|
address: Address;
|
|
@@ -52422,7 +52528,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52422
52528
|
chainId?: number | undefined;
|
|
52423
52529
|
connector?: wagmi0.Connector | undefined;
|
|
52424
52530
|
} | {
|
|
52425
|
-
abi:
|
|
52531
|
+
abi: abitype0.Abi;
|
|
52426
52532
|
functionName: string;
|
|
52427
52533
|
args?: readonly unknown[] | undefined;
|
|
52428
52534
|
address: Address;
|
|
@@ -52446,7 +52552,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52446
52552
|
chainId?: number | undefined;
|
|
52447
52553
|
connector?: wagmi0.Connector | undefined;
|
|
52448
52554
|
} | {
|
|
52449
|
-
abi:
|
|
52555
|
+
abi: abitype0.Abi;
|
|
52450
52556
|
functionName: string;
|
|
52451
52557
|
args?: readonly unknown[] | undefined;
|
|
52452
52558
|
address: Address;
|
|
@@ -52470,7 +52576,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52470
52576
|
chainId?: number | undefined;
|
|
52471
52577
|
connector?: wagmi0.Connector | undefined;
|
|
52472
52578
|
} | {
|
|
52473
|
-
abi:
|
|
52579
|
+
abi: abitype0.Abi;
|
|
52474
52580
|
functionName: string;
|
|
52475
52581
|
args?: readonly unknown[] | undefined;
|
|
52476
52582
|
address: Address;
|
|
@@ -52494,7 +52600,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52494
52600
|
chainId?: number | undefined;
|
|
52495
52601
|
connector?: wagmi0.Connector | undefined;
|
|
52496
52602
|
} | {
|
|
52497
|
-
abi:
|
|
52603
|
+
abi: abitype0.Abi;
|
|
52498
52604
|
functionName: string;
|
|
52499
52605
|
args?: readonly unknown[] | undefined;
|
|
52500
52606
|
address: Address;
|
|
@@ -52522,7 +52628,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52522
52628
|
reset: () => void;
|
|
52523
52629
|
context: unknown;
|
|
52524
52630
|
submittedAt: number;
|
|
52525
|
-
writeContract:
|
|
52631
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52526
52632
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52527
52633
|
} | {
|
|
52528
52634
|
data: undefined;
|
|
@@ -52535,7 +52641,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52535
52641
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52536
52642
|
isPaused: boolean;
|
|
52537
52643
|
variables: {
|
|
52538
|
-
abi:
|
|
52644
|
+
abi: abitype0.Abi;
|
|
52539
52645
|
functionName: string;
|
|
52540
52646
|
args?: readonly unknown[] | undefined;
|
|
52541
52647
|
address: Address;
|
|
@@ -52559,7 +52665,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52559
52665
|
chainId?: number | undefined;
|
|
52560
52666
|
connector?: wagmi0.Connector | undefined;
|
|
52561
52667
|
} | {
|
|
52562
|
-
abi:
|
|
52668
|
+
abi: abitype0.Abi;
|
|
52563
52669
|
functionName: string;
|
|
52564
52670
|
args?: readonly unknown[] | undefined;
|
|
52565
52671
|
address: Address;
|
|
@@ -52583,7 +52689,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52583
52689
|
chainId?: number | undefined;
|
|
52584
52690
|
connector?: wagmi0.Connector | undefined;
|
|
52585
52691
|
} | {
|
|
52586
|
-
abi:
|
|
52692
|
+
abi: abitype0.Abi;
|
|
52587
52693
|
functionName: string;
|
|
52588
52694
|
args?: readonly unknown[] | undefined;
|
|
52589
52695
|
address: Address;
|
|
@@ -52607,7 +52713,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52607
52713
|
chainId?: number | undefined;
|
|
52608
52714
|
connector?: wagmi0.Connector | undefined;
|
|
52609
52715
|
} | {
|
|
52610
|
-
abi:
|
|
52716
|
+
abi: abitype0.Abi;
|
|
52611
52717
|
functionName: string;
|
|
52612
52718
|
args?: readonly unknown[] | undefined;
|
|
52613
52719
|
address: Address;
|
|
@@ -52631,7 +52737,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52631
52737
|
chainId?: number | undefined;
|
|
52632
52738
|
connector?: wagmi0.Connector | undefined;
|
|
52633
52739
|
} | {
|
|
52634
|
-
abi:
|
|
52740
|
+
abi: abitype0.Abi;
|
|
52635
52741
|
functionName: string;
|
|
52636
52742
|
args?: readonly unknown[] | undefined;
|
|
52637
52743
|
address: Address;
|
|
@@ -52655,7 +52761,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52655
52761
|
chainId?: number | undefined;
|
|
52656
52762
|
connector?: wagmi0.Connector | undefined;
|
|
52657
52763
|
} | {
|
|
52658
|
-
abi:
|
|
52764
|
+
abi: abitype0.Abi;
|
|
52659
52765
|
functionName: string;
|
|
52660
52766
|
args?: readonly unknown[] | undefined;
|
|
52661
52767
|
address: Address;
|
|
@@ -52683,7 +52789,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52683
52789
|
reset: () => void;
|
|
52684
52790
|
context: unknown;
|
|
52685
52791
|
submittedAt: number;
|
|
52686
|
-
writeContract:
|
|
52792
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52687
52793
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52688
52794
|
} | {
|
|
52689
52795
|
data: `0x${string}`;
|
|
@@ -52696,7 +52802,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52696
52802
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52697
52803
|
isPaused: boolean;
|
|
52698
52804
|
variables: {
|
|
52699
|
-
abi:
|
|
52805
|
+
abi: abitype0.Abi;
|
|
52700
52806
|
functionName: string;
|
|
52701
52807
|
args?: readonly unknown[] | undefined;
|
|
52702
52808
|
address: Address;
|
|
@@ -52720,7 +52826,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52720
52826
|
chainId?: number | undefined;
|
|
52721
52827
|
connector?: wagmi0.Connector | undefined;
|
|
52722
52828
|
} | {
|
|
52723
|
-
abi:
|
|
52829
|
+
abi: abitype0.Abi;
|
|
52724
52830
|
functionName: string;
|
|
52725
52831
|
args?: readonly unknown[] | undefined;
|
|
52726
52832
|
address: Address;
|
|
@@ -52744,7 +52850,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52744
52850
|
chainId?: number | undefined;
|
|
52745
52851
|
connector?: wagmi0.Connector | undefined;
|
|
52746
52852
|
} | {
|
|
52747
|
-
abi:
|
|
52853
|
+
abi: abitype0.Abi;
|
|
52748
52854
|
functionName: string;
|
|
52749
52855
|
args?: readonly unknown[] | undefined;
|
|
52750
52856
|
address: Address;
|
|
@@ -52768,7 +52874,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52768
52874
|
chainId?: number | undefined;
|
|
52769
52875
|
connector?: wagmi0.Connector | undefined;
|
|
52770
52876
|
} | {
|
|
52771
|
-
abi:
|
|
52877
|
+
abi: abitype0.Abi;
|
|
52772
52878
|
functionName: string;
|
|
52773
52879
|
args?: readonly unknown[] | undefined;
|
|
52774
52880
|
address: Address;
|
|
@@ -52792,7 +52898,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52792
52898
|
chainId?: number | undefined;
|
|
52793
52899
|
connector?: wagmi0.Connector | undefined;
|
|
52794
52900
|
} | {
|
|
52795
|
-
abi:
|
|
52901
|
+
abi: abitype0.Abi;
|
|
52796
52902
|
functionName: string;
|
|
52797
52903
|
args?: readonly unknown[] | undefined;
|
|
52798
52904
|
address: Address;
|
|
@@ -52816,7 +52922,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52816
52922
|
chainId?: number | undefined;
|
|
52817
52923
|
connector?: wagmi0.Connector | undefined;
|
|
52818
52924
|
} | {
|
|
52819
|
-
abi:
|
|
52925
|
+
abi: abitype0.Abi;
|
|
52820
52926
|
functionName: string;
|
|
52821
52927
|
args?: readonly unknown[] | undefined;
|
|
52822
52928
|
address: Address;
|
|
@@ -52844,7 +52950,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52844
52950
|
reset: () => void;
|
|
52845
52951
|
context: unknown;
|
|
52846
52952
|
submittedAt: number;
|
|
52847
|
-
writeContract:
|
|
52953
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52848
52954
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52849
52955
|
};
|
|
52850
52956
|
//#endregion
|
|
@@ -52864,7 +52970,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52864
52970
|
reset: () => void;
|
|
52865
52971
|
context: unknown;
|
|
52866
52972
|
submittedAt: number;
|
|
52867
|
-
writeContract:
|
|
52973
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52868
52974
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52869
52975
|
} | {
|
|
52870
52976
|
data: undefined;
|
|
@@ -52877,7 +52983,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52877
52983
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52878
52984
|
isPaused: boolean;
|
|
52879
52985
|
variables: {
|
|
52880
|
-
abi:
|
|
52986
|
+
abi: abitype0.Abi;
|
|
52881
52987
|
functionName: string;
|
|
52882
52988
|
args?: readonly unknown[] | undefined;
|
|
52883
52989
|
address: Address;
|
|
@@ -52901,7 +53007,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52901
53007
|
chainId?: number | undefined;
|
|
52902
53008
|
connector?: wagmi0.Connector | undefined;
|
|
52903
53009
|
} | {
|
|
52904
|
-
abi:
|
|
53010
|
+
abi: abitype0.Abi;
|
|
52905
53011
|
functionName: string;
|
|
52906
53012
|
args?: readonly unknown[] | undefined;
|
|
52907
53013
|
address: Address;
|
|
@@ -52925,7 +53031,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52925
53031
|
chainId?: number | undefined;
|
|
52926
53032
|
connector?: wagmi0.Connector | undefined;
|
|
52927
53033
|
} | {
|
|
52928
|
-
abi:
|
|
53034
|
+
abi: abitype0.Abi;
|
|
52929
53035
|
functionName: string;
|
|
52930
53036
|
args?: readonly unknown[] | undefined;
|
|
52931
53037
|
address: Address;
|
|
@@ -52949,7 +53055,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52949
53055
|
chainId?: number | undefined;
|
|
52950
53056
|
connector?: wagmi0.Connector | undefined;
|
|
52951
53057
|
} | {
|
|
52952
|
-
abi:
|
|
53058
|
+
abi: abitype0.Abi;
|
|
52953
53059
|
functionName: string;
|
|
52954
53060
|
args?: readonly unknown[] | undefined;
|
|
52955
53061
|
address: Address;
|
|
@@ -52973,7 +53079,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52973
53079
|
chainId?: number | undefined;
|
|
52974
53080
|
connector?: wagmi0.Connector | undefined;
|
|
52975
53081
|
} | {
|
|
52976
|
-
abi:
|
|
53082
|
+
abi: abitype0.Abi;
|
|
52977
53083
|
functionName: string;
|
|
52978
53084
|
args?: readonly unknown[] | undefined;
|
|
52979
53085
|
address: Address;
|
|
@@ -52997,7 +53103,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52997
53103
|
chainId?: number | undefined;
|
|
52998
53104
|
connector?: wagmi0.Connector | undefined;
|
|
52999
53105
|
} | {
|
|
53000
|
-
abi:
|
|
53106
|
+
abi: abitype0.Abi;
|
|
53001
53107
|
functionName: string;
|
|
53002
53108
|
args?: readonly unknown[] | undefined;
|
|
53003
53109
|
address: Address;
|
|
@@ -53025,7 +53131,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53025
53131
|
reset: () => void;
|
|
53026
53132
|
context: unknown;
|
|
53027
53133
|
submittedAt: number;
|
|
53028
|
-
writeContract:
|
|
53134
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53029
53135
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53030
53136
|
} | {
|
|
53031
53137
|
data: undefined;
|
|
@@ -53038,7 +53144,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53038
53144
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53039
53145
|
isPaused: boolean;
|
|
53040
53146
|
variables: {
|
|
53041
|
-
abi:
|
|
53147
|
+
abi: abitype0.Abi;
|
|
53042
53148
|
functionName: string;
|
|
53043
53149
|
args?: readonly unknown[] | undefined;
|
|
53044
53150
|
address: Address;
|
|
@@ -53062,7 +53168,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53062
53168
|
chainId?: number | undefined;
|
|
53063
53169
|
connector?: wagmi0.Connector | undefined;
|
|
53064
53170
|
} | {
|
|
53065
|
-
abi:
|
|
53171
|
+
abi: abitype0.Abi;
|
|
53066
53172
|
functionName: string;
|
|
53067
53173
|
args?: readonly unknown[] | undefined;
|
|
53068
53174
|
address: Address;
|
|
@@ -53086,7 +53192,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53086
53192
|
chainId?: number | undefined;
|
|
53087
53193
|
connector?: wagmi0.Connector | undefined;
|
|
53088
53194
|
} | {
|
|
53089
|
-
abi:
|
|
53195
|
+
abi: abitype0.Abi;
|
|
53090
53196
|
functionName: string;
|
|
53091
53197
|
args?: readonly unknown[] | undefined;
|
|
53092
53198
|
address: Address;
|
|
@@ -53110,7 +53216,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53110
53216
|
chainId?: number | undefined;
|
|
53111
53217
|
connector?: wagmi0.Connector | undefined;
|
|
53112
53218
|
} | {
|
|
53113
|
-
abi:
|
|
53219
|
+
abi: abitype0.Abi;
|
|
53114
53220
|
functionName: string;
|
|
53115
53221
|
args?: readonly unknown[] | undefined;
|
|
53116
53222
|
address: Address;
|
|
@@ -53134,7 +53240,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53134
53240
|
chainId?: number | undefined;
|
|
53135
53241
|
connector?: wagmi0.Connector | undefined;
|
|
53136
53242
|
} | {
|
|
53137
|
-
abi:
|
|
53243
|
+
abi: abitype0.Abi;
|
|
53138
53244
|
functionName: string;
|
|
53139
53245
|
args?: readonly unknown[] | undefined;
|
|
53140
53246
|
address: Address;
|
|
@@ -53158,7 +53264,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53158
53264
|
chainId?: number | undefined;
|
|
53159
53265
|
connector?: wagmi0.Connector | undefined;
|
|
53160
53266
|
} | {
|
|
53161
|
-
abi:
|
|
53267
|
+
abi: abitype0.Abi;
|
|
53162
53268
|
functionName: string;
|
|
53163
53269
|
args?: readonly unknown[] | undefined;
|
|
53164
53270
|
address: Address;
|
|
@@ -53186,7 +53292,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53186
53292
|
reset: () => void;
|
|
53187
53293
|
context: unknown;
|
|
53188
53294
|
submittedAt: number;
|
|
53189
|
-
writeContract:
|
|
53295
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53190
53296
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53191
53297
|
} | {
|
|
53192
53298
|
data: `0x${string}`;
|
|
@@ -53199,7 +53305,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53199
53305
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53200
53306
|
isPaused: boolean;
|
|
53201
53307
|
variables: {
|
|
53202
|
-
abi:
|
|
53308
|
+
abi: abitype0.Abi;
|
|
53203
53309
|
functionName: string;
|
|
53204
53310
|
args?: readonly unknown[] | undefined;
|
|
53205
53311
|
address: Address;
|
|
@@ -53223,7 +53329,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53223
53329
|
chainId?: number | undefined;
|
|
53224
53330
|
connector?: wagmi0.Connector | undefined;
|
|
53225
53331
|
} | {
|
|
53226
|
-
abi:
|
|
53332
|
+
abi: abitype0.Abi;
|
|
53227
53333
|
functionName: string;
|
|
53228
53334
|
args?: readonly unknown[] | undefined;
|
|
53229
53335
|
address: Address;
|
|
@@ -53247,7 +53353,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53247
53353
|
chainId?: number | undefined;
|
|
53248
53354
|
connector?: wagmi0.Connector | undefined;
|
|
53249
53355
|
} | {
|
|
53250
|
-
abi:
|
|
53356
|
+
abi: abitype0.Abi;
|
|
53251
53357
|
functionName: string;
|
|
53252
53358
|
args?: readonly unknown[] | undefined;
|
|
53253
53359
|
address: Address;
|
|
@@ -53271,7 +53377,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53271
53377
|
chainId?: number | undefined;
|
|
53272
53378
|
connector?: wagmi0.Connector | undefined;
|
|
53273
53379
|
} | {
|
|
53274
|
-
abi:
|
|
53380
|
+
abi: abitype0.Abi;
|
|
53275
53381
|
functionName: string;
|
|
53276
53382
|
args?: readonly unknown[] | undefined;
|
|
53277
53383
|
address: Address;
|
|
@@ -53295,7 +53401,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53295
53401
|
chainId?: number | undefined;
|
|
53296
53402
|
connector?: wagmi0.Connector | undefined;
|
|
53297
53403
|
} | {
|
|
53298
|
-
abi:
|
|
53404
|
+
abi: abitype0.Abi;
|
|
53299
53405
|
functionName: string;
|
|
53300
53406
|
args?: readonly unknown[] | undefined;
|
|
53301
53407
|
address: Address;
|
|
@@ -53319,7 +53425,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53319
53425
|
chainId?: number | undefined;
|
|
53320
53426
|
connector?: wagmi0.Connector | undefined;
|
|
53321
53427
|
} | {
|
|
53322
|
-
abi:
|
|
53428
|
+
abi: abitype0.Abi;
|
|
53323
53429
|
functionName: string;
|
|
53324
53430
|
args?: readonly unknown[] | undefined;
|
|
53325
53431
|
address: Address;
|
|
@@ -53347,7 +53453,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53347
53453
|
reset: () => void;
|
|
53348
53454
|
context: unknown;
|
|
53349
53455
|
submittedAt: number;
|
|
53350
|
-
writeContract:
|
|
53456
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53351
53457
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53352
53458
|
};
|
|
53353
53459
|
//#endregion
|
|
@@ -53376,7 +53482,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53376
53482
|
reset: () => void;
|
|
53377
53483
|
context: unknown;
|
|
53378
53484
|
submittedAt: number;
|
|
53379
|
-
writeContract:
|
|
53485
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53380
53486
|
updateMarketFees: (rates: {
|
|
53381
53487
|
openingFeeRate?: number;
|
|
53382
53488
|
baseFeeRate?: number;
|
|
@@ -53399,7 +53505,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53399
53505
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53400
53506
|
isPaused: boolean;
|
|
53401
53507
|
variables: {
|
|
53402
|
-
abi:
|
|
53508
|
+
abi: abitype0.Abi;
|
|
53403
53509
|
functionName: string;
|
|
53404
53510
|
args?: readonly unknown[] | undefined;
|
|
53405
53511
|
address: Address;
|
|
@@ -53423,7 +53529,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53423
53529
|
chainId?: number | undefined;
|
|
53424
53530
|
connector?: wagmi0.Connector | undefined;
|
|
53425
53531
|
} | {
|
|
53426
|
-
abi:
|
|
53532
|
+
abi: abitype0.Abi;
|
|
53427
53533
|
functionName: string;
|
|
53428
53534
|
args?: readonly unknown[] | undefined;
|
|
53429
53535
|
address: Address;
|
|
@@ -53447,7 +53553,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53447
53553
|
chainId?: number | undefined;
|
|
53448
53554
|
connector?: wagmi0.Connector | undefined;
|
|
53449
53555
|
} | {
|
|
53450
|
-
abi:
|
|
53556
|
+
abi: abitype0.Abi;
|
|
53451
53557
|
functionName: string;
|
|
53452
53558
|
args?: readonly unknown[] | undefined;
|
|
53453
53559
|
address: Address;
|
|
@@ -53471,7 +53577,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53471
53577
|
chainId?: number | undefined;
|
|
53472
53578
|
connector?: wagmi0.Connector | undefined;
|
|
53473
53579
|
} | {
|
|
53474
|
-
abi:
|
|
53580
|
+
abi: abitype0.Abi;
|
|
53475
53581
|
functionName: string;
|
|
53476
53582
|
args?: readonly unknown[] | undefined;
|
|
53477
53583
|
address: Address;
|
|
@@ -53495,7 +53601,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53495
53601
|
chainId?: number | undefined;
|
|
53496
53602
|
connector?: wagmi0.Connector | undefined;
|
|
53497
53603
|
} | {
|
|
53498
|
-
abi:
|
|
53604
|
+
abi: abitype0.Abi;
|
|
53499
53605
|
functionName: string;
|
|
53500
53606
|
args?: readonly unknown[] | undefined;
|
|
53501
53607
|
address: Address;
|
|
@@ -53519,7 +53625,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53519
53625
|
chainId?: number | undefined;
|
|
53520
53626
|
connector?: wagmi0.Connector | undefined;
|
|
53521
53627
|
} | {
|
|
53522
|
-
abi:
|
|
53628
|
+
abi: abitype0.Abi;
|
|
53523
53629
|
functionName: string;
|
|
53524
53630
|
args?: readonly unknown[] | undefined;
|
|
53525
53631
|
address: Address;
|
|
@@ -53547,7 +53653,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53547
53653
|
reset: () => void;
|
|
53548
53654
|
context: unknown;
|
|
53549
53655
|
submittedAt: number;
|
|
53550
|
-
writeContract:
|
|
53656
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53551
53657
|
updateMarketFees: (rates: {
|
|
53552
53658
|
openingFeeRate?: number;
|
|
53553
53659
|
baseFeeRate?: number;
|
|
@@ -53570,7 +53676,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53570
53676
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53571
53677
|
isPaused: boolean;
|
|
53572
53678
|
variables: {
|
|
53573
|
-
abi:
|
|
53679
|
+
abi: abitype0.Abi;
|
|
53574
53680
|
functionName: string;
|
|
53575
53681
|
args?: readonly unknown[] | undefined;
|
|
53576
53682
|
address: Address;
|
|
@@ -53594,7 +53700,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53594
53700
|
chainId?: number | undefined;
|
|
53595
53701
|
connector?: wagmi0.Connector | undefined;
|
|
53596
53702
|
} | {
|
|
53597
|
-
abi:
|
|
53703
|
+
abi: abitype0.Abi;
|
|
53598
53704
|
functionName: string;
|
|
53599
53705
|
args?: readonly unknown[] | undefined;
|
|
53600
53706
|
address: Address;
|
|
@@ -53618,7 +53724,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53618
53724
|
chainId?: number | undefined;
|
|
53619
53725
|
connector?: wagmi0.Connector | undefined;
|
|
53620
53726
|
} | {
|
|
53621
|
-
abi:
|
|
53727
|
+
abi: abitype0.Abi;
|
|
53622
53728
|
functionName: string;
|
|
53623
53729
|
args?: readonly unknown[] | undefined;
|
|
53624
53730
|
address: Address;
|
|
@@ -53642,7 +53748,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53642
53748
|
chainId?: number | undefined;
|
|
53643
53749
|
connector?: wagmi0.Connector | undefined;
|
|
53644
53750
|
} | {
|
|
53645
|
-
abi:
|
|
53751
|
+
abi: abitype0.Abi;
|
|
53646
53752
|
functionName: string;
|
|
53647
53753
|
args?: readonly unknown[] | undefined;
|
|
53648
53754
|
address: Address;
|
|
@@ -53666,7 +53772,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53666
53772
|
chainId?: number | undefined;
|
|
53667
53773
|
connector?: wagmi0.Connector | undefined;
|
|
53668
53774
|
} | {
|
|
53669
|
-
abi:
|
|
53775
|
+
abi: abitype0.Abi;
|
|
53670
53776
|
functionName: string;
|
|
53671
53777
|
args?: readonly unknown[] | undefined;
|
|
53672
53778
|
address: Address;
|
|
@@ -53690,7 +53796,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53690
53796
|
chainId?: number | undefined;
|
|
53691
53797
|
connector?: wagmi0.Connector | undefined;
|
|
53692
53798
|
} | {
|
|
53693
|
-
abi:
|
|
53799
|
+
abi: abitype0.Abi;
|
|
53694
53800
|
functionName: string;
|
|
53695
53801
|
args?: readonly unknown[] | undefined;
|
|
53696
53802
|
address: Address;
|
|
@@ -53718,7 +53824,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53718
53824
|
reset: () => void;
|
|
53719
53825
|
context: unknown;
|
|
53720
53826
|
submittedAt: number;
|
|
53721
|
-
writeContract:
|
|
53827
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53722
53828
|
updateMarketFees: (rates: {
|
|
53723
53829
|
openingFeeRate?: number;
|
|
53724
53830
|
baseFeeRate?: number;
|
|
@@ -53741,7 +53847,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53741
53847
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53742
53848
|
isPaused: boolean;
|
|
53743
53849
|
variables: {
|
|
53744
|
-
abi:
|
|
53850
|
+
abi: abitype0.Abi;
|
|
53745
53851
|
functionName: string;
|
|
53746
53852
|
args?: readonly unknown[] | undefined;
|
|
53747
53853
|
address: Address;
|
|
@@ -53765,7 +53871,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53765
53871
|
chainId?: number | undefined;
|
|
53766
53872
|
connector?: wagmi0.Connector | undefined;
|
|
53767
53873
|
} | {
|
|
53768
|
-
abi:
|
|
53874
|
+
abi: abitype0.Abi;
|
|
53769
53875
|
functionName: string;
|
|
53770
53876
|
args?: readonly unknown[] | undefined;
|
|
53771
53877
|
address: Address;
|
|
@@ -53789,7 +53895,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53789
53895
|
chainId?: number | undefined;
|
|
53790
53896
|
connector?: wagmi0.Connector | undefined;
|
|
53791
53897
|
} | {
|
|
53792
|
-
abi:
|
|
53898
|
+
abi: abitype0.Abi;
|
|
53793
53899
|
functionName: string;
|
|
53794
53900
|
args?: readonly unknown[] | undefined;
|
|
53795
53901
|
address: Address;
|
|
@@ -53813,7 +53919,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53813
53919
|
chainId?: number | undefined;
|
|
53814
53920
|
connector?: wagmi0.Connector | undefined;
|
|
53815
53921
|
} | {
|
|
53816
|
-
abi:
|
|
53922
|
+
abi: abitype0.Abi;
|
|
53817
53923
|
functionName: string;
|
|
53818
53924
|
args?: readonly unknown[] | undefined;
|
|
53819
53925
|
address: Address;
|
|
@@ -53837,7 +53943,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53837
53943
|
chainId?: number | undefined;
|
|
53838
53944
|
connector?: wagmi0.Connector | undefined;
|
|
53839
53945
|
} | {
|
|
53840
|
-
abi:
|
|
53946
|
+
abi: abitype0.Abi;
|
|
53841
53947
|
functionName: string;
|
|
53842
53948
|
args?: readonly unknown[] | undefined;
|
|
53843
53949
|
address: Address;
|
|
@@ -53861,7 +53967,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53861
53967
|
chainId?: number | undefined;
|
|
53862
53968
|
connector?: wagmi0.Connector | undefined;
|
|
53863
53969
|
} | {
|
|
53864
|
-
abi:
|
|
53970
|
+
abi: abitype0.Abi;
|
|
53865
53971
|
functionName: string;
|
|
53866
53972
|
args?: readonly unknown[] | undefined;
|
|
53867
53973
|
address: Address;
|
|
@@ -53889,7 +53995,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53889
53995
|
reset: () => void;
|
|
53890
53996
|
context: unknown;
|
|
53891
53997
|
submittedAt: number;
|
|
53892
|
-
writeContract:
|
|
53998
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53893
53999
|
updateMarketFees: (rates: {
|
|
53894
54000
|
openingFeeRate?: number;
|
|
53895
54001
|
baseFeeRate?: number;
|
|
@@ -54226,6 +54332,10 @@ declare const usePricingParams: (pricingAddr: Address | undefined) => wagmi0.Use
|
|
|
54226
54332
|
readonly type: "address";
|
|
54227
54333
|
readonly internalType: "contract IHooks";
|
|
54228
54334
|
}];
|
|
54335
|
+
}, {
|
|
54336
|
+
readonly name: "poolId";
|
|
54337
|
+
readonly type: "bytes32";
|
|
54338
|
+
readonly internalType: "PoolId";
|
|
54229
54339
|
}, {
|
|
54230
54340
|
readonly name: "optionAssetIsToken0";
|
|
54231
54341
|
readonly type: "bool";
|
|
@@ -54812,9 +54922,9 @@ declare const usePricingParams: (pricingAddr: Address | undefined) => wagmi0.Use
|
|
|
54812
54922
|
readonly internalType: "contract IHooks";
|
|
54813
54923
|
}];
|
|
54814
54924
|
}, {
|
|
54815
|
-
readonly name: "
|
|
54816
|
-
readonly type: "
|
|
54817
|
-
readonly internalType: "
|
|
54925
|
+
readonly name: "poolId";
|
|
54926
|
+
readonly type: "bytes32";
|
|
54927
|
+
readonly internalType: "PoolId";
|
|
54818
54928
|
}];
|
|
54819
54929
|
}];
|
|
54820
54930
|
readonly stateMutability: "view";
|
|
@@ -54889,7 +54999,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54889
54999
|
reset: () => void;
|
|
54890
55000
|
context: unknown;
|
|
54891
55001
|
submittedAt: number;
|
|
54892
|
-
writeContract:
|
|
55002
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54893
55003
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
54894
55004
|
model: "static";
|
|
54895
55005
|
} : Partial<OptionPricingParams> & {
|
|
@@ -54910,7 +55020,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54910
55020
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54911
55021
|
isPaused: boolean;
|
|
54912
55022
|
variables: {
|
|
54913
|
-
abi:
|
|
55023
|
+
abi: abitype0.Abi;
|
|
54914
55024
|
functionName: string;
|
|
54915
55025
|
args?: readonly unknown[] | undefined;
|
|
54916
55026
|
address: Address;
|
|
@@ -54934,7 +55044,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54934
55044
|
chainId?: number | undefined;
|
|
54935
55045
|
connector?: wagmi0.Connector | undefined;
|
|
54936
55046
|
} | {
|
|
54937
|
-
abi:
|
|
55047
|
+
abi: abitype0.Abi;
|
|
54938
55048
|
functionName: string;
|
|
54939
55049
|
args?: readonly unknown[] | undefined;
|
|
54940
55050
|
address: Address;
|
|
@@ -54958,7 +55068,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54958
55068
|
chainId?: number | undefined;
|
|
54959
55069
|
connector?: wagmi0.Connector | undefined;
|
|
54960
55070
|
} | {
|
|
54961
|
-
abi:
|
|
55071
|
+
abi: abitype0.Abi;
|
|
54962
55072
|
functionName: string;
|
|
54963
55073
|
args?: readonly unknown[] | undefined;
|
|
54964
55074
|
address: Address;
|
|
@@ -54982,7 +55092,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
54982
55092
|
chainId?: number | undefined;
|
|
54983
55093
|
connector?: wagmi0.Connector | undefined;
|
|
54984
55094
|
} | {
|
|
54985
|
-
abi:
|
|
55095
|
+
abi: abitype0.Abi;
|
|
54986
55096
|
functionName: string;
|
|
54987
55097
|
args?: readonly unknown[] | undefined;
|
|
54988
55098
|
address: Address;
|
|
@@ -55006,7 +55116,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55006
55116
|
chainId?: number | undefined;
|
|
55007
55117
|
connector?: wagmi0.Connector | undefined;
|
|
55008
55118
|
} | {
|
|
55009
|
-
abi:
|
|
55119
|
+
abi: abitype0.Abi;
|
|
55010
55120
|
functionName: string;
|
|
55011
55121
|
args?: readonly unknown[] | undefined;
|
|
55012
55122
|
address: Address;
|
|
@@ -55030,7 +55140,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55030
55140
|
chainId?: number | undefined;
|
|
55031
55141
|
connector?: wagmi0.Connector | undefined;
|
|
55032
55142
|
} | {
|
|
55033
|
-
abi:
|
|
55143
|
+
abi: abitype0.Abi;
|
|
55034
55144
|
functionName: string;
|
|
55035
55145
|
args?: readonly unknown[] | undefined;
|
|
55036
55146
|
address: Address;
|
|
@@ -55058,7 +55168,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55058
55168
|
reset: () => void;
|
|
55059
55169
|
context: unknown;
|
|
55060
55170
|
submittedAt: number;
|
|
55061
|
-
writeContract:
|
|
55171
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55062
55172
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55063
55173
|
model: "static";
|
|
55064
55174
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55079,7 +55189,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55079
55189
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55080
55190
|
isPaused: boolean;
|
|
55081
55191
|
variables: {
|
|
55082
|
-
abi:
|
|
55192
|
+
abi: abitype0.Abi;
|
|
55083
55193
|
functionName: string;
|
|
55084
55194
|
args?: readonly unknown[] | undefined;
|
|
55085
55195
|
address: Address;
|
|
@@ -55103,7 +55213,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55103
55213
|
chainId?: number | undefined;
|
|
55104
55214
|
connector?: wagmi0.Connector | undefined;
|
|
55105
55215
|
} | {
|
|
55106
|
-
abi:
|
|
55216
|
+
abi: abitype0.Abi;
|
|
55107
55217
|
functionName: string;
|
|
55108
55218
|
args?: readonly unknown[] | undefined;
|
|
55109
55219
|
address: Address;
|
|
@@ -55127,7 +55237,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55127
55237
|
chainId?: number | undefined;
|
|
55128
55238
|
connector?: wagmi0.Connector | undefined;
|
|
55129
55239
|
} | {
|
|
55130
|
-
abi:
|
|
55240
|
+
abi: abitype0.Abi;
|
|
55131
55241
|
functionName: string;
|
|
55132
55242
|
args?: readonly unknown[] | undefined;
|
|
55133
55243
|
address: Address;
|
|
@@ -55151,7 +55261,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55151
55261
|
chainId?: number | undefined;
|
|
55152
55262
|
connector?: wagmi0.Connector | undefined;
|
|
55153
55263
|
} | {
|
|
55154
|
-
abi:
|
|
55264
|
+
abi: abitype0.Abi;
|
|
55155
55265
|
functionName: string;
|
|
55156
55266
|
args?: readonly unknown[] | undefined;
|
|
55157
55267
|
address: Address;
|
|
@@ -55175,7 +55285,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55175
55285
|
chainId?: number | undefined;
|
|
55176
55286
|
connector?: wagmi0.Connector | undefined;
|
|
55177
55287
|
} | {
|
|
55178
|
-
abi:
|
|
55288
|
+
abi: abitype0.Abi;
|
|
55179
55289
|
functionName: string;
|
|
55180
55290
|
args?: readonly unknown[] | undefined;
|
|
55181
55291
|
address: Address;
|
|
@@ -55199,7 +55309,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55199
55309
|
chainId?: number | undefined;
|
|
55200
55310
|
connector?: wagmi0.Connector | undefined;
|
|
55201
55311
|
} | {
|
|
55202
|
-
abi:
|
|
55312
|
+
abi: abitype0.Abi;
|
|
55203
55313
|
functionName: string;
|
|
55204
55314
|
args?: readonly unknown[] | undefined;
|
|
55205
55315
|
address: Address;
|
|
@@ -55227,7 +55337,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55227
55337
|
reset: () => void;
|
|
55228
55338
|
context: unknown;
|
|
55229
55339
|
submittedAt: number;
|
|
55230
|
-
writeContract:
|
|
55340
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55231
55341
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55232
55342
|
model: "static";
|
|
55233
55343
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55248,7 +55358,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55248
55358
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55249
55359
|
isPaused: boolean;
|
|
55250
55360
|
variables: {
|
|
55251
|
-
abi:
|
|
55361
|
+
abi: abitype0.Abi;
|
|
55252
55362
|
functionName: string;
|
|
55253
55363
|
args?: readonly unknown[] | undefined;
|
|
55254
55364
|
address: Address;
|
|
@@ -55272,7 +55382,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55272
55382
|
chainId?: number | undefined;
|
|
55273
55383
|
connector?: wagmi0.Connector | undefined;
|
|
55274
55384
|
} | {
|
|
55275
|
-
abi:
|
|
55385
|
+
abi: abitype0.Abi;
|
|
55276
55386
|
functionName: string;
|
|
55277
55387
|
args?: readonly unknown[] | undefined;
|
|
55278
55388
|
address: Address;
|
|
@@ -55296,7 +55406,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55296
55406
|
chainId?: number | undefined;
|
|
55297
55407
|
connector?: wagmi0.Connector | undefined;
|
|
55298
55408
|
} | {
|
|
55299
|
-
abi:
|
|
55409
|
+
abi: abitype0.Abi;
|
|
55300
55410
|
functionName: string;
|
|
55301
55411
|
args?: readonly unknown[] | undefined;
|
|
55302
55412
|
address: Address;
|
|
@@ -55320,7 +55430,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55320
55430
|
chainId?: number | undefined;
|
|
55321
55431
|
connector?: wagmi0.Connector | undefined;
|
|
55322
55432
|
} | {
|
|
55323
|
-
abi:
|
|
55433
|
+
abi: abitype0.Abi;
|
|
55324
55434
|
functionName: string;
|
|
55325
55435
|
args?: readonly unknown[] | undefined;
|
|
55326
55436
|
address: Address;
|
|
@@ -55344,7 +55454,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55344
55454
|
chainId?: number | undefined;
|
|
55345
55455
|
connector?: wagmi0.Connector | undefined;
|
|
55346
55456
|
} | {
|
|
55347
|
-
abi:
|
|
55457
|
+
abi: abitype0.Abi;
|
|
55348
55458
|
functionName: string;
|
|
55349
55459
|
args?: readonly unknown[] | undefined;
|
|
55350
55460
|
address: Address;
|
|
@@ -55368,7 +55478,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55368
55478
|
chainId?: number | undefined;
|
|
55369
55479
|
connector?: wagmi0.Connector | undefined;
|
|
55370
55480
|
} | {
|
|
55371
|
-
abi:
|
|
55481
|
+
abi: abitype0.Abi;
|
|
55372
55482
|
functionName: string;
|
|
55373
55483
|
args?: readonly unknown[] | undefined;
|
|
55374
55484
|
address: Address;
|
|
@@ -55396,7 +55506,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55396
55506
|
reset: () => void;
|
|
55397
55507
|
context: unknown;
|
|
55398
55508
|
submittedAt: number;
|
|
55399
|
-
writeContract:
|
|
55509
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55400
55510
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55401
55511
|
model: "static";
|
|
55402
55512
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55720,6 +55830,10 @@ declare const useLens: () => {
|
|
|
55720
55830
|
readonly type: "address";
|
|
55721
55831
|
readonly internalType: "contract IHooks";
|
|
55722
55832
|
}];
|
|
55833
|
+
}, {
|
|
55834
|
+
readonly name: "poolId";
|
|
55835
|
+
readonly type: "bytes32";
|
|
55836
|
+
readonly internalType: "PoolId";
|
|
55723
55837
|
}, {
|
|
55724
55838
|
readonly name: "optionAssetIsToken0";
|
|
55725
55839
|
readonly type: "bool";
|
|
@@ -56306,9 +56420,9 @@ declare const useLens: () => {
|
|
|
56306
56420
|
readonly internalType: "contract IHooks";
|
|
56307
56421
|
}];
|
|
56308
56422
|
}, {
|
|
56309
|
-
readonly name: "
|
|
56310
|
-
readonly type: "
|
|
56311
|
-
readonly internalType: "
|
|
56423
|
+
readonly name: "poolId";
|
|
56424
|
+
readonly type: "bytes32";
|
|
56425
|
+
readonly internalType: "PoolId";
|
|
56312
56426
|
}];
|
|
56313
56427
|
}];
|
|
56314
56428
|
readonly stateMutability: "view";
|
|
@@ -56659,6 +56773,10 @@ declare const useLens: () => {
|
|
|
56659
56773
|
readonly type: "address";
|
|
56660
56774
|
readonly internalType: "contract IHooks";
|
|
56661
56775
|
}];
|
|
56776
|
+
}, {
|
|
56777
|
+
readonly name: "poolId";
|
|
56778
|
+
readonly type: "bytes32";
|
|
56779
|
+
readonly internalType: "PoolId";
|
|
56662
56780
|
}, {
|
|
56663
56781
|
readonly name: "optionAssetIsToken0";
|
|
56664
56782
|
readonly type: "bool";
|
|
@@ -57245,9 +57363,9 @@ declare const useLens: () => {
|
|
|
57245
57363
|
readonly internalType: "contract IHooks";
|
|
57246
57364
|
}];
|
|
57247
57365
|
}, {
|
|
57248
|
-
readonly name: "
|
|
57249
|
-
readonly type: "
|
|
57250
|
-
readonly internalType: "
|
|
57366
|
+
readonly name: "poolId";
|
|
57367
|
+
readonly type: "bytes32";
|
|
57368
|
+
readonly internalType: "PoolId";
|
|
57251
57369
|
}];
|
|
57252
57370
|
}];
|
|
57253
57371
|
readonly stateMutability: "view";
|
|
@@ -57610,6 +57728,10 @@ declare const useLens: () => {
|
|
|
57610
57728
|
readonly type: "address";
|
|
57611
57729
|
readonly internalType: "contract IHooks";
|
|
57612
57730
|
}];
|
|
57731
|
+
}, {
|
|
57732
|
+
readonly name: "poolId";
|
|
57733
|
+
readonly type: "bytes32";
|
|
57734
|
+
readonly internalType: "PoolId";
|
|
57613
57735
|
}, {
|
|
57614
57736
|
readonly name: "optionAssetIsToken0";
|
|
57615
57737
|
readonly type: "bool";
|
|
@@ -58196,9 +58318,9 @@ declare const useLens: () => {
|
|
|
58196
58318
|
readonly internalType: "contract IHooks";
|
|
58197
58319
|
}];
|
|
58198
58320
|
}, {
|
|
58199
|
-
readonly name: "
|
|
58200
|
-
readonly type: "
|
|
58201
|
-
readonly internalType: "
|
|
58321
|
+
readonly name: "poolId";
|
|
58322
|
+
readonly type: "bytes32";
|
|
58323
|
+
readonly internalType: "PoolId";
|
|
58202
58324
|
}];
|
|
58203
58325
|
}];
|
|
58204
58326
|
readonly stateMutability: "view";
|
|
@@ -58559,6 +58681,10 @@ declare const useLens: () => {
|
|
|
58559
58681
|
readonly type: "address";
|
|
58560
58682
|
readonly internalType: "contract IHooks";
|
|
58561
58683
|
}];
|
|
58684
|
+
}, {
|
|
58685
|
+
readonly name: "poolId";
|
|
58686
|
+
readonly type: "bytes32";
|
|
58687
|
+
readonly internalType: "PoolId";
|
|
58562
58688
|
}, {
|
|
58563
58689
|
readonly name: "optionAssetIsToken0";
|
|
58564
58690
|
readonly type: "bool";
|
|
@@ -59145,9 +59271,9 @@ declare const useLens: () => {
|
|
|
59145
59271
|
readonly internalType: "contract IHooks";
|
|
59146
59272
|
}];
|
|
59147
59273
|
}, {
|
|
59148
|
-
readonly name: "
|
|
59149
|
-
readonly type: "
|
|
59150
|
-
readonly internalType: "
|
|
59274
|
+
readonly name: "poolId";
|
|
59275
|
+
readonly type: "bytes32";
|
|
59276
|
+
readonly internalType: "PoolId";
|
|
59151
59277
|
}];
|
|
59152
59278
|
}];
|
|
59153
59279
|
readonly stateMutability: "view";
|
|
@@ -59504,6 +59630,10 @@ declare const useLens: () => {
|
|
|
59504
59630
|
readonly type: "address";
|
|
59505
59631
|
readonly internalType: "contract IHooks";
|
|
59506
59632
|
}];
|
|
59633
|
+
}, {
|
|
59634
|
+
readonly name: "poolId";
|
|
59635
|
+
readonly type: "bytes32";
|
|
59636
|
+
readonly internalType: "PoolId";
|
|
59507
59637
|
}, {
|
|
59508
59638
|
readonly name: "optionAssetIsToken0";
|
|
59509
59639
|
readonly type: "bool";
|
|
@@ -60090,9 +60220,9 @@ declare const useLens: () => {
|
|
|
60090
60220
|
readonly internalType: "contract IHooks";
|
|
60091
60221
|
}];
|
|
60092
60222
|
}, {
|
|
60093
|
-
readonly name: "
|
|
60094
|
-
readonly type: "
|
|
60095
|
-
readonly internalType: "
|
|
60223
|
+
readonly name: "poolId";
|
|
60224
|
+
readonly type: "bytes32";
|
|
60225
|
+
readonly internalType: "PoolId";
|
|
60096
60226
|
}];
|
|
60097
60227
|
}];
|
|
60098
60228
|
readonly stateMutability: "view";
|
|
@@ -60459,6 +60589,10 @@ declare const useLens: () => {
|
|
|
60459
60589
|
readonly type: "address";
|
|
60460
60590
|
readonly internalType: "contract IHooks";
|
|
60461
60591
|
}];
|
|
60592
|
+
}, {
|
|
60593
|
+
readonly name: "poolId";
|
|
60594
|
+
readonly type: "bytes32";
|
|
60595
|
+
readonly internalType: "PoolId";
|
|
60462
60596
|
}, {
|
|
60463
60597
|
readonly name: "optionAssetIsToken0";
|
|
60464
60598
|
readonly type: "bool";
|
|
@@ -61045,9 +61179,9 @@ declare const useLens: () => {
|
|
|
61045
61179
|
readonly internalType: "contract IHooks";
|
|
61046
61180
|
}];
|
|
61047
61181
|
}, {
|
|
61048
|
-
readonly name: "
|
|
61049
|
-
readonly type: "
|
|
61050
|
-
readonly internalType: "
|
|
61182
|
+
readonly name: "poolId";
|
|
61183
|
+
readonly type: "bytes32";
|
|
61184
|
+
readonly internalType: "PoolId";
|
|
61051
61185
|
}];
|
|
61052
61186
|
}];
|
|
61053
61187
|
readonly stateMutability: "view";
|
|
@@ -61398,6 +61532,10 @@ declare const useLens: () => {
|
|
|
61398
61532
|
readonly type: "address";
|
|
61399
61533
|
readonly internalType: "contract IHooks";
|
|
61400
61534
|
}];
|
|
61535
|
+
}, {
|
|
61536
|
+
readonly name: "poolId";
|
|
61537
|
+
readonly type: "bytes32";
|
|
61538
|
+
readonly internalType: "PoolId";
|
|
61401
61539
|
}, {
|
|
61402
61540
|
readonly name: "optionAssetIsToken0";
|
|
61403
61541
|
readonly type: "bool";
|
|
@@ -61984,9 +62122,9 @@ declare const useLens: () => {
|
|
|
61984
62122
|
readonly internalType: "contract IHooks";
|
|
61985
62123
|
}];
|
|
61986
62124
|
}, {
|
|
61987
|
-
readonly name: "
|
|
61988
|
-
readonly type: "
|
|
61989
|
-
readonly internalType: "
|
|
62125
|
+
readonly name: "poolId";
|
|
62126
|
+
readonly type: "bytes32";
|
|
62127
|
+
readonly internalType: "PoolId";
|
|
61990
62128
|
}];
|
|
61991
62129
|
}];
|
|
61992
62130
|
readonly stateMutability: "view";
|
|
@@ -62039,6 +62177,7 @@ declare const useLens: () => {
|
|
|
62039
62177
|
tickSpacing: number;
|
|
62040
62178
|
hooks: `0x${string}`;
|
|
62041
62179
|
};
|
|
62180
|
+
poolId: `0x${string}`;
|
|
62042
62181
|
optionAssetIsToken0: boolean;
|
|
62043
62182
|
optionAsset: `0x${string}`;
|
|
62044
62183
|
payoutAsset: `0x${string}`;
|
|
@@ -62357,6 +62496,10 @@ declare const useLens: () => {
|
|
|
62357
62496
|
readonly type: "address";
|
|
62358
62497
|
readonly internalType: "contract IHooks";
|
|
62359
62498
|
}];
|
|
62499
|
+
}, {
|
|
62500
|
+
readonly name: "poolId";
|
|
62501
|
+
readonly type: "bytes32";
|
|
62502
|
+
readonly internalType: "PoolId";
|
|
62360
62503
|
}, {
|
|
62361
62504
|
readonly name: "optionAssetIsToken0";
|
|
62362
62505
|
readonly type: "bool";
|
|
@@ -62943,9 +63086,9 @@ declare const useLens: () => {
|
|
|
62943
63086
|
readonly internalType: "contract IHooks";
|
|
62944
63087
|
}];
|
|
62945
63088
|
}, {
|
|
62946
|
-
readonly name: "
|
|
62947
|
-
readonly type: "
|
|
62948
|
-
readonly internalType: "
|
|
63089
|
+
readonly name: "poolId";
|
|
63090
|
+
readonly type: "bytes32";
|
|
63091
|
+
readonly internalType: "PoolId";
|
|
62949
63092
|
}];
|
|
62950
63093
|
}];
|
|
62951
63094
|
readonly stateMutability: "view";
|
|
@@ -63301,6 +63444,10 @@ declare const useLens: () => {
|
|
|
63301
63444
|
readonly type: "address";
|
|
63302
63445
|
readonly internalType: "contract IHooks";
|
|
63303
63446
|
}];
|
|
63447
|
+
}, {
|
|
63448
|
+
readonly name: "poolId";
|
|
63449
|
+
readonly type: "bytes32";
|
|
63450
|
+
readonly internalType: "PoolId";
|
|
63304
63451
|
}, {
|
|
63305
63452
|
readonly name: "optionAssetIsToken0";
|
|
63306
63453
|
readonly type: "bool";
|
|
@@ -63887,9 +64034,9 @@ declare const useLens: () => {
|
|
|
63887
64034
|
readonly internalType: "contract IHooks";
|
|
63888
64035
|
}];
|
|
63889
64036
|
}, {
|
|
63890
|
-
readonly name: "
|
|
63891
|
-
readonly type: "
|
|
63892
|
-
readonly internalType: "
|
|
64037
|
+
readonly name: "poolId";
|
|
64038
|
+
readonly type: "bytes32";
|
|
64039
|
+
readonly internalType: "PoolId";
|
|
63893
64040
|
}];
|
|
63894
64041
|
}];
|
|
63895
64042
|
readonly stateMutability: "view";
|
|
@@ -64240,6 +64387,10 @@ declare const useLens: () => {
|
|
|
64240
64387
|
readonly type: "address";
|
|
64241
64388
|
readonly internalType: "contract IHooks";
|
|
64242
64389
|
}];
|
|
64390
|
+
}, {
|
|
64391
|
+
readonly name: "poolId";
|
|
64392
|
+
readonly type: "bytes32";
|
|
64393
|
+
readonly internalType: "PoolId";
|
|
64243
64394
|
}, {
|
|
64244
64395
|
readonly name: "optionAssetIsToken0";
|
|
64245
64396
|
readonly type: "bool";
|
|
@@ -64826,9 +64977,9 @@ declare const useLens: () => {
|
|
|
64826
64977
|
readonly internalType: "contract IHooks";
|
|
64827
64978
|
}];
|
|
64828
64979
|
}, {
|
|
64829
|
-
readonly name: "
|
|
64830
|
-
readonly type: "
|
|
64831
|
-
readonly internalType: "
|
|
64980
|
+
readonly name: "poolId";
|
|
64981
|
+
readonly type: "bytes32";
|
|
64982
|
+
readonly internalType: "PoolId";
|
|
64832
64983
|
}];
|
|
64833
64984
|
}];
|
|
64834
64985
|
readonly stateMutability: "view";
|
|
@@ -65179,6 +65330,10 @@ declare const useLens: () => {
|
|
|
65179
65330
|
readonly type: "address";
|
|
65180
65331
|
readonly internalType: "contract IHooks";
|
|
65181
65332
|
}];
|
|
65333
|
+
}, {
|
|
65334
|
+
readonly name: "poolId";
|
|
65335
|
+
readonly type: "bytes32";
|
|
65336
|
+
readonly internalType: "PoolId";
|
|
65182
65337
|
}, {
|
|
65183
65338
|
readonly name: "optionAssetIsToken0";
|
|
65184
65339
|
readonly type: "bool";
|
|
@@ -65765,9 +65920,9 @@ declare const useLens: () => {
|
|
|
65765
65920
|
readonly internalType: "contract IHooks";
|
|
65766
65921
|
}];
|
|
65767
65922
|
}, {
|
|
65768
|
-
readonly name: "
|
|
65769
|
-
readonly type: "
|
|
65770
|
-
readonly internalType: "
|
|
65923
|
+
readonly name: "poolId";
|
|
65924
|
+
readonly type: "bytes32";
|
|
65925
|
+
readonly internalType: "PoolId";
|
|
65771
65926
|
}];
|
|
65772
65927
|
}];
|
|
65773
65928
|
readonly stateMutability: "view";
|
|
@@ -66118,6 +66273,10 @@ declare const useLens: () => {
|
|
|
66118
66273
|
readonly type: "address";
|
|
66119
66274
|
readonly internalType: "contract IHooks";
|
|
66120
66275
|
}];
|
|
66276
|
+
}, {
|
|
66277
|
+
readonly name: "poolId";
|
|
66278
|
+
readonly type: "bytes32";
|
|
66279
|
+
readonly internalType: "PoolId";
|
|
66121
66280
|
}, {
|
|
66122
66281
|
readonly name: "optionAssetIsToken0";
|
|
66123
66282
|
readonly type: "bool";
|
|
@@ -66704,9 +66863,9 @@ declare const useLens: () => {
|
|
|
66704
66863
|
readonly internalType: "contract IHooks";
|
|
66705
66864
|
}];
|
|
66706
66865
|
}, {
|
|
66707
|
-
readonly name: "
|
|
66708
|
-
readonly type: "
|
|
66709
|
-
readonly internalType: "
|
|
66866
|
+
readonly name: "poolId";
|
|
66867
|
+
readonly type: "bytes32";
|
|
66868
|
+
readonly internalType: "PoolId";
|
|
66710
66869
|
}];
|
|
66711
66870
|
}];
|
|
66712
66871
|
readonly stateMutability: "view";
|
|
@@ -67057,6 +67216,10 @@ declare const useLens: () => {
|
|
|
67057
67216
|
readonly type: "address";
|
|
67058
67217
|
readonly internalType: "contract IHooks";
|
|
67059
67218
|
}];
|
|
67219
|
+
}, {
|
|
67220
|
+
readonly name: "poolId";
|
|
67221
|
+
readonly type: "bytes32";
|
|
67222
|
+
readonly internalType: "PoolId";
|
|
67060
67223
|
}, {
|
|
67061
67224
|
readonly name: "optionAssetIsToken0";
|
|
67062
67225
|
readonly type: "bool";
|
|
@@ -67643,9 +67806,9 @@ declare const useLens: () => {
|
|
|
67643
67806
|
readonly internalType: "contract IHooks";
|
|
67644
67807
|
}];
|
|
67645
67808
|
}, {
|
|
67646
|
-
readonly name: "
|
|
67647
|
-
readonly type: "
|
|
67648
|
-
readonly internalType: "
|
|
67809
|
+
readonly name: "poolId";
|
|
67810
|
+
readonly type: "bytes32";
|
|
67811
|
+
readonly internalType: "PoolId";
|
|
67649
67812
|
}];
|
|
67650
67813
|
}];
|
|
67651
67814
|
readonly stateMutability: "view";
|
|
@@ -68006,6 +68169,10 @@ declare const useLens: () => {
|
|
|
68006
68169
|
readonly type: "address";
|
|
68007
68170
|
readonly internalType: "contract IHooks";
|
|
68008
68171
|
}];
|
|
68172
|
+
}, {
|
|
68173
|
+
readonly name: "poolId";
|
|
68174
|
+
readonly type: "bytes32";
|
|
68175
|
+
readonly internalType: "PoolId";
|
|
68009
68176
|
}, {
|
|
68010
68177
|
readonly name: "optionAssetIsToken0";
|
|
68011
68178
|
readonly type: "bool";
|
|
@@ -68592,9 +68759,9 @@ declare const useLens: () => {
|
|
|
68592
68759
|
readonly internalType: "contract IHooks";
|
|
68593
68760
|
}];
|
|
68594
68761
|
}, {
|
|
68595
|
-
readonly name: "
|
|
68596
|
-
readonly type: "
|
|
68597
|
-
readonly internalType: "
|
|
68762
|
+
readonly name: "poolId";
|
|
68763
|
+
readonly type: "bytes32";
|
|
68764
|
+
readonly internalType: "PoolId";
|
|
68598
68765
|
}];
|
|
68599
68766
|
}];
|
|
68600
68767
|
readonly stateMutability: "view";
|
|
@@ -68951,6 +69118,10 @@ declare const useLens: () => {
|
|
|
68951
69118
|
readonly type: "address";
|
|
68952
69119
|
readonly internalType: "contract IHooks";
|
|
68953
69120
|
}];
|
|
69121
|
+
}, {
|
|
69122
|
+
readonly name: "poolId";
|
|
69123
|
+
readonly type: "bytes32";
|
|
69124
|
+
readonly internalType: "PoolId";
|
|
68954
69125
|
}, {
|
|
68955
69126
|
readonly name: "optionAssetIsToken0";
|
|
68956
69127
|
readonly type: "bool";
|
|
@@ -69537,9 +69708,9 @@ declare const useLens: () => {
|
|
|
69537
69708
|
readonly internalType: "contract IHooks";
|
|
69538
69709
|
}];
|
|
69539
69710
|
}, {
|
|
69540
|
-
readonly name: "
|
|
69541
|
-
readonly type: "
|
|
69542
|
-
readonly internalType: "
|
|
69711
|
+
readonly name: "poolId";
|
|
69712
|
+
readonly type: "bytes32";
|
|
69713
|
+
readonly internalType: "PoolId";
|
|
69543
69714
|
}];
|
|
69544
69715
|
}];
|
|
69545
69716
|
readonly stateMutability: "view";
|
|
@@ -69906,6 +70077,10 @@ declare const useLens: () => {
|
|
|
69906
70077
|
readonly type: "address";
|
|
69907
70078
|
readonly internalType: "contract IHooks";
|
|
69908
70079
|
}];
|
|
70080
|
+
}, {
|
|
70081
|
+
readonly name: "poolId";
|
|
70082
|
+
readonly type: "bytes32";
|
|
70083
|
+
readonly internalType: "PoolId";
|
|
69909
70084
|
}, {
|
|
69910
70085
|
readonly name: "optionAssetIsToken0";
|
|
69911
70086
|
readonly type: "bool";
|
|
@@ -70492,9 +70667,9 @@ declare const useLens: () => {
|
|
|
70492
70667
|
readonly internalType: "contract IHooks";
|
|
70493
70668
|
}];
|
|
70494
70669
|
}, {
|
|
70495
|
-
readonly name: "
|
|
70496
|
-
readonly type: "
|
|
70497
|
-
readonly internalType: "
|
|
70670
|
+
readonly name: "poolId";
|
|
70671
|
+
readonly type: "bytes32";
|
|
70672
|
+
readonly internalType: "PoolId";
|
|
70498
70673
|
}];
|
|
70499
70674
|
}];
|
|
70500
70675
|
readonly stateMutability: "view";
|
|
@@ -70862,6 +71037,10 @@ declare const useLens: () => {
|
|
|
70862
71037
|
readonly type: "address";
|
|
70863
71038
|
readonly internalType: "contract IHooks";
|
|
70864
71039
|
}];
|
|
71040
|
+
}, {
|
|
71041
|
+
readonly name: "poolId";
|
|
71042
|
+
readonly type: "bytes32";
|
|
71043
|
+
readonly internalType: "PoolId";
|
|
70865
71044
|
}, {
|
|
70866
71045
|
readonly name: "optionAssetIsToken0";
|
|
70867
71046
|
readonly type: "bool";
|
|
@@ -71448,9 +71627,9 @@ declare const useLens: () => {
|
|
|
71448
71627
|
readonly internalType: "contract IHooks";
|
|
71449
71628
|
}];
|
|
71450
71629
|
}, {
|
|
71451
|
-
readonly name: "
|
|
71452
|
-
readonly type: "
|
|
71453
|
-
readonly internalType: "
|
|
71630
|
+
readonly name: "poolId";
|
|
71631
|
+
readonly type: "bytes32";
|
|
71632
|
+
readonly internalType: "PoolId";
|
|
71454
71633
|
}];
|
|
71455
71634
|
}];
|
|
71456
71635
|
readonly stateMutability: "view";
|
|
@@ -71801,6 +71980,10 @@ declare const useLens: () => {
|
|
|
71801
71980
|
readonly type: "address";
|
|
71802
71981
|
readonly internalType: "contract IHooks";
|
|
71803
71982
|
}];
|
|
71983
|
+
}, {
|
|
71984
|
+
readonly name: "poolId";
|
|
71985
|
+
readonly type: "bytes32";
|
|
71986
|
+
readonly internalType: "PoolId";
|
|
71804
71987
|
}, {
|
|
71805
71988
|
readonly name: "optionAssetIsToken0";
|
|
71806
71989
|
readonly type: "bool";
|
|
@@ -72387,9 +72570,9 @@ declare const useLens: () => {
|
|
|
72387
72570
|
readonly internalType: "contract IHooks";
|
|
72388
72571
|
}];
|
|
72389
72572
|
}, {
|
|
72390
|
-
readonly name: "
|
|
72391
|
-
readonly type: "
|
|
72392
|
-
readonly internalType: "
|
|
72573
|
+
readonly name: "poolId";
|
|
72574
|
+
readonly type: "bytes32";
|
|
72575
|
+
readonly internalType: "PoolId";
|
|
72393
72576
|
}];
|
|
72394
72577
|
}];
|
|
72395
72578
|
readonly stateMutability: "view";
|
|
@@ -72740,6 +72923,10 @@ declare const useLens: () => {
|
|
|
72740
72923
|
readonly type: "address";
|
|
72741
72924
|
readonly internalType: "contract IHooks";
|
|
72742
72925
|
}];
|
|
72926
|
+
}, {
|
|
72927
|
+
readonly name: "poolId";
|
|
72928
|
+
readonly type: "bytes32";
|
|
72929
|
+
readonly internalType: "PoolId";
|
|
72743
72930
|
}, {
|
|
72744
72931
|
readonly name: "optionAssetIsToken0";
|
|
72745
72932
|
readonly type: "bool";
|
|
@@ -73326,9 +73513,9 @@ declare const useLens: () => {
|
|
|
73326
73513
|
readonly internalType: "contract IHooks";
|
|
73327
73514
|
}];
|
|
73328
73515
|
}, {
|
|
73329
|
-
readonly name: "
|
|
73330
|
-
readonly type: "
|
|
73331
|
-
readonly internalType: "
|
|
73516
|
+
readonly name: "poolId";
|
|
73517
|
+
readonly type: "bytes32";
|
|
73518
|
+
readonly internalType: "PoolId";
|
|
73332
73519
|
}];
|
|
73333
73520
|
}];
|
|
73334
73521
|
readonly stateMutability: "view";
|
|
@@ -73682,6 +73869,10 @@ declare const useLens: () => {
|
|
|
73682
73869
|
readonly type: "address";
|
|
73683
73870
|
readonly internalType: "contract IHooks";
|
|
73684
73871
|
}];
|
|
73872
|
+
}, {
|
|
73873
|
+
readonly name: "poolId";
|
|
73874
|
+
readonly type: "bytes32";
|
|
73875
|
+
readonly internalType: "PoolId";
|
|
73685
73876
|
}, {
|
|
73686
73877
|
readonly name: "optionAssetIsToken0";
|
|
73687
73878
|
readonly type: "bool";
|
|
@@ -74268,9 +74459,9 @@ declare const useLens: () => {
|
|
|
74268
74459
|
readonly internalType: "contract IHooks";
|
|
74269
74460
|
}];
|
|
74270
74461
|
}, {
|
|
74271
|
-
readonly name: "
|
|
74272
|
-
readonly type: "
|
|
74273
|
-
readonly internalType: "
|
|
74462
|
+
readonly name: "poolId";
|
|
74463
|
+
readonly type: "bytes32";
|
|
74464
|
+
readonly internalType: "PoolId";
|
|
74274
74465
|
}];
|
|
74275
74466
|
}];
|
|
74276
74467
|
readonly stateMutability: "view";
|
|
@@ -74625,6 +74816,10 @@ declare const useLens: () => {
|
|
|
74625
74816
|
readonly type: "address";
|
|
74626
74817
|
readonly internalType: "contract IHooks";
|
|
74627
74818
|
}];
|
|
74819
|
+
}, {
|
|
74820
|
+
readonly name: "poolId";
|
|
74821
|
+
readonly type: "bytes32";
|
|
74822
|
+
readonly internalType: "PoolId";
|
|
74628
74823
|
}, {
|
|
74629
74824
|
readonly name: "optionAssetIsToken0";
|
|
74630
74825
|
readonly type: "bool";
|
|
@@ -75211,9 +75406,9 @@ declare const useLens: () => {
|
|
|
75211
75406
|
readonly internalType: "contract IHooks";
|
|
75212
75407
|
}];
|
|
75213
75408
|
}, {
|
|
75214
|
-
readonly name: "
|
|
75215
|
-
readonly type: "
|
|
75216
|
-
readonly internalType: "
|
|
75409
|
+
readonly name: "poolId";
|
|
75410
|
+
readonly type: "bytes32";
|
|
75411
|
+
readonly internalType: "PoolId";
|
|
75217
75412
|
}];
|
|
75218
75413
|
}];
|
|
75219
75414
|
readonly stateMutability: "view";
|
|
@@ -75574,6 +75769,10 @@ declare const useLens: () => {
|
|
|
75574
75769
|
readonly type: "address";
|
|
75575
75770
|
readonly internalType: "contract IHooks";
|
|
75576
75771
|
}];
|
|
75772
|
+
}, {
|
|
75773
|
+
readonly name: "poolId";
|
|
75774
|
+
readonly type: "bytes32";
|
|
75775
|
+
readonly internalType: "PoolId";
|
|
75577
75776
|
}, {
|
|
75578
75777
|
readonly name: "optionAssetIsToken0";
|
|
75579
75778
|
readonly type: "bool";
|
|
@@ -76160,9 +76359,9 @@ declare const useLens: () => {
|
|
|
76160
76359
|
readonly internalType: "contract IHooks";
|
|
76161
76360
|
}];
|
|
76162
76361
|
}, {
|
|
76163
|
-
readonly name: "
|
|
76164
|
-
readonly type: "
|
|
76165
|
-
readonly internalType: "
|
|
76362
|
+
readonly name: "poolId";
|
|
76363
|
+
readonly type: "bytes32";
|
|
76364
|
+
readonly internalType: "PoolId";
|
|
76166
76365
|
}];
|
|
76167
76366
|
}];
|
|
76168
76367
|
readonly stateMutability: "view";
|
|
@@ -76213,7 +76412,7 @@ declare const useLens: () => {
|
|
|
76213
76412
|
tickSpacing: number;
|
|
76214
76413
|
hooks: `0x${string}`;
|
|
76215
76414
|
};
|
|
76216
|
-
|
|
76415
|
+
poolId: `0x${string}`;
|
|
76217
76416
|
}>;
|
|
76218
76417
|
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
76219
76418
|
readonly type: "function";
|
|
@@ -76523,6 +76722,10 @@ declare const useLens: () => {
|
|
|
76523
76722
|
readonly type: "address";
|
|
76524
76723
|
readonly internalType: "contract IHooks";
|
|
76525
76724
|
}];
|
|
76725
|
+
}, {
|
|
76726
|
+
readonly name: "poolId";
|
|
76727
|
+
readonly type: "bytes32";
|
|
76728
|
+
readonly internalType: "PoolId";
|
|
76526
76729
|
}, {
|
|
76527
76730
|
readonly name: "optionAssetIsToken0";
|
|
76528
76731
|
readonly type: "bool";
|
|
@@ -77109,9 +77312,9 @@ declare const useLens: () => {
|
|
|
77109
77312
|
readonly internalType: "contract IHooks";
|
|
77110
77313
|
}];
|
|
77111
77314
|
}, {
|
|
77112
|
-
readonly name: "
|
|
77113
|
-
readonly type: "
|
|
77114
|
-
readonly internalType: "
|
|
77315
|
+
readonly name: "poolId";
|
|
77316
|
+
readonly type: "bytes32";
|
|
77317
|
+
readonly internalType: "PoolId";
|
|
77115
77318
|
}];
|
|
77116
77319
|
}];
|
|
77117
77320
|
readonly stateMutability: "view";
|
|
@@ -77464,6 +77667,10 @@ declare const useLens: () => {
|
|
|
77464
77667
|
readonly type: "address";
|
|
77465
77668
|
readonly internalType: "contract IHooks";
|
|
77466
77669
|
}];
|
|
77670
|
+
}, {
|
|
77671
|
+
readonly name: "poolId";
|
|
77672
|
+
readonly type: "bytes32";
|
|
77673
|
+
readonly internalType: "PoolId";
|
|
77467
77674
|
}, {
|
|
77468
77675
|
readonly name: "optionAssetIsToken0";
|
|
77469
77676
|
readonly type: "bool";
|
|
@@ -78050,9 +78257,9 @@ declare const useLens: () => {
|
|
|
78050
78257
|
readonly internalType: "contract IHooks";
|
|
78051
78258
|
}];
|
|
78052
78259
|
}, {
|
|
78053
|
-
readonly name: "
|
|
78054
|
-
readonly type: "
|
|
78055
|
-
readonly internalType: "
|
|
78260
|
+
readonly name: "poolId";
|
|
78261
|
+
readonly type: "bytes32";
|
|
78262
|
+
readonly internalType: "PoolId";
|
|
78056
78263
|
}];
|
|
78057
78264
|
}];
|
|
78058
78265
|
readonly stateMutability: "view";
|
|
@@ -97537,4 +97744,4 @@ declare const useLens: () => {
|
|
|
97537
97744
|
};
|
|
97538
97745
|
//#endregion
|
|
97539
97746
|
export { PriceResolution as $, swapRouters as $t, useCurrentPrice as A, scaleAmount as At, getPriceAtTick as B, useMarketState as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatCondensed as Dt, usePriceHistory as E, formatAmount as Et, getPayoutAtTick as F, wrapAmountUnscaled as Ft, liquiditiesToAmounts as G, TimelockLens as Gt, getTickAtPrice as H, TimelockProvider as Ht, PRICE_PRECISION as I, wrapPrice as It, token0ToToken1AtTick as J, getErc20 as Jt, roundTick as K, TimelockMarket as Kt, getAmountsFromLiquidity as L, wrapPriceUnscaled as Lt, UniswapPoolData as M, unscaleAmount as Mt, usePoolData as N, unscalePrice as Nt, usePriceAtTick as O, formatUSD as Ot, getPayoutAtPrice as P, wrapAmount as Pt, PriceDataPoint as Q, stateViews as Qt, getNearestValidStrikeTick as R, zero as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, useCurrentMarket as Ut, getSqrtPriceX96AtPrice as V, useMarketData as Vt, liquiditiesToAmount1 as W, useTimelockConfig as Wt, token1ToToken0AtTick as X, getTimelockLens as Xt, token1ToToken0 as Y, getStateView as Yt, PriceData as Z, getTimelockMarket as Zt, useTokenData as _, useOptionPremium as _t, OptionPricingParams as a, useActiveUserPerps as at, batchGetAmountsFromLiquidity as b, OptionData as bt, usePricingParams as c, usePerpsOperator as ct, usePauseMarketTrading as d, ExerciseOptionEvent as dt, swappers as en, getCurrentPrice as et, usePauseGlobalTrading as f, ExtendEvent as ft, TokenData as g, useExtendOption as gt, useTokenBalance as h, useOptionTimeline as ht, useOptionPricingParams as i, useOperatorPerms as it, PoolKey as j, scalePrice as jt, useCurrentTick as k, formatVagueAmount as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockLenses as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarketData as qt, useStaticPricingParams as r, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, timelockFactories as tn, getPriceHistory as tt, useFeeRates as u, useMintPerp as ut, useVaultTVL as v, useOptionPnl as vt, useBurnLiquidity as w, useMaxPositionSize as wt, useMintLiquidity as x, useActiveUserOptions as xt, useVaultData as y, useExerciseOption as yt, getPriceAtSqrtPriceX96 as z, useMarketVolume as zt };
|
|
97540
|
-
//# sourceMappingURL=client-
|
|
97747
|
+
//# sourceMappingURL=client-mb6de6Cl.d.ts.map
|