@panoptic-eng/sdk 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cow/index.d.ts.map +1 -1
- package/dist/cow/index.js +4 -0
- package/dist/cow/index.js.map +1 -1
- package/dist/index.d.ts +40 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +106 -3
- package/dist/index.js.map +1 -1
- package/dist/panoptic/v2/index.d.ts +117 -11
- package/dist/panoptic/v2/index.d.ts.map +1 -1
- package/dist/panoptic/v2/index.js +1589 -1367
- package/dist/panoptic/v2/index.js.map +1 -1
- package/dist/panoptic/v2/react-public.d.ts +117 -11
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +1822 -1600
- package/dist/panoptic/v2/react-public.js.map +1 -1
- package/dist/{transactionFees-C_Qx07mx.js → transactionFees-DUm6ilXB.js} +106 -2
- package/dist/uniswap/index.js +4 -0
- package/dist/uniswap/index.js.map +1 -1
- package/dist/{v2-DG7qG6di.js → v2-ChGyiigb.js} +224 -33
- package/dist/vault-transaction-fees.d.ts +41 -3
- package/dist/vault-transaction-fees.d.ts.map +1 -1
- package/dist/vault-transaction-fees.js +106 -2
- package/dist/vault-transaction-fees.js.map +1 -1
- package/dist/{writes-Xp9Wa8GQ.js → writes-_gfkBizf.js} +35 -4
- package/package.json +1 -1
|
@@ -2875,9 +2875,9 @@ interface LiquidateSimulation {
|
|
|
2875
2875
|
* Settle premia simulation result data.
|
|
2876
2876
|
*/
|
|
2877
2877
|
interface SettleSimulation {
|
|
2878
|
-
/**
|
|
2878
|
+
/** Signed premia flow for token 0 — positive = collected, negative = paid. */
|
|
2879
2879
|
premiaReceived0: bigint;
|
|
2880
|
-
/**
|
|
2880
|
+
/** Signed premia flow for token 1 — positive = collected, negative = paid. */
|
|
2881
2881
|
premiaReceived1: bigint;
|
|
2882
2882
|
/** Post-settle collateral for token 0 */
|
|
2883
2883
|
postCollateral0: bigint;
|
|
@@ -3866,6 +3866,64 @@ declare function isCredit(tokenId: bigint): boolean;
|
|
|
3866
3866
|
*/
|
|
3867
3867
|
declare function hasLoanOrCredit(tokenId: bigint): boolean;
|
|
3868
3868
|
|
|
3869
|
+
//#endregion
|
|
3870
|
+
//#region src/panoptic/v2/tokenId/deriveUniqueTokenId.d.ts
|
|
3871
|
+
type DeriveStrategy = 'tiny-credit' | 'ratio-scale';
|
|
3872
|
+
interface DeriveUniqueTokenIdParams {
|
|
3873
|
+
/** Base tokenId to derive a unique sibling from. */
|
|
3874
|
+
baseTokenId: bigint;
|
|
3875
|
+
/**
|
|
3876
|
+
* Desired new positionSize. Must be > 0 and ≤ the CURRENT stored
|
|
3877
|
+
* positionSize on the tokenId being reduced.
|
|
3878
|
+
*
|
|
3879
|
+
* For `ratio-scale` the effective size (`newPositionSize · N`) may exceed
|
|
3880
|
+
* this by a rounding-up wei. `newPositionSize` in the result reflects
|
|
3881
|
+
* exactly what to pass to dispatch.
|
|
3882
|
+
*/
|
|
3883
|
+
targetPositionSize: bigint;
|
|
3884
|
+
/**
|
|
3885
|
+
* Pool tickSpacing. Used to keep the appended credit leg's tick range
|
|
3886
|
+
* (SFPM internally widens width=0 to a width-2 chunk: `strike ± tickSpacing`)
|
|
3887
|
+
* strictly inside `[MIN_POOL_TICK, MAX_POOL_TICK]`. Omit to use a
|
|
3888
|
+
* worst-case Uniswap-v3 default of 200.
|
|
3889
|
+
*/
|
|
3890
|
+
tickSpacing?: bigint;
|
|
3891
|
+
}
|
|
3892
|
+
interface DeriveUniqueTokenIdResult {
|
|
3893
|
+
newTokenId: bigint;
|
|
3894
|
+
/** positionSize to pass to dispatch for the new tokenId. */
|
|
3895
|
+
newPositionSize: bigint;
|
|
3896
|
+
/**
|
|
3897
|
+
* Real per-leg liquidity the new tokenId will hold, expressed in the
|
|
3898
|
+
* base-token positionSize frame. Equals `newPositionSize · N` for
|
|
3899
|
+
* `ratio-scale` (where N is the applied optionRatio multiplier) and
|
|
3900
|
+
* `newPositionSize` for `tiny-credit`. Consumers should compare this
|
|
3901
|
+
* against the base tokenId's current stored size to validate that a
|
|
3902
|
+
* reduction is actually smaller (or, for `ratio-scale`, that the ceiling
|
|
3903
|
+
* rounding did not push effective size above the stored size).
|
|
3904
|
+
*/
|
|
3905
|
+
effectivePositionSize: bigint;
|
|
3906
|
+
strategy: DeriveStrategy;
|
|
3907
|
+
}
|
|
3908
|
+
/**
|
|
3909
|
+
* Derive a tokenId unique from `baseTokenId` for a partial reduction.
|
|
3910
|
+
*
|
|
3911
|
+
* Prefers a tiny-credit-leg extension (arbitrary new size). Falls back to
|
|
3912
|
+
* optionRatio scaling only when the base tokenId already occupies all 4 leg
|
|
3913
|
+
* slots.
|
|
3914
|
+
*/
|
|
3915
|
+
declare function deriveUniqueTokenId(params: DeriveUniqueTokenIdParams): DeriveUniqueTokenIdResult;
|
|
3916
|
+
/**
|
|
3917
|
+
* Test hook: exposed only to make the tiny-credit leg strike inspectable.
|
|
3918
|
+
* @internal
|
|
3919
|
+
*/
|
|
3920
|
+
|
|
3921
|
+
/**
|
|
3922
|
+
* Re-export decoded leg count so callers can gate UI on the strategy that
|
|
3923
|
+
* would be chosen (e.g. show a divisibility hint on ratio-scale positions).
|
|
3924
|
+
*/
|
|
3925
|
+
declare function planDeriveStrategy(baseTokenId: bigint): DeriveStrategy;
|
|
3926
|
+
|
|
3869
3927
|
//#endregion
|
|
3870
3928
|
//#region src/panoptic/v2/sfpmSwap/types.d.ts
|
|
3871
3929
|
/** Exact-input or exact-output swap. */
|
|
@@ -5035,9 +5093,9 @@ declare function simulateWithTokenFlow(params: SimulateWithTokenFlowParams): Pro
|
|
|
5035
5093
|
* Collateral estimate result.
|
|
5036
5094
|
*/
|
|
5037
5095
|
interface CollateralEstimate$1 {
|
|
5038
|
-
/** Required collateral
|
|
5096
|
+
/** Required collateral when getRequiredBase is token0-denominated, otherwise zero. */
|
|
5039
5097
|
required0: bigint;
|
|
5040
|
-
/** Required collateral
|
|
5098
|
+
/** Required collateral when getRequiredBase is token1-denominated, otherwise zero. */
|
|
5041
5099
|
required1: bigint;
|
|
5042
5100
|
/** Block metadata */
|
|
5043
5101
|
_meta: BlockMeta;
|
|
@@ -5077,7 +5135,9 @@ declare const REQUIRED_BASE_ERROR_SENTINEL: bigint;
|
|
|
5077
5135
|
* computes the requirement at `type(uint64).max` size and 0% utilization. Since
|
|
5078
5136
|
* the requirement is linear in size, the raw result is scaled by
|
|
5079
5137
|
* `positionSize / type(uint64).max` to yield the requirement for the requested
|
|
5080
|
-
* size.
|
|
5138
|
+
* size. `PanopticQuery.getRequiredBase` returns the cross-margin requirement in
|
|
5139
|
+
* the higher-precision raw token at `atTick`; this function places that amount
|
|
5140
|
+
* in the matching `required0` or `required1` field.
|
|
5081
5141
|
*
|
|
5082
5142
|
* @param params - The parameters
|
|
5083
5143
|
* @returns Estimated collateral requirements with block metadata
|
|
@@ -7209,7 +7269,7 @@ interface StreamiaLeg {
|
|
|
7209
7269
|
|
|
7210
7270
|
//#endregion
|
|
7211
7271
|
//#region src/panoptic/v2/reads/streamiaHistory.d.ts
|
|
7212
|
-
/** A settled
|
|
7272
|
+
/** A signed settled-premia event used to reconstruct cumulative premia. */
|
|
7213
7273
|
interface SettledEvent {
|
|
7214
7274
|
/** Block at which settlement occurred */
|
|
7215
7275
|
blockNumber: bigint;
|
|
@@ -7236,7 +7296,7 @@ interface GetStreamiaHistoryParams {
|
|
|
7236
7296
|
poolConfig: PoolVersionConfig;
|
|
7237
7297
|
/** Whether to include Uniswap fee data (default: true) */
|
|
7238
7298
|
includeUniswapFees?: boolean;
|
|
7239
|
-
/**
|
|
7299
|
+
/** Signed settled-premia events to include in cumulative premia (optional) */
|
|
7240
7300
|
settledEvents?: SettledEvent[];
|
|
7241
7301
|
/** Pre-fetched block metadata (skips an extra eth_getBlockByNumber if provided) */
|
|
7242
7302
|
_meta?: BlockMeta;
|
|
@@ -7245,11 +7305,16 @@ interface GetStreamiaHistoryParams {
|
|
|
7245
7305
|
interface StreamiaSnapshot {
|
|
7246
7306
|
/** Block number (undefined if queried as latest) */
|
|
7247
7307
|
blockNumber: bigint | undefined;
|
|
7248
|
-
/**
|
|
7308
|
+
/** Currently unsettled Panoptic premia (short - long) */
|
|
7249
7309
|
panopticPremia: {
|
|
7250
7310
|
token0: bigint;
|
|
7251
7311
|
token1: bigint;
|
|
7252
7312
|
};
|
|
7313
|
+
/** Lifetime Panoptic premia, including signed settled amounts */
|
|
7314
|
+
cumulativePanopticPremia: {
|
|
7315
|
+
token0: bigint;
|
|
7316
|
+
token1: bigint;
|
|
7317
|
+
};
|
|
7253
7318
|
/** Uniswap fee delta from the first block in the series */
|
|
7254
7319
|
uniswapFees: {
|
|
7255
7320
|
token0: bigint;
|
|
@@ -9263,8 +9328,37 @@ interface SettleParams {
|
|
|
9263
9328
|
account: Address;
|
|
9264
9329
|
/** PanopticPool address */
|
|
9265
9330
|
poolAddress: Address;
|
|
9266
|
-
/**
|
|
9331
|
+
/**
|
|
9332
|
+
* TokenIds to settle in this dispatch — a subset of the account's held
|
|
9333
|
+
* positions. Only these are touched; the rest of the account is untouched.
|
|
9334
|
+
*/
|
|
9267
9335
|
positionIdList: bigint[];
|
|
9336
|
+
/**
|
|
9337
|
+
* Full held tokenId list AFTER this dispatch. Must hash-match the on-chain
|
|
9338
|
+
* `s_positionsHash`; a pure settle doesn't change holdings, so this is just
|
|
9339
|
+
* the account's current full held list. When omitted, defaults to
|
|
9340
|
+
* `positionIdList` (correct only if the caller is settling ALL held
|
|
9341
|
+
* positions).
|
|
9342
|
+
*/
|
|
9343
|
+
finalPositionIdList?: bigint[];
|
|
9344
|
+
/**
|
|
9345
|
+
* Current stored positionSize for each tokenId in `positionIdList`, in the
|
|
9346
|
+
* same order. When omitted, the SDK reads them via `getFullPositionsData`
|
|
9347
|
+
* against the latest block just before submission.
|
|
9348
|
+
*
|
|
9349
|
+
* dispatch() treats `positionSizes[i] == storedSize` as a settlePremium
|
|
9350
|
+
* self-call and any mismatch (including 0) as a burn — so this MUST be the
|
|
9351
|
+
* current stored size to avoid burning the position.
|
|
9352
|
+
*
|
|
9353
|
+
* ⚠ Burn risk on the latest-block fallback: if a position's stored size
|
|
9354
|
+
* changes on-chain between the fallback read and inclusion of this tx (e.g.
|
|
9355
|
+
* a size reduction from another dispatch in the intervening blocks), the
|
|
9356
|
+
* stale positionSize will no longer match `storedSize` and dispatch will
|
|
9357
|
+
* BURN the position instead of settling premium. Callers that already hold
|
|
9358
|
+
* the stored sizes (e.g. from a same-block snapshot) SHOULD pass them
|
|
9359
|
+
* explicitly to eliminate that window.
|
|
9360
|
+
*/
|
|
9361
|
+
positionSizes?: bigint[];
|
|
9268
9362
|
/** Whether to use premia as collateral */
|
|
9269
9363
|
usePremiaAsCollateral?: boolean;
|
|
9270
9364
|
/** Builder code */
|
|
@@ -10522,8 +10616,20 @@ interface SimulateSettleParams {
|
|
|
10522
10616
|
poolAddress: Address;
|
|
10523
10617
|
/** Account address */
|
|
10524
10618
|
account: Address;
|
|
10525
|
-
/**
|
|
10619
|
+
/** TokenIds to settle in this dispatch (subset of the account's held list). */
|
|
10526
10620
|
positionIdList: bigint[];
|
|
10621
|
+
/**
|
|
10622
|
+
* Full held tokenId list AFTER dispatch (must hash-match s_positionsHash).
|
|
10623
|
+
* Defaults to `positionIdList` — correct only when settling ALL held
|
|
10624
|
+
* positions.
|
|
10625
|
+
*/
|
|
10626
|
+
finalPositionIdList?: bigint[];
|
|
10627
|
+
/**
|
|
10628
|
+
* Current stored positionSize for each tokenId in `positionIdList`. When
|
|
10629
|
+
* omitted, sizes are read on-chain. Must match `positionIdList` order —
|
|
10630
|
+
* anything other than the stored size will simulate a BURN, not a settle.
|
|
10631
|
+
*/
|
|
10632
|
+
positionSizes?: bigint[];
|
|
10527
10633
|
/** Optional tokenId to compute forfeit amounts for */
|
|
10528
10634
|
tokenId?: bigint;
|
|
10529
10635
|
/** Optional block number for simulation */
|
|
@@ -14629,5 +14735,5 @@ declare const riskEngineAbi: readonly [{
|
|
|
14629
14735
|
}];
|
|
14630
14736
|
|
|
14631
14737
|
//#endregion
|
|
14632
|
-
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, 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, 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, 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, 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, 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, pokeOracle, pokeOracleAndWait, previewBorrow, previewDeposit, previewMint, previewRedeem, previewUnwrap, previewWithdraw, previewWrap, priceToTick, publicBroadcaster, quoteOneTokenFlow, quoteSfpmSwap, 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 };
|
|
14738
|
+
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, 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, 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, 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, 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 };
|
|
14633
14739
|
//# sourceMappingURL=index.d.ts.map
|