@panoptic-eng/sdk 1.0.62 → 1.0.64

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/README.md +1 -1
  2. package/dist/cow/index.d.ts +1 -1
  3. package/dist/cow/index.d.ts.map +1 -1
  4. package/dist/cow/index.js +1 -1
  5. package/dist/cow/index.js.map +1 -1
  6. package/dist/{cow-DTi3GjQz.js → cow-BIzmQHon.js} +1 -1
  7. package/dist/index.d.ts +4 -3
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +1 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/{irm-BDlcUNgJ.js → irm-BGog_tSR.js} +3 -3
  12. package/dist/panoptic/v2/index.d.ts +137 -135
  13. package/dist/panoptic/v2/index.d.ts.map +1 -1
  14. package/dist/panoptic/v2/index.js +52 -51
  15. package/dist/panoptic/v2/index.js.map +1 -1
  16. package/dist/panoptic/v2/react-public.d.ts +144 -142
  17. package/dist/panoptic/v2/react-public.d.ts.map +1 -1
  18. package/dist/panoptic/v2/react-public.js +55 -54
  19. package/dist/panoptic/v2/react-public.js.map +1 -1
  20. package/dist/providers-1WdiaRbY.js +54 -0
  21. package/dist/{rates-BwZnK0tG.js → rates-O6Sn-xqL.js} +3 -3
  22. package/dist/{router-Y1OxL9Nt.js → router-BuAvFpbu.js} +137 -10
  23. package/dist/{router-jMP7fVno.js → router-DHn0rNd7.js} +2 -2
  24. package/dist/rpc/index.d.ts +112 -0
  25. package/dist/rpc/index.d.ts.map +1 -0
  26. package/dist/rpc/index.js +242 -0
  27. package/dist/rpc/index.js.map +1 -0
  28. package/dist/test/index.d.ts +1 -1
  29. package/dist/test/index.d.ts.map +1 -1
  30. package/dist/test/index.js +1 -14
  31. package/dist/test/index.js.map +1 -1
  32. package/dist/uniswap/index.d.ts +311 -216
  33. package/dist/uniswap/index.d.ts.map +1 -1
  34. package/dist/uniswap/index.js +254 -21
  35. package/dist/uniswap/index.js.map +1 -1
  36. package/dist/{v2-B27ILZl4.js → v2-D2Bg1SeN.js} +19 -144
  37. package/dist/{writes-B8NGXzUG.js → writes-jz-N6C_4.js} +37 -37
  38. package/dist/zodiac/index.d.ts +3 -3
  39. package/dist/zodiac/index.d.ts.map +1 -1
  40. package/dist/zodiac/index.js +3 -3
  41. package/dist/zodiac/index.js.map +1 -1
  42. package/package.json +5 -1
