timelock-sdk 0.0.162 → 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.
Files changed (42) hide show
  1. package/dist/abis.cjs +1059 -308
  2. package/dist/abis.cjs.map +1 -1
  3. package/dist/abis.d.cts +2967 -766
  4. package/dist/abis.d.ts +2967 -766
  5. package/dist/abis.js +1051 -303
  6. package/dist/abis.js.map +1 -1
  7. package/dist/{client-BVPR3obW.d.cts → client-Di1eoh5l.d.cts} +870 -1797
  8. package/dist/{client-BFhMekeP.d.ts → client-Dp-YTEVp.d.ts} +35 -962
  9. package/dist/client.cjs +113 -949
  10. package/dist/client.cjs.map +1 -1
  11. package/dist/client.d.cts +3 -3
  12. package/dist/client.d.ts +3 -3
  13. package/dist/client.js +79 -915
  14. package/dist/client.js.map +1 -1
  15. package/dist/factory-DitVXzjQ.cjs +1715 -0
  16. package/dist/factory-DitVXzjQ.cjs.map +1 -0
  17. package/dist/factory-y-iVl_er.js +1697 -0
  18. package/dist/factory-y-iVl_er.js.map +1 -0
  19. package/dist/{optionUtils-R9Y-jxoz.cjs → optionUtils-Cuuw6jXD.cjs} +6 -1048
  20. package/dist/optionUtils-Cuuw6jXD.cjs.map +1 -0
  21. package/dist/optionUtils-OyY8qOu0.js +381 -0
  22. package/dist/optionUtils-OyY8qOu0.js.map +1 -0
  23. package/dist/{uniswapMathLens-oe-gukfo.d.ts → optionsMarket-2HZ-p_dl.d.ts} +2 -625
  24. package/dist/{uniswapMathLens-B6gp2UGI.d.cts → optionsMarket-c4hgszY_.d.cts} +2 -625
  25. package/dist/package.cjs +2 -2
  26. package/dist/package.d.cts +3 -3
  27. package/dist/package.d.ts +3 -3
  28. package/dist/package.js +2 -2
  29. package/dist/{optionsMarket-CWigPja1.js → statelessStateView-CBkcP7CK.js} +1599 -1322
  30. package/dist/statelessStateView-CBkcP7CK.js.map +1 -0
  31. package/dist/{optionsMarket-CtlBxuj0.cjs → statelessStateView-XdTJQxsY.cjs} +1600 -1323
  32. package/dist/statelessStateView-XdTJQxsY.cjs.map +1 -0
  33. package/package.json +1 -1
  34. package/dist/optionUtils-R9Y-jxoz.cjs.map +0 -1
  35. package/dist/optionUtils-fCYueZl2.js +0 -1417
  36. package/dist/optionUtils-fCYueZl2.js.map +0 -1
  37. package/dist/optionsMarket-CWigPja1.js.map +0 -1
  38. package/dist/optionsMarket-CtlBxuj0.cjs.map +0 -1
  39. package/dist/singleOwnerVault-BJyEs_D_.js +0 -847
  40. package/dist/singleOwnerVault-BJyEs_D_.js.map +0 -1
  41. package/dist/singleOwnerVault-GCpQV7pN.cjs +0 -853
  42. package/dist/singleOwnerVault-GCpQV7pN.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-oe-gukfo.js";
1
+ import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-2HZ-p_dl.js";
2
2
  import * as viem0 from "viem";
3
3
  import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
4
4
  import Big from "big.js";
@@ -242,7 +242,6 @@ declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper)
242
242
  //#region src/lib/contracts.d.ts
243
243
  type TimelockMarket = GetContractReturnType<typeof optionsMarketAbi, Client, Address>;
244
244
  type TimelockLens = GetContractReturnType<typeof lensAbi, Client, Address>;
245
- type UniswapMathLens = GetContractReturnType<typeof uniswapMathLensAbi, Client, Address>;
246
245
  type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData']>> & {
247
246
  address: Address;
248
247
  };
