@panoptic-eng/sdk 1.0.40 → 1.0.42
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.js +4 -0
- package/dist/cow/index.js.map +1 -1
- package/dist/index.d.ts +50 -12
- 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 +234 -11
- package/dist/panoptic/v2/index.d.ts.map +1 -1
- package/dist/panoptic/v2/index.js +1795 -1379
- package/dist/panoptic/v2/index.js.map +1 -1
- package/dist/panoptic/v2/react-public.d.ts +234 -11
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +2045 -1629
- 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-Djy0rVdh.js} +430 -45
- 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 */
|
|
@@ -10875,6 +10981,123 @@ type OneTokenFlowResult = {
|
|
|
10875
10981
|
*/
|
|
10876
10982
|
declare function quoteOneTokenFlow(params: OneTokenFlowQuoteParams): Promise<OneTokenFlowResult>;
|
|
10877
10983
|
|
|
10984
|
+
//#endregion
|
|
10985
|
+
//#region src/panoptic/v2/simulations/temporaryLoanRecovery.d.ts
|
|
10986
|
+
/** Parameters for inserting a temporary loan around a close dispatch. */
|
|
10987
|
+
interface BuildTemporaryLoanRecoveryDispatchParams {
|
|
10988
|
+
/** Full-close dispatch to wrap with the temporary loan mint and burn. */
|
|
10989
|
+
dispatch: DispatchIntent;
|
|
10990
|
+
/** Unique position ID used exclusively for the temporary loan. */
|
|
10991
|
+
loanTokenId: bigint;
|
|
10992
|
+
/** Position size that encodes the amount borrowed by the temporary loan. */
|
|
10993
|
+
loanPositionSize: bigint;
|
|
10994
|
+
/** Lower tick bound for minting the temporary loan. */
|
|
10995
|
+
tickLimitLow: bigint;
|
|
10996
|
+
/** Upper tick bound for minting the temporary loan. */
|
|
10997
|
+
tickLimitHigh: bigint;
|
|
10998
|
+
}
|
|
10999
|
+
/**
|
|
11000
|
+
* Wrap a dispatch with `loan mint -> user operations -> swapped loan burn`.
|
|
11001
|
+
* The repeated tokenId is intentional: the first occurrence mints it and the
|
|
11002
|
+
* last occurrence burns it after the user's operations have settled.
|
|
11003
|
+
*/
|
|
11004
|
+
declare function buildTemporaryLoanRecoveryDispatch(params: BuildTemporaryLoanRecoveryDispatchParams): DispatchIntent;
|
|
11005
|
+
/** Parameters for quoting an atomic temporary-loan-assisted full close. */
|
|
11006
|
+
interface TemporaryLoanRecoveryQuoteParams {
|
|
11007
|
+
/** Public client used to pin and simulate the quote against chain state. */
|
|
11008
|
+
client: PublicClient;
|
|
11009
|
+
/** Panoptic pool containing the positions to close. */
|
|
11010
|
+
poolAddress: Address;
|
|
11011
|
+
/** Account that owns the positions and will submit the dispatch. */
|
|
11012
|
+
account: Address;
|
|
11013
|
+
/** Chain identifier used to resolve pool metadata. */
|
|
11014
|
+
chainId: bigint;
|
|
11015
|
+
/** Position IDs currently held by the account. */
|
|
11016
|
+
existingPositionIds: bigint[];
|
|
11017
|
+
/** Full-close dispatch that failed with a token shortfall. */
|
|
11018
|
+
dispatch: DispatchIntent;
|
|
11019
|
+
/** Original simulation error used to identify the token shortfall. */
|
|
11020
|
+
error: unknown;
|
|
11021
|
+
/** Slippage tolerance for the exact-output repayment swap, in basis points. */
|
|
11022
|
+
slippageBps: bigint;
|
|
11023
|
+
/** Optional lower tick bound; defaults to a slippage-derived bound. */
|
|
11024
|
+
tickLimitLow?: bigint;
|
|
11025
|
+
/** Optional upper tick bound; defaults to a slippage-derived bound. */
|
|
11026
|
+
tickLimitHigh?: bigint;
|
|
11027
|
+
/** Optional pinned block; when omitted, the current block is fetched once. */
|
|
11028
|
+
blockNumber?: bigint;
|
|
11029
|
+
}
|
|
11030
|
+
/** A successfully simulated temporary-loan-assisted full-close quote. */
|
|
11031
|
+
interface TemporaryLoanRecoveryQuote {
|
|
11032
|
+
/** Underlying token borrowed to cover the close shortfall. */
|
|
11033
|
+
loanToken: Address;
|
|
11034
|
+
/** Counter-token used by the exact-output swap that repays the loan. */
|
|
11035
|
+
repaymentToken: Address;
|
|
11036
|
+
/** Pool token index corresponding to {@link loanToken}. */
|
|
11037
|
+
loanTokenIndex: 0n | 1n;
|
|
11038
|
+
/** Effective amount borrowed, including optionRatio when the unique ID uses one. */
|
|
11039
|
+
loanAmount: bigint;
|
|
11040
|
+
/** Encoded dispatch position size for the temporary loan. */
|
|
11041
|
+
loanPositionSize: bigint;
|
|
11042
|
+
/** Unique position ID created and burned within the wrapped dispatch. */
|
|
11043
|
+
loanTokenId: bigint;
|
|
11044
|
+
/** Slippage tolerance applied to repayment, in basis points. */
|
|
11045
|
+
slippageBps: bigint;
|
|
11046
|
+
/** Simulated net account balance change in the borrowed token. */
|
|
11047
|
+
netLoanTokenChange: bigint;
|
|
11048
|
+
/** Simulated net account balance change in the repayment token. */
|
|
11049
|
+
netRepaymentTokenChange: bigint;
|
|
11050
|
+
/** Atomic dispatch containing the loan mint, close, and loan burn. */
|
|
11051
|
+
dispatch: DispatchIntent;
|
|
11052
|
+
/** Successful dispatch simulation at the quote's pinned block. */
|
|
11053
|
+
simulation: SimulationResult<DispatchSimulation> & {
|
|
11054
|
+
success: true;
|
|
11055
|
+
};
|
|
11056
|
+
/** Token balance changes produced by the successful simulation. */
|
|
11057
|
+
tokenFlow: TokenFlow;
|
|
11058
|
+
/** Block metadata identifying the state used for the simulation. */
|
|
11059
|
+
_meta: BlockMeta;
|
|
11060
|
+
}
|
|
11061
|
+
/**
|
|
11062
|
+
* Why a temporary-loan recovery quote is unavailable.
|
|
11063
|
+
*
|
|
11064
|
+
* - `not-token-shortfall`: the supplied error is not a decoded token shortfall.
|
|
11065
|
+
* - `invalid-shortfall`: the decoded shortfall does not require a positive loan.
|
|
11066
|
+
* - `invalid-slippage`: slippage is outside the supported basis-point range.
|
|
11067
|
+
* - `unsupported-token`: the shortfall token is not a pool collateral token.
|
|
11068
|
+
* - `invalid-tick-limits`: the repayment swap limits are empty or inverted.
|
|
11069
|
+
* - `repayment-token-shortfall`: repayment shifted the deficit to the counter-token.
|
|
11070
|
+
* - `recovery-unavailable`: bounded simulation could not produce a recoverable dispatch.
|
|
11071
|
+
*/
|
|
11072
|
+
type TemporaryLoanRecoveryUnavailableReason = 'not-token-shortfall' | 'invalid-shortfall' | 'invalid-slippage' | 'unsupported-token' | 'invalid-tick-limits' | 'repayment-token-shortfall' | 'recovery-unavailable';
|
|
11073
|
+
/**
|
|
11074
|
+
* Result of quoting temporary-loan recovery: either an executable quote or an
|
|
11075
|
+
* unavailable reason with optional diagnostic detail and SDK error.
|
|
11076
|
+
*/
|
|
11077
|
+
type TemporaryLoanRecoveryResult = {
|
|
11078
|
+
/** Indicates that an executable quote was produced. */
|
|
11079
|
+
available: true;
|
|
11080
|
+
/** Fully simulated dispatch and loan details. */
|
|
11081
|
+
quote: TemporaryLoanRecoveryQuote;
|
|
11082
|
+
} | {
|
|
11083
|
+
/** Indicates that recovery could not be quoted. */
|
|
11084
|
+
available: false;
|
|
11085
|
+
/** Stable category describing why recovery is unavailable. */
|
|
11086
|
+
reason: TemporaryLoanRecoveryUnavailableReason;
|
|
11087
|
+
/** Optional human-readable diagnostic context. */
|
|
11088
|
+
detail?: string;
|
|
11089
|
+
/** Optional SDK error that caused the unavailable result. */
|
|
11090
|
+
error?: PanopticError;
|
|
11091
|
+
};
|
|
11092
|
+
/**
|
|
11093
|
+
* Quotes and simulates an atomic temporary loan around a full-close dispatch.
|
|
11094
|
+
*
|
|
11095
|
+
* @param params - Chain client, account, failed dispatch, shortfall error, and quote limits.
|
|
11096
|
+
* @returns An executable quote when recovery succeeds, otherwise a categorized unavailable result.
|
|
11097
|
+
* @throws {PanopticError} When the dispatch is not a full close or required RPC reads fail.
|
|
11098
|
+
*/
|
|
11099
|
+
declare function quoteTemporaryLoanRecovery(params: TemporaryLoanRecoveryQuoteParams): Promise<TemporaryLoanRecoveryResult>;
|
|
11100
|
+
|
|
10878
11101
|
//#endregion
|
|
10879
11102
|
//#region src/panoptic/v2/simulations/tokenShortfallRecovery.d.ts
|
|
10880
11103
|
interface TokenShortfallRecoveryQuoteParams {
|
|
@@ -14629,5 +14852,5 @@ declare const riskEngineAbi: readonly [{
|
|
|
14629
14852
|
}];
|
|
14630
14853
|
|
|
14631
14854
|
//#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 };
|
|
14855
|
+
export { AccountBuyingPower, AccountCollateral, AccountGreeksCurveResult, AccountGreeksResult, AccountInsolventError, AccountLiquidatedEvent, AccountPremia, AccountSummaryBasic, AccountSummaryRisk, AddPendingPositionParams, AddTrackedChunksParams, AlreadyInitializedError, ApprovalStatus, ApproveParams, ApprovePoolParams, BORROW_INDEX_BITS, BPS_DENOMINATOR, BPS_SCALE, BaseEvent, BatchDiagnostic, BatchDiagnosticCode, BatchDispatchArgs, BatchOp, BatchOpBurn, BatchOpKind, BatchOpMint, BatchValidationError, BelowMinimumRedemptionError, BlockMeta, BorrowParams, BuildBatchDispatchArgsParams, BuildBatchDispatchArgsResult, BuildCreditWrappedDispatchParams, BuildTemporaryLoanRecoveryDispatchParams, BuildTokenShortfallRecoveryDispatchParams, CalculateAccountGreeksPureParams, CancelParams, CastingError, ChainDeployment, CheckApprovalParams, CheckCollateralAcrossTicksParams, ChunkData, ChunkHasZeroLiquidityError, ChunkInput, ChunkKey, ChunkLimitError, ChunkLiquidityResult, ChunkMetadata, ChunkSpread, ChunkStats, ClosePositionParams, ClosePositionSimulation, ClosedPosition, CollateralAcrossTicks, CollateralBreakdown, CollateralDataPoint, CollateralEstimate, CollateralSharePriceData, CollateralStrategyKind, CollateralTracker, ConfirmPendingPositionParams, CreateEventPollerParams, CreateEventSubscriptionParams, CreateFlowNeutralTokenIdParams, CreditSwapCall, CreditSwapCallParams, CreditWrapDirection, CreditWrapPlacement, CrossPoolError, CurrentRates, DEFAULT_MAX_SPREAD, DEFAULT_MINT_BUFFER, DEFAULT_MIN_SWAP_RATIO_BPS, DEFAULT_RECONNECT_CONFIG, DEFAULT_VEGOID, DataWithMeta, DecodedLeg, DecodedOraclePack, DecodedTokenId, DeltaHedgeResult, DeployNewPoolParams, DepositEvent, DepositParams, DepositSimulation, DepositTooLargeError, DeriveStrategy, DeriveUniqueTokenIdParams, DeriveUniqueTokenIdResult, DetectReorgParams, DispatchCall, DispatchCalldata, DispatchIntent, DispatchParams, DispatchSimulation, DuplicateTokenIdError, ERC4626PreviewParams, ERC4626PreviewResult, EffectiveLiquidityAboveThresholdError, EncodeLegParams, EnforcedTickLimits, EnsureSfpmV3PoolInitializedParams, EnsureSfpmV3PoolInitializedResult, EstimateBlockNumbersParams, EstimateCollateralBreakdownParams, EstimateCollateralRequiredParams, EventPoller, EventReconstructionParams, EventReconstructionResult, EventSubscription, EventSubscriptionHandle, ExceedsMaximumRedemptionError, ExecuteBatchDispatchParams, FailPendingPositionParams, FetchPoolIdParams, FetchPoolIdResult, FetchSfpmV3PoolIdParams, FlowNeutralTokenId, ForceExerciseParams, ForceExerciseSimulation, ForcedExercisedEvent, GetAccountBuyingPowerParams, GetAccountCollateralParams, GetAccountGreeksParams, GetAccountPremiaParams, GetAccountSummaryBasicParams, GetAccountSummaryRiskParams, GetBlockMetaParams, GetChunkLiquiditiesParams, GetChunkLiquiditiesResult, GetChunkSpreadsParams, GetCollateralDataParams, GetCurrentRatesParams, GetDeltaHedgeParamsInput, GetEnforcedTickLimitsParams, GetFactoryConstructMetadataParams, GetFactoryOwnerOfParams, GetFactoryTokenURIParams, GetGuardianUnlockStateParams, GetInterestStateParams, GetItmAmountsParams, GetLiquidationPricesParams, GetMarginBufferParams, GetMaxPositionSizeParams, GetMaxRedeemParams, GetMaxWithdrawableParams, GetNativeTokenPriceParams, GetNetLiquidationValueParams, GetNetLiquidationValuesParams, GetOpenPositionIdsParams, GetOpenPositionPreviewParams, GetOracleRiskParametersParams, GetOracleStateParams, GetPanopticPoolAddressParams, GetPanopticPoolFromPoolIdParams, GetPendingPositionsParams, GetPoolLiquiditiesParams, GetPoolMetadataParams, GetPoolParams, GetPortfolioValueParams, GetPositionChunkDataParams, GetPositionChunkDataResult, GetPositionEnrichmentDataParams, GetPositionEnrichmentDataResult, GetPositionGreeksParams, GetPositionParams, GetPositionsParams, GetPositionsWithPremiaParams, GetPriceHistoryParams, GetRealizedPnLParams, GetRequiredCreditForITMParams, GetRiskParametersParams, GetSafeModeParams, GetStreamiaHistoryParams, GetSyncStatusParams, GetTrackedChunksParams, GetTrackedPositionIdsParams, GetTradeHistoryParams, GetUniswapFeeHistoryParams, GetUniswapV3LpPositionStateParams, GetUniswapV3PoolFromIdParams, GetUniswapV3PoolInfoParams, GetUniswapV3PoolLiquiditiesParams, GetUniswapV4LpPositionStateParams, GetUniswapV4PoolBasicStateParams, GetUniswapV4PoolInfoParams, GetUniswapV4PoolKeyFromIdParams, GetUniswapV4PoolLiquiditiesParams, GetUtilizationParams, GuardianUnlockState, InputListFailError, InsufficientCreditLiquidityError, InterestState, InvalidBuilderCodeError, InvalidHistoryRangeError, InvalidTickBoundError, InvalidTickError, InvalidTokenIdParameterError, InvalidUniswapCallbackError, IrmCurrent, IrmMarketStateInputs, IrmPoint, IsLiquidatableParams, ItmAmounts, LEG_BITS, LEG_LIMITS, LEG_MASKS, LegChunkData, LegConfig, LegGreeksParams, LegUpdate, LengthMismatchError, LiquidateParams, LiquidateSimulation, LiquidationCheck, LiquidationPrices, LiquidityChunkKey, LiquidityChunkSpread, LiquidityTooHighError, LoanSlotExhaustedError, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MarginBuffer, MaxPositionSize, MaxRetriesExceededError, MinePoolAddressParams, MinePoolAddressResult, MintBufferRatio, MintParams, MissingPositionIdsError, MulticallContract, MulticallReadParams, NetLiquidationValue, NetLiquidationValues, NetLiquidityZeroError, NetworkMismatchError, NeutralLeg, NoLegsExercisableError, NonceManager, NotALongLegError, NotBuilderError, NotEnoughLiquidityInChunkError, NotEnoughTokensError, NotGuardianError, NotMarginCalledError, NotPanopticPoolError, ORACLE_EPOCH_SECONDS, OneTokenFlowQuote, OneTokenFlowQuoteParams, OneTokenFlowResult, OneTokenFlowUnavailableReason, OpenPositionParams, OpenPositionPreview, OpenPositionSimulation, OptimizeTokenIdRiskPartnersParams, OptionBurntEvent, OptionMintedEvent, OracleEmaPeriods, OracleRateLimitedError, OracleRiskParameters, OracleRiskParametersState, OracleSafeModeCause, OracleSafeModeDiagnosis, OracleState, OracleTiming, PanopticError, PanopticEvent, PanopticEventType, PanopticHelperNotDeployedError, PanopticNFTMetadata, PanopticValidationError, ParsedError, PendingPosition, PokeOracleParams, Pool, PoolFormatterConfig, PoolFormatters, PoolHealthStatus, PoolKey, PoolLiquidities, PoolMetadata, PoolNotInitializedError, PoolVersionConfig, PortfolioValue, Position, PositionChunkData, PositionCountNotZeroError, PositionEnrichmentResult, PositionGreeks, PositionGreeksInput, PositionGreeksResult, PositionInput, PositionNotOwnedError, PositionSnapshotNotFoundError, PositionStorageParams, PositionTooLargeError, PositionWithPremia, PositionsWithPremiaResult, PremiumSettledEvent, PreviewBorrowParams, PreviewBorrowResult, PreviewWrapParams, PriceBoundFailError, PriceHistoryResult, PriceImpactTooLargeError, PriceSnapshot, ProviderLagError, QuoteSfpmSwapParams, QuoteV3ExactInParams, RATE_AT_TARGET_BITS, REORG_DEPTH, REQUIRED_BASE_ERROR_SENTINEL, RealizedPnL, ReconnectConfig, RecoverSnapshotFromTxParams, RecoverSnapshotParams, RedeemParams, ReentrancyError, RemoveTrackedChunksParams, ReorgDetection, RepayParams, RequiredCreditForITM, ResolveBlockNumbersParams, ResolvePanopticPoolFromPoolIdParams, ResolvePanopticPoolFromPoolIdResult, ResolveUniswapV4PoolKeyParams, RiskEngine, RiskParameters, RollPositionParams, RpcError, RpcResponseError, SCHEMA_VERSION, SECONDS_PER_YEAR, SFPMSimulationResult, STANDARD_TICK_WIDTHS, STORAGE_PREFIX, SafeMode, SafeModeError, SafeModeState, SaveCheckpointParams, SaveClosedPositionParams, ScanChunksParams, ScanChunksResult, ScannedChunk, SettleParams, SettleSimulation, SettledEvent, SfpmSwapCalldata, SfpmSwapKind, SfpmSwapPlan, SfpmSwapPlanParams, SfpmSwapQuote, SimulateBatchDispatchParams, SimulateBatchDispatchResult, SimulateClosePositionParams, SimulateDeployNewPoolParams, SimulateDepositParams, SimulateDispatchParams, SimulateForceExerciseParams, SimulateLiquidateParams, SimulateOpenPositionParams, SimulateSFPMParams, SimulateSettleParams, SimulateSwapExactInParams, SimulateSwapExactOutParams, SimulateWithTokenFlowParams, SimulateWithTokenFlowResult, SimulateWithdrawParams, SimulationResult, SmartRepayParams, SnapshotRecoveryResult, SpeedUpParams, StaleDataError, StaleOracleError, StorageAdapter, StrategyAllocation, StrategyGroup, StreamiaHistoryResult, StreamiaLeg, StreamiaSnapshot, SupplyParams, SwapExactInParams, SwapExactOutParams, SwapSimulation, SwapTokenMismatchError, SyncCheckpoint, SyncEvent, SyncOptions, SyncPositionsParams, SyncPositionsResult, SyncProgressEvent, SyncResult, SyncState, SyncStatus, SyncStatusResult, SyncTimeoutError, TOKEN_ID_BITS, TemporaryLoanRecoveryQuote, TemporaryLoanRecoveryQuoteParams, TemporaryLoanRecoveryResult, TemporaryLoanRecoveryUnavailableReason, TickAndSpreadLimits, TickLimitsResult, Timescale, TokenCollateral, TokenFlow, TokenIdBuilder, TokenIdHasZeroLegsError, TokenIdLeg, TokenInterestState, TokenShortfallRecoveryQuote, TokenShortfallRecoveryQuoteParams, TokenShortfallRecoveryResult, TokenShortfallRecoveryUnavailableReason, TooManyLegsOpenError, TransferFailedError, TxBroadcaster, TxOverrides, TxReceipt, TxResult, TxResultWithReceipt, UNREALIZED_INTEREST_BITS, UTILIZATION_DENOMINATOR, UnauthorizedUniswapCallbackError, UnderOverFlowError, UnhealthyPoolError, UniswapFeeHistoryResult, UniswapFeeSnapshot, UniswapLpPositionState, UniswapV3Liquidities, UniswapV3LpPositionState, UniswapV3PoolInfo, UniswapV3PoolToken, UniswapV4PoolBasicState, UniswapV4PoolInfo, UniswapV4PoolKey, UnsupplyParams, UnwrapWethParams, UnwrapXstockParams, Utilization, V3ExactInQuote, V3PoolConfig, V4PoolConfig, ValidateBatchParams, WAD, WatchEventsParams, WithdrawEvent, WithdrawParams, WithdrawSimulation, WithdrawWithPositionsParams, WrapEthParams, WrapXstockParams, WriteConfig, WrongPoolIdError, WrongUniswapPoolError, ZERO_COLLATERAL, ZERO_VALUATION, ZeroAddressError, ZeroCollateralRequirementError, addLegToTokenId, addPendingPosition, addTrackedChunks, annualizePerSecondRateWad, applyMintBuffer, applyMintBufferPerToken, apportion, approve, approveAndWait, approvePool, assertCanBurn, assertCanForceExercise, assertCanLiquidate, assertCanMint, assertFresh, assertHealthy, assertTradeable, borrow, borrowAndWait, buildBatchDispatchArgs, buildCreditSwapCall, buildCreditWrappedDispatch, buildOpenPositionCalldata, buildSfpmSwapCalldata, buildSfpmSwapPlan, buildTemporaryLoanRecoveryDispatch, buildTokenShortfallRecoveryDispatch, buildUniqueCredit, buildUniqueLoan, buildUniqueWidthZeroLeg, calculateAccountGreeksPure, calculatePortfolioDelta, calculatePortfolioGamma, calculatePortfolioGreeks, calculatePortfolioValue, calculatePositionDelta, calculatePositionDeltaDebtOnly, calculatePositionDeltaWithSwap, calculatePositionGamma, calculatePositionGreeks, calculatePositionValue, calculateResyncBlock, calculateSpreadWad, cancelTransaction, checkApproval, checkCollateralAcrossTicks, classifyStrategyGroups, cleanupStalePendingPositions, clearCheckpoint, clearPendingPositions, clearTrackedChunks, clearTrackedPositions, clearTradeHistory, closePosition, closePositionAndWait, collateralRuleKindFor, collateralTrackerV2Abi, computeV4PoolId, confirmPendingPosition, convertToAssets, convertToShares, countLegs, createEventPoller, createEventSubscription, createFileStorage, createFlowNeutralTokenId, createMemoryStorage, createNonceManager, createPoolFormatters, createTokenIdBuilder, decodeAllDispatchCalldata, decodeAllLegs, decodeDispatchCalldata, decodeLeftRightSigned, decodeLeftRightUnsigned, decodeLeg, decodeOraclePack, decodeOracleRiskParameters, decodeOracleTiming, decodePanopticTokenURI, decodePoolId, decodeTickSpacing, decodeTokenId, decodeVegoid, deployNewPool, deployNewPoolAndWait, deposit, depositAndWait, deriveSupplyRatePerSecWad, deriveUniqueTokenId, detectReorg, diagnoseOracleSafeMode, dispatch, dispatchAndWait, encodeLeg, encodePoolId, encodePoolKeyBytes, encodeV3PoolKeyBytes, encodeV4PoolId, ensureSfpmV3PoolInitialized, estimateBlockNumbers, estimateCollateralBreakdown, estimateCollateralRequired, executeBatchDispatch, executeBatchDispatchAndWait, failPendingPosition, feesFromFeeGrowthDelta, fetchPoolId, fetchSfpmV3PoolId, forceExercise, forceExerciseAndWait, formatBlockNumber, formatBps, formatCompact, formatDatetime, formatDuration, formatDurationSeconds, formatFeeTier, formatGas, formatGwei, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, formatPoolIdHex, formatPriceRange, formatRateWad, formatRatioPercent, formatTick, formatTickRange, formatTimestamp, formatTimestampLocale, formatTokenAmount, formatTokenAmountSigned, formatTokenDelta, formatTokenFlow, formatTokenIdHex, formatTokenIdShort, formatTxHash, formatUtilization, formatWad, formatWadPercent, formatWadSigned, formatWei, getAccountBuyingPower, getAccountCollateral, getAccountGreeks, getAccountHistory, getAccountPremia, getAccountSummaryBasic, getAccountSummaryRisk, getAssetIndex, getBlockMeta, getChainDeployment, getChunkLiquidities, getChunkSpreads, getClosedPositions, getClosedPositionsKey, getCollateralAddresses, getCollateralData, getCollateralSharePrices, getCollateralTotalAssetsBatch, getCurrentRates, getDeltaHedgeParams, getEnforcedTickLimits, getFactoryConstructMetadata, getFactoryOwnerOf, getFactoryTokenURI, getGuardianUnlockState, getInterestState, getIrmCurrent, getIrmCurve, getItmAmounts, getLegDelta, getLegDeltaInVaultFrame, getLegGamma, getLegNetValueWidth0, getLegValue, getLiquidationPrices, getMarginBuffer, getMaxPositionSize, getMaxRedeem, getMaxWithdrawable, getNativeTokenPrice, getNetLiquidationValue, getNetLiquidationValues, getNotEnoughTokensError, getOpenPositionIds, getOpenPositionPreview, getOracleRiskParameters, getOracleState, getPanopticPoolAddress, getPanopticPoolFromPoolId, getPendingPositions, getPendingPositionsKey, getPool, getPoolDeploymentBlock, getPoolDisplayId, getPoolLiquidities, getPoolMetaKey, getPoolMetadata, getPoolPrefix, getPortfolioValue, getPosition, getPositionChunkData, getPositionEnrichmentData, getPositionGreeks, getPositionMetaKey, getPositions, getPositionsKey, getPositionsWithPremia, getPriceHistory, getPricesAtTick, getRealizedPnL, getRequiredCreditForITM, getRiskParameters, getSafeMode, getSchemaVersionKey, getStreamiaHistory, getSyncCheckpointKey, getSyncStatus, getTickSpacing, getTokenListId, getTrackedChunks, getTrackedChunksKey, getTrackedPositionIds, getTradeHistory, getUniswapFeeHistory, getUniswapV3LpPositionState, getUniswapV3PoolFromId, getUniswapV3PoolInfo, getUniswapV3PoolLiquidities, getUniswapV4LpPositionState, getUniswapV4PoolBasicState, getUniswapV4PoolInfo, getUniswapV4PoolKeyFromId, getUniswapV4PoolLiquidities, getUtilization, hasLoanOrCredit, hasLongLeg, interpolateBlocks, isCall, isCredit, isCreditLeg, isDefinedRisk, isGasError, isInputListFailError, isLiquidatable, isLoan, isLoanLeg, isNonceError, isPanopticErrorType, isPositionTracked, isRetryableRpcError, isShortOnly, isSpread, isSupportedChain, isolateGroupTokenId, jsonSerializer, liquidate, liquidateAndWait, loadCheckpoint, minePoolAddress, mint, mintAndWait, mintableAfterBuffer, multicallRead, openPosition, openPositionAndWait, optimizeTokenIdRiskPartners, oracleEpochAt, packMarketState, panopticPoolV2Abi, parseBps, parseCollateralLog, parsePanopticError, parsePoolLog, parseTokenAmount, parseTokenListId, parseWad, planDeriveStrategy, pokeOracle, pokeOracleAndWait, previewBorrow, previewDeposit, previewMint, previewRedeem, previewUnwrap, previewWithdraw, previewWrap, priceToTick, publicBroadcaster, quoteOneTokenFlow, quoteSfpmSwap, quoteTemporaryLoanRecovery, quoteTokenShortfallRecovery, quoteV3ExactIn, ratePerSecWadToAprPct, reconstructFromEvents, recoverSnapshot, recoverSnapshotFromTx, redeem, redeemAndWait, removeTrackedChunks, repay, repayAndWait, requireChainDeployment, resolveBlockNumbers, resolvePanopticPoolFromPoolId, resolveTokenIndex, resolveUniswapV4PoolKey, riskEngineAbi, rollPosition, rollPositionAndWait, roundToTickSpacing, saveCheckpoint, saveClosedPosition, scanChunks, selectDispatchForAccount, settleAccumulatedPremia, settleAccumulatedPremiaAndWait, simulateBatchDispatch, simulateClosePosition, simulateDeployNewPool, simulateDeposit, simulateDispatch, simulateForceExercise, simulateLiquidate, simulateOpenPosition, simulateSFPMBurn, simulateSFPMMint, simulateSettle, simulateSwapExactIn, simulateSwapExactOut, simulateWithTokenFlow, simulateWithdraw, slippageBpsToTickDistance, smartRepay, smartRepayAndWait, speedUpTransaction, sqrtPriceX96ToPriceDecimalScaled, sqrtPriceX96ToTick, supply, supplyAndWait, swapExactIn, swapExactInAndWait, swapExactOut, swapExactOutAndWait, syncPositions, tickLimits, tickToPrice, tickToPriceDecimalScaled, tickToSqrtPriceX96, toVaultFrameAtTick, truncateAddress, unsupply, unsupplyAndWait, unwrapWeth, unwrapWethAndWait, unwrapXstock, unwrapXstockAndWait, utilizationBpsToWad, utilizationPctToWad, validateBatch, validateBuilderCode, validatePoolId, verifyBlockContinuity, watchEvents, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
|
|
14633
14856
|
//# sourceMappingURL=index.d.ts.map
|