@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
|
@@ -2877,9 +2877,9 @@ interface LiquidateSimulation {
|
|
|
2877
2877
|
* Settle premia simulation result data.
|
|
2878
2878
|
*/
|
|
2879
2879
|
interface SettleSimulation {
|
|
2880
|
-
/**
|
|
2880
|
+
/** Signed premia flow for token 0 — positive = collected, negative = paid. */
|
|
2881
2881
|
premiaReceived0: bigint;
|
|
2882
|
-
/**
|
|
2882
|
+
/** Signed premia flow for token 1 — positive = collected, negative = paid. */
|
|
2883
2883
|
premiaReceived1: bigint;
|
|
2884
2884
|
/** Post-settle collateral for token 0 */
|
|
2885
2885
|
postCollateral0: bigint;
|
|
@@ -3868,6 +3868,64 @@ declare function isCredit(tokenId: bigint): boolean;
|
|
|
3868
3868
|
*/
|
|
3869
3869
|
declare function hasLoanOrCredit(tokenId: bigint): boolean;
|
|
3870
3870
|
|
|
3871
|
+
//#endregion
|
|
3872
|
+
//#region src/panoptic/v2/tokenId/deriveUniqueTokenId.d.ts
|
|
3873
|
+
type DeriveStrategy = 'tiny-credit' | 'ratio-scale';
|
|
3874
|
+
interface DeriveUniqueTokenIdParams {
|
|
3875
|
+
/** Base tokenId to derive a unique sibling from. */
|
|
3876
|
+
baseTokenId: bigint;
|
|
3877
|
+
/**
|
|
3878
|
+
* Desired new positionSize. Must be > 0 and ≤ the CURRENT stored
|
|
3879
|
+
* positionSize on the tokenId being reduced.
|
|
3880
|
+
*
|
|
3881
|
+
* For `ratio-scale` the effective size (`newPositionSize · N`) may exceed
|
|
3882
|
+
* this by a rounding-up wei. `newPositionSize` in the result reflects
|
|
3883
|
+
* exactly what to pass to dispatch.
|
|
3884
|
+
*/
|
|
3885
|
+
targetPositionSize: bigint;
|
|
3886
|
+
/**
|
|
3887
|
+
* Pool tickSpacing. Used to keep the appended credit leg's tick range
|
|
3888
|
+
* (SFPM internally widens width=0 to a width-2 chunk: `strike ± tickSpacing`)
|
|
3889
|
+
* strictly inside `[MIN_POOL_TICK, MAX_POOL_TICK]`. Omit to use a
|
|
3890
|
+
* worst-case Uniswap-v3 default of 200.
|
|
3891
|
+
*/
|
|
3892
|
+
tickSpacing?: bigint;
|
|
3893
|
+
}
|
|
3894
|
+
interface DeriveUniqueTokenIdResult {
|
|
3895
|
+
newTokenId: bigint;
|
|
3896
|
+
/** positionSize to pass to dispatch for the new tokenId. */
|
|
3897
|
+
newPositionSize: bigint;
|
|
3898
|
+
/**
|
|
3899
|
+
* Real per-leg liquidity the new tokenId will hold, expressed in the
|
|
3900
|
+
* base-token positionSize frame. Equals `newPositionSize · N` for
|
|
3901
|
+
* `ratio-scale` (where N is the applied optionRatio multiplier) and
|
|
3902
|
+
* `newPositionSize` for `tiny-credit`. Consumers should compare this
|
|
3903
|
+
* against the base tokenId's current stored size to validate that a
|
|
3904
|
+
* reduction is actually smaller (or, for `ratio-scale`, that the ceiling
|
|
3905
|
+
* rounding did not push effective size above the stored size).
|
|
3906
|
+
*/
|
|
3907
|
+
effectivePositionSize: bigint;
|
|
3908
|
+
strategy: DeriveStrategy;
|
|
3909
|
+
}
|
|
3910
|
+
/**
|
|
3911
|
+
* Derive a tokenId unique from `baseTokenId` for a partial reduction.
|
|
3912
|
+
*
|
|
3913
|
+
* Prefers a tiny-credit-leg extension (arbitrary new size). Falls back to
|
|
3914
|
+
* optionRatio scaling only when the base tokenId already occupies all 4 leg
|
|
3915
|
+
* slots.
|
|
3916
|
+
*/
|
|
3917
|
+
declare function deriveUniqueTokenId(params: DeriveUniqueTokenIdParams): DeriveUniqueTokenIdResult;
|
|
3918
|
+
/**
|
|
3919
|
+
* Test hook: exposed only to make the tiny-credit leg strike inspectable.
|
|
3920
|
+
* @internal
|
|
3921
|
+
*/
|
|
3922
|
+
|
|
3923
|
+
/**
|
|
3924
|
+
* Re-export decoded leg count so callers can gate UI on the strategy that
|
|
3925
|
+
* would be chosen (e.g. show a divisibility hint on ratio-scale positions).
|
|
3926
|
+
*/
|
|
3927
|
+
declare function planDeriveStrategy(baseTokenId: bigint): DeriveStrategy;
|
|
3928
|
+
|
|
3871
3929
|
//#endregion
|
|
3872
3930
|
//#region src/panoptic/v2/sfpmSwap/types.d.ts
|
|
3873
3931
|
/** Exact-input or exact-output swap. */
|
|
@@ -5037,9 +5095,9 @@ declare function simulateWithTokenFlow(params: SimulateWithTokenFlowParams): Pro
|
|
|
5037
5095
|
* Collateral estimate result.
|
|
5038
5096
|
*/
|
|
5039
5097
|
interface CollateralEstimate$1 {
|
|
5040
|
-
/** Required collateral
|
|
5098
|
+
/** Required collateral when getRequiredBase is token0-denominated, otherwise zero. */
|
|
5041
5099
|
required0: bigint;
|
|
5042
|
-
/** Required collateral
|
|
5100
|
+
/** Required collateral when getRequiredBase is token1-denominated, otherwise zero. */
|
|
5043
5101
|
required1: bigint;
|
|
5044
5102
|
/** Block metadata */
|
|
5045
5103
|
_meta: BlockMeta;
|
|
@@ -5079,7 +5137,9 @@ declare const REQUIRED_BASE_ERROR_SENTINEL: bigint;
|
|
|
5079
5137
|
* computes the requirement at `type(uint64).max` size and 0% utilization. Since
|
|
5080
5138
|
* the requirement is linear in size, the raw result is scaled by
|
|
5081
5139
|
* `positionSize / type(uint64).max` to yield the requirement for the requested
|
|
5082
|
-
* size.
|
|
5140
|
+
* size. `PanopticQuery.getRequiredBase` returns the cross-margin requirement in
|
|
5141
|
+
* the higher-precision raw token at `atTick`; this function places that amount
|
|
5142
|
+
* in the matching `required0` or `required1` field.
|
|
5083
5143
|
*
|
|
5084
5144
|
* @param params - The parameters
|
|
5085
5145
|
* @returns Estimated collateral requirements with block metadata
|
|
@@ -7211,7 +7271,7 @@ interface StreamiaLeg {
|
|
|
7211
7271
|
|
|
7212
7272
|
//#endregion
|
|
7213
7273
|
//#region src/panoptic/v2/reads/streamiaHistory.d.ts
|
|
7214
|
-
/** A settled
|
|
7274
|
+
/** A signed settled-premia event used to reconstruct cumulative premia. */
|
|
7215
7275
|
interface SettledEvent {
|
|
7216
7276
|
/** Block at which settlement occurred */
|
|
7217
7277
|
blockNumber: bigint;
|
|
@@ -7238,7 +7298,7 @@ interface GetStreamiaHistoryParams {
|
|
|
7238
7298
|
poolConfig: PoolVersionConfig;
|
|
7239
7299
|
/** Whether to include Uniswap fee data (default: true) */
|
|
7240
7300
|
includeUniswapFees?: boolean;
|
|
7241
|
-
/**
|
|
7301
|
+
/** Signed settled-premia events to include in cumulative premia (optional) */
|
|
7242
7302
|
settledEvents?: SettledEvent[];
|
|
7243
7303
|
/** Pre-fetched block metadata (skips an extra eth_getBlockByNumber if provided) */
|
|
7244
7304
|
_meta?: BlockMeta;
|
|
@@ -7247,11 +7307,16 @@ interface GetStreamiaHistoryParams {
|
|
|
7247
7307
|
interface StreamiaSnapshot {
|
|
7248
7308
|
/** Block number (undefined if queried as latest) */
|
|
7249
7309
|
blockNumber: bigint | undefined;
|
|
7250
|
-
/**
|
|
7310
|
+
/** Currently unsettled Panoptic premia (short - long) */
|
|
7251
7311
|
panopticPremia: {
|
|
7252
7312
|
token0: bigint;
|
|
7253
7313
|
token1: bigint;
|
|
7254
7314
|
};
|
|
7315
|
+
/** Lifetime Panoptic premia, including signed settled amounts */
|
|
7316
|
+
cumulativePanopticPremia: {
|
|
7317
|
+
token0: bigint;
|
|
7318
|
+
token1: bigint;
|
|
7319
|
+
};
|
|
7255
7320
|
/** Uniswap fee delta from the first block in the series */
|
|
7256
7321
|
uniswapFees: {
|
|
7257
7322
|
token0: bigint;
|
|
@@ -9265,8 +9330,37 @@ interface SettleParams {
|
|
|
9265
9330
|
account: Address$1;
|
|
9266
9331
|
/** PanopticPool address */
|
|
9267
9332
|
poolAddress: Address$1;
|
|
9268
|
-
/**
|
|
9333
|
+
/**
|
|
9334
|
+
* TokenIds to settle in this dispatch — a subset of the account's held
|
|
9335
|
+
* positions. Only these are touched; the rest of the account is untouched.
|
|
9336
|
+
*/
|
|
9269
9337
|
positionIdList: bigint[];
|
|
9338
|
+
/**
|
|
9339
|
+
* Full held tokenId list AFTER this dispatch. Must hash-match the on-chain
|
|
9340
|
+
* `s_positionsHash`; a pure settle doesn't change holdings, so this is just
|
|
9341
|
+
* the account's current full held list. When omitted, defaults to
|
|
9342
|
+
* `positionIdList` (correct only if the caller is settling ALL held
|
|
9343
|
+
* positions).
|
|
9344
|
+
*/
|
|
9345
|
+
finalPositionIdList?: bigint[];
|
|
9346
|
+
/**
|
|
9347
|
+
* Current stored positionSize for each tokenId in `positionIdList`, in the
|
|
9348
|
+
* same order. When omitted, the SDK reads them via `getFullPositionsData`
|
|
9349
|
+
* against the latest block just before submission.
|
|
9350
|
+
*
|
|
9351
|
+
* dispatch() treats `positionSizes[i] == storedSize` as a settlePremium
|
|
9352
|
+
* self-call and any mismatch (including 0) as a burn — so this MUST be the
|
|
9353
|
+
* current stored size to avoid burning the position.
|
|
9354
|
+
*
|
|
9355
|
+
* ⚠ Burn risk on the latest-block fallback: if a position's stored size
|
|
9356
|
+
* changes on-chain between the fallback read and inclusion of this tx (e.g.
|
|
9357
|
+
* a size reduction from another dispatch in the intervening blocks), the
|
|
9358
|
+
* stale positionSize will no longer match `storedSize` and dispatch will
|
|
9359
|
+
* BURN the position instead of settling premium. Callers that already hold
|
|
9360
|
+
* the stored sizes (e.g. from a same-block snapshot) SHOULD pass them
|
|
9361
|
+
* explicitly to eliminate that window.
|
|
9362
|
+
*/
|
|
9363
|
+
positionSizes?: bigint[];
|
|
9270
9364
|
/** Whether to use premia as collateral */
|
|
9271
9365
|
usePremiaAsCollateral?: boolean;
|
|
9272
9366
|
/** Builder code */
|
|
@@ -10524,8 +10618,20 @@ interface SimulateSettleParams {
|
|
|
10524
10618
|
poolAddress: Address$1;
|
|
10525
10619
|
/** Account address */
|
|
10526
10620
|
account: Address$1;
|
|
10527
|
-
/**
|
|
10621
|
+
/** TokenIds to settle in this dispatch (subset of the account's held list). */
|
|
10528
10622
|
positionIdList: bigint[];
|
|
10623
|
+
/**
|
|
10624
|
+
* Full held tokenId list AFTER dispatch (must hash-match s_positionsHash).
|
|
10625
|
+
* Defaults to `positionIdList` — correct only when settling ALL held
|
|
10626
|
+
* positions.
|
|
10627
|
+
*/
|
|
10628
|
+
finalPositionIdList?: bigint[];
|
|
10629
|
+
/**
|
|
10630
|
+
* Current stored positionSize for each tokenId in `positionIdList`. When
|
|
10631
|
+
* omitted, sizes are read on-chain. Must match `positionIdList` order —
|
|
10632
|
+
* anything other than the stored size will simulate a BURN, not a settle.
|
|
10633
|
+
*/
|
|
10634
|
+
positionSizes?: bigint[];
|
|
10529
10635
|
/** Optional tokenId to compute forfeit amounts for */
|
|
10530
10636
|
tokenId?: bigint;
|
|
10531
10637
|
/** Optional block number for simulation */
|
|
@@ -10877,6 +10983,123 @@ type OneTokenFlowResult = {
|
|
|
10877
10983
|
*/
|
|
10878
10984
|
declare function quoteOneTokenFlow(params: OneTokenFlowQuoteParams): Promise<OneTokenFlowResult>;
|
|
10879
10985
|
|
|
10986
|
+
//#endregion
|
|
10987
|
+
//#region src/panoptic/v2/simulations/temporaryLoanRecovery.d.ts
|
|
10988
|
+
/** Parameters for inserting a temporary loan around a close dispatch. */
|
|
10989
|
+
interface BuildTemporaryLoanRecoveryDispatchParams {
|
|
10990
|
+
/** Full-close dispatch to wrap with the temporary loan mint and burn. */
|
|
10991
|
+
dispatch: DispatchIntent;
|
|
10992
|
+
/** Unique position ID used exclusively for the temporary loan. */
|
|
10993
|
+
loanTokenId: bigint;
|
|
10994
|
+
/** Position size that encodes the amount borrowed by the temporary loan. */
|
|
10995
|
+
loanPositionSize: bigint;
|
|
10996
|
+
/** Lower tick bound for minting the temporary loan. */
|
|
10997
|
+
tickLimitLow: bigint;
|
|
10998
|
+
/** Upper tick bound for minting the temporary loan. */
|
|
10999
|
+
tickLimitHigh: bigint;
|
|
11000
|
+
}
|
|
11001
|
+
/**
|
|
11002
|
+
* Wrap a dispatch with `loan mint -> user operations -> swapped loan burn`.
|
|
11003
|
+
* The repeated tokenId is intentional: the first occurrence mints it and the
|
|
11004
|
+
* last occurrence burns it after the user's operations have settled.
|
|
11005
|
+
*/
|
|
11006
|
+
declare function buildTemporaryLoanRecoveryDispatch(params: BuildTemporaryLoanRecoveryDispatchParams): DispatchIntent;
|
|
11007
|
+
/** Parameters for quoting an atomic temporary-loan-assisted full close. */
|
|
11008
|
+
interface TemporaryLoanRecoveryQuoteParams {
|
|
11009
|
+
/** Public client used to pin and simulate the quote against chain state. */
|
|
11010
|
+
client: PublicClient;
|
|
11011
|
+
/** Panoptic pool containing the positions to close. */
|
|
11012
|
+
poolAddress: Address$1;
|
|
11013
|
+
/** Account that owns the positions and will submit the dispatch. */
|
|
11014
|
+
account: Address$1;
|
|
11015
|
+
/** Chain identifier used to resolve pool metadata. */
|
|
11016
|
+
chainId: bigint;
|
|
11017
|
+
/** Position IDs currently held by the account. */
|
|
11018
|
+
existingPositionIds: bigint[];
|
|
11019
|
+
/** Full-close dispatch that failed with a token shortfall. */
|
|
11020
|
+
dispatch: DispatchIntent;
|
|
11021
|
+
/** Original simulation error used to identify the token shortfall. */
|
|
11022
|
+
error: unknown;
|
|
11023
|
+
/** Slippage tolerance for the exact-output repayment swap, in basis points. */
|
|
11024
|
+
slippageBps: bigint;
|
|
11025
|
+
/** Optional lower tick bound; defaults to a slippage-derived bound. */
|
|
11026
|
+
tickLimitLow?: bigint;
|
|
11027
|
+
/** Optional upper tick bound; defaults to a slippage-derived bound. */
|
|
11028
|
+
tickLimitHigh?: bigint;
|
|
11029
|
+
/** Optional pinned block; when omitted, the current block is fetched once. */
|
|
11030
|
+
blockNumber?: bigint;
|
|
11031
|
+
}
|
|
11032
|
+
/** A successfully simulated temporary-loan-assisted full-close quote. */
|
|
11033
|
+
interface TemporaryLoanRecoveryQuote {
|
|
11034
|
+
/** Underlying token borrowed to cover the close shortfall. */
|
|
11035
|
+
loanToken: Address$1;
|
|
11036
|
+
/** Counter-token used by the exact-output swap that repays the loan. */
|
|
11037
|
+
repaymentToken: Address$1;
|
|
11038
|
+
/** Pool token index corresponding to {@link loanToken}. */
|
|
11039
|
+
loanTokenIndex: 0n | 1n;
|
|
11040
|
+
/** Effective amount borrowed, including optionRatio when the unique ID uses one. */
|
|
11041
|
+
loanAmount: bigint;
|
|
11042
|
+
/** Encoded dispatch position size for the temporary loan. */
|
|
11043
|
+
loanPositionSize: bigint;
|
|
11044
|
+
/** Unique position ID created and burned within the wrapped dispatch. */
|
|
11045
|
+
loanTokenId: bigint;
|
|
11046
|
+
/** Slippage tolerance applied to repayment, in basis points. */
|
|
11047
|
+
slippageBps: bigint;
|
|
11048
|
+
/** Simulated net account balance change in the borrowed token. */
|
|
11049
|
+
netLoanTokenChange: bigint;
|
|
11050
|
+
/** Simulated net account balance change in the repayment token. */
|
|
11051
|
+
netRepaymentTokenChange: bigint;
|
|
11052
|
+
/** Atomic dispatch containing the loan mint, close, and loan burn. */
|
|
11053
|
+
dispatch: DispatchIntent;
|
|
11054
|
+
/** Successful dispatch simulation at the quote's pinned block. */
|
|
11055
|
+
simulation: SimulationResult<DispatchSimulation> & {
|
|
11056
|
+
success: true;
|
|
11057
|
+
};
|
|
11058
|
+
/** Token balance changes produced by the successful simulation. */
|
|
11059
|
+
tokenFlow: TokenFlow;
|
|
11060
|
+
/** Block metadata identifying the state used for the simulation. */
|
|
11061
|
+
_meta: BlockMeta;
|
|
11062
|
+
}
|
|
11063
|
+
/**
|
|
11064
|
+
* Why a temporary-loan recovery quote is unavailable.
|
|
11065
|
+
*
|
|
11066
|
+
* - `not-token-shortfall`: the supplied error is not a decoded token shortfall.
|
|
11067
|
+
* - `invalid-shortfall`: the decoded shortfall does not require a positive loan.
|
|
11068
|
+
* - `invalid-slippage`: slippage is outside the supported basis-point range.
|
|
11069
|
+
* - `unsupported-token`: the shortfall token is not a pool collateral token.
|
|
11070
|
+
* - `invalid-tick-limits`: the repayment swap limits are empty or inverted.
|
|
11071
|
+
* - `repayment-token-shortfall`: repayment shifted the deficit to the counter-token.
|
|
11072
|
+
* - `recovery-unavailable`: bounded simulation could not produce a recoverable dispatch.
|
|
11073
|
+
*/
|
|
11074
|
+
type TemporaryLoanRecoveryUnavailableReason = 'not-token-shortfall' | 'invalid-shortfall' | 'invalid-slippage' | 'unsupported-token' | 'invalid-tick-limits' | 'repayment-token-shortfall' | 'recovery-unavailable';
|
|
11075
|
+
/**
|
|
11076
|
+
* Result of quoting temporary-loan recovery: either an executable quote or an
|
|
11077
|
+
* unavailable reason with optional diagnostic detail and SDK error.
|
|
11078
|
+
*/
|
|
11079
|
+
type TemporaryLoanRecoveryResult = {
|
|
11080
|
+
/** Indicates that an executable quote was produced. */
|
|
11081
|
+
available: true;
|
|
11082
|
+
/** Fully simulated dispatch and loan details. */
|
|
11083
|
+
quote: TemporaryLoanRecoveryQuote;
|
|
11084
|
+
} | {
|
|
11085
|
+
/** Indicates that recovery could not be quoted. */
|
|
11086
|
+
available: false;
|
|
11087
|
+
/** Stable category describing why recovery is unavailable. */
|
|
11088
|
+
reason: TemporaryLoanRecoveryUnavailableReason;
|
|
11089
|
+
/** Optional human-readable diagnostic context. */
|
|
11090
|
+
detail?: string;
|
|
11091
|
+
/** Optional SDK error that caused the unavailable result. */
|
|
11092
|
+
error?: PanopticError;
|
|
11093
|
+
};
|
|
11094
|
+
/**
|
|
11095
|
+
* Quotes and simulates an atomic temporary loan around a full-close dispatch.
|
|
11096
|
+
*
|
|
11097
|
+
* @param params - Chain client, account, failed dispatch, shortfall error, and quote limits.
|
|
11098
|
+
* @returns An executable quote when recovery succeeds, otherwise a categorized unavailable result.
|
|
11099
|
+
* @throws {PanopticError} When the dispatch is not a full close or required RPC reads fail.
|
|
11100
|
+
*/
|
|
11101
|
+
declare function quoteTemporaryLoanRecovery(params: TemporaryLoanRecoveryQuoteParams): Promise<TemporaryLoanRecoveryResult>;
|
|
11102
|
+
|
|
10880
11103
|
//#endregion
|
|
10881
11104
|
//#region src/panoptic/v2/simulations/tokenShortfallRecovery.d.ts
|
|
10882
11105
|
interface TokenShortfallRecoveryQuoteParams {
|
|
@@ -15676,5 +15899,5 @@ declare const queryKeys: {
|
|
|
15676
15899
|
};
|
|
15677
15900
|
|
|
15678
15901
|
//#endregion
|
|
15679
|
-
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, MutationEffectParams, MutationType, 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, PanopticContextValue, PanopticError, PanopticEvent, PanopticEventType, PanopticHelperNotDeployedError, PanopticNFTMetadata, PanopticProvider, PanopticProviderProps, 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, PriceHistoryTimeRange, PriceImpactTooLargeError, PriceSnapshot, ProviderLagError, QueryOptions, 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, isCowSupportedChain, 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, mutationEffects, openPosition, openPositionAndWait, optimizeTokenIdRiskPartners, oracleEpochAt, packMarketState, panopticPoolV2Abi, parseBps, parseCollateralLog, parsePanopticError, parsePoolLog, parseTokenAmount, parseTokenListId, parseWad, pokeOracle, pokeOracleAndWait, previewBorrow, previewDeposit, previewMint, previewRedeem, previewUnwrap, previewWithdraw, previewWrap, priceToTick, publicBroadcaster, queryKeys, 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, useAccountCollateral, useAccountGreeks, useAccountPremia, useAccountSummaryBasic, useAccountSummaryRisk, useAddPendingPosition, useApprove, useApproveErc20ForCow, useApproveErc20ForPermit2, useApprovePool, useApproveRouterViaPermit2, useBatchDispatch as useBatchDispatchHook, useBorrow as useBorrowHook, useCancelCowOrder, useCheckCowApproval, useCheckRouterApproval, useChunkSpreads, useClearTrackedPositions, useClosePosition as useClosePositionHook, useClosedPositions, useCollateralBreakdown, useCollateralData, useConfirmPendingPosition, useCowOrderStatus, useCurrentRates, useDeployNewPool as useDeployNewPoolHook, useDeposit as useDepositHook, useDispatch as useDispatchHook, useEstimateCollateralRequired, useEventPoller, useEventSubscription, useFactoryConstructMetadata, useFactoryOwnerOf, useFactoryTokenURI, useFailPendingPosition, useFlowNeutralTokenId, useForceExercise as useForceExerciseHook, useGuardianUnlockState, useInterestState, useIsLiquidatable, useLiquidate as useLiquidateHook, useLiquidationPrices, useMarginBuffer, useMaxPositionSize, useMaxRedeem, useMaxWithdrawable, useMinePoolAddress as useMinePoolAddressHook, useMintShares, useNativeTokenPrice, useNetLiquidationValue, useNetLiquidationValues, useOpenPosition as useOpenPositionHook, useOpenPositionPreview, useOptimizeRiskPartners, useOracleState, usePanopticContext, usePanopticPoolAddress, usePokeOracle as usePokeOracleHook, usePool, usePoolLiquidities, usePosition, usePositionGreeks, usePositions, usePositionsWithPremia, usePreviewBorrow, usePreviewDeposit, usePreviewMint, usePreviewRedeem, usePreviewWithdraw, usePriceHistory, useQuoteCowSwap, useQuoteSwapExactInViaRouter, useQuoteSwapExactOutViaRouter, useRealizedPnL, useRedeem as useRedeemHook, useRepay as useRepayHook, useResolveUniswapV4PoolKey, useRiskParameters, useRollPosition as useRollPositionHook, useSafeMode, useSettleAccumulatedPremia as useSettleAccumulatedPremiaHook, useSimulateBatchDispatch, useSimulateClosePosition, useSimulateDeployNewPool, useSimulateDeposit, useSimulateDispatch, useSimulateForceExercise, useSimulateLiquidate, useSimulateOpenPosition, useSimulateSFPMBurn, useSimulateSFPMMint, useSimulateSettle, useSimulateSwapExactIn, useSimulateSwapExactOut, useSimulateWithdraw, useSmartRepay as useSmartRepayHook, useStreamiaHistory, useSubmitCowOrder, useSupply as useSupplyHook, useSwapExactIn, useSwapExactInViaRouter, useSwapExactOut, useSwapExactOutViaRouter, useSyncPositions, useSyncStatus, useTrackedPositionIds, useTradeHistory, useTxEventConfirmation, useUniswapFeeHistory, useUniswapV3PoolInfo, useUniswapV3PoolLiquidities, useUniswapV4PoolBasicState, useUniswapV4PoolInfo, useUniswapV4PoolLiquidities, useUnsupply as useUnsupplyHook, useUnwrapWeth, useUnwrapXstock, useUtilization, useValidateBuilderCode, useWatchEvents, useWithdraw as useWithdrawHook, useWithdrawWithPositions as useWithdrawWithPositionsHook, useWrapEth, useWrapXstock, utilizationBpsToWad, utilizationPctToWad, validateBatch, validateBuilderCode, validatePoolId, verifyBlockContinuity, watchEvents, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
|
|
15902
|
+
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, MutationEffectParams, MutationType, 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, PanopticContextValue, PanopticError, PanopticEvent, PanopticEventType, PanopticHelperNotDeployedError, PanopticNFTMetadata, PanopticProvider, PanopticProviderProps, 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, PriceHistoryTimeRange, PriceImpactTooLargeError, PriceSnapshot, ProviderLagError, QueryOptions, 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, isCowSupportedChain, 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, mutationEffects, 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, queryKeys, 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, useAccountCollateral, useAccountGreeks, useAccountPremia, useAccountSummaryBasic, useAccountSummaryRisk, useAddPendingPosition, useApprove, useApproveErc20ForCow, useApproveErc20ForPermit2, useApprovePool, useApproveRouterViaPermit2, useBatchDispatch as useBatchDispatchHook, useBorrow as useBorrowHook, useCancelCowOrder, useCheckCowApproval, useCheckRouterApproval, useChunkSpreads, useClearTrackedPositions, useClosePosition as useClosePositionHook, useClosedPositions, useCollateralBreakdown, useCollateralData, useConfirmPendingPosition, useCowOrderStatus, useCurrentRates, useDeployNewPool as useDeployNewPoolHook, useDeposit as useDepositHook, useDispatch as useDispatchHook, useEstimateCollateralRequired, useEventPoller, useEventSubscription, useFactoryConstructMetadata, useFactoryOwnerOf, useFactoryTokenURI, useFailPendingPosition, useFlowNeutralTokenId, useForceExercise as useForceExerciseHook, useGuardianUnlockState, useInterestState, useIsLiquidatable, useLiquidate as useLiquidateHook, useLiquidationPrices, useMarginBuffer, useMaxPositionSize, useMaxRedeem, useMaxWithdrawable, useMinePoolAddress as useMinePoolAddressHook, useMintShares, useNativeTokenPrice, useNetLiquidationValue, useNetLiquidationValues, useOpenPosition as useOpenPositionHook, useOpenPositionPreview, useOptimizeRiskPartners, useOracleState, usePanopticContext, usePanopticPoolAddress, usePokeOracle as usePokeOracleHook, usePool, usePoolLiquidities, usePosition, usePositionGreeks, usePositions, usePositionsWithPremia, usePreviewBorrow, usePreviewDeposit, usePreviewMint, usePreviewRedeem, usePreviewWithdraw, usePriceHistory, useQuoteCowSwap, useQuoteSwapExactInViaRouter, useQuoteSwapExactOutViaRouter, useRealizedPnL, useRedeem as useRedeemHook, useRepay as useRepayHook, useResolveUniswapV4PoolKey, useRiskParameters, useRollPosition as useRollPositionHook, useSafeMode, useSettleAccumulatedPremia as useSettleAccumulatedPremiaHook, useSimulateBatchDispatch, useSimulateClosePosition, useSimulateDeployNewPool, useSimulateDeposit, useSimulateDispatch, useSimulateForceExercise, useSimulateLiquidate, useSimulateOpenPosition, useSimulateSFPMBurn, useSimulateSFPMMint, useSimulateSettle, useSimulateSwapExactIn, useSimulateSwapExactOut, useSimulateWithdraw, useSmartRepay as useSmartRepayHook, useStreamiaHistory, useSubmitCowOrder, useSupply as useSupplyHook, useSwapExactIn, useSwapExactInViaRouter, useSwapExactOut, useSwapExactOutViaRouter, useSyncPositions, useSyncStatus, useTrackedPositionIds, useTradeHistory, useTxEventConfirmation, useUniswapFeeHistory, useUniswapV3PoolInfo, useUniswapV3PoolLiquidities, useUniswapV4PoolBasicState, useUniswapV4PoolInfo, useUniswapV4PoolLiquidities, useUnsupply as useUnsupplyHook, useUnwrapWeth, useUnwrapXstock, useUtilization, useValidateBuilderCode, useWatchEvents, useWithdraw as useWithdrawHook, useWithdrawWithPositions as useWithdrawWithPositionsHook, useWrapEth, useWrapXstock, utilizationBpsToWad, utilizationPctToWad, validateBatch, validateBuilderCode, validatePoolId, verifyBlockContinuity, watchEvents, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
|
|
15680
15903
|
//# sourceMappingURL=react-public.d.ts.map
|