@@ -54893,8 +54892,8 @@ declare const usePauseGlobalTrading: ({
54893
54892
  }: {
54894
54893
  marketAddr?: Address;
54895
54894
  }) => {
54896
- data: undefined;
54897
54895
  error: null;
54896
+ data: undefined;
54898
54897
  status: "idle";
54899
54898
  isError: false;
54900
54899
  isPending: false;
@@ -54910,8 +54909,8 @@ declare const usePauseGlobalTrading: ({
54910
54909
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
54911
54910
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
54912
54911
  } | {
54913
- data: undefined;
54914
54912
  error: null;
54913
+ data: undefined;
54915
54914
  status: "pending";
54916
54915
  isError: false;
54917
54916
  isPending: true;
@@ -55071,8 +55070,8 @@ declare const usePauseGlobalTrading: ({
55071
55070
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55072
55071
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
55073
55072
  } | {
55074
- data: undefined;
55075
55073
  error: _wagmi_core0.WriteContractErrorType;
55074
+ data: undefined;
55076
55075
  status: "error";
55077
55076
  isError: true;
55078
55077
  isPending: false;
@@ -55232,8 +55231,8 @@ declare const usePauseGlobalTrading: ({
55232
55231
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55233
55232
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
55234
55233
  } | {
55235
- data: `0x${string}`;
55236
55234
  error: null;
55235
+ data: `0x${string}`;
55237
55236
  status: "success";
55238
55237
  isError: false;
55239
55238
  isPending: false;
@@ -55400,8 +55399,8 @@ declare const usePauseMarketTrading: ({
55400
55399
  }: {
55401
55400
  marketAddr?: Address;
55402
55401
  }) => {
55403
- data: undefined;
55404
55402
  error: null;
55403
+ data: undefined;
55405
55404
  status: "idle";
55406
55405
  isError: false;
55407
55406
  isPending: false;
@@ -55417,8 +55416,8 @@ declare const usePauseMarketTrading: ({
55417
55416
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55418
55417
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55419
55418
  } | {
55420
- data: undefined;
55421
55419
  error: null;
55420
+ data: undefined;
55422
55421
  status: "pending";
55423
55422
  isError: false;
55424
55423
  isPending: true;
@@ -55578,8 +55577,8 @@ declare const usePauseMarketTrading: ({
55578
55577
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55579
55578
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55580
55579
  } | {
55581
- data: undefined;
55582
55580
  error: _wagmi_core0.WriteContractErrorType;
55581
+ data: undefined;
55583
55582
  status: "error";
55584
55583
  isError: true;
55585
55584
  isPending: false;
@@ -55739,8 +55738,8 @@ declare const usePauseMarketTrading: ({
55739
55738
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55740
55739
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55741
55740
  } | {
55742
- data: `0x${string}`;
55743
55741
  error: null;
55742
+ data: `0x${string}`;
55744
55743
  status: "success";
55745
55744
  isError: false;
55746
55745
  isPending: false;
@@ -55912,8 +55911,8 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
55912
55911
  //#endregion
55913
55912
  //#region src/hooks/fees/useUpdateMarketFees.d.ts
55914
55913
  declare const useUpdateMarketFees: (marketAddr: Address) => {
55915
- data: undefined;
55916
55914
  error: null;
55915
+ data: undefined;
55917
55916
  status: "idle";
55918
55917
  isError: false;
55919
55918
  isPending: false;
@@ -55939,8 +55938,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
55939
55938
  newFeeStrategy: `0x${string}`;
55940
55939
  }>;
55941
55940
  } | {
55942
- data: undefined;
55943
55941
  error: null;
55942
+ data: undefined;
55944
55943
  status: "pending";
55945
55944
  isError: false;
55946
55945
  isPending: true;
@@ -56110,8 +56109,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56110
56109
  newFeeStrategy: `0x${string}`;
56111
56110
  }>;
56112
56111
  } | {
56113
- data: undefined;
56114
56112
  error: _wagmi_core0.WriteContractErrorType;
56113
+ data: undefined;
56115
56114
  status: "error";
56116
56115
  isError: true;
56117
56116
  isPending: false;
@@ -56281,8 +56280,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56281
56280
  newFeeStrategy: `0x${string}`;
56282
56281
  }>;
56283
56282
  } | {
56284
- data: `0x${string}`;
56285
56283
  error: null;
56284
+ data: `0x${string}`;
56286
56285
  status: "success";
56287
56286
  isError: false;
56288
56287
  isPending: false;
@@ -56453,13 +56452,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56453
56452
  }>;
56454
56453
  };
56455
56454
  //#endregion
56456
- //#region src/hooks/pricing/useMarketPricing.d.ts
56457
- type StaticPricingData = {
56455
+ //#region src/hooks/pricing/usePricingParams.d.ts
56456
+ type StaticPricingParams = {
56458
56457
  model: 'static';
56459
56458
  dailyFundingRate: number;
56460
56459
  minFundingAmount: bigint;
56461
56460
  };
56462
- type OptionPricingData = {
56461
+ type OptionPricingParams = {
56463
56462
  model: 'option';
56464
56463
  logicContract: Address;
56465
56464
  iv: number;
@@ -56467,946 +56466,20 @@ type OptionPricingData = {
56467
56466
  minPremiumDailyRate: number;
56468
56467
  minPremiumAmount: bigint;
56469
56468
  };
56470
- type MarketPricingData = StaticPricingData | OptionPricingData;
56471
- declare const useMarketPricing: (marketAddr?: Address) => wagmi0.UseReadContractReturnType<readonly [{
56472
- readonly type: "function";
56473
- readonly name: "batchGetRefTick";
56474
- readonly inputs: readonly [{
56475
- readonly name: "vault";
56476
- readonly type: "address";
56477
- readonly internalType: "contract TimelockSingleOwnerVault";
56478
- }, {
56479
- readonly name: "tickLower";
56480
- readonly type: "int24[]";
56481
- readonly internalType: "int24[]";
56482
- }];
56483
- readonly outputs: readonly [{
56484
- readonly name: "refTicks";
56485
- readonly type: "int24[]";
56486
- readonly internalType: "int24[]";
56487
- }];
56488
- readonly stateMutability: "view";
56489
- }, {
56490
- readonly type: "function";
56491
- readonly name: "getAllBlocks";
56492
- readonly inputs: readonly [{
56493
- readonly name: "vault";
56494
- readonly type: "address";
56495
- readonly internalType: "contract TimelockSingleOwnerVault";
56496
- }];
56497
- readonly outputs: readonly [{
56498
- readonly name: "blocks";
56499
- readonly type: "tuple[]";
56500
- readonly internalType: "struct TimelockLens.LiquidityBlockData[]";
56501
- readonly components: readonly [{
56502
- readonly name: "tickLower";
56503
- readonly type: "int24";
56504
- readonly internalType: "int24";
56505
- }, {
56506
- readonly name: "tickUpper";
56507
- readonly type: "int24";
56508
- readonly internalType: "int24";
56509
- }, {
56510
- readonly name: "prevTickLower";
56511
- readonly type: "int24";
56512
- readonly internalType: "int24";
56513
- }, {
56514
- readonly name: "totalLiquidity";
56515
- readonly type: "uint128";
56516
- readonly internalType: "uint128";
56517
- }, {
56518
- readonly name: "borrowedLiquidity";
56519
- readonly type: "uint128";
56520
- readonly internalType: "uint128";
56521
- }, {
56522
- readonly name: "reservedLiquidity";
56523
- readonly type: "uint128";
56524
- readonly internalType: "uint128";
56525
- }, {
56526
- readonly name: "availableLiquidity";
56527
- readonly type: "uint128";
56528
- readonly internalType: "uint128";
56529
- }, {
56530
- readonly name: "totalAmount0";
56531
- readonly type: "uint256";
56532
- readonly internalType: "uint256";
56533
- }, {
56534
- readonly name: "totalAmount1";
56535
- readonly type: "uint256";
56536
- readonly internalType: "uint256";
56537
- }, {
56538
- readonly name: "borrowedAmount0";
56539
- readonly type: "uint256";
56540
- readonly internalType: "uint256";
56541
- }, {
56542
- readonly name: "borrowedAmount1";
56543
- readonly type: "uint256";
56544
- readonly internalType: "uint256";
56545
- }];
56546
- }];
56547
- readonly stateMutability: "view";
56548
- }, {
56549
- readonly type: "function";
56550
- readonly name: "getExpiredOptions";
56551
- readonly inputs: readonly [{
56552
- readonly name: "market";
56553
- readonly type: "address";
56554
- readonly internalType: "contract TimelockOptionsMarket";
56555
- }, {
56556
- readonly name: "startId";
56557
- readonly type: "uint256";
56558
- readonly internalType: "uint256";
56559
- }, {
56560
- readonly name: "endId";
56561
- readonly type: "uint256";
56562
- readonly internalType: "uint256";
56563
- }];
56564
- readonly outputs: readonly [{
56565
- readonly name: "expiredOptions";
56566
- readonly type: "tuple[]";
56567
- readonly internalType: "struct TimelockLens.OptionData[]";
56568
- readonly components: readonly [{
56569
- readonly name: "optionId";
56570
- readonly type: "uint256";
56571
- readonly internalType: "uint256";
56572
- }, {
56573
- readonly name: "owner";
56574
- readonly type: "address";
56575
- readonly internalType: "address";
56576
- }, {
56577
- readonly name: "optionType";
56578
- readonly type: "uint8";
56579
- readonly internalType: "uint8";
56580
- }, {
56581
- readonly name: "startTick";
56582
- readonly type: "int24";
56583
- readonly internalType: "int24";
56584
- }, {
56585
- readonly name: "strikeTick";
56586
- readonly type: "int24";
56587
- readonly internalType: "int24";
56588
- }, {
56589
- readonly name: "strikePrice";
56590
- readonly type: "uint256";
56591
- readonly internalType: "uint256";
56592
- }, {
56593
- readonly name: "positionSize";
56594
- readonly type: "uint256";
56595
- readonly internalType: "uint256";
56596
- }, {
56597
- readonly name: "expiresAt";
56598
- readonly type: "uint32";
56599
- readonly internalType: "uint32";
56600
- }, {
56601
- readonly name: "liquidities";
56602
- readonly type: "uint128[]";
56603
- readonly internalType: "uint128[]";
56604
- }];
56605
- }];
56606
- readonly stateMutability: "view";
56607
- }, {
56608
- readonly type: "function";
56609
- readonly name: "getFeeRates";
56610
- readonly inputs: readonly [{
56611
- readonly name: "feeStrategy";
56612
- readonly type: "address";
56613
- readonly internalType: "contract FeeStrategy";
56614
- }];
56615
- readonly outputs: readonly [{
56616
- readonly name: "rates";
56617
- readonly type: "tuple";
56618
- readonly internalType: "struct TimelockLens.FeeStrategyRates";
56619
- readonly components: readonly [{
56620
- readonly name: "openingFeeRate";
56621
- readonly type: "uint32";
56622
- readonly internalType: "uint32";
56623
- }, {
56624
- readonly name: "baseFeeRate";
56625
- readonly type: "uint32";
56626
- readonly internalType: "uint32";
56627
- }, {
56628
- readonly name: "minOpeningFee";
56629
- readonly type: "uint128";
56630
- readonly internalType: "uint128";
56631
- }, {
56632
- readonly name: "minBaseFee";
56633
- readonly type: "uint128";
56634
- readonly internalType: "uint128";
56635
- }, {
56636
- readonly name: "feeRecipient";
56637
- readonly type: "address";
56638
- readonly internalType: "address";
56639
- }];
56640
- }];
56641
- readonly stateMutability: "view";
56642
- }, {
56643
- readonly type: "function";
56644
- readonly name: "getGlobalGuardianState";
56645
- readonly inputs: readonly [{
56646
- readonly name: "guardian";
56647
- readonly type: "address";
56648
- readonly internalType: "contract TimelockGuardian";
56649
- }];
56650
- readonly outputs: readonly [{
56651
- readonly name: "guardianState";
56652
- readonly type: "tuple";
56653
- readonly internalType: "struct TimelockLens.GuardianGlobalState";
56654
- readonly components: readonly [{
56655
- readonly name: "globalMintPaused";
56656
- readonly type: "tuple";
56657
- readonly internalType: "struct TimelockGuardian.PauseState";
56658
- readonly components: readonly [{
56659
- readonly name: "paused";
56660
- readonly type: "bool";
56661
- readonly internalType: "bool";
56662
- }, {
56663
- readonly name: "updatedAt";
56664
- readonly type: "uint64";
56665
- readonly internalType: "uint64";
56666
- }];
56667
- }, {
56668
- readonly name: "globalBurnPaused";
56669
- readonly type: "tuple";
56670
- readonly internalType: "struct TimelockGuardian.PauseState";
56671
- readonly components: readonly [{
56672
- readonly name: "paused";
56673
- readonly type: "bool";
56674
- readonly internalType: "bool";
56675
- }, {
56676
- readonly name: "updatedAt";
56677
- readonly type: "uint64";
56678
- readonly internalType: "uint64";
56679
- }];
56680
- }, {
56681
- readonly name: "globalTradingPaused";
56682
- readonly type: "tuple";
56683
- readonly internalType: "struct TimelockGuardian.PauseState";
56684
- readonly components: readonly [{
56685
- readonly name: "paused";
56686
- readonly type: "bool";
56687
- readonly internalType: "bool";
56688
- }, {
56689
- readonly name: "updatedAt";
56690
- readonly type: "uint64";
56691
- readonly internalType: "uint64";
56692
- }];
56693
- }, {
56694
- readonly name: "minWithdrawalInterval";
56695
- readonly type: "uint256";
56696
- readonly internalType: "uint256";
56697
- }, {
56698
- readonly name: "senderIsAdmin";
56699
- readonly type: "bool";
56700
- readonly internalType: "bool";
56701
- }, {
56702
- readonly name: "senderIsPauser";
56703
- readonly type: "bool";
56704
- readonly internalType: "bool";
56705
- }];
56706
- }];
56707
- readonly stateMutability: "view";
56708
- }, {
56469
+ type PricingParams = StaticPricingParams | OptionPricingParams;
56470
+ declare const usePricingParams: (pricingAddr?: Address) => wagmi0.UseReadContractReturnType<readonly [{
56709
56471
  readonly type: "function";
56710
- readonly name: "getLiquidityAtTick";
56711
- readonly inputs: readonly [{
56712
- readonly name: "vault";
56713
- readonly type: "address";
56714
- readonly internalType: "contract TimelockSingleOwnerVault";
56715
- }, {
56716
- readonly name: "tickLower";
56717
- readonly type: "int24";
56718
- readonly internalType: "int24";
56719
- }];
56720
- readonly outputs: readonly [{
56721
- readonly name: "totalLiquidity";
56722
- readonly type: "uint128";
56723
- readonly internalType: "uint128";
56724
- }, {
56725
- readonly name: "borrowedLiquidity";
56726
- readonly type: "uint128";
56727
- readonly internalType: "uint128";
56728
- }];
56472
+ readonly name: "readState";
56729
56473
  readonly stateMutability: "view";
56730
- }, {
56731
- readonly type: "function";
56732
- readonly name: "getMarketData";
56733
56474
  readonly inputs: readonly [{
56734
- readonly name: "market";
56475
+ readonly name: "target";
56735
56476
  readonly type: "address";
56736
- readonly internalType: "contract TimelockOptionsMarket";
56737
- }];
56738
- readonly outputs: readonly [{
56739
- readonly name: "marketData";
56740
- readonly type: "tuple";
56741
- readonly internalType: "struct TimelockLens.TimelockMarketData";
56742
- readonly components: readonly [{
56743
- readonly name: "guardian";
56744
- readonly type: "address";
56745
- readonly internalType: "contract TimelockGuardian";
56746
- }, {
56747
- readonly name: "vault";
56748
- readonly type: "address";
56749
- readonly internalType: "contract ITimelockVault";
56750
- }, {
56751
- readonly name: "poolManager";
56752
- readonly type: "address";
56753
- readonly internalType: "contract IPoolManager";
56754
- }, {
56755
- readonly name: "poolKey";
56756
- readonly type: "tuple";
56757
- readonly internalType: "struct PoolKey";
56758
- readonly components: readonly [{
56759
- readonly name: "currency0";
56760
- readonly type: "address";
56761
- readonly internalType: "Currency";
56762
- }, {
56763
- readonly name: "currency1";
56764
- readonly type: "address";
56765
- readonly internalType: "Currency";
56766
- }, {
56767
- readonly name: "fee";
56768
- readonly type: "uint24";
56769
- readonly internalType: "uint24";
56770
- }, {
56771
- readonly name: "tickSpacing";
56772
- readonly type: "int24";
56773
- readonly internalType: "int24";
56774
- }, {
56775
- readonly name: "hooks";
56776
- readonly type: "address";
56777
- readonly internalType: "contract IHooks";
56778
- }];
56779
- }, {
56780
- readonly name: "optionAssetIsToken0";
56781
- readonly type: "bool";
56782
- readonly internalType: "bool";
56783
- }, {
56784
- readonly name: "optionAsset";
56785
- readonly type: "address";
56786
- readonly internalType: "address";
56787
- }, {
56788
- readonly name: "payoutAsset";
56789
- readonly type: "address";
56790
- readonly internalType: "address";
56791
- }, {
56792
- readonly name: "optionAssetDecimals";
56793
- readonly type: "uint8";
56794
- readonly internalType: "uint8";
56795
- }, {
56796
- readonly name: "payoutAssetDecimals";
56797
- readonly type: "uint8";
56798
- readonly internalType: "uint8";
56799
- }, {
56800
- readonly name: "optionAssetSymbol";
56801
- readonly type: "string";
56802
- readonly internalType: "string";
56803
- }, {
56804
- readonly name: "payoutAssetSymbol";
56805
- readonly type: "string";
56806
- readonly internalType: "string";
56807
- }, {
56808
- readonly name: "optionAssetName";
56809
- readonly type: "string";
56810
- readonly internalType: "string";
56811
- }, {
56812
- readonly name: "payoutAssetName";
56813
- readonly type: "string";
56814
- readonly internalType: "string";
56815
- }];
56816
- }];
56817
- readonly stateMutability: "view";
56818
- }, {
56819
- readonly type: "function";
56820
- readonly name: "getMarketState";
56821
- readonly inputs: readonly [{
56822
- readonly name: "market";
56823
- readonly type: "address";
56824
- readonly internalType: "contract TimelockOptionsMarket";
56825
- }];
56826
- readonly outputs: readonly [{
56827
- readonly name: "marketState";
56828
- readonly type: "tuple";
56829
- readonly internalType: "struct TimelockLens.TimelockMarketState";
56830
- readonly components: readonly [{
56831
- readonly name: "optionsCount";
56832
- readonly type: "uint256";
56833
- readonly internalType: "uint256";
56834
- }, {
56835
- readonly name: "optionPricing";
56836
- readonly type: "address";
56837
- readonly internalType: "address";
56838
- }, {
56839
- readonly name: "feeStrategy";
56840
- readonly type: "address";
56841
- readonly internalType: "contract IFeeStrategy";
56842
- }, {
56843
- readonly name: "owner";
56844
- readonly type: "address";
56845
- readonly internalType: "address";
56846
- }];
56847
- }];
56848
- readonly stateMutability: "view";
56849
- }, {
56850
- readonly type: "function";
56851
- readonly name: "getMaxATMPositionSizes";
56852
- readonly inputs: readonly [{
56853
- readonly name: "market";
56854
- readonly type: "address";
56855
- readonly internalType: "contract TimelockOptionsMarket";
56856
- }, {
56857
- readonly name: "maxSteps";
56858
- readonly type: "int24";
56859
- readonly internalType: "int24";
56860
- }];
56861
- readonly outputs: readonly [{
56862
- readonly name: "maxCallSize";
56863
- readonly type: "uint256";
56864
- readonly internalType: "uint256";
56865
- }, {
56866
- readonly name: "maxPutSize";
56867
- readonly type: "uint256";
56868
- readonly internalType: "uint256";
56869
- }];
56870
- readonly stateMutability: "view";
56871
- }, {
56872
- readonly type: "function";
56873
- readonly name: "getMaxBorrowable0";
56874
- readonly inputs: readonly [{
56875
- readonly name: "vault";
56876
- readonly type: "address";
56877
- readonly internalType: "contract TimelockSingleOwnerVault";
56878
- }, {
56879
- readonly name: "strikeTick";
56880
- readonly type: "int24";
56881
- readonly internalType: "int24";
56882
- }, {
56883
- readonly name: "maxSteps";
56884
- readonly type: "int24";
56885
- readonly internalType: "int24";
56886
- }];
56887
- readonly outputs: readonly [{
56888
- readonly name: "borrowable0";
56889
- readonly type: "uint256";
56890
- readonly internalType: "uint256";
56891
- }];
56892
- readonly stateMutability: "view";
56893
- }, {
56894
- readonly type: "function";
56895
- readonly name: "getMaxBorrowable1";
56896
- readonly inputs: readonly [{
56897
- readonly name: "vault";
56898
- readonly type: "address";
56899
- readonly internalType: "contract TimelockSingleOwnerVault";
56900
- }, {
56901
- readonly name: "strikeTick";
56902
- readonly type: "int24";
56903
- readonly internalType: "int24";
56904
- }, {
56905
- readonly name: "maxSteps";
56906
- readonly type: "int24";
56907
- readonly internalType: "int24";
56908
- }];
56909
- readonly outputs: readonly [{
56910
- readonly name: "borrowable1";
56911
- readonly type: "uint256";
56912
- readonly internalType: "uint256";
56913
- }];
56914
- readonly stateMutability: "view";
56915
- }, {
56916
- readonly type: "function";
56917
- readonly name: "getMaxPositionSizes";
56918
- readonly inputs: readonly [{
56919
- readonly name: "market";
56920
- readonly type: "address";
56921
- readonly internalType: "contract TimelockOptionsMarket";
56922
- }, {
56923
- readonly name: "strikeTick";
56924
- readonly type: "int24";
56925
- readonly internalType: "int24";
56926
- }, {
56927
- readonly name: "maxSteps";
56928
- readonly type: "int24";
56929
- readonly internalType: "int24";
56930
- }];
56931
- readonly outputs: readonly [{
56932
- readonly name: "maxCallSize";
56933
- readonly type: "uint256";
56934
- readonly internalType: "uint256";
56935
- }, {
56936
- readonly name: "maxPutSize";
56937
- readonly type: "uint256";
56938
- readonly internalType: "uint256";
56939
- }];
56940
- readonly stateMutability: "view";
56941
- }, {
56942
- readonly type: "function";
56943
- readonly name: "getOptionData";
56944
- readonly inputs: readonly [{
56945
- readonly name: "market";
56946
- readonly type: "address";
56947
- readonly internalType: "contract TimelockOptionsMarket";
56948
- }, {
56949
- readonly name: "optionId";
56950
- readonly type: "uint256";
56951
- readonly internalType: "uint256";
56952
56477
  }];
56953
56478
  readonly outputs: readonly [{
56954
56479
  readonly name: "";
56955
- readonly type: "tuple";
56956
- readonly internalType: "struct TimelockLens.OptionData";
56957
- readonly components: readonly [{
56958
- readonly name: "optionId";
56959
- readonly type: "uint256";
56960
- readonly internalType: "uint256";
56961
- }, {
56962
- readonly name: "owner";
56963
- readonly type: "address";
56964
- readonly internalType: "address";
56965
- }, {
56966
- readonly name: "optionType";
56967
- readonly type: "uint8";
56968
- readonly internalType: "uint8";
56969
- }, {
56970
- readonly name: "startTick";
56971
- readonly type: "int24";
56972
- readonly internalType: "int24";
56973
- }, {
56974
- readonly name: "strikeTick";
56975
- readonly type: "int24";
56976
- readonly internalType: "int24";
56977
- }, {
56978
- readonly name: "strikePrice";
56979
- readonly type: "uint256";
56980
- readonly internalType: "uint256";
56981
- }, {
56982
- readonly name: "positionSize";
56983
- readonly type: "uint256";
56984
- readonly internalType: "uint256";
56985
- }, {
56986
- readonly name: "expiresAt";
56987
- readonly type: "uint32";
56988
- readonly internalType: "uint32";
56989
- }, {
56990
- readonly name: "liquidities";
56991
- readonly type: "uint128[]";
56992
- readonly internalType: "uint128[]";
56993
- }];
56994
- }];
56995
- readonly stateMutability: "view";
56996
- }, {
56997
- readonly type: "function";
56998
- readonly name: "getOptionPricingParams";
56999
- readonly inputs: readonly [{
57000
- readonly name: "pricing";
57001
- readonly type: "address";
57002
- readonly internalType: "contract OptionPricing";
57003
- }];
57004
- readonly outputs: readonly [{
57005
- readonly name: "params";
57006
- readonly type: "tuple";
57007
- readonly internalType: "struct TimelockLens.OptionPricingParams";
57008
- readonly components: readonly [{
57009
- readonly name: "logicContract";
57010
- readonly type: "address";
57011
- readonly internalType: "contract StatelessOptionPricing";
57012
- }, {
57013
- readonly name: "iv";
57014
- readonly type: "uint32";
57015
- readonly internalType: "uint32";
57016
- }, {
57017
- readonly name: "riskFreeRate";
57018
- readonly type: "uint32";
57019
- readonly internalType: "uint32";
57020
- }, {
57021
- readonly name: "minPremiumDailyRate";
57022
- readonly type: "uint32";
57023
- readonly internalType: "uint32";
57024
- }, {
57025
- readonly name: "minPremiumAmount";
57026
- readonly type: "uint256";
57027
- readonly internalType: "uint256";
57028
- }];
57029
- }];
57030
- readonly stateMutability: "view";
57031
- }, {
57032
- readonly type: "function";
57033
- readonly name: "getOptionsData";
57034
- readonly inputs: readonly [{
57035
- readonly name: "market";
57036
- readonly type: "address";
57037
- readonly internalType: "contract TimelockOptionsMarket";
57038
- }, {
57039
- readonly name: "optionIds";
57040
- readonly type: "uint256[]";
57041
- readonly internalType: "uint256[]";
57042
- }];
57043
- readonly outputs: readonly [{
57044
- readonly name: "optionsData";
57045
- readonly type: "tuple[]";
57046
- readonly internalType: "struct TimelockLens.OptionData[]";
57047
- readonly components: readonly [{
57048
- readonly name: "optionId";
57049
- readonly type: "uint256";
57050
- readonly internalType: "uint256";
57051
- }, {
57052
- readonly name: "owner";
57053
- readonly type: "address";
57054
- readonly internalType: "address";
57055
- }, {
57056
- readonly name: "optionType";
57057
- readonly type: "uint8";
57058
- readonly internalType: "uint8";
57059
- }, {
57060
- readonly name: "startTick";
57061
- readonly type: "int24";
57062
- readonly internalType: "int24";
57063
- }, {
57064
- readonly name: "strikeTick";
57065
- readonly type: "int24";
57066
- readonly internalType: "int24";
57067
- }, {
57068
- readonly name: "strikePrice";
57069
- readonly type: "uint256";
57070
- readonly internalType: "uint256";
57071
- }, {
57072
- readonly name: "positionSize";
57073
- readonly type: "uint256";
57074
- readonly internalType: "uint256";
57075
- }, {
57076
- readonly name: "expiresAt";
57077
- readonly type: "uint32";
57078
- readonly internalType: "uint32";
57079
- }, {
57080
- readonly name: "liquidities";
57081
- readonly type: "uint128[]";
57082
- readonly internalType: "uint128[]";
57083
- }];
57084
- }];
57085
- readonly stateMutability: "view";
57086
- }, {
57087
- readonly type: "function";
57088
- readonly name: "getPoolData";
57089
- readonly inputs: readonly [{
57090
- readonly name: "poolManager";
57091
- readonly type: "address";
57092
- readonly internalType: "contract IPoolManager";
57093
- }, {
57094
- readonly name: "poolKey";
57095
- readonly type: "tuple";
57096
- readonly internalType: "struct PoolKey";
57097
- readonly components: readonly [{
57098
- readonly name: "currency0";
57099
- readonly type: "address";
57100
- readonly internalType: "Currency";
57101
- }, {
57102
- readonly name: "currency1";
57103
- readonly type: "address";
57104
- readonly internalType: "Currency";
57105
- }, {
57106
- readonly name: "fee";
57107
- readonly type: "uint24";
57108
- readonly internalType: "uint24";
57109
- }, {
57110
- readonly name: "tickSpacing";
57111
- readonly type: "int24";
57112
- readonly internalType: "int24";
57113
- }, {
57114
- readonly name: "hooks";
57115
- readonly type: "address";
57116
- readonly internalType: "contract IHooks";
57117
- }];
57118
- }];
57119
- readonly outputs: readonly [{
57120
- readonly name: "poolData";
57121
- readonly type: "tuple";
57122
- readonly internalType: "struct TimelockLens.UniswapPoolData";
57123
- readonly components: readonly [{
57124
- readonly name: "token0";
57125
- readonly type: "address";
57126
- readonly internalType: "address";
57127
- }, {
57128
- readonly name: "token1";
57129
- readonly type: "address";
57130
- readonly internalType: "address";
57131
- }, {
57132
- readonly name: "token0Decimals";
57133
- readonly type: "uint8";
57134
- readonly internalType: "uint8";
57135
- }, {
57136
- readonly name: "token1Decimals";
57137
- readonly type: "uint8";
57138
- readonly internalType: "uint8";
57139
- }, {
57140
- readonly name: "token0Symbol";
57141
- readonly type: "string";
57142
- readonly internalType: "string";
57143
- }, {
57144
- readonly name: "token1Symbol";
57145
- readonly type: "string";
57146
- readonly internalType: "string";
57147
- }, {
57148
- readonly name: "token0Name";
57149
- readonly type: "string";
57150
- readonly internalType: "string";
57151
- }, {
57152
- readonly name: "token1Name";
57153
- readonly type: "string";
57154
- readonly internalType: "string";
57155
- }, {
57156
- readonly name: "tickSpacing";
57157
- readonly type: "int24";
57158
- readonly internalType: "int24";
57159
- }, {
57160
- readonly name: "fee";
57161
- readonly type: "uint24";
57162
- readonly internalType: "uint24";
57163
- }];
57164
- }];
57165
- readonly stateMutability: "view";
57166
- }, {
57167
- readonly type: "function";
57168
- readonly name: "getPricingParams";
57169
- readonly inputs: readonly [{
57170
- readonly name: "pricing";
57171
- readonly type: "address";
57172
- readonly internalType: "address";
57173
- }];
57174
- readonly outputs: readonly [{
57175
- readonly name: "pricingModel";
57176
- readonly type: "uint8";
57177
- readonly internalType: "uint8";
57178
- }, {
57179
- readonly name: "data";
57180
56480
  readonly type: "bytes";
57181
- readonly internalType: "bytes";
57182
- }];
57183
- readonly stateMutability: "view";
57184
- }, {
57185
- readonly type: "function";
57186
- readonly name: "getRefTick";
57187
- readonly inputs: readonly [{
57188
- readonly name: "vault";
57189
- readonly type: "address";
57190
- readonly internalType: "contract TimelockSingleOwnerVault";
57191
- }, {
57192
- readonly name: "tickLower";
57193
- readonly type: "int24";
57194
- readonly internalType: "int24";
57195
- }];
57196
- readonly outputs: readonly [{
57197
- readonly name: "refTick";
57198
- readonly type: "int24";
57199
- readonly internalType: "int24";
57200
- }];
57201
- readonly stateMutability: "view";
57202
- }, {
57203
- readonly type: "function";
57204
- readonly name: "getStaticPricingParams";
57205
- readonly inputs: readonly [{
57206
- readonly name: "pricing";
57207
- readonly type: "address";
57208
- readonly internalType: "contract StaticPerpsPricing";
57209
- }];
57210
- readonly outputs: readonly [{
57211
- readonly name: "params";
57212
- readonly type: "tuple";
57213
- readonly internalType: "struct TimelockLens.StaticPerpsPricingParams";
57214
- readonly components: readonly [{
57215
- readonly name: "dailyFundingRate";
57216
- readonly type: "uint32";
57217
- readonly internalType: "uint32";
57218
- }, {
57219
- readonly name: "minFundingAmount";
57220
- readonly type: "uint128";
57221
- readonly internalType: "uint128";
57222
- }];
57223
- }];
57224
- readonly stateMutability: "view";
57225
- }, {
57226
- readonly type: "function";
57227
- readonly name: "getTokenData";
57228
- readonly inputs: readonly [{
57229
- readonly name: "token";
57230
- readonly type: "address";
57231
- readonly internalType: "address";
57232
- }];
57233
- readonly outputs: readonly [{
57234
- readonly name: "tokenData";
57235
- readonly type: "tuple";
57236
- readonly internalType: "struct TimelockLens.TokenData";
57237
- readonly components: readonly [{
57238
- readonly name: "decimals";
57239
- readonly type: "uint8";
57240
- readonly internalType: "uint8";
57241
- }, {
57242
- readonly name: "symbol";
57243
- readonly type: "string";
57244
- readonly internalType: "string";
57245
- }, {
57246
- readonly name: "name";
57247
- readonly type: "string";
57248
- readonly internalType: "string";
57249
- }];
57250
- }];
57251
- readonly stateMutability: "view";
57252
- }, {
57253
- readonly type: "function";
57254
- readonly name: "getUserOptions";
57255
- readonly inputs: readonly [{
57256
- readonly name: "market";
57257
- readonly type: "address";
57258
- readonly internalType: "contract TimelockOptionsMarket";
57259
- }, {
57260
- readonly name: "user";
57261
- readonly type: "address";
57262
- readonly internalType: "address";
57263
- }, {
57264
- readonly name: "startId";
57265
- readonly type: "uint256";
57266
- readonly internalType: "uint256";
57267
- }, {
57268
- readonly name: "limit";
57269
- readonly type: "uint256";
57270
- readonly internalType: "uint256";
57271
- }];
57272
- readonly outputs: readonly [{
57273
- readonly name: "userOptions";
57274
- readonly type: "tuple[]";
57275
- readonly internalType: "struct TimelockLens.OptionData[]";
57276
- readonly components: readonly [{
57277
- readonly name: "optionId";
57278
- readonly type: "uint256";
57279
- readonly internalType: "uint256";
57280
- }, {
57281
- readonly name: "owner";
57282
- readonly type: "address";
57283
- readonly internalType: "address";
57284
- }, {
57285
- readonly name: "optionType";
57286
- readonly type: "uint8";
57287
- readonly internalType: "uint8";
57288
- }, {
57289
- readonly name: "startTick";
57290
- readonly type: "int24";
57291
- readonly internalType: "int24";
57292
- }, {
57293
- readonly name: "strikeTick";
57294
- readonly type: "int24";
57295
- readonly internalType: "int24";
57296
- }, {
57297
- readonly name: "strikePrice";
57298
- readonly type: "uint256";
57299
- readonly internalType: "uint256";
57300
- }, {
57301
- readonly name: "positionSize";
57302
- readonly type: "uint256";
57303
- readonly internalType: "uint256";
57304
- }, {
57305
- readonly name: "expiresAt";
57306
- readonly type: "uint32";
57307
- readonly internalType: "uint32";
57308
- }, {
57309
- readonly name: "liquidities";
57310
- readonly type: "uint128[]";
57311
- readonly internalType: "uint128[]";
57312
- }];
57313
- }, {
57314
- readonly name: "nextStartId";
57315
- readonly type: "uint256";
57316
- readonly internalType: "uint256";
57317
- }, {
57318
- readonly name: "hasMore";
57319
- readonly type: "bool";
57320
- readonly internalType: "bool";
57321
56481
  }];
57322
- readonly stateMutability: "view";
57323
- }, {
57324
- readonly type: "function";
57325
- readonly name: "getVaultData";
57326
- readonly inputs: readonly [{
57327
- readonly name: "vault";
57328
- readonly type: "address";
57329
- readonly internalType: "contract TimelockSingleOwnerVault";
57330
- }];
57331
- readonly outputs: readonly [{
57332
- readonly name: "vaultData";
57333
- readonly type: "tuple";
57334
- readonly internalType: "struct TimelockLens.TimelockVaultData";
57335
- readonly components: readonly [{
57336
- readonly name: "poolManager";
57337
- readonly type: "address";
57338
- readonly internalType: "contract IPoolManager";
57339
- }, {
57340
- readonly name: "poolKey";
57341
- readonly type: "tuple";
57342
- readonly internalType: "struct PoolKey";
57343
- readonly components: readonly [{
57344
- readonly name: "currency0";
57345
- readonly type: "address";
57346
- readonly internalType: "Currency";
57347
- }, {
57348
- readonly name: "currency1";
57349
- readonly type: "address";
57350
- readonly internalType: "Currency";
57351
- }, {
57352
- readonly name: "fee";
57353
- readonly type: "uint24";
57354
- readonly internalType: "uint24";
57355
- }, {
57356
- readonly name: "tickSpacing";
57357
- readonly type: "int24";
57358
- readonly internalType: "int24";
57359
- }, {
57360
- readonly name: "hooks";
57361
- readonly type: "address";
57362
- readonly internalType: "contract IHooks";
57363
- }];
57364
- }, {
57365
- readonly name: "owner";
57366
- readonly type: "address";
57367
- readonly internalType: "address";
57368
- }];
57369
- }];
57370
- readonly stateMutability: "view";
57371
- }, {
57372
- readonly type: "function";
57373
- readonly name: "getVaultTVL";
57374
- readonly inputs: readonly [{
57375
- readonly name: "vault";
57376
- readonly type: "address";
57377
- readonly internalType: "contract TimelockSingleOwnerVault";
57378
- }];
57379
- readonly outputs: readonly [{
57380
- readonly name: "total0";
57381
- readonly type: "uint256";
57382
- readonly internalType: "uint256";
57383
- }, {
57384
- readonly name: "total1";
57385
- readonly type: "uint256";
57386
- readonly internalType: "uint256";
57387
- }, {
57388
- readonly name: "borrowed0";
57389
- readonly type: "uint256";
57390
- readonly internalType: "uint256";
57391
- }, {
57392
- readonly name: "borrowed1";
57393
- readonly type: "uint256";
57394
- readonly internalType: "uint256";
57395
- }, {
57396
- readonly name: "tvlAs0";
57397
- readonly type: "uint256";
57398
- readonly internalType: "uint256";
57399
- }, {
57400
- readonly name: "tvlAs1";
57401
- readonly type: "uint256";
57402
- readonly internalType: "uint256";
57403
- }, {
57404
- readonly name: "blocksCount";
57405
- readonly type: "uint256";
57406
- readonly internalType: "uint256";
57407
- }];
57408
- readonly stateMutability: "view";
57409
- }], "getPricingParams", readonly [`0x${string}`], MarketPricingData>;
56482
+ }], "readState", readonly [`0x${string}`], PricingParams>;
57410
56483
  //#endregion
57411
56484
  //#region src/hooks/pricing/useOptionPricingParams.d.ts
57412
56485
  declare const useOptionPricingParams: (pricingAddr?: Address) => Partial<NonUndefinedGuard<{
@@ -57425,8 +56498,8 @@ declare const useStaticPricingParams: (pricingAddr?: Address) => Partial<NonUnde
57425
56498
  //#endregion
57426
56499
  //#region src/hooks/pricing/useUpdateMarketPricing.d.ts
57427
56500
  declare const useUpdateMarketPricing: (marketAddr: Address) => {
57428
- data: undefined;
57429
56501
  error: null;
56502
+ data: undefined;
57430
56503
  status: "idle";
57431
56504
  isError: false;
57432
56505
  isPending: false;
@@ -57440,9 +56513,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57440
56513
  context: unknown;
57441
56514
  submittedAt: number;
57442
56515
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
57443
- updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingData> & {
56516
+ updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
57444
56517
  model: "static";
57445
- } : Partial<OptionPricingData> & {
56518
+ } : Partial<OptionPricingParams> & {
57446
56519
  model: "option";
57447
56520
  }) => Promise<{
57448
56521
  deployHash: `0x${string}`;
@@ -57450,8 +56523,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57450
56523
  newPricingAddr: `0x${string}`;
57451
56524
  }>;
57452
56525
  } | {
57453
- data: undefined;
57454
56526
  error: null;
56527
+ data: undefined;
57455
56528
  status: "pending";
57456
56529
  isError: false;
57457
56530
  isPending: true;
@@ -57609,9 +56682,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57609
56682
  context: unknown;
57610
56683
  submittedAt: number;
57611
56684
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
57612
- updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingData> & {
56685
+ updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
57613
56686
  model: "static";
57614
- } : Partial<OptionPricingData> & {
56687
+ } : Partial<OptionPricingParams> & {
57615
56688
  model: "option";
57616
56689
  }) => Promise<{
57617
56690
  deployHash: `0x${string}`;
@@ -57619,8 +56692,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57619
56692
  newPricingAddr: `0x${string}`;
57620
56693
  }>;
57621
56694
  } | {
57622
- data: undefined;
57623
56695
  error: _wagmi_core0.WriteContractErrorType;
56696
+ data: undefined;
57624
56697
  status: "error";
57625
56698
  isError: true;
57626
56699
  isPending: false;
@@ -57778,9 +56851,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57778
56851
  context: unknown;
57779
56852
  submittedAt: number;
57780
56853
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
57781
- updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingData> & {
56854
+ updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
57782
56855
  model: "static";
57783
- } : Partial<OptionPricingData> & {
56856
+ } : Partial<OptionPricingParams> & {
57784
56857
  model: "option";
57785
56858
  }) => Promise<{
57786
56859
  deployHash: `0x${string}`;
@@ -57788,8 +56861,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57788
56861
  newPricingAddr: `0x${string}`;
57789
56862
  }>;
57790
56863
  } | {
57791
- data: `0x${string}`;
57792
56864
  error: null;
56865
+ data: `0x${string}`;
57793
56866
  status: "success";
57794
56867
  isError: false;
57795
56868
  isPending: false;
@@ -57947,9 +57020,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address) => {
57947
57020
  context: unknown;
57948
57021
  submittedAt: number;
57949
57022
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
57950
- updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingData> & {
57023
+ updateMarketPricing: <T$1 extends "static" | "option">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
57951
57024
  model: "static";
57952
- } : Partial<OptionPricingData> & {
57025
+ } : Partial<OptionPricingParams> & {
57953
57026
  model: "option";
57954
57027
  }) => Promise<{
57955
57028
  deployHash: `0x${string}`;
@@ -100091,5 +99164,5 @@ declare const useLens: () => {
100091
99164
  } | undefined;
100092
99165
  };
100093
99166
  //#endregion
100094
- export { PriceResolution as $, getTimelockMarket 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, getTimelockLens 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, getErc20 as Xt, token1ToToken0 as Y, UniswapMathLens as Yt, PriceData as Z, getStateView 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, stateViews 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, timelockLenses as in, 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, swappers 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, timelockFactories as rn, useUserOperators as rt, StaticPricingData as s, useUserPerps as st, useLens as t, swapRouters 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 };
100095
- //# sourceMappingURL=client-BFhMekeP.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-Dp-YTEVp.d.ts.map