timelock-sdk 0.0.163 → 0.0.164

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.
@@ -1,18 +1,18 @@
1
- import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-2HZ-p_dl.js";
1
+ import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-c4hgszY_.cjs";
2
2
  import * as viem0 from "viem";
3
3
  import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
4
- import Big from "big.js";
5
- import JSBI from "jsbi";
6
4
  import React, { ReactNode } from "react";
5
+ import "graphql";
7
6
  import { GraphQLClient, RequestOptions } from "graphql-request";
8
- import * as wagmi0 from "wagmi";
9
7
  import * as _tanstack_react_query0 from "@tanstack/react-query";
10
8
  import { NonUndefinedGuard } from "@tanstack/react-query";
11
- import "graphql";
12
9
  import * as _tanstack_query_core17 from "@tanstack/query-core";
10
+ import Big from "big.js";
11
+ import JSBI from "jsbi";
13
12
  import * as _wagmi_core0 from "@wagmi/core";
14
- import * as wagmi_query0 from "wagmi/query";
15
- import * as abitype0 from "abitype";
13
+ import * as wagmi44 from "wagmi";
14
+ import * as wagmi_query7 from "wagmi/query";
15
+ import * as abitype35 from "abitype";
16
16
 
17
17
  //#region src/generated/graphql.d.ts
18
18
  type Exact<T$1 extends {
@@ -426,7 +426,7 @@ declare const getErc20: (address: Address, client: Client) => {
426
426
  }];
427
427
  readonly stateMutability: "nonpayable";
428
428
  }], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
429
- decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
429
+ allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
430
430
  readonly type: "constructor";
431
431
  readonly inputs: readonly [{
432
432
  readonly name: "name_";
@@ -604,8 +604,8 @@ declare const getErc20: (address: Address, client: Client) => {
604
604
  readonly internalType: "bool";
605
605
  }];
606
606
  readonly stateMutability: "nonpayable";
607
- }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
608
- name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
607
+ }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
608
+ balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
609
609
  readonly type: "constructor";
610
610
  readonly inputs: readonly [{
611
611
  readonly name: "name_";
@@ -783,8 +783,8 @@ declare const getErc20: (address: Address, client: Client) => {
783
783
  readonly internalType: "bool";
784
784
  }];
785
785
  readonly stateMutability: "nonpayable";
786
- }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
787
- allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
786
+ }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
787
+ decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
788
788
  readonly type: "constructor";
789
789
  readonly inputs: readonly [{
790
790
  readonly name: "name_";
@@ -962,8 +962,8 @@ declare const getErc20: (address: Address, client: Client) => {
962
962
  readonly internalType: "bool";
963
963
  }];
964
964
  readonly stateMutability: "nonpayable";
965
- }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
966
- balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
965
+ }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
966
+ name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
967
967
  readonly type: "constructor";
968
968
  readonly inputs: readonly [{
969
969
  readonly name: "name_";
@@ -1141,7 +1141,7 @@ declare const getErc20: (address: Address, client: Client) => {
1141
1141
  readonly internalType: "bool";
1142
1142
  }];
1143
1143
  readonly stateMutability: "nonpayable";
1144
- }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
1144
+ }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
1145
1145
  totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
1146
1146
  readonly type: "constructor";