@@ -840,8 +840,8 @@ interface RiskEngine {
840
840
  /** Commission rate (in bps), charged on notional at mint */
841
841
  commissionRate: bigint;
842
842
  /**
843
- * Premium fee rate (in bps), charged on realized premium at burn. The burn
844
- * commission is the lesser of this applied to the realized premium and
843
+ * Streamia fee rate (in bps), charged on realized streamia at burn. The burn
844
+ * commission is the lesser of this applied to the realized streamia and
845
845
  * 10x `commissionRate` applied to the notional — see CollateralTracker.settleBurn.
846
846
  */
847
847
  premiumFeeRate: bigint;
@@ -976,9 +976,9 @@ interface Position {
976
976
  blockNumberAtMint: bigint;
977
977
  /** Whether a swap occurred at mint */
978
978
  swapAtMint: boolean;
979
- /** Accumulated premia owed for token 0 */
979
+ /** Accumulated streamia owed for token 0 */
980
980
  premiaOwed0: bigint;
981
- /** Accumulated premia owed for token 1 */
981
+ /** Accumulated streamia owed for token 1 */
982
982
  premiaOwed1: bigint;
983
983
  /** Whether this is an optimistic pending position */
984
984
  pending?: boolean;
@@ -1041,9 +1041,9 @@ interface ClosedPosition {
1041
1041
  realizedPnL0: bigint;
1042
1042
  /** Realized PnL for token 1 */
1043
1043
  realizedPnL1: bigint;
1044
- /** Total premia collected for token 0 */
1044
+ /** Total streamia collected for token 0 */
1045
1045
  premiaCollected0: bigint;
1046
- /** Total premia collected for token 1 */
1046
+ /** Total streamia collected for token 1 */
1047
1047
  premiaCollected1: bigint;
1048
1048
  /** Closure reason */
1049
1049
  closureReason: 'closed' | 'liquidated' | 'force_exercised';
@@ -1188,7 +1188,7 @@ interface NetLiquidationValue {
1188
1188
  value1: bigint;
1189
1189
  /** Tick used for calculation */
1190
1190
  atTick: bigint;
1191
- /** Whether pending premium was included */
1191
+ /** Whether pending streamia was included */
1192
1192
  includedPendingPremium: boolean;
1193
1193
  /** Block metadata */
1194
1194
  _meta: BlockMeta;
@@ -1430,7 +1430,7 @@ interface OptionBurntEvent extends BaseEvent {
1430
1430
  tokenId: bigint;
1431
1431
  /** Position size that was burnt */
1432
1432
  positionSize: bigint;
1433
- /** Premia settled for each leg (token0 right, token1 left per leg) */
1433
+ /** Streamia settled for each leg (token0 right, token1 left per leg) */
1434
1434
  premiaByLeg: readonly [bigint, bigint, bigint, bigint];
1435
1435
  }
1436
1436
  /**
@@ -2398,7 +2398,7 @@ interface OpenPositionParams extends Partial<PositionStorageParams> {
2398
2398
  * When false (default), tickLimits are passed in ascending order (low, high).
2399
2399
  */
2400
2400
  swapAtMint?: boolean;
2401
- /** Whether to use premia as collateral */
2401
+ /** Whether to use streamia as collateral */
2402
2402
  usePremiaAsCollateral?: boolean;
2403
2403
  /** Builder code (defaults to 0) */
2404
2404
  builderCode?: bigint;
@@ -2494,7 +2494,7 @@ interface ClosePositionParams extends Partial<PositionStorageParams> {
2494
2494
  * When false (default), tickLimits are passed in ascending order (low, high).
2495
2495
  */
2496
2496
  swapAtMint?: boolean;
2497
- /** Whether to use premia as collateral */
2497
+ /** Whether to use streamia as collateral */
2498
2498
  usePremiaAsCollateral?: boolean;
2499
2499
  /** Builder code (defaults to 0) */
2500
2500
  builderCode?: bigint;
@@ -2550,7 +2550,7 @@ interface RollPositionParams extends Partial<PositionStorageParams> {
2550
2550
  openSpreadLimit?: bigint;
2551
2551
  /** Whether to swap tokens when opening */
2552
2552
  openSwapAtMint?: boolean;
2553
- /** Whether to use premia as collateral */
2553
+ /** Whether to use streamia as collateral */
2554
2554
  usePremiaAsCollateral?: boolean;
2555
2555
  /** Builder code */
2556
2556
  builderCode?: bigint;
@@ -2971,9 +2971,9 @@ interface ClosePositionSimulation {
2971
2971
  amount0Received: bigint;
2972
2972
  /** Token 1 amount received */
2973
2973
  amount1Received: bigint;
2974
- /** Premia collected for token 0 (null: requires pre-close premia snapshot) */
2974
+ /** Streamia collected for token 0 (null: requires pre-close streamia snapshot) */
2975
2975
  premiaCollected0: bigint | null;
2976
- /** Premia collected for token 1 (null: requires pre-close premia snapshot) */
2976
+ /** Streamia collected for token 1 (null: requires pre-close streamia snapshot) */
2977
2977
  premiaCollected1: bigint | null;
2978
2978
  /** Post-trade collateral for token 0 */
2979
2979
  postCollateral0: bigint;
@@ -2998,16 +2998,16 @@ interface ForceExerciseSimulation {
2998
2998
  reason?: string;
2999
2999
  }
3000
3000
  /**
3001
- * Settle-premium-on-another-account simulation result data.
3001
+ * Settle-streamia-on-another-account simulation result data.
3002
3002
  */
3003
3003
  interface SettlePremiumFromSimulation {
3004
- /** Short premium the settle makes available to the caller (token 0) */
3004
+ /** Short streamia the settle makes available to the caller (token 0) */
3005
3005
  premium0: bigint;
3006
- /** Short premium the settle makes available to the caller (token 1) */
3006
+ /** Short streamia the settle makes available to the caller (token 1) */
3007
3007
  premium1: bigint;
3008
- /** Total premium the buyer pays into the chunk (token 0) */
3008
+ /** Total streamia the buyer pays into the chunk (token 0) */
3009
3009
  settled0: bigint;
3010
- /** Total premium the buyer pays into the chunk (token 1) */
3010
+ /** Total streamia the buyer pays into the chunk (token 1) */
3011
3011
  settled1: bigint;
3012
3012
  /** Whether the settlement would succeed */
3013
3013
  canSettle: boolean;
@@ -3032,20 +3032,20 @@ interface LiquidateSimulation {
3032
3032
  shortfall1: bigint;
3033
3033
  }
3034
3034
  /**
3035
- * Settle premia simulation result data.
3035
+ * Settle streamia simulation result data.
3036
3036
  */
3037
3037
  interface SettleSimulation {
3038
- /** Signed premia flow for token 0 — positive = collected, negative = paid. */
3038
+ /** Signed streamia flow for token 0 — positive = collected, negative = paid. */
3039
3039
  premiaReceived0: bigint;
3040
- /** Signed premia flow for token 1 — positive = collected, negative = paid. */
3040
+ /** Signed streamia flow for token 1 — positive = collected, negative = paid. */
3041
3041
  premiaReceived1: bigint;
3042
3042
  /** Post-settle collateral for token 0 */
3043
3043
  postCollateral0: bigint;
3044
3044
  /** Post-settle collateral for token 1 */
3045
3045
  postCollateral1: bigint;
3046
- /** Premium made collectable by buyer settlement and chunk pokes. */
3046
+ /** Streamia made collectable by buyer settlement and chunk pokes. */
3047
3047
  premiumProtected: [bigint, bigint];
3048
- /** Premium still unavailable after protection and forfeited by settlement. */
3048
+ /** Streamia still unavailable after protection and forfeited by settlement. */
3049
3049
  remainingForfeit: [bigint, bigint];
3050
3050
  /** Whether the settlement includes a temporary chunk-liquidity poke. */
3051
3051
  usesPoke: boolean;
@@ -3088,9 +3088,9 @@ interface DispatchSimulation {
3088
3088
  netAmount0: bigint;
3089
3089
  /** Token 1 net change */
3090
3090
  netAmount1: bigint;
3091
- /** Premia settled for token 0 (null when atomic pre/post position reads are unavailable). */
3091
+ /** Streamia settled for token 0 (null when atomic pre/post position reads are unavailable). */
3092
3092
  premiaReceived0: bigint | null;
3093
- /** Premia settled for token 1 (null when atomic pre/post position reads are unavailable). */
3093
+ /** Streamia settled for token 1 (null when atomic pre/post position reads are unavailable). */
3094
3094
  premiaReceived1: bigint | null;
3095
3095
  /** Positions created */
3096
3096
  positionsCreated: bigint[];
@@ -3608,7 +3608,7 @@ interface TokenIdBuilder {
3608
3608
  * Add a loan leg (borrow liquidity). Uses width=0 with isLong=false.
3609
3609
  *
3610
3610
  * A loan borrows liquidity from the pool at a specific strike price.
3611
- * The borrower receives the token and owes interest (streaming premium).
3611
+ * The borrower receives the token and owes interest (streamia).
3612
3612
  *
3613
3613
  * @param config - Loan configuration (tokenType, strike, optionRatio)
3614
3614
  * @returns The builder for chaining
@@ -3618,7 +3618,7 @@ interface TokenIdBuilder {
3618
3618
  * Add a credit leg (lend liquidity). Uses width=0 with isLong=true.
3619
3619
  *
3620
3620
  * A credit lends liquidity to the pool at a specific strike price.
3621
- * The lender deposits the token and earns interest (streaming premium).
3621
+ * The lender deposits the token and earns interest (streamia).
3622
3622
  *
3623
3623
  * @param config - Credit configuration (tokenType, strike, optionRatio)
3624
3624
  * @returns The builder for chaining
@@ -4717,18 +4717,18 @@ declare function getPositionGreeks(params: GetPositionGreeksParams): Promise<Pos
4717
4717
  //#endregion
4718
4718
  //#region src/panoptic/v2/reads/premia.d.ts
4719
4719
  /**
4720
- * Premia data for an account.
4720
+ * Streamia data for an account.
4721
4721
  */
4722
4722
  interface AccountPremia {
4723
- /** Total short premium owed to the account for token 0 */
4723
+ /** Total short streamia owed to the account for token 0 */
4724
4724
  shortPremium0: bigint;
4725
- /** Total short premium owed to the account for token 1 */
4725
+ /** Total short streamia owed to the account for token 1 */
4726
4726
  shortPremium1: bigint;
4727
- /** Total long premium owed by the account for token 0 */
4727
+ /** Total long streamia owed by the account for token 0 */
4728
4728
  longPremium0: bigint;
4729
- /** Total long premium owed by the account for token 1 */
4729
+ /** Total long streamia owed by the account for token 1 */
4730
4730
  longPremium1: bigint;
4731
- /** Whether pending (unsettled) premium was included */
4731
+ /** Whether pending (unsettled) streamia was included */
4732
4732
  includePendingPremium: boolean;
4733
4733
  /** Block metadata */
4734
4734
  _meta: BlockMeta;
@@ -4745,7 +4745,7 @@ interface GetAccountPremiaParams {
4745
4745
  account: Address;
4746
4746
  /** TokenIds held by the account */
4747
4747
  tokenIds: bigint[];
4748
- /** Whether to include pending (unsettled) premium (default: true) */
4748
+ /** Whether to include pending (unsettled) streamia (default: true) */
4749
4749
  includePendingPremium?: boolean;
4750
4750
  /** Optional block number for historical queries */
4751
4751
  blockNumber?: bigint;
@@ -4753,18 +4753,18 @@ interface GetAccountPremiaParams {
4753
4753
  _meta?: BlockMeta;
4754
4754
  }
4755
4755
  /**
4756
- * Get premia totals for an account.
4756
+ * Get streamia totals for an account.
4757
4757
  *
4758
- * Returns the total short and long premium across all positions.
4759
- * Short premium is owed TO the account (earned from selling options).
4760
- * Long premium is owed BY the account (paid for buying options).
4758
+ * Returns the total short and long streamia across all positions.
4759
+ * Short streamia is owed TO the account (earned from selling options).
4760
+ * Long streamia is owed BY the account (paid for buying options).
4761
4761
  *
4762
4762
  * @param params - The parameters
4763
- * @returns Premia totals with block metadata
4763
+ * @returns Streamia totals with block metadata
4764
4764
  *
4765
4765
  * @example
4766
4766
  * ```typescript
4767
- * const premia = await getAccountPremia({
4767
+ * const streamia = await getAccountPremia({
4768
4768
  * client,
4769
4769
  * poolAddress,
4770
4770
  * account,
@@ -4772,13 +4772,13 @@ interface GetAccountPremiaParams {
4772
4772
  * includePendingPremium: true,
4773
4773
  * })
4774
4774
  *
4775
- * console.log('Short premium earned:', premia.shortPremium0, premia.shortPremium1)
4776
- * console.log('Long premium owed:', premia.longPremium0, premia.longPremium1)
4775
+ * console.log('Short streamia earned:', streamia.shortPremium0, streamia.shortPremium1)
4776
+ * console.log('Long streamia owed:', streamia.longPremium0, streamia.longPremium1)
4777
4777
  * ```
4778
4778
  */
4779
4779
  declare function getAccountPremia(params: GetAccountPremiaParams): Promise<AccountPremia>;
4780
4780
  /**
4781
- * Position with premia data.
4781
+ * Position with streamia data.
4782
4782
  */
4783
4783
  interface PositionWithPremia extends Position {}
4784
4784
  /**
@@ -4787,15 +4787,15 @@ interface PositionWithPremia extends Position {}
4787
4787
  interface PositionsWithPremiaResult {
4788
4788
  /** Positions with full data */
4789
4789
  positions: PositionWithPremia[];
4790
- /** Total short premium owed to the account for token 0 */
4790
+ /** Total short streamia owed to the account for token 0 */
4791
4791
  shortPremium0: bigint;
4792
- /** Total short premium owed to the account for token 1 */
4792
+ /** Total short streamia owed to the account for token 1 */
4793
4793
  shortPremium1: bigint;
4794
- /** Total long premium owed by the account for token 0 */
4794
+ /** Total long streamia owed by the account for token 0 */
4795
4795
  longPremium0: bigint;
4796
- /** Total long premium owed by the account for token 1 */
4796
+ /** Total long streamia owed by the account for token 1 */
4797
4797
  longPremium1: bigint;
4798
- /** Whether pending (unsettled) premium was included */
4798
+ /** Whether pending (unsettled) streamia was included */
4799
4799
  includePendingPremium: boolean;
4800
4800
  /** Block metadata */
4801
4801
  _meta: BlockMeta;
@@ -4812,7 +4812,7 @@ interface GetPositionsWithPremiaParams {
4812
4812
  account: Address;
4813
4813
  /** TokenIds held by the account */
4814
4814
  tokenIds: bigint[];
4815
- /** Whether to include pending (unsettled) premium (default: true) */
4815
+ /** Whether to include pending (unsettled) streamia (default: true) */
4816
4816
  includePendingPremium?: boolean;
4817
4817
  /** Optional block number for historical queries */
4818
4818
  blockNumber?: bigint;
@@ -4820,13 +4820,13 @@ interface GetPositionsWithPremiaParams {
4820
4820
  _meta?: BlockMeta;
4821
4821
  }
4822
4822
  /**
4823
- * Get positions with per-position premia data.
4823
+ * Get positions with per-position streamia data.
4824
4824
  *
4825
4825
  * Uses multicall to batch individual getFullPositionsData calls
4826
- * for each position, giving us per-position premia in a single RPC request.
4826
+ * for each position, giving us per-position streamia in a single RPC request.
4827
4827
  *
4828
4828
  * @param params - The parameters
4829
- * @returns Positions with premia and totals with block metadata
4829
+ * @returns Positions with streamia and totals with block metadata
4830
4830
  *
4831
4831
  * @example
4832
4832
  * ```typescript
@@ -4839,27 +4839,27 @@ interface GetPositionsWithPremiaParams {
4839
4839
  *
4840
4840
  * for (const position of result.positions) {
4841
4841
  * console.log('Position:', position.tokenId)
4842
- * console.log('Premia:', position.premiaOwed0, position.premiaOwed1)
4842
+ * console.log('Streamia:', position.premiaOwed0, position.premiaOwed1)
4843
4843
  * }
4844
- * console.log('Total short premium:', result.shortPremium0, result.shortPremium1)
4844
+ * console.log('Total short streamia:', result.shortPremium0, result.shortPremium1)
4845
4845
  * ```
4846
4846
  */
4847
4847
  declare function getPositionsWithPremia(params: GetPositionsWithPremiaParams): Promise<PositionsWithPremiaResult>;
4848
4848
  /**
4849
- * Forfeitable (unsettled) short premium on a position.
4849
+ * Forfeitable (unsettled) short streamia on a position.
4850
4850
  */
4851
4851
  interface ForfeitablePremium {
4852
- /** Short premium owed to the account, including unsettled pending premium (token 0) */
4852
+ /** Short streamia owed to the account, including unsettled pending streamia (token 0) */
4853
4853
  owed0: bigint;
4854
- /** Short premium owed to the account, including unsettled pending premium (token 1) */
4854
+ /** Short streamia owed to the account, including unsettled pending streamia (token 1) */
4855
4855
  owed1: bigint;
4856
- /** Short premium currently available to collect (token 0) */
4856
+ /** Short streamia currently available to collect (token 0) */
4857
4857
  available0: bigint;
4858
- /** Short premium currently available to collect (token 1) */
4858
+ /** Short streamia currently available to collect (token 1) */
4859
4859
  available1: bigint;
4860
- /** Premium that would be forfeited if the position were closed now (owed - available, token 0) */
4860
+ /** Streamia that would be forfeited if the position were closed now (owed - available, token 0) */
4861
4861
  forfeit0: bigint;
4862
- /** Premium that would be forfeited if the position were closed now (owed - available, token 1) */
4862
+ /** Streamia that would be forfeited if the position were closed now (owed - available, token 1) */
4863
4863
  forfeit1: bigint;
4864
4864
  /** Block metadata */
4865
4865
  _meta: BlockMeta;
@@ -4880,17 +4880,17 @@ interface GetForfeitablePremiumParams {
4880
4880
  blockNumber?: bigint;
4881
4881
  }
4882
4882
  /**
4883
- * Get the unsettled short premium an account would forfeit by closing now.
4883
+ * Get the unsettled short streamia an account would forfeit by closing now.
4884
4884
  *
4885
4885
  * Calls `getFullPositionsData` twice in one multicall — once with
4886
4886
  * `includePendingPremium = true` (everything owed to the short legs) and once
4887
4887
  * with `false` (only what is available to collect). The difference is the
4888
- * premium still owed by buyers that has not been settled; closing before it
4888
+ * streamia still owed by buyers that has not been settled; closing before it
4889
4889
  * settles forfeits it. Settling buyers first (see `settlePremiumFrom`) moves
4890
- * that premium into the available bucket.
4890
+ * that streamia into the available bucket.
4891
4891
  *
4892
4892
  * @param params - The parameters
4893
- * @returns Owed, available, and forfeitable premium with block metadata
4893
+ * @returns Owed, available, and forfeitable streamia with block metadata
4894
4894
  */
4895
4895
  declare function getForfeitablePremium(params: GetForfeitablePremiumParams): Promise<ForfeitablePremium>;
4896
4896
 
@@ -4979,7 +4979,7 @@ interface GetAccountSummaryRiskParams extends GetAccountSummaryBasicParams {
4979
4979
  queryAddress: Address;
4980
4980
  /** Optional: Tick to calculate risk metrics at (defaults to current tick) */
4981
4981
  atTick?: bigint;
4982
- /** Optional: Whether to include pending premium in NLV */
4982
+ /** Optional: Whether to include pending streamia in NLV */
4983
4983
  includePendingPremium?: boolean;
4984
4984
  }
4985
4985
  /**
@@ -5016,7 +5016,7 @@ interface GetNetLiquidationValueParams {
5016
5016
  tokenIds: bigint[];
5017
5017
  /** Optional: Tick to calculate NLV at (defaults to current tick) */
5018
5018
  atTick?: bigint;
5019
- /** Optional: Whether to include pending premium */
5019
+ /** Optional: Whether to include pending streamia */
5020
5020
  includePendingPremium?: boolean;
5021
5021
  /** PanopticQuery address (required) */
5022
5022
  queryAddress: Address;
@@ -5031,7 +5031,7 @@ interface GetNetLiquidationValueParams {
5031
5031
  * ## Same-Block Guarantee
5032
5032
  * Tick and NLV are queried at the same target block.
5033
5033
  *
5034
- * Requires PanopticQuery for accurate value and premium accounting.
5034
+ * Requires PanopticQuery for accurate value and streamia accounting.
5035
5035
  *
5036
5036
  * @param params - The parameters
5037
5037
  * @returns Net liquidation value with block metadata
@@ -5051,7 +5051,7 @@ interface GetNetLiquidationValuesParams {
5051
5051
  tokenIds: bigint[];
5052
5052
  /** Ticks to calculate NLV at */
5053
5053
  atTicks: bigint[];
5054
- /** Optional: Whether to include pending premium */
5054
+ /** Optional: Whether to include pending streamia */
5055
5055
  includePendingPremium?: boolean;
5056
5056
  /** PanopticQuery address (required) */
5057
5057
  queryAddress: Address;
@@ -5490,8 +5490,8 @@ interface GetMaxPositionSizeParams {
5490
5490
  /** Whether to swap tokens at mint (affects collateral requirements, default: false) */
5491
5491
  swapAtMint?: boolean;
5492
5492
  /**
5493
- * Whether the solvency simulation may count accrued premia as collateral. MUST match the
5494
- * mint (which uses `false`) — passing `true` credits premia the mint won't, so the search
5493
+ * Whether the solvency simulation may count accrued streamia as collateral. MUST match the
5494
+ * mint (which uses `false`) — passing `true` credits streamia the mint won't, so the search
5495
5495
  * returns a size larger than the account can actually mint. Defaults to `false`.
5496
5496
  */
5497
5497
  usePremiaAsCollateral?: boolean;
@@ -6248,7 +6248,7 @@ declare function getSafeMode(params: GetSafeModeParams): Promise<SafeModeState$1
6248
6248
  //#endregion
6249
6249
  //#region src/panoptic/v2/reads/queryUtils.d.ts
6250
6250
  /**
6251
- * Portfolio value result (without premia).
6251
+ * Portfolio value result (without streamia).
6252
6252
  */
6253
6253
  interface PortfolioValue {
6254
6254
  /** Value in token 0 */
@@ -6282,10 +6282,10 @@ interface GetPortfolioValueParams {
6282
6282
  _meta?: BlockMeta;
6283
6283
  }
6284
6284
  /**
6285
- * Get portfolio value (NAV) without premia.
6285
+ * Get portfolio value (NAV) without streamia.
6286
6286
  *
6287
6287
  * This calculates the net asset value of the portfolio based on Uniswap liquidity
6288
- * at a given tick, excluding accumulated premia. Useful for PnL tracking separate
6288
+ * at a given tick, excluding accumulated streamia. Useful for PnL tracking separate
6289
6289
  * from liquidation value.
6290
6290
  *
6291
6291
  * ## Same-Block Guarantee
@@ -7299,7 +7299,7 @@ interface GetOpenPositionPreviewParams {
7299
7299
  spreadLimit?: bigint;
7300
7300
  /** Whether to swap at mint */
7301
7301
  swapAtMint?: boolean;
7302
- /** Whether to use premia as collateral */
7302
+ /** Whether to use streamia as collateral */
7303
7303
  usePremiaAsCollateral?: boolean;
7304
7304
  /** Chain ID (for greeks calculation) */
7305
7305
  chainId?: bigint;
@@ -7517,7 +7517,7 @@ interface AccountTrade {
7517
7517
  poolUtilization0?: bigint;
7518
7518
  /** Pool utilization for token 1 at mint (only for mints) */
7519
7519
  poolUtilization1?: bigint;
7520
- /** Premia settled per leg on burn (only for burns) */
7520
+ /** Streamia settled per leg on burn (only for burns) */
7521
7521
  premiaByLeg?: readonly [bigint, bigint, bigint, bigint];
7522
7522
  }
7523
7523
  /**
@@ -7592,7 +7592,7 @@ interface StreamiaLeg {
7592
7592
 
7593
7593
  //#endregion
7594
7594
  //#region src/panoptic/v2/reads/streamiaHistory.d.ts
7595
- /** A signed settled-premia event used to reconstruct cumulative premia. */
7595
+ /** A signed settled-streamia event used to reconstruct cumulative streamia. */
7596
7596
  interface SettledEvent {
7597
7597
  /** Block at which settlement occurred */
7598
7598
  blockNumber: bigint;
@@ -7619,7 +7619,7 @@ interface GetStreamiaHistoryParams {
7619
7619
  poolConfig: PoolVersionConfig;
7620
7620
  /** Whether to include Uniswap fee data (default: true) */
7621
7621
  includeUniswapFees?: boolean;
7622
- /** Signed settled-premia events to include in cumulative premia (optional) */
7622
+ /** Signed settled-streamia events to include in cumulative streamia (optional) */
7623
7623
  settledEvents?: SettledEvent[];
7624
7624
  /** Pre-fetched block metadata (skips an extra eth_getBlockByNumber if provided) */
7625
7625
  _meta?: BlockMeta;
@@ -7628,12 +7628,12 @@ interface GetStreamiaHistoryParams {
7628
7628
  interface StreamiaSnapshot {
7629
7629
  /** Block number (undefined if queried as latest) */
7630
7630
  blockNumber: bigint | undefined;
7631
- /** Currently unsettled Panoptic premia (short - long) */
7631
+ /** Currently unsettled Panoptic streamia (short - long) */
7632
7632
  panopticPremia: {
7633
7633
  token0: bigint;
7634
7634
  token1: bigint;
7635
7635
  };
7636
- /** Lifetime Panoptic premia, including signed settled amounts */
7636
+ /** Lifetime Panoptic streamia, including signed settled amounts */
7637
7637
  cumulativePanopticPremia: {
7638
7638
  token0: bigint;
7639
7639
  token1: bigint;
@@ -7655,7 +7655,7 @@ interface StreamiaHistoryResult {
7655
7655
  * Get historical streamia data for a position across multiple blocks.
7656
7656
  *
7657
7657
  * @param params - The parameters
7658
- * @returns Snapshots of Panoptic premia and Uniswap fee deltas at each block
7658
+ * @returns Snapshots of Panoptic streamia and Uniswap fee deltas at each block
7659
7659
  */
7660
7660
  declare function getStreamiaHistory(params: GetStreamiaHistoryParams): Promise<StreamiaHistoryResult>;
7661
7661
 
@@ -8049,9 +8049,9 @@ interface PositionInput {
8049
8049
  tickAtBurn?: number;
8050
8050
  /** Block number of the burn tx (closed positions only) */
8051
8051
  burnBlockNumber?: bigint;
8052
- /** Premium in token0 from subgraph (closed positions only) */
8052
+ /** Streamia in token0 from subgraph (closed positions only) */
8053
8053
  burnPremium0?: bigint;
8054
- /** Premium in token1 from subgraph (closed positions only) */
8054
+ /** Streamia in token1 from subgraph (closed positions only) */
8055
8055
  burnPremium1?: bigint;
8056
8056
  }
8057
8057
  /**
@@ -8061,9 +8061,9 @@ interface PositionInput {
8061
8061
  * The UI maps these to asset/quote based on isAssetToken0.
8062
8062
  */
8063
8063
  interface PositionEnrichmentResult {
8064
- /** Net premia owed: shortPremium - longPremium for token0 (open); burnPremium0 for closed */
8064
+ /** Net streamia owed: shortPremium - longPremium for token0 (open); burnPremium0 for closed */
8065
8065
  premiaOwed0: bigint;
8066
- /** Net premia owed: shortPremium - longPremium for token1 (open); burnPremium1 for closed */
8066
+ /** Net streamia owed: shortPremium - longPremium for token1 (open); burnPremium1 for closed */
8067
8067
  premiaOwed1: bigint;
8068
8068
  /** Portfolio value in token0 at current tick (open) or burn tick (closed) */
8069
8069
  portfolioValue0: bigint;
@@ -8108,17 +8108,17 @@ interface GetPositionEnrichmentDataResult {
8108
8108
  _meta: BlockMeta;
8109
8109
  }
8110
8110
  /**
8111
- * Fetch enrichment data (premia, portfolio values, collateral requirements) for a set of positions.
8111
+ * Fetch enrichment data (streamia, portfolio values, collateral requirements) for a set of positions.
8112
8112
  *
8113
8113
  * Batches all needed contract reads into efficient multicalls:
8114
8114
  * - **Open positions**: 3 calls per position in a single multicall at current block:
8115
- * 1. `getFullPositionsData` → premia + collateral requirements
8115
+ * 1. `getFullPositionsData` → streamia + collateral requirements
8116
8116
  * 2. `getPortfolioValue` at currentTick → current portfolio value
8117
8117
  * 3. `getPortfolioValue` at mintTick → portfolio value at mint
8118
8118
  * - **Closed positions**: 2 calls per position at `burnBlockNumber - 1`:
8119
8119
  * 1. `getPortfolioValue` at burnTick → portfolio value at close
8120
8120
  * 2. `getPortfolioValue` at mintTick → portfolio value at mint
8121
- * (premia come from subgraph `burnPremium0/1`)
8121
+ * (streamia come from subgraph `burnPremium0/1`)
8122
8122
  *
8123
8123
  * ## Same-Block Guarantee
8124
8124
  * Open position data is fetched at a single block number.
@@ -9553,7 +9553,7 @@ declare function withdrawAndWait(params: WithdrawParams): Promise<TxReceipt>;
9553
9553
  interface WithdrawWithPositionsParams extends WithdrawParams {
9554
9554
  /** Position ID list for collateral validation */
9555
9555
  positionIdList: bigint[];
9556
- /** Whether to use premia as collateral */
9556
+ /** Whether to use streamia as collateral */
9557
9557
  usePremiaAsCollateral: boolean;
9558
9558
  }
9559
9559
  /**
@@ -9653,7 +9653,7 @@ interface DispatchParams {
9653
9653
  positionSizes: bigint[];
9654
9654
  /** Tick and spread limits for each operation */
9655
9655
  tickAndSpreadLimits: TickAndSpreadLimits[];
9656
- /** Whether to use premia as collateral */
9656
+ /** Whether to use streamia as collateral */
9657
9657
  usePremiaAsCollateral?: boolean;
9658
9658
  /** Builder code */
9659
9659
  builderCode?: bigint;
@@ -9740,7 +9740,7 @@ interface LiquidateParams {
9740
9740
  positionIdListTo: bigint[];
9741
9741
  /** Final position ID list for the liquidatee after liquidation */
9742
9742
  positionIdListToFinal: bigint[];
9743
- /** Packed value for using premia as collateral */
9743
+ /** Packed value for using streamia as collateral */
9744
9744
  usePremiaAsCollateral?: bigint;
9745
9745
  /** Native currency supplied to cover a negative token0 liquidation bonus */
9746
9746
  value?: bigint;
@@ -9799,7 +9799,7 @@ interface ForceExerciseParams {
9799
9799
  positionIdListTo: bigint[];
9800
9800
  /** Final position ID list for the user after exercise */
9801
9801
  positionIdListToFinal: bigint[];
9802
- /** Packed value for using premia as collateral */
9802
+ /** Packed value for using streamia as collateral */
9803
9803
  usePremiaAsCollateral?: bigint;
9804
9804
  /** Gas and transaction overrides */
9805
9805
  txOverrides?: TxOverrides;
@@ -9847,13 +9847,13 @@ declare function forceExerciseAndWait(params: ForceExerciseParams): Promise<TxRe
9847
9847
  * Reorder a position ID list so `tokenId` is the last element.
9848
9848
  *
9849
9849
  * The position list fingerprint is an XOR hash, so ordering is free to change.
9850
- * The contract settles premium on the last element of `positionIdListTo`.
9850
+ * The contract settles streamia on the last element of `positionIdListTo`.
9851
9851
  *
9852
9852
  * @throws PanopticError if `tokenId` is not in the list
9853
9853
  */
9854
9854
  declare function orderListForSettle(positionIdList: bigint[], tokenId: bigint): bigint[];
9855
9855
  /**
9856
- * Parameters for settling another account's long premium.
9856
+ * Parameters for settling another account's long streamia.
9857
9857
  */
9858
9858
  interface SettlePremiumFromParams {
9859
9859
  /** Public client */
@@ -9864,19 +9864,19 @@ interface SettlePremiumFromParams {
9864
9864
  account: Address;
9865
9865
  /** PanopticPool address */
9866
9866
  poolAddress: Address;
9867
- /** Account whose long premium is being settled */
9867
+ /** Account whose long streamia is being settled */
9868
9868
  user: Address;
9869
9869
  /** Position IDs from the caller's account (full held list) */
9870
9870
  positionIdListFrom: bigint[];
9871
9871
  /** The target user's full held position ID list (passed as both To and ToFinal) */
9872
9872
  positionIdList: bigint[];
9873
9873
  /**
9874
- * The target position to settle premium on. The contract settles the LAST
9874
+ * The target position to settle streamia on. The contract settles the LAST
9875
9875
  * element of the list; when provided, the list is reordered to end with
9876
9876
  * this tokenId. When omitted, the last element of `positionIdList` is settled.
9877
9877
  */
9878
9878
  tokenId?: bigint;
9879
- /** Packed value for using premia as collateral */
9879
+ /** Packed value for using streamia as collateral */
9880
9880
  usePremiaAsCollateral?: bigint;
9881
9881
  /** Gas and transaction overrides */
9882
9882
  txOverrides?: TxOverrides;
@@ -9886,15 +9886,15 @@ interface SettlePremiumFromParams {
9886
9886
  chainId?: bigint;
9887
9887
  }
9888
9888
  /**
9889
- * Settle another account's accumulated long premium.
9889
+ * Settle another account's accumulated long streamia.
9890
9890
  *
9891
9891
  * Calls `dispatchFrom` with the target's position list passed as both
9892
9892
  * `positionIdListTo` and `positionIdListToFinal` (equal lengths select the
9893
- * settle-premium mode and cannot force-exercise or liquidate). Requires the
9894
- * target account to be solvent; the settled premium is credited to the
9893
+ * settle-streamia mode and cannot force-exercise or liquidate). Requires the
9894
+ * target account to be solvent; the settled streamia is credited to the
9895
9895
  * sellers of the corresponding chunks.
9896
9896
  *
9897
- * @param params - Settle premium parameters
9897
+ * @param params - Settle streamia parameters
9898
9898
  * @returns TxResult
9899
9899
  *
9900
9900
  * @example
@@ -9913,7 +9913,7 @@ interface SettlePremiumFromParams {
9913
9913
  */
9914
9914
  declare function settlePremiumFrom(params: SettlePremiumFromParams): Promise<TxResult>;
9915
9915
  /**
9916
- * Settle another account's premium and wait for confirmation.
9916
+ * Settle another account's streamia and wait for confirmation.
9917
9917
  *
9918
9918
  * When `storage` and `chainId` are provided, automatically syncs the
9919
9919
  * caller's positions after the transaction confirms.
@@ -9973,14 +9973,14 @@ declare function buildCreditWrappedDispatch(params: BuildCreditWrappedDispatchPa
9973
9973
  //#endregion
9974
9974
  //#region src/panoptic/v2/writes/settleSequence.d.ts
9975
9975
  /**
9976
- * One buyer whose long premium is settled by the sequence.
9976
+ * One buyer whose long streamia is settled by the sequence.
9977
9977
  */
9978
9978
  interface SettleSequenceTarget {
9979
- /** Account whose long premium is being settled */
9979
+ /** Account whose long streamia is being settled */
9980
9980
  user: Address;
9981
9981
  /** The target user's full held position ID list */
9982
9982
  positionIdList: bigint[];
9983
- /** The position to settle premium on (reordered to the end of the list) */
9983
+ /** The position to settle streamia on (reordered to the end of the list) */
9984
9984
  tokenId: bigint;
9985
9985
  }
9986
9986
  /**
@@ -9999,7 +9999,7 @@ interface SettleSequenceClose {
9999
9999
  spreadLimit?: bigint;
10000
10000
  /** Whether to swap at mint/burn (descending tick limits). Default false */
10001
10001
  swapAtMint?: boolean;
10002
- /** Whether to use premia as collateral for the close. Default false */
10002
+ /** Whether to use streamia as collateral for the close. Default false */
10003
10003
  usePremiaAsCollateral?: boolean;
10004
10004
  /** Builder code (default 0) */
10005
10005
  builderCode?: bigint;
@@ -10019,7 +10019,7 @@ interface SettleSequenceCallsParams {
10019
10019
  * or a batch dispatch). Mutually exclusive with `close`.
10020
10020
  */
10021
10021
  dispatch?: DispatchIntent;
10022
- /** Packed value for using premia as collateral in the settles */
10022
+ /** Packed value for using streamia as collateral in the settles */
10023
10023
  usePremiaAsCollateral?: bigint;
10024
10024
  }
10025
10025
  /**
@@ -10051,7 +10051,7 @@ interface ExecuteSettleSequenceParams extends SettleSequenceCallsParams {
10051
10051
  chainId?: bigint;
10052
10052
  }
10053
10053
  /**
10054
- * Execute a settle sequence: settle each target buyer's owed long premium,
10054
+ * Execute a settle sequence: settle each target buyer's owed long streamia,
10055
10055
  * then optionally close the caller's own position, in one multicall.
10056
10056
  *
10057
10057
  * @param params - Settle sequence parameters
@@ -10069,7 +10069,7 @@ declare function executeSettleSequenceAndWait(params: ExecuteSettleSequenceParam
10069
10069
  //#endregion
10070
10070
  //#region src/panoptic/v2/writes/protectedSettle.d.ts
10071
10071
  interface BuildProtectedSettleDispatchParams {
10072
- /** Positions whose premium should be settled. */
10072
+ /** Positions whose streamia should be settled. */
10073
10073
  positionIdList: bigint[];
10074
10074
  /** The caller's complete held list. A settlement does not change it. */
10075
10075
  finalPositionIdList: bigint[];
@@ -10081,7 +10081,7 @@ interface BuildProtectedSettleDispatchParams {
10081
10081
  interface ProtectedSettlePlan {
10082
10082
  /** Atomic poke/settle/poke dispatch submitted after buyer settlements. */
10083
10083
  dispatch: DispatchIntent;
10084
- /** Poke-only dispatch used to verify no displayed premium remains uncollected. */
10084
+ /** Poke-only dispatch used to verify no displayed streamia remains uncollected. */
10085
10085
  collectionDispatch?: DispatchIntent;
10086
10086
  /** Temporary position IDs, one for each settled position containing short chunks. */
10087
10087
  pokingTokenIds: bigint[];
@@ -10103,7 +10103,7 @@ declare function buildProtectedSettleDispatch(params: BuildProtectedSettleDispat
10103
10103
  //#endregion
10104
10104
  //#region src/panoptic/v2/writes/settle.d.ts
10105
10105
  /**
10106
- * Parameters for settling accumulated premia.
10106
+ * Parameters for settling accumulated streamia.
10107
10107
  */
10108
10108
  interface SettleParams {
10109
10109
  /** Public client */
@@ -10140,7 +10140,7 @@ interface SettleParams {
10140
10140
  * changes on-chain between the fallback read and inclusion of this tx (e.g.
10141
10141
  * a size reduction from another dispatch in the intervening blocks), the
10142
10142
  * stale positionSize will no longer match `storedSize` and dispatch will
10143
- * BURN the position instead of settling premium. Callers that already hold
10143
+ * BURN the position instead of settling streamia. Callers that already hold
10144
10144
  * the stored sizes (e.g. from a same-block snapshot) SHOULD pass them
10145
10145
  * explicitly to eliminate that window.
10146
10146
  */
@@ -10155,7 +10155,7 @@ interface SettleParams {
10155
10155
  skipPreflight?: boolean;
10156
10156
  /** Allow irreducible forfeiture on positions with no available protection. */
10157
10157
  allowForfeit?: boolean;
10158
- /** Whether to use premia as collateral */
10158
+ /** Whether to use streamia as collateral */
10159
10159
  usePremiaAsCollateral?: boolean;
10160
10160
  /** Builder code */
10161
10161
  builderCode?: bigint;
@@ -10163,9 +10163,9 @@ interface SettleParams {
10163
10163
  txOverrides?: TxOverrides;
10164
10164
  }
10165
10165
  /**
10166
- * Settle accumulated premia on existing positions.
10166
+ * Settle accumulated streamia on existing positions.
10167
10167
  *
10168
- * This function triggers premium collection without changing position size.
10168
+ * This function triggers streamia collection without changing position size.
10169
10169
  * It calls dispatch with unchanged position lists.
10170
10170
  *
10171
10171
  * @param params - Settlement parameters
@@ -10185,7 +10185,7 @@ interface SettleParams {
10185
10185
  */
10186
10186
  declare function settleAccumulatedPremia(params: SettleParams): Promise<TxResult>;
10187
10187
  /**
10188
- * Settle premia and wait for confirmation.
10188
+ * Settle streamia and wait for confirmation.
10189
10189
  */
10190
10190
  declare function settleAccumulatedPremiaAndWait(params: SettleParams): Promise<TxReceipt>;
10191
10191
 
@@ -11193,7 +11193,7 @@ interface SimulateClosePositionParams {
11193
11193
  * When false (default), tickLimits are passed in ascending order (low, high).
11194
11194
  */
11195
11195
  swapAtMint?: boolean;
11196
- /** Whether to use premia as collateral */
11196
+ /** Whether to use streamia as collateral */
11197
11197
  usePremiaAsCollateral?: boolean;
11198
11198
  /** Builder code */
11199
11199
  builderCode?: bigint;
@@ -11244,11 +11244,11 @@ interface SimulateDispatchParams {
11244
11244
  positionSizes: bigint[];
11245
11245
  /** Tick and spread limits for each operation */
11246
11246
  tickAndSpreadLimits: TickAndSpreadLimits[];
11247
- /** Whether to use premia as collateral */
11247
+ /** Whether to use streamia as collateral */
11248
11248
  usePremiaAsCollateral?: boolean;
11249
11249
  /** Builder code */
11250
11250
  builderCode?: bigint;
11251
- /** Capture aggregate settled premia from atomic pre/post position snapshots. */
11251
+ /** Capture aggregate settled streamia from atomic pre/post position snapshots. */
11252
11252
  measurePremia?: boolean;
11253
11253
  /** Optional block number for simulation */
11254
11254
  blockNumber?: bigint;
@@ -11364,7 +11364,7 @@ interface SimulateOpenPositionParams {
11364
11364
  * When false (default), tickLimits are passed in ascending order (low, high).
11365
11365
  */
11366
11366
  swapAtMint?: boolean;
11367
- /** Whether to use premia as collateral */
11367
+ /** Whether to use streamia as collateral */
11368
11368
  usePremiaAsCollateral?: boolean;
11369
11369
  /** Builder code */
11370
11370
  builderCode?: bigint;
@@ -11426,7 +11426,7 @@ interface SimulateSettleParams {
11426
11426
  usePremiaAsCollateral?: boolean;
11427
11427
  builderCode?: bigint;
11428
11428
  /**
11429
- * Allow settlement when premium remains but no buyer settlement or chunk
11429
+ * Allow settlement when streamia remains but no buyer settlement or chunk
11430
11430
  * poke can collect it (for example, width-zero legs). Avoidable forfeiture
11431
11431
  * still fails closed. Default false.
11432
11432
  */
@@ -11456,9 +11456,9 @@ interface SettlePremiumBatchResult {
11456
11456
  settleable: SettleSequenceTarget[];
11457
11457
  /** Number of targets that cannot be settled */
11458
11458
  unsettleableCount: number;
11459
- /** Total premium the caller receives from the settleable targets (token 0) */
11459
+ /** Total streamia the caller receives from the settleable targets (token 0) */
11460
11460
  premium0: bigint;
11461
- /** Total premium the caller receives from the settleable targets (token 1) */
11461
+ /** Total streamia the caller receives from the settleable targets (token 1) */
11462
11462
  premium1: bigint;
11463
11463
  /** Block metadata */
11464
11464
  _meta: BlockMeta;
@@ -11481,14 +11481,14 @@ interface SimulateSettlePremiumBatchParams {
11481
11481
  blockNumber?: bigint;
11482
11482
  }
11483
11483
  /**
11484
- * Simulate settling each target buyer's owed long premium, all at one block.
11484
+ * Simulate settling each target buyer's owed long streamia, all at one block.
11485
11485
  *
11486
11486
  * Individual failures (insolvent buyer, stale list, …) are soft: the target
11487
11487
  * lands in the unsettleable partition instead of failing the batch. Only
11488
11488
  * unexpected errors reject.
11489
11489
  *
11490
11490
  * @param params - Simulation parameters
11491
- * @returns Partitioned targets with per-target premium and totals
11491
+ * @returns Partitioned targets with per-target streamia and totals
11492
11492
  */
11493
11493
  declare function simulateSettlePremiumBatch(params: SimulateSettlePremiumBatchParams): Promise<SettlePremiumBatchResult>;
11494
11494
  /**
@@ -11526,7 +11526,7 @@ declare function simulateSettleSequence(params: SimulateSettleSequenceParams): P
11526
11526
  //#endregion
11527
11527
  //#region src/panoptic/v2/simulations/simulateSettlePremiumFrom.d.ts
11528
11528
  /**
11529
- * Parameters for simulating settling another account's long premium.
11529
+ * Parameters for simulating settling another account's long streamia.
11530
11530
  */
11531
11531
  interface SimulateSettlePremiumFromParams {
11532
11532
  /** Public client */
@@ -11535,7 +11535,7 @@ interface SimulateSettlePremiumFromParams {
11535
11535
  poolAddress: Address;
11536
11536
  /** Caller (settler) account address */
11537
11537
  account: Address;
11538
- /** Account whose long premium is being settled */
11538
+ /** Account whose long streamia is being settled */
11539
11539
  user: Address;
11540
11540
  /** Position IDs from the caller's account (full held list) */
11541
11541
  positionIdListFrom: bigint[];
@@ -11547,14 +11547,14 @@ interface SimulateSettlePremiumFromParams {
11547
11547
  blockNumber?: bigint;
11548
11548
  }
11549
11549
  /**
11550
- * Simulate settling another account's accumulated long premium via `dispatchFrom`
11550
+ * Simulate settling another account's accumulated long streamia via `dispatchFrom`
11551
11551
  * (equal-length `positionIdListTo`/`positionIdListToFinal` selects the settle mode).
11552
11552
  *
11553
- * The measured token flow is the CALLER's collateral delta — i.e. the premium
11553
+ * The measured token flow is the CALLER's collateral delta — i.e. the streamia
11554
11554
  * the caller receives from the settlement (for chunks they sold).
11555
11555
  *
11556
11556
  * @param params - Simulation parameters
11557
- * @returns Simulation result with settled premium data or error
11557
+ * @returns Simulation result with settled streamia data or error
11558
11558
  */
11559
11559
  declare function simulateSettlePremiumFrom(params: SimulateSettlePremiumFromParams): Promise<SimulationResult<SettlePremiumFromSimulation>>;
11560
11560
 
@@ -11996,7 +11996,7 @@ interface TokenShortfallRecoveryQuote {
11996
11996
  /**
11997
11997
  * Exact amount of `tokenOut` the temporary credit sources. Covers the whole
11998
11998
  * dispatch, not just the first charge that reverted — a batch charges
11999
- * commission/premia per operation, so the total needed is usually larger
11999
+ * commission/streamia per operation, so the total needed is usually larger
12000
12000
  * than the `assetsRequested - assetBalance` of the first failure.
12001
12001
  */
12002
12002
  amountOut: bigint;
@@ -12685,7 +12685,7 @@ interface PoolFormatterConfig {
12685
12685
  * // Now use without passing decimals each time
12686
12686
  * const priceStr = fmt.tickToPriceScaled(position.currentTick, 4n)
12687
12687
  * const amount0Str = fmt.formatAmount0(collateral.assets, 4n)
12688
- * const amount1Str = fmt.formatAmount1(premia.token1, 2n)
12688
+ * const amount1Str = fmt.formatAmount1(streamia.token1, 2n)
12689
12689
  *
12690
12690
  * // Parse user input
12691
12691
  * const rawAmount0 = fmt.parseAmount0("1.5")
@@ -16798,7 +16798,7 @@ declare const riskEngineAbi: readonly [{
16798
16798
  //#region src/panoptic/v2/greeks/marketPnl.d.ts
16799
16799
  /** Values and prices use raw token units, matching the net-liquidation-value read. */
16800
16800
  declare function netLiquidationValueInQuote(value0: bigint, value1: bigint, tick: bigint, isAssetToken0: boolean): Decimal;
16801
- /** Apply the accrued-premium offset and optional asset collateral to a relative NLV curve. */
16801
+ /** Apply the accrued-streamia offset and optional asset collateral to a relative NLV curve. */
16802
16802
  declare function marketPnlInQuote({
16803
16803
  relativeValue,
16804
16804
  premium,
@@ -16855,7 +16855,7 @@ declare function marketRiskFromValues({
16855
16855
 
16856
16856
  //#endregion
16857
16857
  //#region src/panoptic/v2/greeks/positionVolatility.d.ts
16858
- /** The premium-free position curve, expressed in one quote token's human units. */
16858
+ /** The streamia-free position curve, expressed in one quote token's human units. */
16859
16859
  declare function preparePositionGamma({
16860
16860
  tokenId,
16861
16861
  positionSize,
@@ -16922,6 +16922,8 @@ declare function valuePositionAccrual({
16922
16922
  token0: bigint;
16923
16923
  token1: bigint;
16924
16924
  tick: bigint;
16925
+ /** Exact conversion price, when available; takes precedence over tick. */
16926
+ sqrtPriceX96?: bigint;
16925
16927
  }[];
16926
16928
  quoteIsToken0: boolean;
16927
16929
  quoteDecimals: number;
@@ -16987,7 +16989,7 @@ type PositionValueCurve = {
16987
16989
  value0: bigint;
16988
16990
  value1: bigint;
16989
16991
  }[];
16990
- /** Stable identity for a position-dependent curve; premiums and spot are separate inputs. */
16992
+ /** Stable identity for a position-dependent curve; streamia and spot are separate inputs. */
16991
16993
  declare function positionValueKey(positions: readonly PositionValueInput[]): string;
16992
16994
  /** All changes in the curve's active liquidity, independent of the current market tick. */
16993
16995
  declare function positionValueTicks(positions: readonly PositionValueInput[]): bigint[];