@panoptic-eng/sdk 1.0.44 → 1.0.46

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.
@@ -80,6 +80,16 @@ declare const MIN_TICK = -887272n;
80
80
  * Maximum tick value for Uniswap v3/v4 pools.
81
81
  */
82
82
  declare const MAX_TICK = 887272n;
83
+ /**
84
+ * PanopticQuery sentinel indicating that no lower liquidation boundary exists.
85
+ * This is int24.min, not Uniswap's minimum usable tick.
86
+ */
87
+ declare const NO_LOWER_LIQUIDATION_TICK: bigint;
88
+ /**
89
+ * PanopticQuery sentinel indicating that no upper liquidation boundary exists.
90
+ * This is int24.max, not Uniswap's maximum usable tick.
91
+ */
92
+ declare const NO_UPPER_LIQUIDATION_TICK: bigint;
83
93
  /**
84
94
  * Basis points denominator (100% = 10000 bps).
85
95
  */
@@ -1079,11 +1089,13 @@ interface NetLiquidationValues {
1079
1089
  * Liquidation prices result.
1080
1090
  */
1081
1091
  interface LiquidationPrices {
1082
- /** Lower liquidation tick (null if position is safe at MIN_TICK) */
1092
+ /** Lower liquidation tick (null when PanopticQuery reports no lower boundary) */
1083
1093
  lowerTick: bigint | null;
1084
- /** Upper liquidation tick (null if position is safe at MAX_TICK) */
1094
+ /** Upper liquidation tick (null when PanopticQuery reports no upper boundary) */
1085
1095
  upperTick: bigint | null;
1086
- /** Whether the account is currently liquidatable */
1096
+ /** Whether either liquidation boundary exists. This does not indicate current insolvency. */
1097
+ hasLiquidationBoundary: boolean;
1098
+ /** @deprecated Use hasLiquidationBoundary. This does not indicate current insolvency. */
1087
1099
  isLiquidatable: boolean;
1088
1100
  /** Block metadata */
1089
1101
  _meta: BlockMeta;
@@ -2854,6 +2866,23 @@ interface ForceExerciseSimulation {
2854
2866
  /** Reason if cannot exercise */
2855
2867
  reason?: string;
2856
2868
  }
2869
+ /**
2870
+ * Settle-premium-on-another-account simulation result data.
2871
+ */
2872
+ interface SettlePremiumFromSimulation {
2873
+ /** Short premium the settle makes available to the caller (token 0) */
2874
+ premium0: bigint;
2875
+ /** Short premium the settle makes available to the caller (token 1) */
2876
+ premium1: bigint;
2877
+ /** Total premium the buyer pays into the chunk (token 0) */
2878
+ settled0: bigint;
2879
+ /** Total premium the buyer pays into the chunk (token 1) */
2880
+ settled1: bigint;
2881
+ /** Whether the settlement would succeed */
2882
+ canSettle: boolean;
2883
+ /** Reason if cannot settle */
2884
+ reason?: string;
2885
+ }
2857
2886
  /**
2858
2887
  * Liquidation simulation result data.
2859
2888
  */
@@ -2922,6 +2951,10 @@ interface DispatchSimulation {
2922
2951
  netAmount0: bigint;
2923
2952
  /** Token 1 net change */
2924
2953
  netAmount1: bigint;
2954
+ /** Premia settled for token 0 (null when atomic pre/post position reads are unavailable). */
2955
+ premiaReceived0: bigint | null;
2956
+ /** Premia settled for token 1 (null when atomic pre/post position reads are unavailable). */
2957
+ premiaReceived1: bigint | null;
2925
2958
  /** Positions created */
2926
2959
  positionsCreated: bigint[];
2927
2960
  /** Positions closed */
@@ -3924,6 +3957,66 @@ declare function deriveUniqueTokenId(params: DeriveUniqueTokenIdParams): DeriveU
3924
3957
  */
3925
3958
  declare function planDeriveStrategy(baseTokenId: bigint): DeriveStrategy;
3926
3959
 
3960
+ //#endregion
3961
+ //#region src/panoptic/v2/tokenId/generateOverlapping.d.ts
3962
+ type OverlappingOptionType = 'call' | 'put';
3963
+ /** One option leg repeated at every generated strike. */
3964
+ interface OverlappingOptionLegConfig {
3965
+ optionType: OverlappingOptionType;
3966
+ optionRatio: bigint;
3967
+ isLong: boolean;
3968
+ /** Defaults to this leg's index. */
3969
+ riskPartner?: bigint;
3970
+ }
3971
+ /** Parameters for {@link generateOverlappingTokenIds}. */
3972
+ interface GenerateOverlappingTokenIdsParams {
3973
+ /** Encoded 64-bit Panoptic pool ID, including tick spacing. */
3974
+ poolId: bigint;
3975
+ /** Current Uniswap pool tick. */
3976
+ currentTick: bigint;
3977
+ /** Standard option timescale used to derive every leg's width. */
3978
+ timescale: Timescale;
3979
+ /** Positive quote-token price interval, such as "25" or "50". */
3980
+ strikePriceSpacing: string;
3981
+ /** Asset token index in the pool (0 or 1). */
3982
+ asset: bigint;
3983
+ assetDecimals: bigint;
3984
+ quoteDecimals: bigint;
3985
+ /** One to four call/put legs sharing each generated strike. */
3986
+ legs: readonly OverlappingOptionLegConfig[];
3987
+ /** Total size divided across all generated TokenIds. */
3988
+ positionSize: bigint;
3989
+ }
3990
+ /** TokenIds and sizes aligned with the corresponding `dispatch()` arguments. */
3991
+ interface GenerateOverlappingTokenIdsResult {
3992
+ positionIdList: bigint[];
3993
+ positionSizes: bigint[];
3994
+ }
3995
+ /**
3996
+ * Generate a fixed quote-price lattice of co-strike TokenIds whose liquidity
3997
+ * ranges strictly contain the current tick. Returned arrays are ordered by
3998
+ * ascending quote strike price and are ready for `dispatch()`.
3999
+ */
4000
+ declare function generateOverlappingTokenIds(params: GenerateOverlappingTokenIdsParams): GenerateOverlappingTokenIdsResult;
4001
+
4002
+ //#endregion
4003
+ //#region src/panoptic/v2/tokenId/split.d.ts
4004
+ /** TokenIds and sizes aligned with the corresponding `dispatch()` arguments. */
4005
+ interface SplitTokenIdByTimescaleResult {
4006
+ positionIdList: bigint[];
4007
+ positionSizes: bigint[];
4008
+ }
4009
+ /**
4010
+ * Split every standalone option, economic straddle, or mutual risk pair in a
4011
+ * TokenId into a shorter standard timescale. Width-zero credit/loan legs are
4012
+ * emitted together as one final position. Returned arrays are parallel and
4013
+ * ready for `dispatch()`.
4014
+ *
4015
+ * Each option group divides `positionSize` independently across its children.
4016
+ * Integer remainder units are assigned to the lower children first.
4017
+ */
4018
+ declare function splitTokenIdByTimescale(tokenId: bigint, positionSize: bigint, targetTimescale: Timescale): SplitTokenIdByTimescaleResult;
4019
+
3927
4020
  //#endregion
3928
4021
  //#region src/panoptic/v2/sfpmSwap/types.d.ts
3929
4022
  /** Exact-input or exact-output swap. */
@@ -4605,6 +4698,54 @@ interface GetPositionsWithPremiaParams {
4605
4698
  * ```
4606
4699
  */
4607
4700
  declare function getPositionsWithPremia(params: GetPositionsWithPremiaParams): Promise<PositionsWithPremiaResult>;
4701
+ /**
4702
+ * Forfeitable (unsettled) short premium on a position.
4703
+ */
4704
+ interface ForfeitablePremium {
4705
+ /** Short premium owed to the account, including unsettled pending premium (token 0) */
4706
+ owed0: bigint;
4707
+ /** Short premium owed to the account, including unsettled pending premium (token 1) */
4708
+ owed1: bigint;
4709
+ /** Short premium currently available to collect (token 0) */
4710
+ available0: bigint;
4711
+ /** Short premium currently available to collect (token 1) */
4712
+ available1: bigint;
4713
+ /** Premium that would be forfeited if the position were closed now (owed - available, token 0) */
4714
+ forfeit0: bigint;
4715
+ /** Premium that would be forfeited if the position were closed now (owed - available, token 1) */
4716
+ forfeit1: bigint;
4717
+ /** Block metadata */
4718
+ _meta: BlockMeta;
4719
+ }
4720
+ /**
4721
+ * Parameters for getForfeitablePremium.
4722
+ */
4723
+ interface GetForfeitablePremiumParams {
4724
+ /** viem PublicClient */
4725
+ client: PublicClient;
4726
+ /** PanopticPool address */
4727
+ poolAddress: Address;
4728
+ /** Account address (the seller) */
4729
+ account: Address;
4730
+ /** TokenIds to measure (typically the position(s) being closed) */
4731
+ tokenIds: bigint[];
4732
+ /** Optional block number for historical queries */
4733
+ blockNumber?: bigint;
4734
+ }
4735
+ /**
4736
+ * Get the unsettled short premium an account would forfeit by closing now.
4737
+ *
4738
+ * Calls `getFullPositionsData` twice in one multicall — once with
4739
+ * `includePendingPremium = true` (everything owed to the short legs) and once
4740
+ * with `false` (only what is available to collect). The difference is the
4741
+ * premium still owed by buyers that has not been settled; closing before it
4742
+ * settles forfeits it. Settling buyers first (see `settlePremiumFrom`) moves
4743
+ * that premium into the available bucket.
4744
+ *
4745
+ * @param params - The parameters
4746
+ * @returns Owed, available, and forfeitable premium with block metadata
4747
+ */
4748
+ declare function getForfeitablePremium(params: GetForfeitablePremiumParams): Promise<ForfeitablePremium>;
4608
4749
 
4609
4750
  //#endregion
4610
4751
  //#region src/panoptic/v2/reads/account.d.ts
@@ -6661,9 +6802,9 @@ interface MarginBuffer {
6661
6802
  denominatedInToken: 0 | 1;
6662
6803
  /** Tick distance to nearest liquidation boundary (null if no liquidation boundaries) */
6663
6804
  liquidationDistance: bigint | null;
6664
- /** Lower liquidation tick (null if safe at MIN_TICK) */
6805
+ /** Lower liquidation tick (null for the PanopticQuery NO_LOWER_LIQUIDATION_TICK sentinel) */
6665
6806
  lowerLiquidationTick: bigint | null;
6666
- /** Upper liquidation tick (null if safe at MAX_TICK) */
6807
+ /** Upper liquidation tick (null for the PanopticQuery NO_UPPER_LIQUIDATION_TICK sentinel) */
6667
6808
  upperLiquidationTick: bigint | null;
6668
6809
  /**
6669
6810
  * Collateral usage against the constraint that actually liquidates, in bps
@@ -9219,6 +9360,8 @@ interface LiquidateParams {
9219
9360
  positionIdListToFinal: bigint[];
9220
9361
  /** Packed value for using premia as collateral */
9221
9362
  usePremiaAsCollateral?: bigint;
9363
+ /** Native currency supplied to cover a negative token0 liquidation bonus */
9364
+ value?: bigint;
9222
9365
  /** Gas and transaction overrides */
9223
9366
  txOverrides?: TxOverrides;
9224
9367
  }
@@ -9316,6 +9459,231 @@ declare function forceExercise(params: ForceExerciseParams): Promise<TxResult>;
9316
9459
  */
9317
9460
  declare function forceExerciseAndWait(params: ForceExerciseParams): Promise<TxReceipt>;
9318
9461
 
9462
+ //#endregion
9463
+ //#region src/panoptic/v2/writes/settlePremiumFrom.d.ts
9464
+ /**
9465
+ * Reorder a position ID list so `tokenId` is the last element.
9466
+ *
9467
+ * The position list fingerprint is an XOR hash, so ordering is free to change.
9468
+ * The contract settles premium on the last element of `positionIdListTo`.
9469
+ *
9470
+ * @throws PanopticError if `tokenId` is not in the list
9471
+ */
9472
+ declare function orderListForSettle(positionIdList: bigint[], tokenId: bigint): bigint[];
9473
+ /**
9474
+ * Parameters for settling another account's long premium.
9475
+ */
9476
+ interface SettlePremiumFromParams {
9477
+ /** Public client */
9478
+ client: PublicClient;
9479
+ /** Wallet client */
9480
+ walletClient: WalletClient;
9481
+ /** Caller (settler) account address */
9482
+ account: Address;
9483
+ /** PanopticPool address */
9484
+ poolAddress: Address;
9485
+ /** Account whose long premium is being settled */
9486
+ user: Address;
9487
+ /** Position IDs from the caller's account (full held list) */
9488
+ positionIdListFrom: bigint[];
9489
+ /** The target user's full held position ID list (passed as both To and ToFinal) */
9490
+ positionIdList: bigint[];
9491
+ /**
9492
+ * The target position to settle premium on. The contract settles the LAST
9493
+ * element of the list; when provided, the list is reordered to end with
9494
+ * this tokenId. When omitted, the last element of `positionIdList` is settled.
9495
+ */
9496
+ tokenId?: bigint;
9497
+ /** Packed value for using premia as collateral */
9498
+ usePremiaAsCollateral?: bigint;
9499
+ /** Gas and transaction overrides */
9500
+ txOverrides?: TxOverrides;
9501
+ /** Storage adapter for auto-syncing positions after confirmation */
9502
+ storage?: StorageAdapter;
9503
+ /** Chain ID (required when storage is provided) */
9504
+ chainId?: bigint;
9505
+ }
9506
+ /**
9507
+ * Settle another account's accumulated long premium.
9508
+ *
9509
+ * Calls `dispatchFrom` with the target's position list passed as both
9510
+ * `positionIdListTo` and `positionIdListToFinal` (equal lengths select the
9511
+ * settle-premium mode and cannot force-exercise or liquidate). Requires the
9512
+ * target account to be solvent; the settled premium is credited to the
9513
+ * sellers of the corresponding chunks.
9514
+ *
9515
+ * @param params - Settle premium parameters
9516
+ * @returns TxResult
9517
+ *
9518
+ * @example
9519
+ * ```typescript
9520
+ * const result = await settlePremiumFrom({
9521
+ * client,
9522
+ * walletClient,
9523
+ * account: sellerAddress,
9524
+ * poolAddress,
9525
+ * user: buyerAccount,
9526
+ * positionIdListFrom: sellerPositions,
9527
+ * positionIdList: buyerPositions,
9528
+ * })
9529
+ * const receipt = await result.wait()
9530
+ * ```
9531
+ */
9532
+ declare function settlePremiumFrom(params: SettlePremiumFromParams): Promise<TxResult>;
9533
+ /**
9534
+ * Settle another account's premium and wait for confirmation.
9535
+ *
9536
+ * When `storage` and `chainId` are provided, automatically syncs the
9537
+ * caller's positions after the transaction confirms.
9538
+ */
9539
+ declare function settlePremiumFromAndWait(params: SettlePremiumFromParams): Promise<TxReceipt>;
9540
+
9541
+ //#endregion
9542
+ //#region src/panoptic/v2/simulations/creditWrap.d.ts
9543
+ /**
9544
+ * Pre-encoded `dispatch()` arguments a credit wrap is applied to.
9545
+ *
9546
+ * Alias of {@link BatchDispatchArgs} — the two are the same concept.
9547
+ */
9548
+ type DispatchIntent = BatchDispatchArgs;
9549
+ /**
9550
+ * Which side of the swap is exact.
9551
+ *
9552
+ * - `exact-out`: the credit **sources** a known amount of its token, paying a
9553
+ * swapped amount of the counter-token. Mint carries `swapAtMint=true`.
9554
+ * - `exact-in`: the credit **sells** a known amount of its token, receiving a
9555
+ * swapped amount of the counter-token. Burn carries `swapAtMint=true`.
9556
+ */
9557
+ type CreditWrapDirection = 'exact-in' | 'exact-out';
9558
+ /**
9559
+ * Where the two credit legs sit relative to the user's own operations.
9560
+ *
9561
+ * - `straddle`: mint first, user ops, burn last. Required for `exact-out`, where
9562
+ * the sourced token must be available while the user's ops run.
9563
+ * - `prepend`: both legs before the user's ops. Used by bootstrap recovery when
9564
+ * the account can sell one collateral token but holds none of the token it needs.
9565
+ * - `append`: both legs after the user's ops, for flows where the token being
9566
+ * sold does not exist until those operations run.
9567
+ */
9568
+ type CreditWrapPlacement = 'append' | 'prepend' | 'straddle';
9569
+ interface BuildCreditWrappedDispatchParams {
9570
+ dispatch: DispatchIntent;
9571
+ /** The temporary width=0 credit leg. */
9572
+ creditTokenId: bigint;
9573
+ /** Size of the mint leg. The burn leg always passes `0n` (= burn all). */
9574
+ creditPositionSize: bigint;
9575
+ tickLimitLow: bigint;
9576
+ tickLimitHigh: bigint;
9577
+ direction: CreditWrapDirection;
9578
+ placement: CreditWrapPlacement;
9579
+ }
9580
+ /**
9581
+ * Wrap a dispatch with a temporary credit leg that is opened and closed in the
9582
+ * same transaction, netting to a swap.
9583
+ *
9584
+ * `swapAtMint` is not a calldata flag — it is the ORDER of the tick-limit pair:
9585
+ * descending `[high, low]` turns the swap on, ascending `[low, high]` leaves it
9586
+ * off. Exactly one of the two legs carries it, and which one is what makes the
9587
+ * swap exact-in vs exact-out.
9588
+ */
9589
+ declare function buildCreditWrappedDispatch(params: BuildCreditWrappedDispatchParams): DispatchIntent;
9590
+
9591
+ //#endregion
9592
+ //#region src/panoptic/v2/writes/settleSequence.d.ts
9593
+ /**
9594
+ * One buyer whose long premium is settled by the sequence.
9595
+ */
9596
+ interface SettleSequenceTarget {
9597
+ /** Account whose long premium is being settled */
9598
+ user: Address;
9599
+ /** The target user's full held position ID list */
9600
+ positionIdList: bigint[];
9601
+ /** The position to settle premium on (reordered to the end of the list) */
9602
+ tokenId: bigint;
9603
+ }
9604
+ /**
9605
+ * Optional close of the caller's own position appended to the sequence.
9606
+ */
9607
+ interface SettleSequenceClose {
9608
+ /** The caller's position to close */
9609
+ tokenId: bigint;
9610
+ /** The caller's position list after the close (excludes `tokenId`) */
9611
+ finalPositionIdList: bigint[];
9612
+ /** Lower tick limit */
9613
+ tickLimitLow: bigint;
9614
+ /** Upper tick limit */
9615
+ tickLimitHigh: bigint;
9616
+ /** Spread limit (default 0) */
9617
+ spreadLimit?: bigint;
9618
+ /** Whether to swap at mint/burn (descending tick limits). Default false */
9619
+ swapAtMint?: boolean;
9620
+ /** Whether to use premia as collateral for the close. Default false */
9621
+ usePremiaAsCollateral?: boolean;
9622
+ /** Builder code (default 0) */
9623
+ builderCode?: bigint;
9624
+ }
9625
+ /**
9626
+ * Parameters shared by the settle-sequence write and simulation.
9627
+ */
9628
+ interface SettleSequenceCallsParams {
9629
+ /** Position IDs from the caller's account (full held list) */
9630
+ positionIdListFrom: bigint[];
9631
+ /** Buyers to settle */
9632
+ targets: SettleSequenceTarget[];
9633
+ /** Optional close of the caller's own position, appended last */
9634
+ close?: SettleSequenceClose;
9635
+ /**
9636
+ * Optional arbitrary dispatch appended last (e.g. a reduce-size mint+burn
9637
+ * or a batch dispatch). Mutually exclusive with `close`.
9638
+ */
9639
+ dispatch?: DispatchIntent;
9640
+ /** Packed value for using premia as collateral in the settles */
9641
+ usePremiaAsCollateral?: bigint;
9642
+ }
9643
+ /**
9644
+ * Build the encoded PanopticPool calls for a settle sequence: one settle-mode
9645
+ * `dispatchFrom` per target (equal To/ToFinal lists, settled tokenId last),
9646
+ * then the caller's own close `dispatch` when provided.
9647
+ *
9648
+ * A pure settle changes no position list, so targets need no cross-call
9649
+ * bookkeeping (unlike a force-exercise sequence).
9650
+ */
9651
+ declare function buildSettleSequenceCalls(params: SettleSequenceCallsParams): Hex[];
9652
+ /**
9653
+ * Parameters for executing a settle sequence.
9654
+ */
9655
+ interface ExecuteSettleSequenceParams extends SettleSequenceCallsParams {
9656
+ /** Public client */
9657
+ client: PublicClient;
9658
+ /** Wallet client */
9659
+ walletClient: WalletClient;
9660
+ /** Caller (settler) account address */
9661
+ account: Address;
9662
+ /** PanopticPool address */
9663
+ poolAddress: Address;
9664
+ /** Gas and transaction overrides */
9665
+ txOverrides?: TxOverrides;
9666
+ /** Storage adapter for auto-syncing positions after confirmation */
9667
+ storage?: StorageAdapter;
9668
+ /** Chain ID (required when storage is provided) */
9669
+ chainId?: bigint;
9670
+ }
9671
+ /**
9672
+ * Execute a settle sequence: settle each target buyer's owed long premium,
9673
+ * then optionally close the caller's own position, in one multicall.
9674
+ *
9675
+ * @param params - Settle sequence parameters
9676
+ * @returns TxResult
9677
+ */
9678
+ declare function executeSettleSequence(params: ExecuteSettleSequenceParams): Promise<TxResult>;
9679
+ /**
9680
+ * Execute a settle sequence and wait for confirmation.
9681
+ *
9682
+ * When `storage` and `chainId` are provided, automatically syncs the
9683
+ * caller's positions after the transaction confirms.
9684
+ */
9685
+ declare function executeSettleSequenceAndWait(params: ExecuteSettleSequenceParams): Promise<TxReceipt>;
9686
+
9319
9687
  //#endregion
9320
9688
  //#region src/panoptic/v2/writes/settle.d.ts
9321
9689
  /**
@@ -10446,6 +10814,8 @@ interface SimulateDispatchParams {
10446
10814
  usePremiaAsCollateral?: boolean;
10447
10815
  /** Builder code */
10448
10816
  builderCode?: bigint;
10817
+ /** Capture aggregate settled premia from atomic pre/post position snapshots. */
10818
+ measurePremia?: boolean;
10449
10819
  /** Optional block number for simulation */
10450
10820
  blockNumber?: bigint;
10451
10821
  }
@@ -10649,6 +11019,129 @@ interface SimulateSettleParams {
10649
11019
  */
10650
11020
  declare function simulateSettle(params: SimulateSettleParams): Promise<SimulationResult<SettleSimulation>>;
10651
11021
 
11022
+ //#endregion
11023
+ //#region src/panoptic/v2/simulations/simulateSettlePremiumBatch.d.ts
11024
+ /**
11025
+ * Per-target result of a batch settle simulation.
11026
+ */
11027
+ interface SettlePremiumBatchTargetResult {
11028
+ /** The simulated target */
11029
+ target: SettleSequenceTarget;
11030
+ /** The individual simulation outcome */
11031
+ simulation: SettlePremiumFromSimulation;
11032
+ }
11033
+ /**
11034
+ * Result of simulating a batch of settles.
11035
+ */
11036
+ interface SettlePremiumBatchResult {
11037
+ /** Per-target outcomes, in input order */
11038
+ results: SettlePremiumBatchTargetResult[];
11039
+ /** Targets whose settle succeeds (include these in the sequence) */
11040
+ settleable: SettleSequenceTarget[];
11041
+ /** Number of targets that cannot be settled */
11042
+ unsettleableCount: number;
11043
+ /** Total premium the caller receives from the settleable targets (token 0) */
11044
+ premium0: bigint;
11045
+ /** Total premium the caller receives from the settleable targets (token 1) */
11046
+ premium1: bigint;
11047
+ /** Block metadata */
11048
+ _meta: BlockMeta;
11049
+ }
11050
+ /**
11051
+ * Parameters for simulateSettlePremiumBatch.
11052
+ */
11053
+ interface SimulateSettlePremiumBatchParams {
11054
+ /** Public client */
11055
+ client: PublicClient;
11056
+ /** PanopticPool address */
11057
+ poolAddress: Address;
11058
+ /** Caller (settler) account address */
11059
+ account: Address;
11060
+ /** Position IDs from the caller's account (full held list) */
11061
+ positionIdListFrom: bigint[];
11062
+ /** Buyers to simulate settling */
11063
+ targets: SettleSequenceTarget[];
11064
+ /** Optional block number for simulation */
11065
+ blockNumber?: bigint;
11066
+ }
11067
+ /**
11068
+ * Simulate settling each target buyer's owed long premium, all at one block.
11069
+ *
11070
+ * Individual failures (insolvent buyer, stale list, …) are soft: the target
11071
+ * lands in the unsettleable partition instead of failing the batch. Only
11072
+ * unexpected errors reject.
11073
+ *
11074
+ * @param params - Simulation parameters
11075
+ * @returns Partitioned targets with per-target premium and totals
11076
+ */
11077
+ declare function simulateSettlePremiumBatch(params: SimulateSettlePremiumBatchParams): Promise<SettlePremiumBatchResult>;
11078
+ /**
11079
+ * Result of simulating a full settle sequence.
11080
+ */
11081
+ interface SettleSequenceSimulation {
11082
+ /** Caller's net token 0 flow across the whole sequence */
11083
+ delta0: bigint;
11084
+ /** Caller's net token 1 flow across the whole sequence */
11085
+ delta1: bigint;
11086
+ }
11087
+ /**
11088
+ * Parameters for simulateSettleSequence.
11089
+ */
11090
+ interface SimulateSettleSequenceParams extends SettleSequenceCallsParams {
11091
+ /** Public client */
11092
+ client: PublicClient;
11093
+ /** PanopticPool address */
11094
+ poolAddress: Address;
11095
+ /** Caller (settler) account address */
11096
+ account: Address;
11097
+ /** Optional block number for simulation */
11098
+ blockNumber?: bigint;
11099
+ }
11100
+ /**
11101
+ * Simulate a full settle sequence (all settles + optional close) as the one
11102
+ * multicall that `executeSettleSequence` submits, measuring the caller's
11103
+ * total token flow and gas.
11104
+ *
11105
+ * @param params - Simulation parameters
11106
+ * @returns Simulation result with the caller's net flow, or error
11107
+ */
11108
+ declare function simulateSettleSequence(params: SimulateSettleSequenceParams): Promise<SimulationResult<SettleSequenceSimulation>>;
11109
+
11110
+ //#endregion
11111
+ //#region src/panoptic/v2/simulations/simulateSettlePremiumFrom.d.ts
11112
+ /**
11113
+ * Parameters for simulating settling another account's long premium.
11114
+ */
11115
+ interface SimulateSettlePremiumFromParams {
11116
+ /** Public client */
11117
+ client: PublicClient;
11118
+ /** PanopticPool address */
11119
+ poolAddress: Address;
11120
+ /** Caller (settler) account address */
11121
+ account: Address;
11122
+ /** Account whose long premium is being settled */
11123
+ user: Address;
11124
+ /** Position IDs from the caller's account (full held list) */
11125
+ positionIdListFrom: bigint[];
11126
+ /** The target user's full held position ID list (passed as both To and ToFinal) */
11127
+ positionIdList: bigint[];
11128
+ /** The target position to settle; reordered to the end of the list when provided */
11129
+ tokenId?: bigint;
11130
+ /** Optional block number for simulation */
11131
+ blockNumber?: bigint;
11132
+ }
11133
+ /**
11134
+ * Simulate settling another account's accumulated long premium via `dispatchFrom`
11135
+ * (equal-length `positionIdListTo`/`positionIdListToFinal` selects the settle mode).
11136
+ *
11137
+ * The measured token flow is the CALLER's collateral delta — i.e. the premium
11138
+ * the caller receives from the settlement (for chunks they sold).
11139
+ *
11140
+ * @param params - Simulation parameters
11141
+ * @returns Simulation result with settled premium data or error
11142
+ */
11143
+ declare function simulateSettlePremiumFrom(params: SimulateSettlePremiumFromParams): Promise<SimulationResult<SettlePremiumFromSimulation>>;
11144
+
10652
11145
  //#endregion
10653
11146
  //#region src/panoptic/v2/simulations/simulateVault.d.ts
10654
11147
  /**
@@ -10825,56 +11318,6 @@ declare function simulateSwapExactOut(params: SimulateSwapExactOutParams): Promi
10825
11318
  */
10826
11319
  declare function simulateSwapExactIn(params: SimulateSwapExactInParams): Promise<SimulationResult<SwapSimulation>>;
10827
11320
 
10828
- //#endregion
10829
- //#region src/panoptic/v2/simulations/creditWrap.d.ts
10830
- /**
10831
- * Pre-encoded `dispatch()` arguments a credit wrap is applied to.
10832
- *
10833
- * Alias of {@link BatchDispatchArgs} — the two are the same concept.
10834
- */
10835
- type DispatchIntent = BatchDispatchArgs;
10836
- /**
10837
- * Which side of the swap is exact.
10838
- *
10839
- * - `exact-out`: the credit **sources** a known amount of its token, paying a
10840
- * swapped amount of the counter-token. Mint carries `swapAtMint=true`.
10841
- * - `exact-in`: the credit **sells** a known amount of its token, receiving a
10842
- * swapped amount of the counter-token. Burn carries `swapAtMint=true`.
10843
- */
10844
- type CreditWrapDirection = 'exact-in' | 'exact-out';
10845
- /**
10846
- * Where the two credit legs sit relative to the user's own operations.
10847
- *
10848
- * - `straddle`: mint first, user ops, burn last. Required for `exact-out`, where
10849
- * the sourced token must be available while the user's ops run.
10850
- * - `prepend`: both legs before the user's ops. Used by bootstrap recovery when
10851
- * the account can sell one collateral token but holds none of the token it needs.
10852
- * - `append`: both legs after the user's ops, for flows where the token being
10853
- * sold does not exist until those operations run.
10854
- */
10855
- type CreditWrapPlacement = 'append' | 'prepend' | 'straddle';
10856
- interface BuildCreditWrappedDispatchParams {
10857
- dispatch: DispatchIntent;
10858
- /** The temporary width=0 credit leg. */
10859
- creditTokenId: bigint;
10860
- /** Size of the mint leg. The burn leg always passes `0n` (= burn all). */
10861
- creditPositionSize: bigint;
10862
- tickLimitLow: bigint;
10863
- tickLimitHigh: bigint;
10864
- direction: CreditWrapDirection;
10865
- placement: CreditWrapPlacement;
10866
- }
10867
- /**
10868
- * Wrap a dispatch with a temporary credit leg that is opened and closed in the
10869
- * same transaction, netting to a swap.
10870
- *
10871
- * `swapAtMint` is not a calldata flag — it is the ORDER of the tick-limit pair:
10872
- * descending `[high, low]` turns the swap on, ascending `[low, high]` leaves it
10873
- * off. Exactly one of the two legs carries it, and which one is what makes the
10874
- * swap exact-in vs exact-out.
10875
- */
10876
- declare function buildCreditWrappedDispatch(params: BuildCreditWrappedDispatchParams): DispatchIntent;
10877
-
10878
11321
  //#endregion
10879
11322
  //#region src/panoptic/v2/simulations/oneTokenFlow.d.ts
10880
11323
  /**
@@ -14854,5 +15297,5 @@ declare const riskEngineAbi: readonly [{
14854
15297
  }];
14855
15298
 
14856
15299
  //#endregion
14857
- export { AccountBuyingPower, AccountCollateral, AccountGreeksCurveResult, AccountGreeksResult, AccountInsolventError, AccountLiquidatedEvent, AccountPremia, AccountSummaryBasic, AccountSummaryRisk, AddPendingPositionParams, AddTrackedChunksParams, AlreadyInitializedError, ApprovalStatus, ApproveParams, ApprovePoolParams, BORROW_INDEX_BITS, BPS_DENOMINATOR, BPS_SCALE, BaseEvent, BatchDiagnostic, BatchDiagnosticCode, BatchDispatchArgs, BatchOp, BatchOpBurn, BatchOpKind, BatchOpMint, BatchValidationError, BelowMinimumRedemptionError, BlockMeta, BorrowParams, BuildBatchDispatchArgsParams, BuildBatchDispatchArgsResult, BuildCreditWrappedDispatchParams, BuildTemporaryLoanRecoveryDispatchParams, BuildTokenShortfallRecoveryDispatchParams, CalculateAccountGreeksPureParams, CancelParams, CastingError, ChainDeployment, CheckApprovalParams, CheckCollateralAcrossTicksParams, ChunkData, ChunkHasZeroLiquidityError, ChunkInput, ChunkKey, ChunkLimitError, ChunkLiquidityResult, ChunkMetadata, ChunkSpread, ChunkStats, ClosePositionParams, ClosePositionSimulation, ClosedPosition, CollateralAcrossTicks, CollateralBreakdown, CollateralDataPoint, CollateralEstimate, CollateralSharePriceData, CollateralStrategyKind, CollateralTracker, ConfirmPendingPositionParams, CreateEventPollerParams, CreateEventSubscriptionParams, CreateFlowNeutralTokenIdParams, CreditSwapCall, CreditSwapCallParams, CreditWrapDirection, CreditWrapPlacement, CrossPoolError, CurrentRates, DEFAULT_MAX_SPREAD, DEFAULT_MINT_BUFFER, DEFAULT_MIN_SWAP_RATIO_BPS, DEFAULT_RECONNECT_CONFIG, DEFAULT_VEGOID, DataWithMeta, DecodedLeg, DecodedOraclePack, DecodedTokenId, DeltaHedgeResult, DeployNewPoolParams, DepositEvent, DepositParams, DepositSimulation, DepositTooLargeError, DeriveStrategy, DeriveUniqueTokenIdParams, DeriveUniqueTokenIdResult, DetectReorgParams, DispatchCall, DispatchCalldata, DispatchIntent, DispatchParams, DispatchSimulation, DuplicateTokenIdError, ERC4626PreviewParams, ERC4626PreviewResult, EffectiveLiquidityAboveThresholdError, EncodeLegParams, EnforcedTickLimits, EnsureSfpmV3PoolInitializedParams, EnsureSfpmV3PoolInitializedResult, EstimateBlockNumbersParams, EstimateCollateralBreakdownParams, EstimateCollateralRequiredParams, EventPoller, EventReconstructionParams, EventReconstructionResult, EventSubscription, EventSubscriptionHandle, ExceedsMaximumRedemptionError, ExecuteBatchDispatchParams, FailPendingPositionParams, FetchPoolIdParams, FetchPoolIdResult, FetchSfpmV3PoolIdParams, FlowNeutralTokenId, ForceExerciseParams, ForceExerciseSimulation, ForcedExercisedEvent, GetAccountBuyingPowerParams, GetAccountCollateralParams, GetAccountGreeksParams, GetAccountPremiaParams, GetAccountSummaryBasicParams, GetAccountSummaryRiskParams, GetBlockMetaParams, GetChunkLiquiditiesParams, GetChunkLiquiditiesResult, GetChunkSpreadsParams, GetCollateralDataParams, GetCurrentRatesParams, GetDeltaHedgeParamsInput, GetEnforcedTickLimitsParams, GetFactoryConstructMetadataParams, GetFactoryOwnerOfParams, GetFactoryTokenURIParams, GetGuardianUnlockStateParams, GetInterestStateParams, GetItmAmountsParams, GetLiquidationPricesParams, GetMarginBufferParams, GetMaxPositionSizeParams, GetMaxRedeemParams, GetMaxWithdrawableParams, GetNativeTokenPriceParams, GetNetLiquidationValueParams, GetNetLiquidationValuesParams, GetOpenPositionIdsParams, GetOpenPositionPreviewParams, GetOracleRiskParametersParams, GetOracleStateParams, GetPanopticPoolAddressParams, GetPanopticPoolFromPoolIdParams, GetPendingPositionsParams, GetPoolLiquiditiesParams, GetPoolMetadataParams, GetPoolParams, GetPortfolioValueParams, GetPositionChunkDataParams, GetPositionChunkDataResult, GetPositionEnrichmentDataParams, GetPositionEnrichmentDataResult, GetPositionGreeksParams, GetPositionParams, GetPositionsParams, GetPositionsWithPremiaParams, GetPriceHistoryParams, GetRealizedPnLParams, GetRequiredCreditForITMParams, GetRiskParametersParams, GetSafeModeParams, GetStreamiaHistoryParams, GetSyncStatusParams, GetTrackedChunksParams, GetTrackedPositionIdsParams, GetTradeHistoryParams, GetUniswapFeeHistoryParams, GetUniswapV3LpPositionStateParams, GetUniswapV3PoolFromIdParams, GetUniswapV3PoolInfoParams, GetUniswapV3PoolLiquiditiesParams, GetUniswapV4LpPositionStateParams, GetUniswapV4PoolBasicStateParams, GetUniswapV4PoolInfoParams, GetUniswapV4PoolKeyFromIdParams, GetUniswapV4PoolLiquiditiesParams, GetUtilizationParams, GuardianUnlockState, InputListFailError, InsufficientCreditLiquidityError, InterestState, InvalidBuilderCodeError, InvalidHistoryRangeError, InvalidTickBoundError, InvalidTickError, InvalidTokenIdParameterError, InvalidUniswapCallbackError, IrmCurrent, IrmMarketStateInputs, IrmPoint, IsLiquidatableParams, ItmAmounts, LEG_BITS, LEG_LIMITS, LEG_MASKS, LegChunkData, LegConfig, LegGreeksParams, LegUpdate, LengthMismatchError, LiquidateParams, LiquidateSimulation, LiquidationCheck, LiquidationPrices, LiquidityChunkKey, LiquidityChunkSpread, LiquidityTooHighError, LoanSlotExhaustedError, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MarginBuffer, MaxPositionSize, MaxRetriesExceededError, MinePoolAddressParams, MinePoolAddressResult, MintBufferRatio, MintParams, MissingPositionIdsError, MulticallContract, MulticallReadParams, NetLiquidationValue, NetLiquidationValues, NetLiquidityZeroError, NetworkMismatchError, NeutralLeg, NoLegsExercisableError, NonceManager, NotALongLegError, NotBuilderError, NotEnoughLiquidityInChunkError, NotEnoughTokensError, NotGuardianError, NotMarginCalledError, NotPanopticPoolError, ORACLE_EPOCH_SECONDS, OneTokenFlowQuote, OneTokenFlowQuoteParams, OneTokenFlowResult, OneTokenFlowUnavailableReason, OpenPositionParams, OpenPositionPreview, OpenPositionSimulation, OptimizeTokenIdRiskPartnersParams, OptionBurntEvent, OptionMintedEvent, OracleEmaPeriods, OracleRateLimitedError, OracleRiskParameters, OracleRiskParametersState, OracleSafeModeCause, OracleSafeModeDiagnosis, OracleState, OracleTiming, PanopticError, PanopticEvent, PanopticEventType, PanopticHelperNotDeployedError, PanopticNFTMetadata, PanopticValidationError, ParsedError, PendingPosition, PokeOracleParams, Pool, PoolFormatterConfig, PoolFormatters, PoolHealthStatus, PoolKey, PoolLiquidities, PoolMetadata, PoolNotInitializedError, PoolVersionConfig, PortfolioValue, Position, PositionChunkData, PositionCountNotZeroError, PositionEnrichmentResult, PositionGreeks, PositionGreeksInput, PositionGreeksResult, PositionInput, PositionNotOwnedError, PositionSnapshotNotFoundError, PositionStorageParams, PositionTooLargeError, PositionWithPremia, PositionsWithPremiaResult, PremiumSettledEvent, PreviewBorrowParams, PreviewBorrowResult, PreviewWrapParams, PriceBoundFailError, PriceHistoryResult, PriceImpactTooLargeError, PriceSnapshot, ProviderLagError, QuoteSfpmSwapParams, QuoteV3ExactInParams, RATE_AT_TARGET_BITS, REORG_DEPTH, REQUIRED_BASE_ERROR_SENTINEL, RealizedPnL, ReconnectConfig, RecoverSnapshotFromTxParams, RecoverSnapshotParams, RedeemParams, ReentrancyError, RemoveTrackedChunksParams, ReorgDetection, RepayParams, RequiredCreditForITM, ResolveBlockNumbersParams, ResolvePanopticPoolFromPoolIdParams, ResolvePanopticPoolFromPoolIdResult, ResolveUniswapV4PoolKeyParams, RiskEngine, RiskParameters, RollPositionParams, RpcError, RpcResponseError, SCHEMA_VERSION, SECONDS_PER_YEAR, SFPMSimulationResult, STANDARD_TICK_WIDTHS, STORAGE_PREFIX, SafeMode, SafeModeError, SafeModeState, SaveCheckpointParams, SaveClosedPositionParams, ScanChunksParams, ScanChunksResult, ScannedChunk, SettleParams, SettleSimulation, SettledEvent, SfpmSwapCalldata, SfpmSwapKind, SfpmSwapPlan, SfpmSwapPlanParams, SfpmSwapQuote, SimulateBatchDispatchParams, SimulateBatchDispatchResult, SimulateClosePositionParams, SimulateDeployNewPoolParams, SimulateDepositParams, SimulateDispatchParams, SimulateForceExerciseParams, SimulateLiquidateParams, SimulateOpenPositionParams, SimulateSFPMParams, SimulateSettleParams, SimulateSwapExactInParams, SimulateSwapExactOutParams, SimulateWithTokenFlowParams, SimulateWithTokenFlowResult, SimulateWithdrawParams, SimulationResult, SmartRepayParams, SnapshotRecoveryResult, SpeedUpParams, StaleDataError, StaleOracleError, StorageAdapter, StrategyAllocation, StrategyGroup, StreamiaHistoryResult, StreamiaLeg, StreamiaSnapshot, SupplyParams, SwapExactInParams, SwapExactOutParams, SwapSimulation, SwapTokenMismatchError, SyncCheckpoint, SyncEvent, SyncOptions, SyncPositionsParams, SyncPositionsResult, SyncProgressEvent, SyncResult, SyncState, SyncStatus, SyncStatusResult, SyncTimeoutError, TOKEN_ID_BITS, TemporaryLoanRecoveryQuote, TemporaryLoanRecoveryQuoteParams, TemporaryLoanRecoveryResult, TemporaryLoanRecoveryUnavailableReason, TickAndSpreadLimits, TickLimitsResult, Timescale, TokenCollateral, TokenFlow, TokenIdBuilder, TokenIdHasZeroLegsError, TokenIdLeg, TokenInterestState, TokenShortfallRecoveryQuote, TokenShortfallRecoveryQuoteParams, TokenShortfallRecoveryResult, TokenShortfallRecoveryUnavailableReason, TooManyLegsOpenError, TransferFailedError, TxBroadcaster, TxOverrides, TxReceipt, TxResult, TxResultWithReceipt, UNREALIZED_INTEREST_BITS, UTILIZATION_DENOMINATOR, UnauthorizedUniswapCallbackError, UnderOverFlowError, UnhealthyPoolError, UniswapFeeHistoryResult, UniswapFeeSnapshot, UniswapLpPositionState, UniswapV3Liquidities, UniswapV3LpPositionState, UniswapV3PoolInfo, UniswapV3PoolToken, UniswapV4PoolBasicState, UniswapV4PoolInfo, UniswapV4PoolKey, UnsupplyParams, UnwrapWethParams, UnwrapXstockParams, Utilization, V3ExactInQuote, V3PoolConfig, V4PoolConfig, ValidateBatchParams, WAD, WatchEventsParams, WithdrawEvent, WithdrawParams, WithdrawSimulation, WithdrawWithPositionsParams, WrapEthParams, WrapXstockParams, WriteConfig, WrongPoolIdError, WrongUniswapPoolError, ZERO_COLLATERAL, ZERO_VALUATION, ZeroAddressError, ZeroCollateralRequirementError, addLegToTokenId, addPendingPosition, addTrackedChunks, annualizePerSecondRateWad, applyMintBuffer, applyMintBufferPerToken, apportion, approve, approveAndWait, approvePool, assertCanBurn, assertCanForceExercise, assertCanLiquidate, assertCanMint, assertFresh, assertHealthy, assertTradeable, borrow, borrowAndWait, buildBatchDispatchArgs, buildCreditSwapCall, buildCreditWrappedDispatch, buildOpenPositionCalldata, buildSfpmSwapCalldata, buildSfpmSwapPlan, buildTemporaryLoanRecoveryDispatch, buildTokenShortfallRecoveryDispatch, buildUniqueCredit, buildUniqueLoan, buildUniqueWidthZeroLeg, calculateAccountGreeksPure, calculatePortfolioDelta, calculatePortfolioGamma, calculatePortfolioGreeks, calculatePortfolioValue, calculatePositionDelta, calculatePositionDeltaDebtOnly, calculatePositionDeltaWithSwap, calculatePositionGamma, calculatePositionGreeks, calculatePositionValue, calculateResyncBlock, calculateSpreadWad, cancelTransaction, checkApproval, checkCollateralAcrossTicks, classifyStrategyGroups, cleanupStalePendingPositions, clearCheckpoint, clearPendingPositions, clearTrackedChunks, clearTrackedPositions, clearTradeHistory, closePosition, closePositionAndWait, collateralRuleKindFor, collateralTrackerV2Abi, computeV4PoolId, confirmPendingPosition, convertToAssets, convertToShares, countLegs, createEventPoller, createEventSubscription, createFileStorage, createFlowNeutralTokenId, createMemoryStorage, createNonceManager, createPoolFormatters, createTokenIdBuilder, decodeAllDispatchCalldata, decodeAllLegs, decodeDispatchCalldata, decodeLeftRightSigned, decodeLeftRightUnsigned, decodeLeg, decodeOraclePack, decodeOracleRiskParameters, decodeOracleTiming, decodePanopticTokenURI, decodePoolId, decodeTickSpacing, decodeTokenId, decodeVegoid, deployNewPool, deployNewPoolAndWait, deposit, depositAndWait, deriveSupplyRatePerSecWad, deriveUniqueTokenId, detectReorg, diagnoseOracleSafeMode, dispatch, dispatchAndWait, encodeLeg, encodePoolId, encodePoolKeyBytes, encodeV3PoolKeyBytes, encodeV4PoolId, ensureSfpmV3PoolInitialized, estimateBlockNumbers, estimateCollateralBreakdown, estimateCollateralRequired, executeBatchDispatch, executeBatchDispatchAndWait, failPendingPosition, feesFromFeeGrowthDelta, fetchPoolId, fetchSfpmV3PoolId, forceExercise, forceExerciseAndWait, formatBlockNumber, formatBps, formatCompact, formatDatetime, formatDuration, formatDurationSeconds, formatFeeTier, formatGas, formatGwei, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, formatPoolIdHex, formatPriceRange, formatRateWad, formatRatioPercent, formatTick, formatTickRange, formatTimestamp, formatTimestampLocale, formatTokenAmount, formatTokenAmountSigned, formatTokenDelta, formatTokenFlow, formatTokenIdHex, formatTokenIdShort, formatTxHash, formatUtilization, formatWad, formatWadPercent, formatWadSigned, formatWei, getAccountBuyingPower, getAccountCollateral, getAccountGreeks, getAccountHistory, getAccountPremia, getAccountSummaryBasic, getAccountSummaryRisk, getAssetIndex, getBlockMeta, getChainDeployment, getChunkLiquidities, getChunkSpreads, getClosedPositions, getClosedPositionsKey, getCollateralAddresses, getCollateralData, getCollateralSharePrices, getCollateralTotalAssetsBatch, getCurrentRates, getDeltaHedgeParams, getEnforcedTickLimits, getFactoryConstructMetadata, getFactoryOwnerOf, getFactoryTokenURI, getGuardianUnlockState, getInterestState, getIrmCurrent, getIrmCurve, getItmAmounts, getLegDelta, getLegDeltaInVaultFrame, getLegGamma, getLegNetValueWidth0, getLegValue, getLiquidationPrices, getMarginBuffer, getMaxPositionSize, getMaxRedeem, getMaxWithdrawable, getNativeTokenPrice, getNetLiquidationValue, getNetLiquidationValues, getNotEnoughTokensError, getOpenPositionIds, getOpenPositionPreview, getOracleRiskParameters, getOracleState, getPanopticPoolAddress, getPanopticPoolFromPoolId, getPendingPositions, getPendingPositionsKey, getPool, getPoolDeploymentBlock, getPoolDisplayId, getPoolLiquidities, getPoolMetaKey, getPoolMetadata, getPoolPrefix, getPortfolioValue, getPosition, getPositionChunkData, getPositionEnrichmentData, getPositionGreeks, getPositionMetaKey, getPositions, getPositionsKey, getPositionsWithPremia, getPriceHistory, getPricesAtTick, getRealizedPnL, getRequiredCreditForITM, getRiskParameters, getSafeMode, getSchemaVersionKey, getStreamiaHistory, getSyncCheckpointKey, getSyncStatus, getTickSpacing, getTokenListId, getTrackedChunks, getTrackedChunksKey, getTrackedPositionIds, getTradeHistory, getUniswapFeeHistory, getUniswapV3LpPositionState, getUniswapV3PoolFromId, getUniswapV3PoolInfo, getUniswapV3PoolLiquidities, getUniswapV4LpPositionState, getUniswapV4PoolBasicState, getUniswapV4PoolInfo, getUniswapV4PoolKeyFromId, getUniswapV4PoolLiquidities, getUtilization, hasLoanOrCredit, hasLongLeg, interpolateBlocks, isCall, isCredit, isCreditLeg, isDefinedRisk, isGasError, isInputListFailError, isLiquidatable, isLoan, isLoanLeg, isNonceError, isPanopticErrorType, isPositionTracked, isRetryableRpcError, isShortOnly, isSpread, isSupportedChain, isolateGroupTokenId, jsonSerializer, liquidate, liquidateAndWait, loadCheckpoint, minePoolAddress, mint, mintAndWait, mintableAfterBuffer, multicallRead, openPosition, openPositionAndWait, optimizeTokenIdRiskPartners, oracleEpochAt, packMarketState, panopticPoolV2Abi, parseBps, parseCollateralLog, parsePanopticError, parsePoolLog, parseTokenAmount, parseTokenListId, parseWad, planDeriveStrategy, pokeOracle, pokeOracleAndWait, previewBorrow, previewDeposit, previewMint, previewRedeem, previewUnwrap, previewWithdraw, previewWrap, priceToTick, publicBroadcaster, quoteOneTokenFlow, quoteSfpmSwap, quoteTemporaryLoanRecovery, quoteTokenShortfallRecovery, quoteV3ExactIn, ratePerSecWadToAprPct, reconstructFromEvents, recoverSnapshot, recoverSnapshotFromTx, redeem, redeemAndWait, removeTrackedChunks, repay, repayAndWait, requireChainDeployment, resolveBlockNumbers, resolvePanopticPoolFromPoolId, resolveTokenIndex, resolveUniswapV4PoolKey, riskEngineAbi, rollPosition, rollPositionAndWait, roundToTickSpacing, saveCheckpoint, saveClosedPosition, scanChunks, selectDispatchForAccount, settleAccumulatedPremia, settleAccumulatedPremiaAndWait, simulateBatchDispatch, simulateClosePosition, simulateDeployNewPool, simulateDeposit, simulateDispatch, simulateForceExercise, simulateLiquidate, simulateOpenPosition, simulateSFPMBurn, simulateSFPMMint, simulateSettle, simulateSwapExactIn, simulateSwapExactOut, simulateWithTokenFlow, simulateWithdraw, slippageBpsToTickDistance, smartRepay, smartRepayAndWait, speedUpTransaction, sqrtPriceX96ToPriceDecimalScaled, sqrtPriceX96ToTick, supply, supplyAndWait, swapExactIn, swapExactInAndWait, swapExactOut, swapExactOutAndWait, syncPositions, tickLimits, tickToPrice, tickToPriceDecimalScaled, tickToSqrtPriceX96, toVaultFrameAtTick, truncateAddress, unsupply, unsupplyAndWait, unwrapWeth, unwrapWethAndWait, unwrapXstock, unwrapXstockAndWait, utilizationBpsToWad, utilizationPctToWad, validateBatch, validateBuilderCode, validatePoolId, verifyBlockContinuity, watchEvents, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
15300
+ export { AccountBuyingPower, AccountCollateral, AccountGreeksCurveResult, AccountGreeksResult, AccountInsolventError, AccountLiquidatedEvent, AccountPremia, AccountSummaryBasic, AccountSummaryRisk, AddPendingPositionParams, AddTrackedChunksParams, AlreadyInitializedError, ApprovalStatus, ApproveParams, ApprovePoolParams, BORROW_INDEX_BITS, BPS_DENOMINATOR, BPS_SCALE, BaseEvent, BatchDiagnostic, BatchDiagnosticCode, BatchDispatchArgs, BatchOp, BatchOpBurn, BatchOpKind, BatchOpMint, BatchValidationError, BelowMinimumRedemptionError, BlockMeta, BorrowParams, BuildBatchDispatchArgsParams, BuildBatchDispatchArgsResult, BuildCreditWrappedDispatchParams, BuildTemporaryLoanRecoveryDispatchParams, BuildTokenShortfallRecoveryDispatchParams, CalculateAccountGreeksPureParams, CancelParams, CastingError, ChainDeployment, CheckApprovalParams, CheckCollateralAcrossTicksParams, ChunkData, ChunkHasZeroLiquidityError, ChunkInput, ChunkKey, ChunkLimitError, ChunkLiquidityResult, ChunkMetadata, ChunkSpread, ChunkStats, ClosePositionParams, ClosePositionSimulation, ClosedPosition, CollateralAcrossTicks, CollateralBreakdown, CollateralDataPoint, CollateralEstimate, CollateralSharePriceData, CollateralStrategyKind, CollateralTracker, ConfirmPendingPositionParams, CreateEventPollerParams, CreateEventSubscriptionParams, CreateFlowNeutralTokenIdParams, CreditSwapCall, CreditSwapCallParams, CreditWrapDirection, CreditWrapPlacement, CrossPoolError, CurrentRates, DEFAULT_MAX_SPREAD, DEFAULT_MINT_BUFFER, DEFAULT_MIN_SWAP_RATIO_BPS, DEFAULT_RECONNECT_CONFIG, DEFAULT_VEGOID, DataWithMeta, DecodedLeg, DecodedOraclePack, DecodedTokenId, DeltaHedgeResult, DeployNewPoolParams, DepositEvent, DepositParams, DepositSimulation, DepositTooLargeError, DeriveStrategy, DeriveUniqueTokenIdParams, DeriveUniqueTokenIdResult, DetectReorgParams, DispatchCall, DispatchCalldata, DispatchIntent, DispatchParams, DispatchSimulation, DuplicateTokenIdError, ERC4626PreviewParams, ERC4626PreviewResult, EffectiveLiquidityAboveThresholdError, EncodeLegParams, EnforcedTickLimits, EnsureSfpmV3PoolInitializedParams, EnsureSfpmV3PoolInitializedResult, EstimateBlockNumbersParams, EstimateCollateralBreakdownParams, EstimateCollateralRequiredParams, EventPoller, EventReconstructionParams, EventReconstructionResult, EventSubscription, EventSubscriptionHandle, ExceedsMaximumRedemptionError, ExecuteBatchDispatchParams, ExecuteSettleSequenceParams, FailPendingPositionParams, FetchPoolIdParams, FetchPoolIdResult, FetchSfpmV3PoolIdParams, FlowNeutralTokenId, ForceExerciseParams, ForceExerciseSimulation, ForcedExercisedEvent, ForfeitablePremium, GenerateOverlappingTokenIdsParams, GenerateOverlappingTokenIdsResult, GetAccountBuyingPowerParams, GetAccountCollateralParams, GetAccountGreeksParams, GetAccountPremiaParams, GetAccountSummaryBasicParams, GetAccountSummaryRiskParams, GetBlockMetaParams, GetChunkLiquiditiesParams, GetChunkLiquiditiesResult, GetChunkSpreadsParams, GetCollateralDataParams, GetCurrentRatesParams, GetDeltaHedgeParamsInput, GetEnforcedTickLimitsParams, GetFactoryConstructMetadataParams, GetFactoryOwnerOfParams, GetFactoryTokenURIParams, GetForfeitablePremiumParams, GetGuardianUnlockStateParams, GetInterestStateParams, GetItmAmountsParams, GetLiquidationPricesParams, GetMarginBufferParams, GetMaxPositionSizeParams, GetMaxRedeemParams, GetMaxWithdrawableParams, GetNativeTokenPriceParams, GetNetLiquidationValueParams, GetNetLiquidationValuesParams, GetOpenPositionIdsParams, GetOpenPositionPreviewParams, GetOracleRiskParametersParams, GetOracleStateParams, GetPanopticPoolAddressParams, GetPanopticPoolFromPoolIdParams, GetPendingPositionsParams, GetPoolLiquiditiesParams, GetPoolMetadataParams, GetPoolParams, GetPortfolioValueParams, GetPositionChunkDataParams, GetPositionChunkDataResult, GetPositionEnrichmentDataParams, GetPositionEnrichmentDataResult, GetPositionGreeksParams, GetPositionParams, GetPositionsParams, GetPositionsWithPremiaParams, GetPriceHistoryParams, GetRealizedPnLParams, GetRequiredCreditForITMParams, GetRiskParametersParams, GetSafeModeParams, GetStreamiaHistoryParams, GetSyncStatusParams, GetTrackedChunksParams, GetTrackedPositionIdsParams, GetTradeHistoryParams, GetUniswapFeeHistoryParams, GetUniswapV3LpPositionStateParams, GetUniswapV3PoolFromIdParams, GetUniswapV3PoolInfoParams, GetUniswapV3PoolLiquiditiesParams, GetUniswapV4LpPositionStateParams, GetUniswapV4PoolBasicStateParams, GetUniswapV4PoolInfoParams, GetUniswapV4PoolKeyFromIdParams, GetUniswapV4PoolLiquiditiesParams, GetUtilizationParams, GuardianUnlockState, InputListFailError, InsufficientCreditLiquidityError, InterestState, InvalidBuilderCodeError, InvalidHistoryRangeError, InvalidTickBoundError, InvalidTickError, InvalidTokenIdParameterError, InvalidUniswapCallbackError, IrmCurrent, IrmMarketStateInputs, IrmPoint, IsLiquidatableParams, ItmAmounts, LEG_BITS, LEG_LIMITS, LEG_MASKS, LegChunkData, LegConfig, LegGreeksParams, LegUpdate, LengthMismatchError, LiquidateParams, LiquidateSimulation, LiquidationCheck, LiquidationPrices, LiquidityChunkKey, LiquidityChunkSpread, LiquidityTooHighError, LoanSlotExhaustedError, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MarginBuffer, MaxPositionSize, MaxRetriesExceededError, MinePoolAddressParams, MinePoolAddressResult, MintBufferRatio, MintParams, MissingPositionIdsError, MulticallContract, MulticallReadParams, NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, NetLiquidationValue, NetLiquidationValues, NetLiquidityZeroError, NetworkMismatchError, NeutralLeg, NoLegsExercisableError, NonceManager, NotALongLegError, NotBuilderError, NotEnoughLiquidityInChunkError, NotEnoughTokensError, NotGuardianError, NotMarginCalledError, NotPanopticPoolError, ORACLE_EPOCH_SECONDS, OneTokenFlowQuote, OneTokenFlowQuoteParams, OneTokenFlowResult, OneTokenFlowUnavailableReason, OpenPositionParams, OpenPositionPreview, OpenPositionSimulation, OptimizeTokenIdRiskPartnersParams, OptionBurntEvent, OptionMintedEvent, OracleEmaPeriods, OracleRateLimitedError, OracleRiskParameters, OracleRiskParametersState, OracleSafeModeCause, OracleSafeModeDiagnosis, OracleState, OracleTiming, OverlappingOptionLegConfig, OverlappingOptionType, PanopticError, PanopticEvent, PanopticEventType, PanopticHelperNotDeployedError, PanopticNFTMetadata, PanopticValidationError, ParsedError, PendingPosition, PokeOracleParams, Pool, PoolFormatterConfig, PoolFormatters, PoolHealthStatus, PoolKey, PoolLiquidities, PoolMetadata, PoolNotInitializedError, PoolVersionConfig, PortfolioValue, Position, PositionChunkData, PositionCountNotZeroError, PositionEnrichmentResult, PositionGreeks, PositionGreeksInput, PositionGreeksResult, PositionInput, PositionNotOwnedError, PositionSnapshotNotFoundError, PositionStorageParams, PositionTooLargeError, PositionWithPremia, PositionsWithPremiaResult, PremiumSettledEvent, PreviewBorrowParams, PreviewBorrowResult, PreviewWrapParams, PriceBoundFailError, PriceHistoryResult, PriceImpactTooLargeError, PriceSnapshot, ProviderLagError, QuoteSfpmSwapParams, QuoteV3ExactInParams, RATE_AT_TARGET_BITS, REORG_DEPTH, REQUIRED_BASE_ERROR_SENTINEL, RealizedPnL, ReconnectConfig, RecoverSnapshotFromTxParams, RecoverSnapshotParams, RedeemParams, ReentrancyError, RemoveTrackedChunksParams, ReorgDetection, RepayParams, RequiredCreditForITM, ResolveBlockNumbersParams, ResolvePanopticPoolFromPoolIdParams, ResolvePanopticPoolFromPoolIdResult, ResolveUniswapV4PoolKeyParams, RiskEngine, RiskParameters, RollPositionParams, RpcError, RpcResponseError, SCHEMA_VERSION, SECONDS_PER_YEAR, SFPMSimulationResult, STANDARD_TICK_WIDTHS, STORAGE_PREFIX, SafeMode, SafeModeError, SafeModeState, SaveCheckpointParams, SaveClosedPositionParams, ScanChunksParams, ScanChunksResult, ScannedChunk, SettleParams, SettlePremiumBatchResult, SettlePremiumBatchTargetResult, SettlePremiumFromParams, SettlePremiumFromSimulation, SettleSequenceCallsParams, SettleSequenceClose, SettleSequenceSimulation, SettleSequenceTarget, SettleSimulation, SettledEvent, SfpmSwapCalldata, SfpmSwapKind, SfpmSwapPlan, SfpmSwapPlanParams, SfpmSwapQuote, SimulateBatchDispatchParams, SimulateBatchDispatchResult, SimulateClosePositionParams, SimulateDeployNewPoolParams, SimulateDepositParams, SimulateDispatchParams, SimulateForceExerciseParams, SimulateLiquidateParams, SimulateOpenPositionParams, SimulateSFPMParams, SimulateSettleParams, SimulateSettlePremiumBatchParams, SimulateSettlePremiumFromParams, SimulateSettleSequenceParams, SimulateSwapExactInParams, SimulateSwapExactOutParams, SimulateWithTokenFlowParams, SimulateWithTokenFlowResult, SimulateWithdrawParams, SimulationResult, SmartRepayParams, SnapshotRecoveryResult, SpeedUpParams, SplitTokenIdByTimescaleResult, StaleDataError, StaleOracleError, StorageAdapter, StrategyAllocation, StrategyGroup, StreamiaHistoryResult, StreamiaLeg, StreamiaSnapshot, SupplyParams, SwapExactInParams, SwapExactOutParams, SwapSimulation, SwapTokenMismatchError, SyncCheckpoint, SyncEvent, SyncOptions, SyncPositionsParams, SyncPositionsResult, SyncProgressEvent, SyncResult, SyncState, SyncStatus, SyncStatusResult, SyncTimeoutError, TOKEN_ID_BITS, TemporaryLoanRecoveryQuote, TemporaryLoanRecoveryQuoteParams, TemporaryLoanRecoveryResult, TemporaryLoanRecoveryUnavailableReason, TickAndSpreadLimits, TickLimitsResult, Timescale, TokenCollateral, TokenFlow, TokenIdBuilder, TokenIdHasZeroLegsError, TokenIdLeg, TokenInterestState, TokenShortfallRecoveryQuote, TokenShortfallRecoveryQuoteParams, TokenShortfallRecoveryResult, TokenShortfallRecoveryUnavailableReason, TooManyLegsOpenError, TransferFailedError, TxBroadcaster, TxOverrides, TxReceipt, TxResult, TxResultWithReceipt, UNREALIZED_INTEREST_BITS, UTILIZATION_DENOMINATOR, UnauthorizedUniswapCallbackError, UnderOverFlowError, UnhealthyPoolError, UniswapFeeHistoryResult, UniswapFeeSnapshot, UniswapLpPositionState, UniswapV3Liquidities, UniswapV3LpPositionState, UniswapV3PoolInfo, UniswapV3PoolToken, UniswapV4PoolBasicState, UniswapV4PoolInfo, UniswapV4PoolKey, UnsupplyParams, UnwrapWethParams, UnwrapXstockParams, Utilization, V3ExactInQuote, V3PoolConfig, V4PoolConfig, ValidateBatchParams, WAD, WatchEventsParams, WithdrawEvent, WithdrawParams, WithdrawSimulation, WithdrawWithPositionsParams, WrapEthParams, WrapXstockParams, WriteConfig, WrongPoolIdError, WrongUniswapPoolError, ZERO_COLLATERAL, ZERO_VALUATION, ZeroAddressError, ZeroCollateralRequirementError, addLegToTokenId, addPendingPosition, addTrackedChunks, annualizePerSecondRateWad, applyMintBuffer, applyMintBufferPerToken, apportion, approve, approveAndWait, approvePool, assertCanBurn, assertCanForceExercise, assertCanLiquidate, assertCanMint, assertFresh, assertHealthy, assertTradeable, borrow, borrowAndWait, buildBatchDispatchArgs, buildCreditSwapCall, buildCreditWrappedDispatch, buildOpenPositionCalldata, buildSettleSequenceCalls, buildSfpmSwapCalldata, buildSfpmSwapPlan, buildTemporaryLoanRecoveryDispatch, buildTokenShortfallRecoveryDispatch, buildUniqueCredit, buildUniqueLoan, buildUniqueWidthZeroLeg, calculateAccountGreeksPure, calculatePortfolioDelta, calculatePortfolioGamma, calculatePortfolioGreeks, calculatePortfolioValue, calculatePositionDelta, calculatePositionDeltaDebtOnly, calculatePositionDeltaWithSwap, calculatePositionGamma, calculatePositionGreeks, calculatePositionValue, calculateResyncBlock, calculateSpreadWad, cancelTransaction, checkApproval, checkCollateralAcrossTicks, classifyStrategyGroups, cleanupStalePendingPositions, clearCheckpoint, clearPendingPositions, clearTrackedChunks, clearTrackedPositions, clearTradeHistory, closePosition, closePositionAndWait, collateralRuleKindFor, collateralTrackerV2Abi, computeV4PoolId, confirmPendingPosition, convertToAssets, convertToShares, countLegs, createEventPoller, createEventSubscription, createFileStorage, createFlowNeutralTokenId, createMemoryStorage, createNonceManager, createPoolFormatters, createTokenIdBuilder, decodeAllDispatchCalldata, decodeAllLegs, decodeDispatchCalldata, decodeLeftRightSigned, decodeLeftRightUnsigned, decodeLeg, decodeOraclePack, decodeOracleRiskParameters, decodeOracleTiming, decodePanopticTokenURI, decodePoolId, decodeTickSpacing, decodeTokenId, decodeVegoid, deployNewPool, deployNewPoolAndWait, deposit, depositAndWait, deriveSupplyRatePerSecWad, deriveUniqueTokenId, detectReorg, diagnoseOracleSafeMode, dispatch, dispatchAndWait, encodeLeg, encodePoolId, encodePoolKeyBytes, encodeV3PoolKeyBytes, encodeV4PoolId, ensureSfpmV3PoolInitialized, estimateBlockNumbers, estimateCollateralBreakdown, estimateCollateralRequired, executeBatchDispatch, executeBatchDispatchAndWait, executeSettleSequence, executeSettleSequenceAndWait, failPendingPosition, feesFromFeeGrowthDelta, fetchPoolId, fetchSfpmV3PoolId, forceExercise, forceExerciseAndWait, formatBlockNumber, formatBps, formatCompact, formatDatetime, formatDuration, formatDurationSeconds, formatFeeTier, formatGas, formatGwei, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, formatPoolIdHex, formatPriceRange, formatRateWad, formatRatioPercent, formatTick, formatTickRange, formatTimestamp, formatTimestampLocale, formatTokenAmount, formatTokenAmountSigned, formatTokenDelta, formatTokenFlow, formatTokenIdHex, formatTokenIdShort, formatTxHash, formatUtilization, formatWad, formatWadPercent, formatWadSigned, formatWei, generateOverlappingTokenIds, getAccountBuyingPower, getAccountCollateral, getAccountGreeks, getAccountHistory, getAccountPremia, getAccountSummaryBasic, getAccountSummaryRisk, getAssetIndex, getBlockMeta, getChainDeployment, getChunkLiquidities, getChunkSpreads, getClosedPositions, getClosedPositionsKey, getCollateralAddresses, getCollateralData, getCollateralSharePrices, getCollateralTotalAssetsBatch, getCurrentRates, getDeltaHedgeParams, getEnforcedTickLimits, getFactoryConstructMetadata, getFactoryOwnerOf, getFactoryTokenURI, getForfeitablePremium, getGuardianUnlockState, getInterestState, getIrmCurrent, getIrmCurve, getItmAmounts, getLegDelta, getLegDeltaInVaultFrame, getLegGamma, getLegNetValueWidth0, getLegValue, getLiquidationPrices, getMarginBuffer, getMaxPositionSize, getMaxRedeem, getMaxWithdrawable, getNativeTokenPrice, getNetLiquidationValue, getNetLiquidationValues, getNotEnoughTokensError, getOpenPositionIds, getOpenPositionPreview, getOracleRiskParameters, getOracleState, getPanopticPoolAddress, getPanopticPoolFromPoolId, getPendingPositions, getPendingPositionsKey, getPool, getPoolDeploymentBlock, getPoolDisplayId, getPoolLiquidities, getPoolMetaKey, getPoolMetadata, getPoolPrefix, getPortfolioValue, getPosition, getPositionChunkData, getPositionEnrichmentData, getPositionGreeks, getPositionMetaKey, getPositions, getPositionsKey, getPositionsWithPremia, getPriceHistory, getPricesAtTick, getRealizedPnL, getRequiredCreditForITM, getRiskParameters, getSafeMode, getSchemaVersionKey, getStreamiaHistory, getSyncCheckpointKey, getSyncStatus, getTickSpacing, getTokenListId, getTrackedChunks, getTrackedChunksKey, getTrackedPositionIds, getTradeHistory, getUniswapFeeHistory, getUniswapV3LpPositionState, getUniswapV3PoolFromId, getUniswapV3PoolInfo, getUniswapV3PoolLiquidities, getUniswapV4LpPositionState, getUniswapV4PoolBasicState, getUniswapV4PoolInfo, getUniswapV4PoolKeyFromId, getUniswapV4PoolLiquidities, getUtilization, hasLoanOrCredit, hasLongLeg, interpolateBlocks, isCall, isCredit, isCreditLeg, isDefinedRisk, isGasError, isInputListFailError, isLiquidatable, isLoan, isLoanLeg, isNonceError, isPanopticErrorType, isPositionTracked, isRetryableRpcError, isShortOnly, isSpread, isSupportedChain, isolateGroupTokenId, jsonSerializer, liquidate, liquidateAndWait, loadCheckpoint, minePoolAddress, mint, mintAndWait, mintableAfterBuffer, multicallRead, openPosition, openPositionAndWait, optimizeTokenIdRiskPartners, oracleEpochAt, orderListForSettle, packMarketState, panopticPoolV2Abi, parseBps, parseCollateralLog, parsePanopticError, parsePoolLog, parseTokenAmount, parseTokenListId, parseWad, planDeriveStrategy, pokeOracle, pokeOracleAndWait, previewBorrow, previewDeposit, previewMint, previewRedeem, previewUnwrap, previewWithdraw, previewWrap, priceToTick, publicBroadcaster, quoteOneTokenFlow, quoteSfpmSwap, quoteTemporaryLoanRecovery, quoteTokenShortfallRecovery, quoteV3ExactIn, ratePerSecWadToAprPct, reconstructFromEvents, recoverSnapshot, recoverSnapshotFromTx, redeem, redeemAndWait, removeTrackedChunks, repay, repayAndWait, requireChainDeployment, resolveBlockNumbers, resolvePanopticPoolFromPoolId, resolveTokenIndex, resolveUniswapV4PoolKey, riskEngineAbi, rollPosition, rollPositionAndWait, roundToTickSpacing, saveCheckpoint, saveClosedPosition, scanChunks, selectDispatchForAccount, settleAccumulatedPremia, settleAccumulatedPremiaAndWait, settlePremiumFrom, settlePremiumFromAndWait, simulateBatchDispatch, simulateClosePosition, simulateDeployNewPool, simulateDeposit, simulateDispatch, simulateForceExercise, simulateLiquidate, simulateOpenPosition, simulateSFPMBurn, simulateSFPMMint, simulateSettle, simulateSettlePremiumBatch, simulateSettlePremiumFrom, simulateSettleSequence, simulateSwapExactIn, simulateSwapExactOut, simulateWithTokenFlow, simulateWithdraw, slippageBpsToTickDistance, smartRepay, smartRepayAndWait, speedUpTransaction, splitTokenIdByTimescale, sqrtPriceX96ToPriceDecimalScaled, sqrtPriceX96ToTick, supply, supplyAndWait, swapExactIn, swapExactInAndWait, swapExactOut, swapExactOutAndWait, syncPositions, tickLimits, tickToPrice, tickToPriceDecimalScaled, tickToSqrtPriceX96, toVaultFrameAtTick, truncateAddress, unsupply, unsupplyAndWait, unwrapWeth, unwrapWethAndWait, unwrapXstock, unwrapXstockAndWait, utilizationBpsToWad, utilizationPctToWad, validateBatch, validateBuilderCode, validatePoolId, verifyBlockContinuity, watchEvents, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
14858
15301
  //# sourceMappingURL=index.d.ts.map