1147
1147
  readonly inputs: readonly [{
@@ -54892,9 +54892,9 @@ declare const usePauseGlobalTrading: ({
54892
54892
  }: {
54893
54893
  marketAddr?: Address;
54894
54894
  }) => {
54895
+ error: null;
54895
54896
  data: undefined;
54896
54897
  status: "idle";
54897
- error: null;
54898
54898
  isError: false;
54899
54899
  isPending: false;
54900
54900
  isSuccess: false;
@@ -54906,12 +54906,12 @@ declare const usePauseGlobalTrading: ({
54906
54906
  reset: () => void;
54907
54907
  context: unknown;
54908
54908
  submittedAt: number;
54909
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
54909
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
54910
54910
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
54911
54911
  } | {
54912
+ error: null;
54912
54913
  data: undefined;
54913
54914
  status: "pending";
54914
- error: null;
54915
54915
  isError: false;
54916
54916
  isPending: true;
54917
54917
  isSuccess: false;
@@ -54919,7 +54919,7 @@ declare const usePauseGlobalTrading: ({
54919
54919
  failureReason: _wagmi_core0.WriteContractErrorType | null;
54920
54920
  isPaused: boolean;
54921
54921
  variables: {
54922
- abi: abitype0.Abi;
54922
+ abi: abitype35.Abi;
54923
54923
  functionName: string;
54924
54924
  args?: readonly unknown[] | undefined;
54925
54925
  address: Address;
@@ -54941,9 +54941,9 @@ declare const usePauseGlobalTrading: ({
54941
54941
  sidecars?: undefined;
54942
54942
  authorizationList?: undefined;
54943
54943
  chainId?: number | undefined;
54944
- connector?: wagmi0.Connector | undefined;
54944
+ connector?: wagmi44.Connector | undefined;
54945
54945
  } | {
54946
- abi: abitype0.Abi;
54946
+ abi: abitype35.Abi;
54947
54947
  functionName: string;
54948
54948
  args?: readonly unknown[] | undefined;
54949
54949
  address: Address;
@@ -54965,9 +54965,9 @@ declare const usePauseGlobalTrading: ({
54965
54965
  sidecars?: undefined;
54966
54966
  authorizationList?: undefined;
54967
54967
  chainId?: number | undefined;
54968
- connector?: wagmi0.Connector | undefined;
54968
+ connector?: wagmi44.Connector | undefined;
54969
54969
  } | {
54970
- abi: abitype0.Abi;
54970
+ abi: abitype35.Abi;
54971
54971
  functionName: string;
54972
54972
  args?: readonly unknown[] | undefined;
54973
54973
  address: Address;
@@ -54989,9 +54989,9 @@ declare const usePauseGlobalTrading: ({
54989
54989
  sidecars?: undefined;
54990
54990
  authorizationList?: undefined;
54991
54991
  chainId?: number | undefined;
54992
- connector?: wagmi0.Connector | undefined;
54992
+ connector?: wagmi44.Connector | undefined;
54993
54993
  } | {
54994
- abi: abitype0.Abi;
54994
+ abi: abitype35.Abi;
54995
54995
  functionName: string;
54996
54996
  args?: readonly unknown[] | undefined;
54997
54997
  address: Address;
@@ -55013,9 +55013,9 @@ declare const usePauseGlobalTrading: ({
55013
55013
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55014
55014
  authorizationList?: undefined;
55015
55015
  chainId?: number | undefined;
55016
- connector?: wagmi0.Connector | undefined;
55016
+ connector?: wagmi44.Connector | undefined;
55017
55017
  } | {
55018
- abi: abitype0.Abi;
55018
+ abi: abitype35.Abi;
55019
55019
  functionName: string;
55020
55020
  args?: readonly unknown[] | undefined;
55021
55021
  address: Address;
@@ -55037,9 +55037,9 @@ declare const usePauseGlobalTrading: ({
55037
55037
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55038
55038
  authorizationList?: undefined;
55039
55039
  chainId?: number | undefined;
55040
- connector?: wagmi0.Connector | undefined;
55040
+ connector?: wagmi44.Connector | undefined;
55041
55041
  } | {
55042
- abi: abitype0.Abi;
55042
+ abi: abitype35.Abi;
55043
55043
  functionName: string;
55044
55044
  args?: readonly unknown[] | undefined;
55045
55045
  address: Address;
@@ -55061,18 +55061,18 @@ declare const usePauseGlobalTrading: ({
55061
55061
  sidecars?: undefined;
55062
55062
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
55063
55063
  chainId?: number | undefined;
55064
- connector?: wagmi0.Connector | undefined;
55064
+ connector?: wagmi44.Connector | undefined;
55065
55065
  };
55066
55066
  isIdle: false;
55067
55067
  reset: () => void;
55068
55068
  context: unknown;
55069
55069
  submittedAt: number;
55070
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55070
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
55071
55071
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
55072
55072
  } | {
55073
+ error: _wagmi_core0.WriteContractErrorType;
55073
55074
  data: undefined;
55074
55075
  status: "error";
55075
- error: _wagmi_core0.WriteContractErrorType;
55076
55076
  isError: true;
55077
55077
  isPending: false;
55078
55078
  isSuccess: false;
@@ -55080,7 +55080,7 @@ declare const usePauseGlobalTrading: ({
55080
55080
  failureReason: _wagmi_core0.WriteContractErrorType | null;
55081
55081
  isPaused: boolean;
55082
55082
  variables: {
55083
- abi: abitype0.Abi;
55083
+ abi: abitype35.Abi;
55084
55084
  functionName: string;
55085
55085
  args?: readonly unknown[] | undefined;
55086
55086
  address: Address;
@@ -55102,9 +55102,9 @@ declare const usePauseGlobalTrading: ({
55102
55102
  sidecars?: undefined;
55103
55103
  authorizationList?: undefined;
55104
55104
  chainId?: number | undefined;
55105
- connector?: wagmi0.Connector | undefined;
55105
+ connector?: wagmi44.Connector | undefined;
55106
55106
  } | {
55107
- abi: abitype0.Abi;
55107
+ abi: abitype35.Abi;
55108
55108
  functionName: string;
55109
55109
  args?: readonly unknown[] | undefined;
55110
55110
  address: Address;
@@ -55126,9 +55126,9 @@ declare const usePauseGlobalTrading: ({
55126
55126
  sidecars?: undefined;
55127
55127
  authorizationList?: undefined;
55128
55128
  chainId?: number | undefined;
55129
- connector?: wagmi0.Connector | undefined;
55129
+ connector?: wagmi44.Connector | undefined;
55130
55130
  } | {
55131
- abi: abitype0.Abi;
55131
+ abi: abitype35.Abi;
55132
55132
  functionName: string;
55133
55133
  args?: readonly unknown[] | undefined;
55134
55134
  address: Address;
@@ -55150,9 +55150,9 @@ declare const usePauseGlobalTrading: ({
55150
55150
  sidecars?: undefined;
55151
55151
  authorizationList?: undefined;
55152
55152
  chainId?: number | undefined;
55153
- connector?: wagmi0.Connector | undefined;
55153
+ connector?: wagmi44.Connector | undefined;
55154
55154
  } | {
55155
- abi: abitype0.Abi;
55155
+ abi: abitype35.Abi;
55156
55156
  functionName: string;
55157
55157
  args?: readonly unknown[] | undefined;
55158
55158
  address: Address;
@@ -55174,9 +55174,9 @@ declare const usePauseGlobalTrading: ({
55174
55174
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55175
55175
  authorizationList?: undefined;
55176
55176
  chainId?: number | undefined;
55177
- connector?: wagmi0.Connector | undefined;
55177
+ connector?: wagmi44.Connector | undefined;
55178
55178
  } | {
55179
- abi: abitype0.Abi;
55179
+ abi: abitype35.Abi;
55180
55180
  functionName: string;
55181
55181
  args?: readonly unknown[] | undefined;
55182
55182
  address: Address;
@@ -55198,9 +55198,9 @@ declare const usePauseGlobalTrading: ({
55198
55198
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55199
55199
  authorizationList?: undefined;
55200
55200
  chainId?: number | undefined;
55201
- connector?: wagmi0.Connector | undefined;
55201
+ connector?: wagmi44.Connector | undefined;
55202
55202
  } | {
55203
- abi: abitype0.Abi;
55203
+ abi: abitype35.Abi;
55204
55204
  functionName: string;
55205
55205
  args?: readonly unknown[] | undefined;
55206
55206
  address: Address;
@@ -55222,18 +55222,18 @@ declare const usePauseGlobalTrading: ({
55222
55222
  sidecars?: undefined;
55223
55223
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
55224
55224
  chainId?: number | undefined;
55225
- connector?: wagmi0.Connector | undefined;
55225
+ connector?: wagmi44.Connector | undefined;
55226
55226
  };
55227
55227
  isIdle: false;
55228
55228
  reset: () => void;
55229
55229
  context: unknown;
55230
55230
  submittedAt: number;
55231
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55231
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
55232
55232
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
55233
55233
  } | {
55234
+ error: null;
55234
55235
  data: `0x${string}`;
55235
55236
  status: "success";
55236
- error: null;
55237
55237
  isError: false;
55238
55238
  isPending: false;
55239
55239
  isSuccess: true;
@@ -55241,7 +55241,7 @@ declare const usePauseGlobalTrading: ({
55241
55241
  failureReason: _wagmi_core0.WriteContractErrorType | null;
55242
55242
  isPaused: boolean;
55243
55243
  variables: {
55244
- abi: abitype0.Abi;
55244
+ abi: abitype35.Abi;
55245
55245
  functionName: string;
55246
55246
  args?: readonly unknown[] | undefined;
55247
55247
  address: Address;
@@ -55263,9 +55263,9 @@ declare const usePauseGlobalTrading: ({
55263
55263
  sidecars?: undefined;
55264
55264
  authorizationList?: undefined;
55265
55265
  chainId?: number | undefined;
55266
- connector?: wagmi0.Connector | undefined;
55266
+ connector?: wagmi44.Connector | undefined;
55267
55267
  } | {
55268
- abi: abitype0.Abi;
55268
+ abi: abitype35.Abi;
55269
55269
  functionName: string;
55270
55270
  args?: readonly unknown[] | undefined;
55271
55271
  address: Address;
@@ -55287,9 +55287,9 @@ declare const usePauseGlobalTrading: ({
55287
55287
  sidecars?: undefined;
55288
55288
  authorizationList?: undefined;
55289
55289
  chainId?: number | undefined;
55290
- connector?: wagmi0.Connector | undefined;
55290
+ connector?: wagmi44.Connector | undefined;
55291
55291
  } | {
55292
- abi: abitype0.Abi;
55292
+ abi: abitype35.Abi;
55293
55293
  functionName: string;
55294
55294
  args?: readonly unknown[] | undefined;
55295
55295
  address: Address;
@@ -55311,9 +55311,9 @@ declare const usePauseGlobalTrading: ({
55311
55311
  sidecars?: undefined;
55312
55312
  authorizationList?: undefined;
55313
55313
  chainId?: number | undefined;
55314
- connector?: wagmi0.Connector | undefined;
55314
+ connector?: wagmi44.Connector | undefined;
55315
55315
  } | {
55316
- abi: abitype0.Abi;
55316
+ abi: abitype35.Abi;
55317
55317
  functionName: string;
55318
55318
  args?: readonly unknown[] | undefined;
55319
55319
  address: Address;
@@ -55335,9 +55335,9 @@ declare const usePauseGlobalTrading: ({
55335
55335
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55336
55336
  authorizationList?: undefined;
55337
55337
  chainId?: number | undefined;
55338
- connector?: wagmi0.Connector | undefined;
55338
+ connector?: wagmi44.Connector | undefined;
55339
55339
  } | {
55340
- abi: abitype0.Abi;
55340
+ abi: abitype35.Abi;
55341
55341
  functionName: string;
55342
55342
  args?: readonly unknown[] | undefined;
55343
55343
  address: Address;
@@ -55359,9 +55359,9 @@ declare const usePauseGlobalTrading: ({
55359
55359
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55360
55360
  authorizationList?: undefined;
55361
55361
  chainId?: number | undefined;
55362
- connector?: wagmi0.Connector | undefined;
55362
+ connector?: wagmi44.Connector | undefined;
55363
55363
  } | {
55364
- abi: abitype0.Abi;
55364
+ abi: abitype35.Abi;
55365
55365
  functionName: string;
55366
55366
  args?: readonly unknown[] | undefined;
55367
55367
  address: Address;
@@ -55383,13 +55383,13 @@ declare const usePauseGlobalTrading: ({
55383
55383
  sidecars?: undefined;
55384
55384
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
55385
55385
  chainId?: number | undefined;
55386
- connector?: wagmi0.Connector | undefined;
55386
+ connector?: wagmi44.Connector | undefined;
55387
55387
  };
55388
55388
  isIdle: false;
55389
55389
  reset: () => void;
55390
55390
  context: unknown;
55391
55391
  submittedAt: number;
55392
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55392
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
55393
55393
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
55394
55394
  };
55395
55395
  //#endregion
@@ -55399,9 +55399,9 @@ declare const usePauseMarketTrading: ({
55399
55399
  }: {
55400
55400
  marketAddr?: Address;
55401
55401
  }) => {
55402
+ error: null;
55402
55403
  data: undefined;
55403
55404
  status: "idle";
55404
- error: null;
55405
55405
  isError: false;
55406
55406
  isPending: false;
55407
55407
  isSuccess: false;
@@ -55413,12 +55413,12 @@ declare const usePauseMarketTrading: ({
55413
55413
  reset: () => void;
55414
55414
  context: unknown;
55415
55415
  submittedAt: number;
55416
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55416
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
55417
55417
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55418
55418
  } | {
55419
+ error: null;
55419
55420
  data: undefined;
55420
55421
  status: "pending";
55421
- error: null;
55422
55422
  isError: false;
55423
55423
  isPending: true;
55424
55424
  isSuccess: false;
@@ -55426,7 +55426,7 @@ declare const usePauseMarketTrading: ({
55426
55426
  failureReason: _wagmi_core0.WriteContractErrorType | null;
55427
55427
  isPaused: boolean;
55428
55428
  variables: {
55429
- abi: abitype0.Abi;
55429
+ abi: abitype35.Abi;
55430
55430
  functionName: string;
55431
55431
  args?: readonly unknown[] | undefined;
55432
55432
  address: Address;
@@ -55448,9 +55448,9 @@ declare const usePauseMarketTrading: ({
55448
55448
  sidecars?: undefined;
55449
55449
  authorizationList?: undefined;
55450
55450
  chainId?: number | undefined;
55451
- connector?: wagmi0.Connector | undefined;
55451
+ connector?: wagmi44.Connector | undefined;
55452
55452
  } | {
55453
- abi: abitype0.Abi;
55453
+ abi: abitype35.Abi;
55454
55454
  functionName: string;
55455
55455
  args?: readonly unknown[] | undefined;
55456
55456
  address: Address;
@@ -55472,9 +55472,9 @@ declare const usePauseMarketTrading: ({
55472
55472
  sidecars?: undefined;
55473
55473
  authorizationList?: undefined;
55474
55474
  chainId?: number | undefined;
55475
- connector?: wagmi0.Connector | undefined;
55475
+ connector?: wagmi44.Connector | undefined;
55476
55476
  } | {
55477
- abi: abitype0.Abi;
55477
+ abi: abitype35.Abi;
55478
55478
  functionName: string;
55479
55479
  args?: readonly unknown[] | undefined;
55480
55480
  address: Address;
@@ -55496,9 +55496,9 @@ declare const usePauseMarketTrading: ({
55496
55496
  sidecars?: undefined;
55497
55497
  authorizationList?: undefined;
55498
55498
  chainId?: number | undefined;
55499
- connector?: wagmi0.Connector | undefined;
55499
+ connector?: wagmi44.Connector | undefined;
55500
55500
  } | {
55501
- abi: abitype0.Abi;
55501
+ abi: abitype35.Abi;
55502
55502
  functionName: string;
55503
55503
  args?: readonly unknown[] | undefined;
55504
55504
  address: Address;
@@ -55520,9 +55520,9 @@ declare const usePauseMarketTrading: ({
55520
55520
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55521
55521
  authorizationList?: undefined;
55522
55522
  chainId?: number | undefined;
55523
- connector?: wagmi0.Connector | undefined;
55523
+ connector?: wagmi44.Connector | undefined;
55524
55524
  } | {
55525
- abi: abitype0.Abi;
55525
+ abi: abitype35.Abi;
55526
55526
  functionName: string;
55527
55527
  args?: readonly unknown[] | undefined;
55528
55528
  address: Address;
@@ -55544,9 +55544,9 @@ declare const usePauseMarketTrading: ({
55544
55544
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55545
55545
  authorizationList?: undefined;
55546
55546
  chainId?: number | undefined;
55547
- connector?: wagmi0.Connector | undefined;
55547
+ connector?: wagmi44.Connector | undefined;
55548
55548
  } | {
55549
- abi: abitype0.Abi;
55549
+ abi: abitype35.Abi;
55550
55550
  functionName: string;
55551
55551
  args?: readonly unknown[] | undefined;
55552
55552
  address: Address;
@@ -55568,18 +55568,18 @@ declare const usePauseMarketTrading: ({
55568
55568
  sidecars?: undefined;
55569
55569
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
55570
55570
  chainId?: number | undefined;
55571
- connector?: wagmi0.Connector | undefined;
55571
+ connector?: wagmi44.Connector | undefined;
55572
55572
  };
55573
55573
  isIdle: false;
55574
55574
  reset: () => void;
55575
55575
  context: unknown;
55576
55576
  submittedAt: number;
55577
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55577
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
55578
55578
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55579
55579
  } | {
55580
+ error: _wagmi_core0.WriteContractErrorType;
55580
55581
  data: undefined;
55581
55582
  status: "error";
55582
- error: _wagmi_core0.WriteContractErrorType;
55583
55583
  isError: true;
55584
55584
  isPending: false;
55585
55585
  isSuccess: false;
@@ -55587,7 +55587,7 @@ declare const usePauseMarketTrading: ({
55587
55587
  failureReason: _wagmi_core0.WriteContractErrorType | null;
55588
55588
  isPaused: boolean;
55589
55589
  variables: {
55590
- abi: abitype0.Abi;
55590
+ abi: abitype35.Abi;
55591
55591
  functionName: string;
55592
55592
  args?: readonly unknown[] | undefined;
55593
55593
  address: Address;
@@ -55609,9 +55609,9 @@ declare const usePauseMarketTrading: ({
55609
55609
  sidecars?: undefined;
55610
55610
  authorizationList?: undefined;
55611
55611
  chainId?: number | undefined;
55612
- connector?: wagmi0.Connector | undefined;
55612
+ connector?: wagmi44.Connector | undefined;
55613
55613
  } | {
55614
- abi: abitype0.Abi;
55614
+ abi: abitype35.Abi;
55615
55615
  functionName: string;
55616
55616
  args?: readonly unknown[] | undefined;
55617
55617
  address: Address;
@@ -55633,9 +55633,9 @@ declare const usePauseMarketTrading: ({
55633
55633
  sidecars?: undefined;
55634
55634
  authorizationList?: undefined;
55635
55635
  chainId?: number | undefined;
55636
- connector?: wagmi0.Connector | undefined;
55636
+ connector?: wagmi44.Connector | undefined;
55637
55637
  } | {
55638
- abi: abitype0.Abi;
55638
+ abi: abitype35.Abi;
55639
55639
  functionName: string;
55640
55640
  args?: readonly unknown[] | undefined;
55641
55641
  address: Address;
@@ -55657,9 +55657,9 @@ declare const usePauseMarketTrading: ({
55657
55657
  sidecars?: undefined;
55658
55658
  authorizationList?: undefined;
55659
55659
  chainId?: number | undefined;
55660
- connector?: wagmi0.Connector | undefined;
55660
+ connector?: wagmi44.Connector | undefined;
55661
55661
  } | {
55662
- abi: abitype0.Abi;
55662
+ abi: abitype35.Abi;
55663
55663
  functionName: string;
55664
55664
  args?: readonly unknown[] | undefined;
55665
55665
  address: Address;
@@ -55681,9 +55681,9 @@ declare const usePauseMarketTrading: ({
55681
55681
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55682
55682
  authorizationList?: undefined;
55683
55683
  chainId?: number | undefined;
55684
- connector?: wagmi0.Connector | undefined;
55684
+ connector?: wagmi44.Connector | undefined;
55685
55685
  } | {
55686
- abi: abitype0.Abi;
55686
+ abi: abitype35.Abi;
55687
55687
  functionName: string;
55688
55688
  args?: readonly unknown[] | undefined;
55689
55689
  address: Address;
@@ -55705,9 +55705,9 @@ declare const usePauseMarketTrading: ({
55705
55705
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55706
55706
  authorizationList?: undefined;
55707
55707
  chainId?: number | undefined;
55708
- connector?: wagmi0.Connector | undefined;
55708
+ connector?: wagmi44.Connector | undefined;
55709
55709
  } | {
55710
- abi: abitype0.Abi;
55710
+ abi: abitype35.Abi;
55711
55711
  functionName: string;
55712
55712
  args?: readonly unknown[] | undefined;
55713
55713
  address: Address;
@@ -55729,18 +55729,18 @@ declare const usePauseMarketTrading: ({
55729
55729
  sidecars?: undefined;
55730
55730
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
55731
55731
  chainId?: number | undefined;
55732
- connector?: wagmi0.Connector | undefined;
55732
+ connector?: wagmi44.Connector | undefined;
55733
55733
  };
55734
55734
  isIdle: false;
55735
55735
  reset: () => void;
55736
55736
  context: unknown;
55737
55737
  submittedAt: number;
55738
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55738
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
55739
55739
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55740
55740
  } | {
55741
+ error: null;
55741
55742
  data: `0x${string}`;
55742
55743
  status: "success";
55743
- error: null;
55744
55744
  isError: false;
55745
55745
  isPending: false;
55746
55746
  isSuccess: true;
@@ -55748,7 +55748,7 @@ declare const usePauseMarketTrading: ({
55748
55748
  failureReason: _wagmi_core0.WriteContractErrorType | null;
55749
55749
  isPaused: boolean;
55750
55750
  variables: {
55751
- abi: abitype0.Abi;
55751
+ abi: abitype35.Abi;
55752
55752
  functionName: string;
55753
55753
  args?: readonly unknown[] | undefined;
55754
55754
  address: Address;
@@ -55770,9 +55770,9 @@ declare const usePauseMarketTrading: ({
55770
55770
  sidecars?: undefined;
55771
55771
  authorizationList?: undefined;
55772
55772
  chainId?: number | undefined;
55773
- connector?: wagmi0.Connector | undefined;
55773
+ connector?: wagmi44.Connector | undefined;
55774
55774
  } | {
55775
- abi: abitype0.Abi;
55775
+ abi: abitype35.Abi;
55776
55776
  functionName: string;
55777
55777
  args?: readonly unknown[] | undefined;
55778
55778
  address: Address;
@@ -55794,9 +55794,9 @@ declare const usePauseMarketTrading: ({
55794
55794
  sidecars?: undefined;
55795
55795
  authorizationList?: undefined;
55796
55796
  chainId?: number | undefined;
55797
- connector?: wagmi0.Connector | undefined;
55797
+ connector?: wagmi44.Connector | undefined;
55798
55798
  } | {
55799
- abi: abitype0.Abi;
55799
+ abi: abitype35.Abi;
55800
55800
  functionName: string;
55801
55801
  args?: readonly unknown[] | undefined;
55802
55802
  address: Address;
@@ -55818,9 +55818,9 @@ declare const usePauseMarketTrading: ({
55818
55818
  sidecars?: undefined;
55819
55819
  authorizationList?: undefined;
55820
55820
  chainId?: number | undefined;
55821
- connector?: wagmi0.Connector | undefined;
55821
+ connector?: wagmi44.Connector | undefined;
55822
55822
  } | {
55823
- abi: abitype0.Abi;
55823
+ abi: abitype35.Abi;
55824
55824
  functionName: string;
55825
55825
  args?: readonly unknown[] | undefined;
55826
55826
  address: Address;
@@ -55842,9 +55842,9 @@ declare const usePauseMarketTrading: ({
55842
55842
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55843
55843
  authorizationList?: undefined;
55844
55844
  chainId?: number | undefined;
55845
- connector?: wagmi0.Connector | undefined;
55845
+ connector?: wagmi44.Connector | undefined;
55846
55846
  } | {
55847
- abi: abitype0.Abi;
55847
+ abi: abitype35.Abi;
55848
55848
  functionName: string;
55849
55849
  args?: readonly unknown[] | undefined;
55850
55850
  address: Address;
@@ -55866,9 +55866,9 @@ declare const usePauseMarketTrading: ({
55866
55866
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
55867
55867
  authorizationList?: undefined;
55868
55868
  chainId?: number | undefined;
55869
- connector?: wagmi0.Connector | undefined;
55869
+ connector?: wagmi44.Connector | undefined;
55870
55870
  } | {
55871
- abi: abitype0.Abi;
55871
+ abi: abitype35.Abi;
55872
55872
  functionName: string;
55873
55873
  args?: readonly unknown[] | undefined;
55874
55874
  address: Address;
@@ -55890,13 +55890,13 @@ declare const usePauseMarketTrading: ({
55890
55890
  sidecars?: undefined;
55891
55891
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
55892
55892
  chainId?: number | undefined;
55893
- connector?: wagmi0.Connector | undefined;
55893
+ connector?: wagmi44.Connector | undefined;
55894
55894
  };
55895
55895
  isIdle: false;
55896
55896
  reset: () => void;
55897
55897
  context: unknown;
55898
55898
  submittedAt: number;
55899
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55899
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
55900
55900
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55901
55901
  };
55902
55902
  //#endregion
@@ -55911,9 +55911,9 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
55911
55911
  //#endregion
55912
55912
  //#region src/hooks/fees/useUpdateMarketFees.d.ts
55913
55913
  declare const useUpdateMarketFees: (marketAddr: Address) => {
55914
+ error: null;
55914
55915
  data: undefined;
55915
55916
  status: "idle";
55916
- error: null;
55917
55917
  isError: false;
55918
55918
  isPending: false;
55919
55919
  isSuccess: false;
@@ -55925,7 +55925,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
55925
55925
  reset: () => void;
55926
55926
  context: unknown;
55927
55927
  submittedAt: number;
55928
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55928
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
55929
55929
  updateMarketFeeRates: (rates: {
55930
55930
  openingFeeRate?: number;
55931
55931
  baseFeeRate?: number;
@@ -55938,9 +55938,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
55938
55938
  newFeeStrategy: `0x${string}`;
55939
55939
  }>;
55940
55940
  } | {
55941
+ error: null;
55941
55942
  data: undefined;
55942
55943
  status: "pending";
55943
- error: null;
55944
55944
  isError: false;
55945
55945
  isPending: true;
55946
55946
  isSuccess: false;
@@ -55948,7 +55948,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
55948
55948
  failureReason: _wagmi_core0.WriteContractErrorType | null;
55949
55949
  isPaused: boolean;
55950
55950
  variables: {
55951
- abi: abitype0.Abi;
55951
+ abi: abitype35.Abi;
55952
55952
  functionName: string;
55953
55953
  args?: readonly unknown[] | undefined;
55954
55954
  address: Address;
@@ -55970,9 +55970,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
55970
55970
  sidecars?: undefined;
55971
55971
  authorizationList?: undefined;
55972
55972
  chainId?: number | undefined;
55973
- connector?: wagmi0.Connector | undefined;
55973
+ connector?: wagmi44.Connector | undefined;
55974
55974
  } | {
55975
- abi: abitype0.Abi;
55975
+ abi: abitype35.Abi;
55976
55976
  functionName: string;
55977
55977
  args?: readonly unknown[] | undefined;
55978
55978
  address: Address;
@@ -55994,9 +55994,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
55994
55994
  sidecars?: undefined;
55995
55995
  authorizationList?: undefined;
55996
55996
  chainId?: number | undefined;
55997
- connector?: wagmi0.Connector | undefined;
55997
+ connector?: wagmi44.Connector | undefined;
55998
55998
  } | {
55999
- abi: abitype0.Abi;
55999
+ abi: abitype35.Abi;
56000
56000
  functionName: string;
56001
56001
  args?: readonly unknown[] | undefined;
56002
56002
  address: Address;
@@ -56018,9 +56018,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56018
56018
  sidecars?: undefined;
56019
56019
  authorizationList?: undefined;
56020
56020
  chainId?: number | undefined;
56021
- connector?: wagmi0.Connector | undefined;
56021
+ connector?: wagmi44.Connector | undefined;
56022
56022
  } | {
56023
- abi: abitype0.Abi;
56023
+ abi: abitype35.Abi;
56024
56024
  functionName: string;
56025
56025
  args?: readonly unknown[] | undefined;
56026
56026
  address: Address;
@@ -56042,9 +56042,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56042
56042
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
56043
56043
  authorizationList?: undefined;
56044
56044
  chainId?: number | undefined;
56045
- connector?: wagmi0.Connector | undefined;
56045
+ connector?: wagmi44.Connector | undefined;
56046
56046
  } | {
56047
- abi: abitype0.Abi;
56047
+ abi: abitype35.Abi;
56048
56048
  functionName: string;
56049
56049
  args?: readonly unknown[] | undefined;
56050
56050
  address: Address;
@@ -56066,9 +56066,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56066
56066
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
56067
56067
  authorizationList?: undefined;
56068
56068
  chainId?: number | undefined;
56069
- connector?: wagmi0.Connector | undefined;
56069
+ connector?: wagmi44.Connector | undefined;
56070
56070
  } | {
56071
- abi: abitype0.Abi;
56071
+ abi: abitype35.Abi;
56072
56072
  functionName: string;
56073
56073
  args?: readonly unknown[] | undefined;
56074
56074
  address: Address;
@@ -56090,13 +56090,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56090
56090
  sidecars?: undefined;
56091
56091
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
56092
56092
  chainId?: number | undefined;
56093
- connector?: wagmi0.Connector | undefined;
56093
+ connector?: wagmi44.Connector | undefined;
56094
56094
  };
56095
56095
  isIdle: false;
56096
56096
  reset: () => void;
56097
56097
  context: unknown;
56098
56098
  submittedAt: number;
56099
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
56099
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
56100
56100
  updateMarketFeeRates: (rates: {
56101
56101
  openingFeeRate?: number;
56102
56102
  baseFeeRate?: number;
@@ -56109,9 +56109,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56109
56109
  newFeeStrategy: `0x${string}`;
56110
56110
  }>;
56111
56111
  } | {
56112
+ error: _wagmi_core0.WriteContractErrorType;
56112
56113
  data: undefined;
56113
56114
  status: "error";
56114
- error: _wagmi_core0.WriteContractErrorType;
56115
56115
  isError: true;
56116
56116
  isPending: false;
56117
56117
  isSuccess: false;
@@ -56119,7 +56119,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56119
56119
  failureReason: _wagmi_core0.WriteContractErrorType | null;
56120
56120
  isPaused: boolean;
56121
56121
  variables: {
56122
- abi: abitype0.Abi;
56122
+ abi: abitype35.Abi;
56123
56123
  functionName: string;
56124
56124
  args?: readonly unknown[] | undefined;
56125
56125
  address: Address;
@@ -56141,9 +56141,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56141
56141
  sidecars?: undefined;
56142
56142
  authorizationList?: undefined;
56143
56143
  chainId?: number | undefined;
56144
- connector?: wagmi0.Connector | undefined;
56144
+ connector?: wagmi44.Connector | undefined;
56145
56145
  } | {
56146
- abi: abitype0.Abi;
56146
+ abi: abitype35.Abi;
56147
56147
  functionName: string;
56148
56148
  args?: readonly unknown[] | undefined;
56149
56149
  address: Address;
@@ -56165,9 +56165,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56165
56165
  sidecars?: undefined;
56166
56166
  authorizationList?: undefined;
56167
56167
  chainId?: number | undefined;
56168
- connector?: wagmi0.Connector | undefined;
56168
+ connector?: wagmi44.Connector | undefined;
56169
56169
  } | {
56170
- abi: abitype0.Abi;
56170
+ abi: abitype35.Abi;
56171
56171
  functionName: string;
56172
56172
  args?: readonly unknown[] | undefined;
56173
56173
  address: Address;
@@ -56189,9 +56189,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56189
56189
  sidecars?: undefined;
56190
56190
  authorizationList?: undefined;
56191
56191
  chainId?: number | undefined;
56192
- connector?: wagmi0.Connector | undefined;
56192
+ connector?: wagmi44.Connector | undefined;
56193
56193
  } | {
56194
- abi: abitype0.Abi;
56194
+ abi: abitype35.Abi;
56195
56195
  functionName: string;
56196
56196
  args?: readonly unknown[] | undefined;
56197
56197
  address: Address;
@@ -56213,9 +56213,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56213
56213
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
56214
56214
  authorizationList?: undefined;
56215
56215
  chainId?: number | undefined;
56216
- connector?: wagmi0.Connector | undefined;
56216
+ connector?: wagmi44.Connector | undefined;
56217
56217
  } | {
56218
- abi: abitype0.Abi;
56218
+ abi: abitype35.Abi;
56219
56219
  functionName: string;
56220
56220
  args?: readonly unknown[] | undefined;
56221
56221
  address: Address;
@@ -56237,9 +56237,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56237
56237
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
56238
56238
  authorizationList?: undefined;
56239
56239
  chainId?: number | undefined;
56240
- connector?: wagmi0.Connector | undefined;
56240
+ connector?: wagmi44.Connector | undefined;
56241
56241
  } | {
56242
- abi: abitype0.Abi;
56242
+ abi: abitype35.Abi;
56243
56243
  functionName: string;
56244
56244
  args?: readonly unknown[] | undefined;
56245
56245
  address: Address;
@@ -56261,13 +56261,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56261
56261
  sidecars?: undefined;
56262
56262
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
56263
56263
  chainId?: number | undefined;
56264
- connector?: wagmi0.Connector | undefined;
56264
+ connector?: wagmi44.Connector | undefined;
56265
56265
  };
56266
56266
  isIdle: false;
56267
56267
  reset: () => void;
56268
56268
  context: unknown;
56269
56269
  submittedAt: number;
56270
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
56270
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
56271
56271
  updateMarketFeeRates: (rates: {
56272
56272
  openingFeeRate?: number;
56273
56273
  baseFeeRate?: number;
@@ -56280,9 +56280,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56280
56280
  newFeeStrategy: `0x${string}`;
56281
56281
  }>;
56282
56282
  } | {
56283
+ error: null;
56283
56284
  data: `0x${string}`;
56284
56285
  status: "success";
56285
- error: null;
56286
56286
  isError: false;
56287
56287
  isPending: false;
56288
56288
  isSuccess: true;
@@ -56290,7 +56290,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56290
56290
  failureReason: _wagmi_core0.WriteContractErrorType | null;
56291
56291
  isPaused: boolean;
56292
56292
  variables: {
56293
- abi: abitype0.Abi;
56293
+ abi: abitype35.Abi;
56294
56294
  functionName: string;
56295
56295
  args?: readonly unknown[] | undefined;
56296
56296
  address: Address;
@@ -56312,9 +56312,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56312
56312
  sidecars?: undefined;
56313
56313
  authorizationList?: undefined;
56314
56314
  chainId?: number | undefined;
56315
- connector?: wagmi0.Connector | undefined;
56315
+ connector?: wagmi44.Connector | undefined;
56316
56316
  } | {
56317
- abi: abitype0.Abi;
56317
+ abi: abitype35.Abi;
56318
56318
  functionName: string;
56319
56319
  args?: readonly unknown[] | undefined;
56320
56320
  address: Address;
@@ -56336,9 +56336,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56336
56336
  sidecars?: undefined;
56337
56337
  authorizationList?: undefined;
56338
56338
  chainId?: number | undefined;
56339
- connector?: wagmi0.Connector | undefined;
56339
+ connector?: wagmi44.Connector | undefined;
56340
56340
  } | {
56341
- abi: abitype0.Abi;
56341
+ abi: abitype35.Abi;
56342
56342
  functionName: string;
56343
56343
  args?: readonly unknown[] | undefined;
56344
56344
  address: Address;
@@ -56360,9 +56360,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56360
56360
  sidecars?: undefined;
56361
56361
  authorizationList?: undefined;
56362
56362
  chainId?: number | undefined;
56363
- connector?: wagmi0.Connector | undefined;
56363
+ connector?: wagmi44.Connector | undefined;
56364
56364
  } | {
56365
- abi: abitype0.Abi;
56365
+ abi: abitype35.Abi;
56366
56366
  functionName: string;
56367
56367
  args?: readonly unknown[] | undefined;
56368
56368
  address: Address;
@@ -56384,9 +56384,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56384
56384
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
56385
56385
  authorizationList?: undefined;
56386
56386
  chainId?: number | undefined;
56387
- connector?: wagmi0.Connector | undefined;
56387
+ connector?: wagmi44.Connector | undefined;
56388
56388
  } | {
56389
- abi: abitype0.Abi;
56389
+ abi: abitype35.Abi;
56390
56390
  functionName: string;
56391
56391
  args?: readonly unknown[] | undefined;
56392
56392
  address: Address;
@@ -56408,9 +56408,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56408
56408
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
56409
56409
  authorizationList?: undefined;
56410
56410
  chainId?: number | undefined;
56411
- connector?: wagmi0.Connector | undefined;
56411
+ connector?: wagmi44.Connector | undefined;
56412
56412
  } | {
56413
- abi: abitype0.Abi;
56413
+ abi: abitype35.Abi;
56414
56414
  functionName: string;
56415
56415
  args?: readonly unknown[] | undefined;
56416
56416
  address: Address;
@@ -56432,13 +56432,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56432
56432
  sidecars?: undefined;
56433
56433
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
56434
56434
  chainId?: number | undefined;
56435
- connector?: wagmi0.Connector | undefined;
56435
+ connector?: wagmi44.Connector | undefined;
56436
56436
  };
56437
56437
  isIdle: false;
56438
56438
  reset: () => void;
56439
56439
  context: unknown;
56440
56440
  submittedAt: number;
56441
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
56441
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
56442
56442
  updateMarketFeeRates: (rates: {
56443
56443
  openingFeeRate?: number;
56444
56444
  baseFeeRate?: number;
@@ -56452,13 +56452,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56452
56452
  }>;
56453
56453
  };
56454
56454
  //#endregion
56455
- //#region src/hooks/pricing/useMarketPricing.d.ts
56456
- type StaticPricingData = {
56455
+ //#region src/hooks/pricing/usePricingParams.d.ts
56456
+ type StaticPricingParams = {
56457
56457
  model: 'static';
56458
56458
  dailyFundingRate: number;
56459
56459
  minFundingAmount: bigint;
56460
56460
  };
56461
- type OptionPricingData = {
56461
+ type OptionPricingParams = {
56462
56462
  model: 'option';
56463
56463
  logicContract: Address;
56464
56464
  iv: number;
@@ -56466,946 +56466,20 @@ type OptionPricingData = {
56466
56466
  minPremiumDailyRate: number;
56467
56467
  minPremiumAmount: bigint;
56468
56468
  };
56469
- type MarketPricingData = StaticPricingData | OptionPricingData;
56470
- declare const useMarketPricing: (marketAddr?: Address) => wagmi0.UseReadContractReturnType<readonly [{
56469
+ type PricingParams = StaticPricingParams | OptionPricingParams;
56470
+ declare const usePricingParams: (pricingAddr?: Address) => wagmi44.UseReadContractReturnType<readonly [{
56471
56471
  readonly type: "function";
56472
- readonly name: "batchGetRefTick";
56473
- readonly inputs: readonly [{
56474
- readonly name: "vault";
56475
- readonly type: "address";
56476
- readonly internalType: "contract TimelockSingleOwnerVault";
56477
- }, {
56478
- readonly name: "tickLower";
56479
- readonly type: "int24[]";
56480
- readonly internalType: "int24[]";
56481
- }];
56482
- readonly outputs: readonly [{
56483
- readonly name: "refTicks";
56484
- readonly type: "int24[]";
56485
- readonly internalType: "int24[]";
56486
- }];
56472
+ readonly name: "readState";
56487
56473
  readonly stateMutability: "view";
56488
- }, {
56489
- readonly type: "function";
56490
- readonly name: "getAllBlocks";
56491
56474
  readonly inputs: readonly [{
56492
- readonly name: "vault";
56475
+ readonly name: "target";
56493
56476
  readonly type: "address";
56494
- readonly internalType: "contract TimelockSingleOwnerVault";
56495
- }];
56496
- readonly outputs: readonly [{
56497
- readonly name: "blocks";
56498
- readonly type: "tuple[]";
56499
- readonly internalType: "struct TimelockLens.LiquidityBlockData[]";
56500
- readonly components: readonly [{
56501
- readonly name: "tickLower";
56502
- readonly type: "int24";
56503
- readonly internalType: "int24";
56504
- }, {
56505
- readonly name: "tickUpper";
56506
- readonly type: "int24";
56507
- readonly internalType: "int24";
56508
- }, {
56509
- readonly name: "prevTickLower";
56510
- readonly type: "int24";
56511
- readonly internalType: "int24";
56512
- }, {
56513
- readonly name: "totalLiquidity";
56514
- readonly type: "uint128";
56515
- readonly internalType: "uint128";
56516
- }, {
56517
- readonly name: "borrowedLiquidity";
56518
- readonly type: "uint128";
56519
- readonly internalType: "uint128";
56520
- }, {
56521
- readonly name: "reservedLiquidity";
56522
- readonly type: "uint128";
56523
- readonly internalType: "uint128";
56524
- }, {
56525
- readonly name: "availableLiquidity";
56526
- readonly type: "uint128";
56527
- readonly internalType: "uint128";
56528
- }, {
56529
- readonly name: "totalAmount0";
56530
- readonly type: "uint256";
56531
- readonly internalType: "uint256";
56532
- }, {
56533
- readonly name: "totalAmount1";
56534
- readonly type: "uint256";
56535
- readonly internalType: "uint256";
56536
- }, {
56537
- readonly name: "borrowedAmount0";
56538
- readonly type: "uint256";
56539
- readonly internalType: "uint256";
56540
- }, {
56541
- readonly name: "borrowedAmount1";
56542
- readonly type: "uint256";
56543
- readonly internalType: "uint256";
56544
- }];
56545
- }];
56546
- readonly stateMutability: "view";
56547
- }, {
56548
- readonly type: "function";
56549
- readonly name: "getExpiredOptions";
56550
- readonly inputs: readonly [{
56551
- readonly name: "market";
56552
- readonly type: "address";
56553
- readonly internalType: "contract TimelockOptionsMarket";
56554
- }, {
56555
- readonly name: "startId";
56556
- readonly type: "uint256";
56557
- readonly internalType: "uint256";
56558
- }, {
56559
- readonly name: "endId";
56560
- readonly type: "uint256";
56561
- readonly internalType: "uint256";
56562
- }];
56563
- readonly outputs: readonly [{
56564
- readonly name: "expiredOptions";
56565
- readonly type: "tuple[]";
56566
- readonly internalType: "struct TimelockLens.OptionData[]";
56567
- readonly components: readonly [{
56568
- readonly name: "optionId";
56569
- readonly type: "uint256";
56570
- readonly internalType: "uint256";
56571
- }, {
56572
- readonly name: "owner";
56573
- readonly type: "address";
56574
- readonly internalType: "address";
56575
- }, {
56576
- readonly name: "optionType";
56577
- readonly type: "uint8";
56578
- readonly internalType: "uint8";
56579
- }, {
56580
- readonly name: "startTick";
56581
- readonly type: "int24";
56582
- readonly internalType: "int24";
56583
- }, {
56584
- readonly name: "strikeTick";
56585
- readonly type: "int24";
56586
- readonly internalType: "int24";
56587
- }, {
56588
- readonly name: "strikePrice";
56589
- readonly type: "uint256";
56590
- readonly internalType: "uint256";
56591
- }, {
56592
- readonly name: "positionSize";
56593
- readonly type: "uint256";
56594
- readonly internalType: "uint256";
56595
- }, {
56596
- readonly name: "expiresAt";
56597
- readonly type: "uint32";
56598
- readonly internalType: "uint32";
56599
- }, {
56600
- readonly name: "liquidities";
56601
- readonly type: "uint128[]";
56602
- readonly internalType: "uint128[]";
56603
- }];
56604
- }];
56605
- readonly stateMutability: "view";
56606
- }, {
56607
- readonly type: "function";
56608
- readonly name: "getFeeRates";
56609
- readonly inputs: readonly [{
56610
- readonly name: "feeStrategy";
56611
- readonly type: "address";
56612
- readonly internalType: "contract FeeStrategy";
56613
- }];
56614
- readonly outputs: readonly [{
56615
- readonly name: "rates";
56616
- readonly type: "tuple";
56617
- readonly internalType: "struct TimelockLens.FeeStrategyRates";
56618
- readonly components: readonly [{
56619
- readonly name: "openingFeeRate";
56620
- readonly type: "uint32";
56621
- readonly internalType: "uint32";
56622
- }, {
56623
- readonly name: "baseFeeRate";
56624
- readonly type: "uint32";
56625
- readonly internalType: "uint32";
56626
- }, {
56627
- readonly name: "minOpeningFee";
56628
- readonly type: "uint128";
56629
- readonly internalType: "uint128";
56630
- }, {
56631
- readonly name: "minBaseFee";
56632
- readonly type: "uint128";
56633
- readonly internalType: "uint128";
56634
- }, {
56635
- readonly name: "feeRecipient";
56636
- readonly type: "address";
56637
- readonly internalType: "address";
56638
- }];
56639
- }];
56640
- readonly stateMutability: "view";
56641
- }, {
56642
- readonly type: "function";
56643
- readonly name: "getGlobalGuardianState";
56644
- readonly inputs: readonly [{
56645
- readonly name: "guardian";
56646
- readonly type: "address";
56647
- readonly internalType: "contract TimelockGuardian";
56648
- }];
56649
- readonly outputs: readonly [{
56650
- readonly name: "guardianState";
56651
- readonly type: "tuple";
56652
- readonly internalType: "struct TimelockLens.GuardianGlobalState";
56653
- readonly components: readonly [{
56654
- readonly name: "globalMintPaused";
56655
- readonly type: "tuple";
56656
- readonly internalType: "struct TimelockGuardian.PauseState";
56657
- readonly components: readonly [{
56658
- readonly name: "paused";
56659
- readonly type: "bool";
56660
- readonly internalType: "bool";
56661
- }, {
56662
- readonly name: "updatedAt";
56663
- readonly type: "uint64";
56664
- readonly internalType: "uint64";
56665
- }];
56666
- }, {
56667
- readonly name: "globalBurnPaused";
56668
- readonly type: "tuple";
56669
- readonly internalType: "struct TimelockGuardian.PauseState";
56670
- readonly components: readonly [{
56671
- readonly name: "paused";
56672
- readonly type: "bool";
56673
- readonly internalType: "bool";
56674
- }, {
56675
- readonly name: "updatedAt";
56676
- readonly type: "uint64";
56677
- readonly internalType: "uint64";
56678
- }];
56679
- }, {
56680
- readonly name: "globalTradingPaused";
56681
- readonly type: "tuple";
56682
- readonly internalType: "struct TimelockGuardian.PauseState";
56683
- readonly components: readonly [{
56684
- readonly name: "paused";
56685
- readonly type: "bool";
56686
- readonly internalType: "bool";
56687
- }, {
56688
- readonly name: "updatedAt";
56689
- readonly type: "uint64";
56690
- readonly internalType: "uint64";
56691
- }];
56692
- }, {
56693
- readonly name: "minWithdrawalInterval";
56694
- readonly type: "uint256";
56695
- readonly internalType: "uint256";
56696
- }, {
56697
- readonly name: "senderIsAdmin";
56698
- readonly type: "bool";
56699
- readonly internalType: "bool";
56700
- }, {
56701
- readonly name: "senderIsPauser";
56702
- readonly type: "bool";
56703
- readonly internalType: "bool";
56704
- }];
56705
- }];
56706
- readonly stateMutability: "view";
56707
- }, {
56708
- readonly type: "function";
56709
- readonly name: "getLiquidityAtTick";
56710
- readonly inputs: readonly [{
56711
- readonly name: "vault";
56712
- readonly type: "address";
56713
- readonly internalType: "contract TimelockSingleOwnerVault";
56714
- }, {
56715
- readonly name: "tickLower";
56716
- readonly type: "int24";
56717
- readonly internalType: "int24";
56718
- }];
56719
- readonly outputs: readonly [{
56720
- readonly name: "totalLiquidity";
56721
- readonly type: "uint128";
56722
- readonly internalType: "uint128";
56723
- }, {
56724
- readonly name: "borrowedLiquidity";
56725
- readonly type: "uint128";
56726
- readonly internalType: "uint128";
56727
- }];
56728
- readonly stateMutability: "view";
56729
- }, {
56730
- readonly type: "function";
56731
- readonly name: "getMarketData";
56732
- readonly inputs: readonly [{
56733
- readonly name: "market";
56734
- readonly type: "address";
56735
- readonly internalType: "contract TimelockOptionsMarket";
56736
- }];
56737
- readonly outputs: readonly [{
56738
- readonly name: "marketData";
56739
- readonly type: "tuple";
56740
- readonly internalType: "struct TimelockLens.TimelockMarketData";
56741
- readonly components: readonly [{
56742
- readonly name: "guardian";
56743
- readonly type: "address";
56744
- readonly internalType: "contract TimelockGuardian";
56745
- }, {
56746
- readonly name: "vault";
56747
- readonly type: "address";
56748
- readonly internalType: "contract ITimelockVault";
56749
- }, {
56750
- readonly name: "poolManager";
56751
- readonly type: "address";
56752
- readonly internalType: "contract IPoolManager";
56753
- }, {
56754
- readonly name: "poolKey";
56755
- readonly type: "tuple";
56756
- readonly internalType: "struct PoolKey";
56757
- readonly components: readonly [{
56758
- readonly name: "currency0";
56759
- readonly type: "address";
56760
- readonly internalType: "Currency";
56761
- }, {
56762
- readonly name: "currency1";
56763
- readonly type: "address";
56764
- readonly internalType: "Currency";
56765
- }, {
56766
- readonly name: "fee";
56767
- readonly type: "uint24";
56768
- readonly internalType: "uint24";
56769
- }, {
56770
- readonly name: "tickSpacing";
56771
- readonly type: "int24";
56772
- readonly internalType: "int24";
56773
- }, {
56774
- readonly name: "hooks";
56775
- readonly type: "address";
56776
- readonly internalType: "contract IHooks";
56777
- }];
56778
- }, {
56779
- readonly name: "optionAssetIsToken0";
56780
- readonly type: "bool";
56781
- readonly internalType: "bool";
56782
- }, {
56783
- readonly name: "optionAsset";
56784
- readonly type: "address";
56785
- readonly internalType: "address";
56786
- }, {
56787
- readonly name: "payoutAsset";
56788
- readonly type: "address";
56789
- readonly internalType: "address";
56790
- }, {
56791
- readonly name: "optionAssetDecimals";
56792
- readonly type: "uint8";
56793
- readonly internalType: "uint8";
56794
- }, {
56795
- readonly name: "payoutAssetDecimals";
56796
- readonly type: "uint8";
56797
- readonly internalType: "uint8";
56798
- }, {
56799
- readonly name: "optionAssetSymbol";
56800
- readonly type: "string";
56801
- readonly internalType: "string";
56802
- }, {
56803
- readonly name: "payoutAssetSymbol";
56804
- readonly type: "string";
56805
- readonly internalType: "string";
56806
- }, {
56807
- readonly name: "optionAssetName";
56808
- readonly type: "string";
56809
- readonly internalType: "string";
56810
- }, {
56811
- readonly name: "payoutAssetName";
56812
- readonly type: "string";
56813
- readonly internalType: "string";
56814
- }];
56815
- }];
56816
- readonly stateMutability: "view";
56817
- }, {
56818
- readonly type: "function";
56819
- readonly name: "getMarketState";
56820
- readonly inputs: readonly [{
56821
- readonly name: "market";
56822
- readonly type: "address";
56823
- readonly internalType: "contract TimelockOptionsMarket";
56824
- }];
56825
- readonly outputs: readonly [{
56826
- readonly name: "marketState";
56827
- readonly type: "tuple";
56828
- readonly internalType: "struct TimelockLens.TimelockMarketState";
56829
- readonly components: readonly [{
56830
- readonly name: "optionsCount";
56831
- readonly type: "uint256";
56832
- readonly internalType: "uint256";
56833
- }, {
56834
- readonly name: "optionPricing";
56835
- readonly type: "address";
56836
- readonly internalType: "address";
56837
- }, {
56838
- readonly name: "feeStrategy";
56839
- readonly type: "address";
56840
- readonly internalType: "contract IFeeStrategy";
56841
- }, {
56842
- readonly name: "owner";
56843
- readonly type: "address";
56844
- readonly internalType: "address";
56845
- }];
56846
- }];
56847
- readonly stateMutability: "view";
56848
- }, {
56849
- readonly type: "function";
56850
- readonly name: "getMaxATMPositionSizes";
56851
- readonly inputs: readonly [{
56852
- readonly name: "market";
56853
- readonly type: "address";
56854
- readonly internalType: "contract TimelockOptionsMarket";
56855
- }, {
56856
- readonly name: "maxSteps";
56857
- readonly type: "int24";
56858
- readonly internalType: "int24";
56859
- }];
56860
- readonly outputs: readonly [{
56861
- readonly name: "maxCallSize";
56862
- readonly type: "uint256";
56863
- readonly internalType: "uint256";
56864
- }, {
56865
- readonly name: "maxPutSize";
56866
- readonly type: "uint256";
56867
- readonly internalType: "uint256";
56868
- }];
56869
- readonly stateMutability: "view";
56870
- }, {
56871
- readonly type: "function";
56872
- readonly name: "getMaxBorrowable0";
56873
- readonly inputs: readonly [{
56874
- readonly name: "vault";
56875
- readonly type: "address";
56876
- readonly internalType: "contract TimelockSingleOwnerVault";
56877
- }, {
56878
- readonly name: "strikeTick";
56879
- readonly type: "int24";
56880
- readonly internalType: "int24";
56881
- }, {
56882
- readonly name: "maxSteps";
56883
- readonly type: "int24";
56884
- readonly internalType: "int24";
56885
- }];
56886
- readonly outputs: readonly [{
56887
- readonly name: "borrowable0";
56888
- readonly type: "uint256";
56889
- readonly internalType: "uint256";
56890
- }];
56891
- readonly stateMutability: "view";
56892
- }, {
56893
- readonly type: "function";
56894
- readonly name: "getMaxBorrowable1";
56895
- readonly inputs: readonly [{
56896
- readonly name: "vault";
56897
- readonly type: "address";
56898
- readonly internalType: "contract TimelockSingleOwnerVault";
56899
- }, {
56900
- readonly name: "strikeTick";
56901
- readonly type: "int24";
56902
- readonly internalType: "int24";
56903
- }, {
56904
- readonly name: "maxSteps";
56905
- readonly type: "int24";
56906
- readonly internalType: "int24";
56907
- }];
56908
- readonly outputs: readonly [{
56909
- readonly name: "borrowable1";
56910
- readonly type: "uint256";
56911
- readonly internalType: "uint256";
56912
- }];
56913
- readonly stateMutability: "view";
56914
- }, {
56915
- readonly type: "function";
56916
- readonly name: "getMaxPositionSizes";
56917
- readonly inputs: readonly [{
56918
- readonly name: "market";
56919
- readonly type: "address";
56920
- readonly internalType: "contract TimelockOptionsMarket";
56921
- }, {
56922
- readonly name: "strikeTick";
56923
- readonly type: "int24";
56924
- readonly internalType: "int24";
56925
- }, {
56926
- readonly name: "maxSteps";
56927
- readonly type: "int24";
56928
- readonly internalType: "int24";
56929
- }];
56930
- readonly outputs: readonly [{
56931
- readonly name: "maxCallSize";
56932
- readonly type: "uint256";
56933
- readonly internalType: "uint256";
56934
- }, {
56935
- readonly name: "maxPutSize";
56936
- readonly type: "uint256";
56937
- readonly internalType: "uint256";
56938
- }];
56939
- readonly stateMutability: "view";
56940
- }, {
56941
- readonly type: "function";
56942
- readonly name: "getOptionData";
56943
- readonly inputs: readonly [{
56944
- readonly name: "market";
56945
- readonly type: "address";
56946
- readonly internalType: "contract TimelockOptionsMarket";
56947
- }, {
56948
- readonly name: "optionId";
56949
- readonly type: "uint256";
56950
- readonly internalType: "uint256";
56951
56477
  }];
56952
56478
  readonly outputs: readonly [{
56953
56479
  readonly name: "";
56954
- readonly type: "tuple";
56955
- readonly internalType: "struct TimelockLens.OptionData";
56956
- readonly components: readonly [{
56957
- readonly name: "optionId";
56958
- readonly type: "uint256";
56959
- readonly internalType: "uint256";
56960
- }, {
56961
- readonly name: "owner";
56962
- readonly type: "address";
56963
- readonly internalType: "address";
56964
- }, {
56965
- readonly name: "optionType";
56966
- readonly type: "uint8";
56967
- readonly internalType: "uint8";
56968
- }, {
56969
- readonly name: "startTick";
56970
- readonly type: "int24";
56971
- readonly internalType: "int24";
56972
- }, {
56973
- readonly name: "strikeTick";
56974
- readonly type: "int24";
56975
- readonly internalType: "int24";
56976
- }, {
56977
- readonly name: "strikePrice";
56978
- readonly type: "uint256";
56979
- readonly internalType: "uint256";
56980
- }, {
56981
- readonly name: "positionSize";
56982
- readonly type: "uint256";
56983
- readonly internalType: "uint256";
56984
- }, {
56985
- readonly name: "expiresAt";
56986
- readonly type: "uint32";
56987
- readonly internalType: "uint32";
56988
- }, {
56989
- readonly name: "liquidities";
56990
- readonly type: "uint128[]";
56991
- readonly internalType: "uint128[]";
56992
- }];
56993
- }];
56994
- readonly stateMutability: "view";
56995
- }, {
56996
- readonly type: "function";
56997
- readonly name: "getOptionPricingParams";
56998
- readonly inputs: readonly [{
56999
- readonly name: "pricing";
57000
- readonly type: "address";
57001
- readonly internalType: "contract OptionPricing";
57002
- }];
57003
- readonly outputs: readonly [{
57004
- readonly name: "params";
57005
- readonly type: "tuple";
57006
- readonly internalType: "struct TimelockLens.OptionPricingParams";
57007
- readonly components: readonly [{
57008
- readonly name: "logicContract";
57009
- readonly type: "address";
57010
- readonly internalType: "contract StatelessOptionPricing";
57011
- }, {
57012
- readonly name: "iv";
57013
- readonly type: "uint32";
57014
- readonly internalType: "uint32";
57015
- }, {
57016
- readonly name: "riskFreeRate";
57017
- readonly type: "uint32";
57018
- readonly internalType: "uint32";
57019
- }, {
57020
- readonly name: "minPremiumDailyRate";
57021
- readonly type: "uint32";
57022
- readonly internalType: "uint32";
57023
- }, {
57024
- readonly name: "minPremiumAmount";
57025
- readonly type: "uint256";
57026
- readonly internalType: "uint256";
57027
- }];
57028
- }];
57029
- readonly stateMutability: "view";
57030
- }, {
57031
- readonly type: "function";
57032
- readonly name: "getOptionsData";
57033
- readonly inputs: readonly [{
57034
- readonly name: "market";
57035
- readonly type: "address";
57036
- readonly internalType: "contract TimelockOptionsMarket";
57037
- }, {
57038
- readonly name: "optionIds";
57039
- readonly type: "uint256[]";
57040
- readonly internalType: "uint256[]";
57041
- }];
57042
- readonly outputs: readonly [{
57043
- readonly name: "optionsData";
57044
- readonly type: "tuple[]";
57045
- readonly internalType: "struct TimelockLens.OptionData[]";
57046
- readonly components: readonly [{
57047
- readonly name: "optionId";
57048
- readonly type: "uint256";
57049
- readonly internalType: "uint256";
57050
- }, {
57051
- readonly name: "owner";
57052
- readonly type: "address";
57053
- readonly internalType: "address";
57054
- }, {
57055
- readonly name: "optionType";
57056
- readonly type: "uint8";
57057
- readonly internalType: "uint8";
57058
- }, {
57059
- readonly name: "startTick";
57060
- readonly type: "int24";
57061
- readonly internalType: "int24";
57062
- }, {
57063
- readonly name: "strikeTick";
57064
- readonly type: "int24";
57065
- readonly internalType: "int24";
57066
- }, {
57067
- readonly name: "strikePrice";
57068
- readonly type: "uint256";
57069
- readonly internalType: "uint256";
57070
- }, {
57071
- readonly name: "positionSize";
57072
- readonly type: "uint256";
57073
- readonly internalType: "uint256";
57074
- }, {
57075
- readonly name: "expiresAt";
57076
- readonly type: "uint32";
57077
- readonly internalType: "uint32";
57078
- }, {
57079
- readonly name: "liquidities";
57080
- readonly type: "uint128[]";
57081
- readonly internalType: "uint128[]";
57082
- }];
57083
- }];
57084
- readonly stateMutability: "view";
57085
- }, {
57086
- readonly type: "function";
57087
- readonly name: "getPoolData";
57088
- readonly inputs: readonly [{
57089
- readonly name: "poolManager";
57090
- readonly type: "address";
57091
- readonly internalType: "contract IPoolManager";
57092
- }, {
57093
- readonly name: "poolKey";
57094
- readonly type: "tuple";
57095
- readonly internalType: "struct PoolKey";
57096
- readonly components: readonly [{
57097
- readonly name: "currency0";
57098
- readonly type: "address";
57099
- readonly internalType: "Currency";
57100
- }, {
57101
- readonly name: "currency1";
57102
- readonly type: "address";
57103
- readonly internalType: "Currency";
57104
- }, {
57105
- readonly name: "fee";
57106
- readonly type: "uint24";
57107
- readonly internalType: "uint24";
57108
- }, {
57109
- readonly name: "tickSpacing";
57110
- readonly type: "int24";
57111
- readonly internalType: "int24";
57112
- }, {
57113
- readonly name: "hooks";
57114
- readonly type: "address";
57115
- readonly internalType: "contract IHooks";
57116
- }];
57117
- }];
57118
- readonly outputs: readonly [{
57119
- readonly name: "poolData";
57120
- readonly type: "tuple";
57121
- readonly internalType: "struct TimelockLens.UniswapPoolData";
57122
- readonly components: readonly [{
57123
- readonly name: "token0";
57124
- readonly type: "address";
57125
- readonly internalType: "address";
57126
- }, {
57127
- readonly name: "token1";
57128
- readonly type: "address";
57129
- readonly internalType: "address";
57130
- }, {
57131
- readonly name: "token0Decimals";
57132
- readonly type: "uint8";
57133
- readonly internalType: "uint8";
57134
- }, {
57135
- readonly name: "token1Decimals";
57136
- readonly type: "uint8";
57137
- readonly internalType: "uint8";
57138
- }, {
57139
- readonly name: "token0Symbol";
57140
- readonly type: "string";
57141
- readonly internalType: "string";
57142
- }, {
57143
- readonly name: "token1Symbol";
57144
- readonly type: "string";
57145
- readonly internalType: "string";
57146
- }, {
57147
- readonly name: "token0Name";
57148
- readonly type: "string";
57149
- readonly internalType: "string";
57150
- }, {
57151
- readonly name: "token1Name";
57152
- readonly type: "string";
57153
- readonly internalType: "string";
57154
- }, {
57155
- readonly name: "tickSpacing";
57156
- readonly type: "int24";
57157
- readonly internalType: "int24";
57158
- }, {
57159
- readonly name: "fee";
57160
- readonly type: "uint24";
57161
- readonly internalType: "uint24";
57162
- }];
57163
- }];
57164
- readonly stateMutability: "view";
57165
- }, {
57166
- readonly type: "function";
57167
- readonly name: "getPricingParams";
57168
- readonly inputs: readonly [{
57169
- readonly name: "pricing";
57170
- readonly type: "address";
57171
- readonly internalType: "address";
57172
- }];
57173
- readonly outputs: readonly [{
57174
- readonly name: "pricingModel";
57175
- readonly type: "uint8";
57176
- readonly internalType: "uint8";
57177
- }, {
57178
- readonly name: "data";
57179
56480
  readonly type: "bytes";
57180
- readonly internalType: "bytes";
57181
- }];
57182
- readonly stateMutability: "view";
57183
- }, {
57184
- readonly type: "function";
57185
- readonly name: "getRefTick";
57186
- readonly inputs: readonly [{
57187
- readonly name: "vault";
57188
- readonly type: "address";
57189
- readonly internalType: "contract TimelockSingleOwnerVault";
57190
- }, {
57191
- readonly name: "tickLower";
57192
- readonly type: "int24";
57193
- readonly internalType: "int24";
57194
- }];
57195
- readonly outputs: readonly [{
57196
- readonly name: "refTick";
57197
- readonly type: "int24";
57198
- readonly internalType: "int24";
57199
- }];
57200
- readonly stateMutability: "view";
57201
- }, {
57202
- readonly type: "function";
57203
- readonly name: "getStaticPricingParams";
57204
- readonly inputs: readonly [{
57205
- readonly name: "pricing";
57206
- readonly type: "address";
57207
- readonly internalType: "contract StaticPerpsPricing";
57208
- }];
57209
- readonly outputs: readonly [{
57210
- readonly name: "params";
57211
- readonly type: "tuple";
57212
- readonly internalType: "struct TimelockLens.StaticPerpsPricingParams";
57213
- readonly components: readonly [{
57214
- readonly name: "dailyFundingRate";
57215
- readonly type: "uint32";
57216
- readonly internalType: "uint32";
57217
- }, {
57218
- readonly name: "minFundingAmount";
57219
- readonly type: "uint128";
57220
- readonly internalType: "uint128";
57221
- }];
57222
- }];
57223
- readonly stateMutability: "view";
57224
- }, {
57225
- readonly type: "function";
57226
- readonly name: "getTokenData";
57227
- readonly inputs: readonly [{
57228
- readonly name: "token";
57229
- readonly type: "address";
57230
- readonly internalType: "address";
57231
- }];
57232
- readonly outputs: readonly [{
57233
- readonly name: "tokenData";
57234
- readonly type: "tuple";
57235
- readonly internalType: "struct TimelockLens.TokenData";
57236
- readonly components: readonly [{
57237
- readonly name: "decimals";
57238
- readonly type: "uint8";
57239
- readonly internalType: "uint8";
57240
- }, {
57241
- readonly name: "symbol";
57242
- readonly type: "string";
57243
- readonly internalType: "string";
57244
- }, {
57245
- readonly name: "name";
57246
- readonly type: "string";
57247
- readonly internalType: "string";
57248
- }];
57249
- }];
57250
- readonly stateMutability: "view";
57251
- }, {
57252
- readonly type: "function";
57253
- readonly name: "getUserOptions";
57254
- readonly inputs: readonly [{
57255
- readonly name: "market";
57256
- readonly type: "address";
57257
- readonly internalType: "contract TimelockOptionsMarket";
57258
- }, {
57259
- readonly name: "user";
57260
- readonly type: "address";
57261
- readonly internalType: "address";
57262
- }, {
57263
- readonly name: "startId";
57264
- readonly type: "uint256";
57265
- readonly internalType: "uint256";
57266
- }, {
57267
- readonly name: "limit";
57268
- readonly type: "uint256";
57269
- readonly internalType: "uint256";
57270
- }];
57271
- readonly outputs: readonly [{
57272
- readonly name: "userOptions";
57273
- readonly type: "tuple[]";
57274
- readonly internalType: "struct TimelockLens.OptionData[]";
57275
- readonly components: readonly [{
57276
- readonly name: "optionId";
57277
- readonly type: "uint256";
57278
- readonly internalType: "uint256";
57279
- }, {
57280
- readonly name: "owner";
57281
- readonly type: "address";
57282
- readonly internalType: "address";
57283
- }, {
57284
- readonly name: "optionType";
57285
- readonly type: "uint8";
57286
- readonly internalType: "uint8";
57287
- }, {
57288
- readonly name: "startTick";
57289
- readonly type: "int24";
57290
- readonly internalType: "int24";
57291
- }, {
57292
- readonly name: "strikeTick";
57293
- readonly type: "int24";
57294
- readonly internalType: "int24";
57295
- }, {
57296
- readonly name: "strikePrice";
57297
- readonly type: "uint256";
57298
- readonly internalType: "uint256";
57299
- }, {
57300
- readonly name: "positionSize";
57301
- readonly type: "uint256";
57302
- readonly internalType: "uint256";
57303
- }, {
57304
- readonly name: "expiresAt";
57305
- readonly type: "uint32";
57306
- readonly internalType: "uint32";
57307
- }, {
57308
- readonly name: "liquidities";
57309
- readonly type: "uint128[]";
57310
- readonly internalType: "uint128[]";
57311
- }];
57312
- }, {
57313
- readonly name: "nextStartId";
57314
- readonly type: "uint256";
57315
- readonly internalType: "uint256";
57316
- }, {
57317
- readonly name: "hasMore";
57318
- readonly type: "bool";
57319
- readonly internalType: "bool";
57320
- }];
57321
- readonly stateMutability: "view";
57322
- }, {
57323
- readonly type: "function";
57324
- readonly name: "getVaultData";
57325
- readonly inputs: readonly [{
57326
- readonly name: "vault";
57327
- readonly type: "address";
57328
- readonly internalType: "contract TimelockSingleOwnerVault";
57329
- }];
57330
- readonly outputs: readonly [{
57331
- readonly name: "vaultData";
57332
- readonly type: "tuple";
57333
- readonly internalType: "struct TimelockLens.TimelockVaultData";
57334
- readonly components: readonly [{
57335
- readonly name: "poolManager";
57336
- readonly type: "address";
57337
- readonly internalType: "contract IPoolManager";
57338
- }, {
57339
- readonly name: "poolKey";
57340
- readonly type: "tuple";
57341
- readonly internalType: "struct PoolKey";
57342
- readonly components: readonly [{
57343
- readonly name: "currency0";
57344
- readonly type: "address";
57345
- readonly internalType: "Currency";
57346
- }, {
57347
- readonly name: "currency1";
57348
- readonly type: "address";
57349
- readonly internalType: "Currency";
57350
- }, {
57351
- readonly name: "fee";
57352
- readonly type: "uint24";
57353
- readonly internalType: "uint24";
57354
- }, {
57355
- readonly name: "tickSpacing";
57356
- readonly type: "int24";
57357
- readonly internalType: "int24";
57358
- }, {
57359
- readonly name: "hooks";
57360
- readonly type: "address";
57361
- readonly internalType: "contract IHooks";
57362
- }];
57363
- }, {
57364
- readonly name: "owner";
57365
- readonly type: "address";
57366
- readonly internalType: "address";
57367
- }];
57368
56481
  }];
57369
- readonly stateMutability: "view";
57370
- }, {
57371
- readonly type: "function";
57372
- readonly name: "getVaultTVL";
57373
- readonly inputs: readonly [{
57374
- readonly name: "vault";
57375
- readonly type: "address";
57376
- readonly internalType: "contract TimelockSingleOwnerVault";
57377
- }];
57378
- readonly outputs: readonly [{
57379
- readonly name: "total0";
57380
- readonly type: "uint256";
57381
- readonly internalType: "uint256";
57382
- }, {
57383
- readonly name: "total1";
57384
- readonly type: "uint256";
57385
- readonly internalType: "uint256";
57386
- }, {
57387
- readonly name: "borrowed0";
57388
- readonly type: "uint256";
57389
- readonly internalType: "uint256";
57390
- }, {
57391
- readonly name: "borrowed1";
57392
- readonly type: "uint256";
57393
- readonly internalType: "uint256";
57394
- }, {
57395
- readonly name: "tvlAs0";
57396
- readonly type: "uint256";
57397
- readonly internalType: "uint256";
57398
- }, {
57399
- readonly name: "tvlAs1";
57400
- readonly type: "uint256";
57401
- readonly internalType: "uint256";
57402
- }, {
57403
- readonly name: "blocksCount";
57404
- readonly type: "uint256";
57405
- readonly internalType: "uint256";
57406
- }];
57407
- readonly stateMutability: "view";
57408
- }], "getPricingParams", readonly [`0x${string}`], MarketPricingData>;
56482
+ }], "readState", readonly [`0x${string}`], PricingParams>;
57409
56483
  //#endregion
57410
56484
  //#region src/hooks/pricing/useOptionPricingParams.d.ts
57411
56485
  declare const useOptionPricingParams: (pricingAddr?: Address) => Partial<NonUndefinedGuard<{
@@ -57424,9 +56498,9 @@ declare const useStaticPricingParams: (pricingAddr?: Address) => Partial<NonUnde
57424
56498
  //#endregion
57425
56499
  //#region src/hooks/pricing/useUpdateMarketPricing.d.ts
57426
56500
  declare const useUpdateMarketPricing: (marketAddr: Address) => {
56501
+ error: null;
57427
56502
  data: undefined;
57428
56503
  status: "idle";
57429
- error: null;
57430
56504
  isError: false;
57431
56505
  isPending: false;
57432
56506
  isSuccess: false;
@@ -57438,10 +56512,10 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57438
56512
  reset: () => void;
57439
56513
  context: unknown;
57440
56514
  submittedAt: number;
57441
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
57442
- updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingData> & {
56515
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
56516
+ updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
57443
56517
  model: "static";
57444
- } : Partial<OptionPricingData> & {
56518
+ } : Partial<OptionPricingParams> & {
57445
56519
  model: "option";
57446
56520
  }) => Promise<{
57447
56521
  deployHash: `0x${string}`;
@@ -57449,9 +56523,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57449
56523
  newPricingAddr: `0x${string}`;
57450
56524
  }>;
57451
56525
  } | {
56526
+ error: null;
57452
56527
  data: undefined;
57453
56528
  status: "pending";
57454
- error: null;
57455
56529
  isError: false;
57456
56530
  isPending: true;
57457
56531
  isSuccess: false;
@@ -57459,7 +56533,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57459
56533
  failureReason: _wagmi_core0.WriteContractErrorType | null;
57460
56534
  isPaused: boolean;
57461
56535
  variables: {
57462
- abi: abitype0.Abi;
56536
+ abi: abitype35.Abi;
57463
56537
  functionName: string;
57464
56538
  args?: readonly unknown[] | undefined;
57465
56539
  address: Address;
@@ -57481,9 +56555,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57481
56555
  sidecars?: undefined;
57482
56556
  authorizationList?: undefined;
57483
56557
  chainId?: number | undefined;
57484
- connector?: wagmi0.Connector | undefined;
56558
+ connector?: wagmi44.Connector | undefined;
57485
56559
  } | {
57486
- abi: abitype0.Abi;
56560
+ abi: abitype35.Abi;
57487
56561
  functionName: string;
57488
56562
  args?: readonly unknown[] | undefined;
57489
56563
  address: Address;
@@ -57505,9 +56579,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57505
56579
  sidecars?: undefined;
57506
56580
  authorizationList?: undefined;
57507
56581
  chainId?: number | undefined;
57508
- connector?: wagmi0.Connector | undefined;
56582
+ connector?: wagmi44.Connector | undefined;
57509
56583
  } | {
57510
- abi: abitype0.Abi;
56584
+ abi: abitype35.Abi;
57511
56585
  functionName: string;
57512
56586
  args?: readonly unknown[] | undefined;
57513
56587
  address: Address;
@@ -57529,9 +56603,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57529
56603
  sidecars?: undefined;
57530
56604
  authorizationList?: undefined;
57531
56605
  chainId?: number | undefined;
57532
- connector?: wagmi0.Connector | undefined;
56606
+ connector?: wagmi44.Connector | undefined;
57533
56607
  } | {
57534
- abi: abitype0.Abi;
56608
+ abi: abitype35.Abi;
57535
56609
  functionName: string;
57536
56610
  args?: readonly unknown[] | undefined;
57537
56611
  address: Address;
@@ -57553,9 +56627,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57553
56627
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
57554
56628
  authorizationList?: undefined;
57555
56629
  chainId?: number | undefined;
57556
- connector?: wagmi0.Connector | undefined;
56630
+ connector?: wagmi44.Connector | undefined;
57557
56631
  } | {
57558
- abi: abitype0.Abi;
56632
+ abi: abitype35.Abi;
57559
56633
  functionName: string;
57560
56634
  args?: readonly unknown[] | undefined;
57561
56635
  address: Address;
@@ -57577,9 +56651,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57577
56651
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
57578
56652
  authorizationList?: undefined;
57579
56653
  chainId?: number | undefined;
57580
- connector?: wagmi0.Connector | undefined;
56654
+ connector?: wagmi44.Connector | undefined;
57581
56655
  } | {
57582
- abi: abitype0.Abi;
56656
+ abi: abitype35.Abi;
57583
56657
  functionName: string;
57584
56658
  args?: readonly unknown[] | undefined;
57585
56659
  address: Address;
@@ -57601,16 +56675,16 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57601
56675
  sidecars?: undefined;
57602
56676
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
57603
56677
  chainId?: number | undefined;
57604
- connector?: wagmi0.Connector | undefined;
56678
+ connector?: wagmi44.Connector | undefined;
57605
56679
  };
57606
56680
  isIdle: false;
57607
56681
  reset: () => void;
57608
56682
  context: unknown;
57609
56683
  submittedAt: number;
57610
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
57611
- updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingData> & {
56684
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
56685
+ updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
57612
56686
  model: "static";
57613
- } : Partial<OptionPricingData> & {
56687
+ } : Partial<OptionPricingParams> & {
57614
56688
  model: "option";
57615
56689
  }) => Promise<{
57616
56690
  deployHash: `0x${string}`;
@@ -57618,9 +56692,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57618
56692
  newPricingAddr: `0x${string}`;
57619
56693
  }>;
57620
56694
  } | {
56695
+ error: _wagmi_core0.WriteContractErrorType;
57621
56696
  data: undefined;
57622
56697
  status: "error";
57623
- error: _wagmi_core0.WriteContractErrorType;
57624
56698
  isError: true;
57625
56699
  isPending: false;
57626
56700
  isSuccess: false;
@@ -57628,7 +56702,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57628
56702
  failureReason: _wagmi_core0.WriteContractErrorType | null;
57629
56703
  isPaused: boolean;
57630
56704
  variables: {
57631
- abi: abitype0.Abi;
56705
+ abi: abitype35.Abi;
57632
56706
  functionName: string;
57633
56707
  args?: readonly unknown[] | undefined;
57634
56708
  address: Address;
@@ -57650,9 +56724,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57650
56724
  sidecars?: undefined;
57651
56725
  authorizationList?: undefined;
57652
56726
  chainId?: number | undefined;
57653
- connector?: wagmi0.Connector | undefined;
56727
+ connector?: wagmi44.Connector | undefined;
57654
56728
  } | {
57655
- abi: abitype0.Abi;
56729
+ abi: abitype35.Abi;
57656
56730
  functionName: string;
57657
56731
  args?: readonly unknown[] | undefined;
57658
56732
  address: Address;
@@ -57674,9 +56748,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57674
56748
  sidecars?: undefined;
57675
56749
  authorizationList?: undefined;
57676
56750
  chainId?: number | undefined;
57677
- connector?: wagmi0.Connector | undefined;
56751
+ connector?: wagmi44.Connector | undefined;
57678
56752
  } | {
57679
- abi: abitype0.Abi;
56753
+ abi: abitype35.Abi;
57680
56754
  functionName: string;
57681
56755
  args?: readonly unknown[] | undefined;
57682
56756
  address: Address;
@@ -57698,9 +56772,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57698
56772
  sidecars?: undefined;
57699
56773
  authorizationList?: undefined;
57700
56774
  chainId?: number | undefined;
57701
- connector?: wagmi0.Connector | undefined;
56775
+ connector?: wagmi44.Connector | undefined;
57702
56776
  } | {
57703
- abi: abitype0.Abi;
56777
+ abi: abitype35.Abi;
57704
56778
  functionName: string;
57705
56779
  args?: readonly unknown[] | undefined;
57706
56780
  address: Address;
@@ -57722,9 +56796,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57722
56796
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
57723
56797
  authorizationList?: undefined;
57724
56798
  chainId?: number | undefined;
57725
- connector?: wagmi0.Connector | undefined;
56799
+ connector?: wagmi44.Connector | undefined;
57726
56800
  } | {
57727
- abi: abitype0.Abi;
56801
+ abi: abitype35.Abi;
57728
56802
  functionName: string;
57729
56803
  args?: readonly unknown[] | undefined;
57730
56804
  address: Address;
@@ -57746,9 +56820,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57746
56820
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
57747
56821
  authorizationList?: undefined;
57748
56822
  chainId?: number | undefined;
57749
- connector?: wagmi0.Connector | undefined;
56823
+ connector?: wagmi44.Connector | undefined;
57750
56824
  } | {
57751
- abi: abitype0.Abi;
56825
+ abi: abitype35.Abi;
57752
56826
  functionName: string;
57753
56827
  args?: readonly unknown[] | undefined;
57754
56828
  address: Address;
@@ -57770,16 +56844,16 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57770
56844
  sidecars?: undefined;
57771
56845
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
57772
56846
  chainId?: number | undefined;
57773
- connector?: wagmi0.Connector | undefined;
56847
+ connector?: wagmi44.Connector | undefined;
57774
56848
  };
57775
56849
  isIdle: false;
57776
56850
  reset: () => void;
57777
56851
  context: unknown;
57778
56852
  submittedAt: number;
57779
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
57780
- updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingData> & {
56853
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
56854
+ updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
57781
56855
  model: "static";
57782
- } : Partial<OptionPricingData> & {
56856
+ } : Partial<OptionPricingParams> & {
57783
56857
  model: "option";
57784
56858
  }) => Promise<{
57785
56859
  deployHash: `0x${string}`;
@@ -57787,9 +56861,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57787
56861
  newPricingAddr: `0x${string}`;
57788
56862
  }>;
57789
56863
  } | {
56864
+ error: null;
57790
56865
  data: `0x${string}`;
57791
56866
  status: "success";
57792
- error: null;
57793
56867
  isError: false;
57794
56868
  isPending: false;
57795
56869
  isSuccess: true;
@@ -57797,7 +56871,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57797
56871
  failureReason: _wagmi_core0.WriteContractErrorType | null;
57798
56872
  isPaused: boolean;
57799
56873
  variables: {
57800
- abi: abitype0.Abi;
56874
+ abi: abitype35.Abi;
57801
56875
  functionName: string;
57802
56876
  args?: readonly unknown[] | undefined;
57803
56877
  address: Address;
@@ -57819,9 +56893,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57819
56893
  sidecars?: undefined;
57820
56894
  authorizationList?: undefined;
57821
56895
  chainId?: number | undefined;
57822
- connector?: wagmi0.Connector | undefined;
56896
+ connector?: wagmi44.Connector | undefined;
57823
56897
  } | {
57824
- abi: abitype0.Abi;
56898
+ abi: abitype35.Abi;
57825
56899
  functionName: string;
57826
56900
  args?: readonly unknown[] | undefined;
57827
56901
  address: Address;
@@ -57843,9 +56917,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57843
56917
  sidecars?: undefined;
57844
56918
  authorizationList?: undefined;
57845
56919
  chainId?: number | undefined;
57846
- connector?: wagmi0.Connector | undefined;
56920
+ connector?: wagmi44.Connector | undefined;
57847
56921
  } | {
57848
- abi: abitype0.Abi;
56922
+ abi: abitype35.Abi;
57849
56923
  functionName: string;
57850
56924
  args?: readonly unknown[] | undefined;
57851
56925
  address: Address;
@@ -57867,9 +56941,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57867
56941
  sidecars?: undefined;
57868
56942
  authorizationList?: undefined;
57869
56943
  chainId?: number | undefined;
57870
- connector?: wagmi0.Connector | undefined;
56944
+ connector?: wagmi44.Connector | undefined;
57871
56945
  } | {
57872
- abi: abitype0.Abi;
56946
+ abi: abitype35.Abi;
57873
56947
  functionName: string;
57874
56948
  args?: readonly unknown[] | undefined;
57875
56949
  address: Address;
@@ -57891,9 +56965,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57891
56965
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
57892
56966
  authorizationList?: undefined;
57893
56967
  chainId?: number | undefined;
57894
- connector?: wagmi0.Connector | undefined;
56968
+ connector?: wagmi44.Connector | undefined;
57895
56969
  } | {
57896
- abi: abitype0.Abi;
56970
+ abi: abitype35.Abi;
57897
56971
  functionName: string;
57898
56972
  args?: readonly unknown[] | undefined;
57899
56973
  address: Address;
@@ -57915,9 +56989,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57915
56989
  sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
57916
56990
  authorizationList?: undefined;
57917
56991
  chainId?: number | undefined;
57918
- connector?: wagmi0.Connector | undefined;
56992
+ connector?: wagmi44.Connector | undefined;
57919
56993
  } | {
57920
- abi: abitype0.Abi;
56994
+ abi: abitype35.Abi;
57921
56995
  functionName: string;
57922
56996
  args?: readonly unknown[] | undefined;
57923
56997
  address: Address;
@@ -57939,16 +57013,16 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57939
57013
  sidecars?: undefined;
57940
57014
  authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
57941
57015
  chainId?: number | undefined;
57942
- connector?: wagmi0.Connector | undefined;
57016
+ connector?: wagmi44.Connector | undefined;
57943
57017
  };
57944
57018
  isIdle: false;
57945
57019
  reset: () => void;
57946
57020
  context: unknown;
57947
57021
  submittedAt: number;
57948
- writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
57949
- updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingData> & {
57022
+ writeContract: wagmi_query7.WriteContractMutate<wagmi44.Config, unknown>;
57023
+ updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
57950
57024
  model: "static";
57951
- } : Partial<OptionPricingData> & {
57025
+ } : Partial<OptionPricingParams> & {
57952
57026
  model: "option";
57953
57027
  }) => Promise<{
57954
57028
  deployHash: `0x${string}`;
@@ -100090,5 +99164,5 @@ declare const useLens: () => {
100090
99164
  } | undefined;
100091
99165
  };
100092
99166
  //#endregion
100093
- export { PriceResolution as $, stateViews as $t, useCurrentPrice as A, formatVagueAmount as At, getPriceAtTick as B, useMarketVolume as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatAmount as Dt, usePriceHistory as E, EMPTY_ARRAY as Et, getPayoutAtTick as F, wrapAmount as Ft, liquiditiesToAmounts as G, useTimelockConfig as Gt, getTickAtPrice as H, useMarketData as Ht, PRICE_PRECISION as I, wrapAmountUnscaled as It, token0ToToken1AtTick as J, TimelockMarketData as Jt, roundTick as K, TimelockLens as Kt, getAmountsFromLiquidity as L, wrapPrice as Lt, UniswapPoolData as M, scalePrice as Mt, usePoolData as N, unscaleAmount as Nt, usePriceAtTick as O, formatCondensed as Ot, getPayoutAtPrice as P, unscalePrice as Pt, PriceDataPoint as Q, getTimelockMarket as Qt, getNearestValidStrikeTick as R, wrapPriceUnscaled as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, TimelockProvider as Ut, getSqrtPriceX96AtPrice as V, useMarketState as Vt, liquiditiesToAmount1 as W, useCurrentMarket as Wt, token1ToToken0AtTick as X, getStateView as Xt, token1ToToken0 as Y, getErc20 as Yt, PriceData as Z, getTimelockLens as Zt, useTokenData as _, useOptionPremium as _t, MarketPricingData as a, useActiveUserPerps as at, batchGetAmountsFromLiquidity as b, OptionData as bt, useMarketPricing as c, usePerpsOperator as ct, usePauseMarketTrading as d, ExerciseOptionEvent as dt, swapRouters 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, scaleAmount as jt, useCurrentTick as k, formatUSD as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockFactories as nn, useSetOperatorPerms as nt, OptionPricingData as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarket as qt, useStaticPricingParams as r, timelockLenses as rn, useUserOperators as rt, StaticPricingData as s, useUserPerps as st, useLens as t, swappers 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, zero as zt };
100094
- //# sourceMappingURL=client-DqVrd4kQ.d.ts.map
99167
+ export { PriceResolution as $, stateViews as $t, useCurrentPrice as A, formatVagueAmount as At, getPriceAtTick as B, useMarketVolume as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatAmount as Dt, usePriceHistory as E, EMPTY_ARRAY as Et, getPayoutAtTick as F, wrapAmount as Ft, liquiditiesToAmounts as G, useTimelockConfig as Gt, getTickAtPrice as H, useMarketData as Ht, PRICE_PRECISION as I, wrapAmountUnscaled as It, token0ToToken1AtTick as J, TimelockMarketData as Jt, roundTick as K, TimelockLens as Kt, getAmountsFromLiquidity as L, wrapPrice as Lt, UniswapPoolData as M, scalePrice as Mt, usePoolData as N, unscaleAmount as Nt, usePriceAtTick as O, formatCondensed as Ot, getPayoutAtPrice as P, unscalePrice as Pt, PriceDataPoint as Q, getTimelockMarket as Qt, getNearestValidStrikeTick as R, wrapPriceUnscaled as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, TimelockProvider as Ut, getSqrtPriceX96AtPrice as V, useMarketState as Vt, liquiditiesToAmount1 as W, useCurrentMarket as Wt, token1ToToken0AtTick as X, getStateView as Xt, token1ToToken0 as Y, getErc20 as Yt, PriceData as Z, getTimelockLens 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, swapRouters 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, scaleAmount as jt, useCurrentTick as k, formatUSD as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockFactories as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarket as qt, useStaticPricingParams as r, timelockLenses as rn, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, swappers 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, zero as zt };
99168
+ //# sourceMappingURL=client-Di1eoh5l.d.cts.map