@panoptic-eng/sdk 1.0.68 → 1.0.70
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 +47 -2
- package/dist/cow/index.js.map +1 -1
- package/dist/{cow-CGgPXhY6.js → cow-sGuN0eas.js} +1 -1
- package/dist/{greeks-CGtgLUyh.js → greeks-DNPP24KL.js} +115 -9
- package/dist/index.d.ts +67 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +161 -62
- package/dist/index.js.map +1 -1
- package/dist/{irm-BDxwCFDm.js → irm-6RzXXa1_.js} +927 -3
- package/dist/panoptic/v2/greeks/index.d.ts +7 -4
- package/dist/panoptic/v2/greeks/index.d.ts.map +1 -1
- package/dist/panoptic/v2/greeks/index.js +74 -7
- package/dist/panoptic/v2/greeks/index.js.map +1 -1
- package/dist/panoptic/v2/index.d.ts +244 -6
- package/dist/panoptic/v2/index.d.ts.map +1 -1
- package/dist/panoptic/v2/index.js +2554 -464
- package/dist/panoptic/v2/index.js.map +1 -1
- package/dist/panoptic/v2/react-public.d.ts +258 -9
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +4655 -2909
- package/dist/panoptic/v2/react-public.js.map +1 -1
- package/dist/{providers-DubVMHWU.js → providers-CbcNt27n.js} +2 -1
- package/dist/{rates-BHS-Qiu7.js → rates-DDK4ZimJ.js} +40 -4
- package/dist/{router-BW6TqwOO.js → router-njWsLvZc.js} +969 -39
- package/dist/rpc/index.d.ts +12 -1
- package/dist/rpc/index.d.ts.map +1 -1
- package/dist/rpc/index.js +65 -5
- package/dist/rpc/index.js.map +1 -1
- package/dist/uniswap/index.js +53 -13
- package/dist/uniswap/index.js.map +1 -1
- package/dist/{v2-Dgh6JxG_.js → v2-BrG4T_Gh.js} +681 -32
- package/dist/{writes-CG612Vuk.js → writes-CI6Haer-.js} +34 -3
- package/package.json +1 -1
- package/dist/router-IDtCENST.js +0 -942
|
@@ -1800,6 +1800,7 @@ declare class NotEnoughTokensError extends PanopticError {
|
|
|
1800
1800
|
readonly assetsRequested: bigint;
|
|
1801
1801
|
readonly assetBalance: bigint;
|
|
1802
1802
|
readonly name = "NotEnoughTokensError";
|
|
1803
|
+
get deficit(): bigint;
|
|
1803
1804
|
constructor(tokenAddress: Address, assetsRequested: bigint, assetBalance: bigint, cause?: Error);
|
|
1804
1805
|
}
|
|
1805
1806
|
/**
|
|
@@ -4165,6 +4166,14 @@ interface SplitTokenIdByTimescaleResult {
|
|
|
4165
4166
|
*/
|
|
4166
4167
|
declare function splitTokenIdByTimescale(tokenId: bigint, positionSize: bigint, targetTimescale: Timescale): SplitTokenIdByTimescaleResult;
|
|
4167
4168
|
|
|
4169
|
+
//#endregion
|
|
4170
|
+
//#region src/panoptic/v2/tokenId/validate.d.ts
|
|
4171
|
+
/**
|
|
4172
|
+
* Validate a TokenId's structure using the rules of TokenId.validate.
|
|
4173
|
+
* This does not check pool registration, available liquidity, or account collateral.
|
|
4174
|
+
*/
|
|
4175
|
+
declare function getTokenIdValidationError(tokenId: bigint): string | null;
|
|
4176
|
+
|
|
4168
4177
|
//#endregion
|
|
4169
4178
|
//#region src/panoptic/v2/sfpmSwap/types.d.ts
|
|
4170
4179
|
/** Exact-input or exact-output swap. */
|
|
@@ -4381,8 +4390,31 @@ interface V3ExactInQuote {
|
|
|
4381
4390
|
*/
|
|
4382
4391
|
declare function quoteV3ExactIn(params: QuoteV3ExactInParams): Promise<V3ExactInQuote | null>;
|
|
4383
4392
|
|
|
4393
|
+
//#endregion
|
|
4394
|
+
//#region src/uniswap/v4/router/types.d.ts
|
|
4395
|
+
/**
|
|
4396
|
+
* Quote result data for an exact-out swap (carried inside a `SimulationResult`).
|
|
4397
|
+
*/
|
|
4398
|
+
interface SwapExactOutQuote {
|
|
4399
|
+
/** Quoted input amount of `tokenIn` required for the exact output. */
|
|
4400
|
+
amountIn: bigint;
|
|
4401
|
+
/** Maximum acceptable input after applying slippage. */
|
|
4402
|
+
amountInMaximum: bigint;
|
|
4403
|
+
/** Whether the swap goes currency0 → currency1. */
|
|
4404
|
+
zeroForOne: boolean;
|
|
4405
|
+
/** Output token address (`address(0)` for native ETH). */
|
|
4406
|
+
tokenOut: Address;
|
|
4407
|
+
/** Resolved v4 PoolKey (reused by the v4 swap calldata builder; absent for v3). */
|
|
4408
|
+
poolKey?: PoolKey;
|
|
4409
|
+
/** Quoter's gas estimate. */
|
|
4410
|
+
gasEstimate: bigint;
|
|
4411
|
+
}
|
|
4412
|
+
|
|
4384
4413
|
//#endregion
|
|
4385
4414
|
//#region src/panoptic/v2/reads/factory.d.ts
|
|
4415
|
+
/**
|
|
4416
|
+
* Parameters for {@link checkRouterApproval}.
|
|
4417
|
+
*/
|
|
4386
4418
|
/**
|
|
4387
4419
|
* Parameters for getFactoryTokenURI.
|
|
4388
4420
|
*/
|
|
@@ -6516,7 +6548,10 @@ declare function toVaultFrameAtTick(delta: bigint, fromAsset: bigint, vaultAsset
|
|
|
6516
6548
|
* Calculate one leg's wallet-aware delta in the vault asset frame.
|
|
6517
6549
|
*
|
|
6518
6550
|
* Width-zero loans and credits must be evaluated directly in the vault frame.
|
|
6519
|
-
*
|
|
6551
|
+
* An option leg is measured as its current holding of the vault token, so
|
|
6552
|
+
* `mintTick` and `definedRisk` do not affect it. Tokens swapped at mint belong
|
|
6553
|
+
* to the account's collateral balance, not to the position: a per-position
|
|
6554
|
+
* display omits them by design, and a whole-account delta adds the balance.
|
|
6520
6555
|
*/
|
|
6521
6556
|
declare function getLegDeltaInVaultFrame(leg: TokenIdLeg, currentTick: bigint, positionSize: bigint, poolTickSpacing: bigint, mintTick: bigint | undefined, definedRisk: boolean, vaultAssetIndex: 0n | 1n): bigint;
|
|
6522
6557
|
/**
|
|
@@ -6580,9 +6615,9 @@ declare function calculatePositionDelta(input: PositionGreeksInput): bigint;
|
|
|
6580
6615
|
/**
|
|
6581
6616
|
* Calculate debt-only position delta in a single target asset frame.
|
|
6582
6617
|
*
|
|
6583
|
-
* Option legs
|
|
6584
|
-
*
|
|
6585
|
-
*
|
|
6618
|
+
* Option legs contribute their current holding of the `assetIndex` token,
|
|
6619
|
+
* without any mint-time adjustment. Width-zero legs are evaluated directly in
|
|
6620
|
+
* the target frame.
|
|
6586
6621
|
*
|
|
6587
6622
|
* Width=0 loan/credit legs include only their debt obligation. The held-token
|
|
6588
6623
|
* side must be added separately from account collateral balances, preventing a
|
|
@@ -6862,7 +6897,7 @@ declare function calculateAccountGreeksPure(params: CalculateAccountGreeksPurePa
|
|
|
6862
6897
|
* Exported so callers can display the constant; prefer {@link applyMintBuffer}
|
|
6863
6898
|
* over multiplying by it directly, which is how the rounding bug reappears.
|
|
6864
6899
|
*/
|
|
6865
|
-
declare const MINT_BUFFER =
|
|
6900
|
+
declare const MINT_BUFFER = 10750000n;
|
|
6866
6901
|
/** `RiskEngine.DECIMALS` — the denominator {@link MINT_BUFFER} is taken over. */
|
|
6867
6902
|
declare const MINT_BUFFER_DENOMINATOR = 10000000n;
|
|
6868
6903
|
/** The compiled-in default, matching the deployed RiskEngine. */
|
|
@@ -8200,6 +8235,38 @@ declare function getHedgeLimits({
|
|
|
8200
8235
|
blockNumber?: bigint;
|
|
8201
8236
|
}): Promise<HedgeLimitEstimate>;
|
|
8202
8237
|
|
|
8238
|
+
//#endregion
|
|
8239
|
+
//#region src/panoptic/v2/reads/positionMintFunding.d.ts
|
|
8240
|
+
interface PositionMintFundingParams {
|
|
8241
|
+
tokenId: bigint;
|
|
8242
|
+
positionSize: bigint;
|
|
8243
|
+
/** Execution price, in native token1/token0 units. */
|
|
8244
|
+
sqrtPriceX96: bigint;
|
|
8245
|
+
/** Oracle price used to value collateral and the margin requirement. */
|
|
8246
|
+
valuationSqrtPriceX96: bigint;
|
|
8247
|
+
swapAtMint: boolean;
|
|
8248
|
+
/** CollateralTracker notional commission, in basis points. */
|
|
8249
|
+
commissionRate: bigint;
|
|
8250
|
+
/** Uniswap fee, in millionths. */
|
|
8251
|
+
swapFee: bigint;
|
|
8252
|
+
slippageBps: bigint;
|
|
8253
|
+
/** Buffered margin requirements in native token units. */
|
|
8254
|
+
required0: bigint;
|
|
8255
|
+
required1: bigint;
|
|
8256
|
+
}
|
|
8257
|
+
/**
|
|
8258
|
+
* Estimate deposit-independent mint funding, including settlement and commission.
|
|
8259
|
+
* Swaps use spot conversion with fees and slippage allowance; execution still needs a live quote.
|
|
8260
|
+
* Received tokens cover post-mint margin but cannot fund the other tracker's upfront payment.
|
|
8261
|
+
* Each requiredValue is the starting balance when funding entirely in that token.
|
|
8262
|
+
*/
|
|
8263
|
+
declare function getPositionMintFunding(params: PositionMintFundingParams): {
|
|
8264
|
+
paid0: bigint;
|
|
8265
|
+
paid1: bigint;
|
|
8266
|
+
requiredValue0: bigint;
|
|
8267
|
+
requiredValue1: bigint;
|
|
8268
|
+
};
|
|
8269
|
+
|
|
8203
8270
|
//#endregion
|
|
8204
8271
|
//#region src/panoptic/v2/sync/getSyncStatus.d.ts
|
|
8205
8272
|
/**
|
|
@@ -11247,6 +11314,35 @@ interface SimulateClosePositionParams {
|
|
|
11247
11314
|
*/
|
|
11248
11315
|
declare function simulateClosePosition(params: SimulateClosePositionParams): Promise<SimulationResult<ClosePositionSimulation>>;
|
|
11249
11316
|
|
|
11317
|
+
//#endregion
|
|
11318
|
+
//#region src/panoptic/v2/simulations/simulateClosePremiumProtection.d.ts
|
|
11319
|
+
interface SimulateClosePremiumProtectionParams {
|
|
11320
|
+
client: PublicClient;
|
|
11321
|
+
poolAddress: Address;
|
|
11322
|
+
account: Address;
|
|
11323
|
+
signerAddress: Address;
|
|
11324
|
+
signerPositionIdList: bigint[];
|
|
11325
|
+
buildCollectionCall: (dispatchData: Hex) => {
|
|
11326
|
+
to: Address;
|
|
11327
|
+
data: Hex;
|
|
11328
|
+
};
|
|
11329
|
+
positionIdList: bigint[];
|
|
11330
|
+
closingTokenIds: bigint[];
|
|
11331
|
+
targets: SettleSequenceTarget[];
|
|
11332
|
+
builderCode?: bigint;
|
|
11333
|
+
blockNumber?: bigint;
|
|
11334
|
+
}
|
|
11335
|
+
interface ClosePremiumProtectionSimulation {
|
|
11336
|
+
owed0: bigint;
|
|
11337
|
+
owed1: bigint;
|
|
11338
|
+
available0: bigint;
|
|
11339
|
+
available1: bigint;
|
|
11340
|
+
forfeit0: bigint;
|
|
11341
|
+
forfeit1: bigint;
|
|
11342
|
+
}
|
|
11343
|
+
/** Estimate unfunded short premium after buyer settlement and collection of chunk fees. */
|
|
11344
|
+
declare function simulateClosePremiumProtection(params: SimulateClosePremiumProtectionParams): Promise<SimulationResult<ClosePremiumProtectionSimulation>>;
|
|
11345
|
+
|
|
11250
11346
|
//#endregion
|
|
11251
11347
|
//#region src/panoptic/v2/simulations/simulateDispatch.d.ts
|
|
11252
11348
|
/**
|
|
@@ -11880,6 +11976,34 @@ type OneTokenFlowResult = {
|
|
|
11880
11976
|
*/
|
|
11881
11977
|
declare function quoteOneTokenFlow(params: OneTokenFlowQuoteParams): Promise<OneTokenFlowResult>;
|
|
11882
11978
|
|
|
11979
|
+
//#endregion
|
|
11980
|
+
//#region src/panoptic/v2/simulations/quoteTokenShortfallSwap.d.ts
|
|
11981
|
+
/** Quote the opposite pool token needed to buy the deficit in a NotEnoughTokens revert. */
|
|
11982
|
+
declare function quoteTokenShortfallSwap({
|
|
11983
|
+
client,
|
|
11984
|
+
chainId,
|
|
11985
|
+
poolAddress,
|
|
11986
|
+
error,
|
|
11987
|
+
slippageBps
|
|
11988
|
+
}: {
|
|
11989
|
+
client: PublicClient;
|
|
11990
|
+
chainId: bigint;
|
|
11991
|
+
poolAddress: Address;
|
|
11992
|
+
error: unknown;
|
|
11993
|
+
slippageBps?: bigint;
|
|
11994
|
+
}): Promise<{
|
|
11995
|
+
deficit: bigint;
|
|
11996
|
+
outputSymbol: string;
|
|
11997
|
+
outputDecimals: bigint;
|
|
11998
|
+
inputSymbol: string;
|
|
11999
|
+
inputDecimals: bigint;
|
|
12000
|
+
tokenIn: any;
|
|
12001
|
+
slippageBps: bigint;
|
|
12002
|
+
poolFeePips: bigint | null;
|
|
12003
|
+
estimatedPoolFee: bigint | null;
|
|
12004
|
+
quote: SwapExactOutQuote | null;
|
|
12005
|
+
} | null>;
|
|
12006
|
+
|
|
11883
12007
|
//#endregion
|
|
11884
12008
|
//#region src/panoptic/v2/simulations/temporaryLoanRecovery.d.ts
|
|
11885
12009
|
/** Parameters for inserting a temporary loan around a close dispatch. */
|
|
@@ -12363,6 +12487,120 @@ interface CreateEventPollerParams {
|
|
|
12363
12487
|
*/
|
|
12364
12488
|
declare function createEventPoller(params: CreateEventPollerParams): EventPoller;
|
|
12365
12489
|
|
|
12490
|
+
//#endregion
|
|
12491
|
+
//#region src/panoptic/v2/events/poolSwaps.d.ts
|
|
12492
|
+
type SwapPoolRef = {
|
|
12493
|
+
version: 'v3';
|
|
12494
|
+
poolAddress: Address;
|
|
12495
|
+
} | {
|
|
12496
|
+
version: 'v4';
|
|
12497
|
+
poolManager: Address;
|
|
12498
|
+
poolId: Hash;
|
|
12499
|
+
};
|
|
12500
|
+
interface PoolSwap {
|
|
12501
|
+
blockNumber: bigint;
|
|
12502
|
+
logIndex: number;
|
|
12503
|
+
/** Block timestamp in unix seconds */
|
|
12504
|
+
timestamp: bigint;
|
|
12505
|
+
transactionHash: Hash;
|
|
12506
|
+
tick: number;
|
|
12507
|
+
amount0: bigint;
|
|
12508
|
+
amount1: bigint;
|
|
12509
|
+
sqrtPriceX96: bigint;
|
|
12510
|
+
liquidity: bigint;
|
|
12511
|
+
}
|
|
12512
|
+
interface WatchPoolSwapsParams {
|
|
12513
|
+
client: PublicClient;
|
|
12514
|
+
pool: SwapPoolRef;
|
|
12515
|
+
/** Inclusive first block to scan; omit to start at the current head */
|
|
12516
|
+
fromBlock?: bigint;
|
|
12517
|
+
/** Default 3000 */
|
|
12518
|
+
pollIntervalMs?: number;
|
|
12519
|
+
/** Default 2000n */
|
|
12520
|
+
maxBlockRange?: bigint;
|
|
12521
|
+
/** Called once per scanned chunk that contains swaps, in chain order */
|
|
12522
|
+
onSwaps: (swaps: PoolSwap[], range: {
|
|
12523
|
+
fromBlock: bigint;
|
|
12524
|
+
toBlock: bigint;
|
|
12525
|
+
}) => void;
|
|
12526
|
+
onError?: (error: Error) => void;
|
|
12527
|
+
}
|
|
12528
|
+
type PoolSwapKey = {
|
|
12529
|
+
blockNumber: bigint;
|
|
12530
|
+
logIndex: number;
|
|
12531
|
+
};
|
|
12532
|
+
type PoolSwapTransport = 'stream' | 'poll' | 'off';
|
|
12533
|
+
interface PoolSwapWatcher {
|
|
12534
|
+
stop(): void;
|
|
12535
|
+
lastScannedBlock(): bigint | undefined;
|
|
12536
|
+
}
|
|
12537
|
+
/**
|
|
12538
|
+
* Parse a decoded v3 `UniswapV3Pool.Swap` or v4 `PoolManager.Swap` log.
|
|
12539
|
+
*/
|
|
12540
|
+
declare function parseSwapLog(log: DecodedLog, timestamp: bigint): PoolSwap;
|
|
12541
|
+
/**
|
|
12542
|
+
* Fetch a pool's swaps in `[fromBlock, toBlock]` (default: the current head), in
|
|
12543
|
+
* chain order. Returns no swaps when `fromBlock > toBlock`.
|
|
12544
|
+
*/
|
|
12545
|
+
declare function fetchPoolSwaps(client: PublicClient, pool: SwapPoolRef, fromBlock: bigint, toBlock?: bigint, maxBlockRange?: bigint): Promise<{
|
|
12546
|
+
swaps: PoolSwap[];
|
|
12547
|
+
toBlock: bigint;
|
|
12548
|
+
}>;
|
|
12549
|
+
/**
|
|
12550
|
+
* Poll a single pool's `Swap` logs with `eth_getLogs`, timestamped by block.
|
|
12551
|
+
*
|
|
12552
|
+
* Works over plain HTTP (no filters or websockets). A chunk that fails is retried on
|
|
12553
|
+
* the next tick; errors never stop the loop.
|
|
12554
|
+
*/
|
|
12555
|
+
declare function watchPoolSwaps(params: WatchPoolSwapsParams): PoolSwapWatcher;
|
|
12556
|
+
interface SubscribePoolSwapsParams extends WatchPoolSwapsParams {
|
|
12557
|
+
key: string;
|
|
12558
|
+
/** Relay SSE endpoint; when set the subscription streams and falls back to polling */
|
|
12559
|
+
streamUrl?: string;
|
|
12560
|
+
onRemoved?: (key: PoolSwapKey) => void;
|
|
12561
|
+
onTransport?: (transport: PoolSwapTransport) => void;
|
|
12562
|
+
}
|
|
12563
|
+
/**
|
|
12564
|
+
* Ref-counted pool swap feed: subscribers with the same `key` share one watcher
|
|
12565
|
+
* (relay stream when `streamUrl` is set, else HTTP polling), duplicates are
|
|
12566
|
+
* dropped, late subscribers first receive the swaps already seen, and the watcher
|
|
12567
|
+
* stops when the last subscriber unsubscribes.
|
|
12568
|
+
*/
|
|
12569
|
+
declare function subscribePoolSwaps(params: SubscribePoolSwapsParams): () => void;
|
|
12570
|
+
|
|
12571
|
+
//#endregion
|
|
12572
|
+
//#region src/panoptic/v2/events/poolSwapStream.d.ts
|
|
12573
|
+
/** The subset of the browser `EventSource` the stream relies on. */
|
|
12574
|
+
interface SwapStreamEventSource {
|
|
12575
|
+
readonly readyState: number;
|
|
12576
|
+
addEventListener(type: string, listener: (event: {
|
|
12577
|
+
data?: string;
|
|
12578
|
+
}) => void): void;
|
|
12579
|
+
close(): void;
|
|
12580
|
+
}
|
|
12581
|
+
type SwapStreamEventSourceFactory = (url: string) => SwapStreamEventSource;
|
|
12582
|
+
interface StreamPoolSwapsParams extends WatchPoolSwapsParams {
|
|
12583
|
+
streamUrl: string;
|
|
12584
|
+
onRemoved?: (key: PoolSwapKey) => void;
|
|
12585
|
+
onTransport?: (transport: PoolSwapTransport) => void;
|
|
12586
|
+
/** Defaults to `globalThis.EventSource`; without one the stream only polls */
|
|
12587
|
+
eventSource?: SwapStreamEventSourceFactory;
|
|
12588
|
+
}
|
|
12589
|
+
interface PoolSwapStream extends PoolSwapWatcher {
|
|
12590
|
+
transport(): PoolSwapTransport;
|
|
12591
|
+
}
|
|
12592
|
+
declare function parseStreamedKey(data: string): PoolSwapKey;
|
|
12593
|
+
declare function parseStreamedSwap(data: string): PoolSwap;
|
|
12594
|
+
/**
|
|
12595
|
+
* Stream a pool's swaps from the relay at `streamUrl`.
|
|
12596
|
+
*
|
|
12597
|
+
* Every `ready`/`resync` frame carries the relay's head; swaps from the cursor up
|
|
12598
|
+
* to that head are fetched over HTTP so nothing is lost across reconnects. A
|
|
12599
|
+
* stream that closes, or errors three times in 30 s, is replaced by HTTP polling
|
|
12600
|
+
* and retried with backoff; one that closes before ever opening is not retried.
|
|
12601
|
+
*/
|
|
12602
|
+
declare function streamPoolSwaps(params: StreamPoolSwapsParams): PoolSwapStream;
|
|
12603
|
+
|
|
12366
12604
|
//#endregion
|
|
12367
12605
|
//#region src/panoptic/v2/formatters/amount.d.ts
|
|
12368
12606
|
/**
|
|
@@ -17117,5 +17355,5 @@ declare function getPositionVolatilityHistory({
|
|
|
17117
17355
|
}>;
|
|
17118
17356
|
|
|
17119
17357
|
//#endregion
|
|
17120
|
-
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, BetaResult, BlockMeta, BorrowParams, BuildBatchDispatchArgsParams, BuildBatchDispatchArgsResult, BuildCreditWrappedDispatchParams, BuildProtectedSettleDispatchParams, BuildTemporaryLoanRecoveryDispatchParams, BuildTokenShortfallRecoveryDispatchParams, CalculateAccountGreeksPureParams, CancelParams, CastingError, ChainDeployment, CheckApprovalParams, CheckCollateralAcrossTicksParams, ChunkData, ChunkHasZeroLiquidityError, ChunkInput, ChunkKey, ChunkLimitError, ChunkLiquidityResult, ChunkMetadata, ChunkSpread, ChunkStats, ClosePositionParams, ClosePositionSimulation, ClosedPosition, CollateralAcrossTicks, CollateralBreakdown, CollateralDataPoint, CollateralEstimate, CollateralSharePriceData, CollateralStrategyKind, CollateralTracker, ConfirmPendingPositionParams, CreateEventPollerParams, CreateEventSubscriptionParams, CreateFlowNeutralTokenIdParams, CreditSwapCall, CreditSwapCallParams, CreditWrapDirection, CreditWrapPlacement, CrossPoolError, CurrentRates, DEFAULT_MAX_SPREAD, DEFAULT_MINT_BUFFER, DEFAULT_MIN_SWAP_RATIO_BPS, DEFAULT_RECONNECT_CONFIG, DEFAULT_VEGOID, DataWithMeta, DecodedLeg, DecodedOraclePack, DecodedTokenId, DeltaHedgeResult, DeployNewPoolParams, DepositEvent, DepositParams, DepositSimulation, DepositTooLargeError, DeriveStrategy, DeriveUniqueTokenIdParams, DeriveUniqueTokenIdResult, DetectReorgParams, DispatchCall, DispatchCalldata, DispatchIntent, DispatchParams, DispatchSimulation, DuplicateTokenIdError, ERC4626PreviewParams, ERC4626PreviewResult, EffectiveLiquidityAboveThresholdError, EncodeLegParams, EnforcedTickLimits, EnsureSfpmV3PoolInitializedParams, EnsureSfpmV3PoolInitializedResult, EstimateBlockNumbersParams, EstimateCollateralBreakdownParams, EstimateCollateralRequiredParams, EventPoller, EventReconstructionParams, EventReconstructionResult, EventSubscription, EventSubscriptionHandle, ExceedsMaximumRedemptionError, ExecuteBatchDispatchParams, ExecuteSettleSequenceParams, FailPendingPositionParams, FetchPoolIdParams, FetchPoolIdResult, FetchSfpmV3PoolIdParams, FlowNeutralTokenId, ForceExerciseParams, ForceExerciseSimulation, ForcedExercisedEvent, ForfeitablePremium, GenerateOverlappingTokenIdsParams, GenerateOverlappingTokenIdsResult, GetAccountBuyingPowerParams, GetAccountCollateralParams, GetAccountGreeksParams, GetAccountPremiaParams, GetAccountSummaryBasicParams, GetAccountSummaryRiskParams, GetBlockMetaParams, GetChunkLiquiditiesParams, GetChunkLiquiditiesResult, GetChunkSpreadsParams, GetCollateralDataParams, GetCurrentRatesParams, GetDeltaHedgeParamsInput, GetEnforcedTickLimitsParams, GetFactoryConstructMetadataParams, GetFactoryOwnerOfParams, GetFactoryTokenURIParams, GetForfeitablePremiumParams, GetGuardianUnlockStateParams, GetInterestStateParams, GetItmAmountsParams, GetLiquidationPricesParams, GetMarginBufferParams, GetMaxPositionSizeParams, GetMaxRedeemParams, GetMaxWithdrawableParams, GetNativeTokenPriceParams, GetNetLiquidationValueParams, GetNetLiquidationValuesParams, GetOpenPositionIdsParams, GetOpenPositionPreviewParams, GetOracleRiskParametersParams, GetOracleStateParams, GetPanopticPoolAddressParams, GetPanopticPoolFromPoolIdParams, GetPendingPositionsParams, GetPoolLiquiditiesParams, GetPoolMetadataParams, GetPoolParams, GetPortfolioValueParams, GetPositionChunkDataParams, GetPositionChunkDataResult, GetPositionEnrichmentDataParams, GetPositionEnrichmentDataResult, GetPositionGreeksParams, GetPositionParams, GetPositionsParams, GetPositionsWithPremiaParams, GetPriceHistoryParams, GetRealizedPnLParams, GetRequiredCreditForITMParams, GetRiskParametersParams, GetSafeModeParams, GetStreamiaHistoryParams, GetSyncStatusParams, GetTrackedChunksParams, GetTrackedPositionIdsParams, GetTradeHistoryParams, GetUniswapFeeHistoryParams, GetUniswapV3LpPositionStateParams, GetUniswapV3PoolFromIdParams, GetUniswapV3PoolInfoParams, GetUniswapV3PoolLiquiditiesParams, GetUniswapV4LpPositionStateParams, GetUniswapV4PoolBasicStateParams, GetUniswapV4PoolInfoParams, GetUniswapV4PoolKeyFromIdParams, GetUniswapV4PoolLiquiditiesParams, GetUtilizationParams, GuardianUnlockState, HedgeLimitEstimate, HelperLiquidateParams, IndicatorCandle, IndicatorPoint, InputListFailError, InsufficientCreditLiquidityError, InterestState, InvalidBuilderCodeError, InvalidHistoryRangeError, InvalidTickBoundError, InvalidTickError, InvalidTokenIdParameterError, InvalidUniswapCallbackError, IrmCurrent, IrmMarketStateInputs, IrmPoint, IsLiquidatableParams, ItmAmounts, LEG_BITS, LEG_LIMITS, LEG_MASKS, LadderStrike, LegChunkData, LegConfig, LegGreeksParams, LegUpdate, LengthMismatchError, LiquidateParams, LiquidateSimulation, LiquidationCheck, LiquidationGateTicks, LiquidationPrices, LiquidationQuote, LiquidityChunkKey, LiquidityChunkSpread, LiquidityTooHighError, LoanSlotExhaustedError, LpFundingPolicy, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MARKET_INDICATOR_PERIODS, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MarginBuffer, MarketIndicator, MaxPositionSize, MaxRetriesExceededError, MinePoolAddressParams, MinePoolAddressResult, MintBufferRatio, MintParams, MissingPositionIdsError, MulticallContract, MulticallReadParams, NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, NetLiquidationValue, NetLiquidationValues, NetLiquidityZeroError, NetworkMismatchError, NeutralLeg, NoLegsExercisableError, NonceManager, NotALongLegError, NotBuilderError, NotEnoughLiquidityInChunkError, NotEnoughTokensError, NotGuardianError, NotMarginCalledError, NotPanopticPoolError, ORACLE_EPOCH_SECONDS, OneTokenFlowQuote, OneTokenFlowQuoteParams, OneTokenFlowResult, OneTokenFlowUnavailableReason, OpenPositionParams, OpenPositionPreview, OpenPositionSimulation, OptimizeTokenIdRiskPartnersParams, OptionBurntEvent, OptionMintedEvent, OracleEmaPeriods, OracleRateLimitedError, OracleRiskParameters, OracleRiskParametersState, OracleSafeModeCause, OracleSafeModeDiagnosis, OracleState, OracleTiming, OverlappingOptionLegConfig, OverlappingOptionType, PanopticError, PanopticEvent, PanopticEventType, PanopticHelperNotDeployedError, PanopticNFTMetadata, PanopticValidationError, ParsedError, PendingPosition, PokeOracleParams, Pool, PoolFormatterConfig, PoolFormatters, PoolHealthStatus, PoolKey, PoolLiquidities, PoolMetadata, PoolNotInitializedError, PoolVersionConfig, PortfolioValue, Position, PositionChunkData, PositionCountNotZeroError, PositionEnrichmentResult, PositionGreeks, PositionGreeksInput, PositionGreeksResult, PositionInput, PositionNotOwnedError, PositionSnapshotNotFoundError, PositionStorageParams, PositionTooLargeError, PositionValueCurve, PositionValueInput, PositionVolatilityObservation, PositionWithPremia, PositionsWithPremiaResult, PremiumSettledEvent, PreviewBorrowParams, PreviewBorrowResult, PreviewRepayParams, PreviewWrapParams, PriceBoundFailError, PriceHistoryResult, PriceImpactTooLargeError, PriceSnapshot, ProtectedSettlePlan, ProviderLagError, QuoteLiquidationParams, 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, STRIKE_LADDER_TARGET_STRIKES, SafeMode, SafeModeError, SafeModeState, SaveCheckpointParams, SaveClosedPositionParams, ScanChunksParams, ScanChunksResult, ScannedChunk, ScreenAccountExactParams, ScreenAccountExactResult, SettleParams, SettlePremiumBatchResult, SettlePremiumBatchTargetResult, SettlePremiumFromParams, SettlePremiumFromSimulation, SettleSequenceCallsParams, SettleSequenceClose, SettleSequenceSimulation, SettleSequenceTarget, SettleSimulation, SettledEvent, SfpmSwapCalldata, SfpmSwapKind, SfpmSwapPlan, SfpmSwapPlanParams, SfpmSwapQuote, SimulateBatchDispatchParams, SimulateBatchDispatchResult, SimulateClosePositionParams, SimulateDeployNewPoolParams, SimulateDepositParams, SimulateDispatchParams, SimulateForceExerciseParams, SimulateLiquidateParams, SimulateOpenPositionParams, SimulateSFPMParams, SimulateSettleParams, SimulateSettlePremiumBatchParams, SimulateSettlePremiumFromParams, SimulateSettleSequenceParams, SimulateSwapExactInParams, SimulateSwapExactOutParams, SimulateWithTokenFlowParams, SimulateWithTokenFlowResult, SimulateWithdrawParams, SimulationResult, SmartRepayParams, SnapshotRecoveryResult, SpeedUpParams, SplitTokenIdByTimescaleResult, StaleDataError, StaleOracleError, StorageAdapter, StrategyAllocation, StrategyGroup, StreamiaHistoryResult, StreamiaLeg, StreamiaSnapshot, StrikeClassification, StrikeOrientation, 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, UniswapBlockData, UniswapFeeHistoryResult, UniswapFeeSnapshot, UniswapLpPositionState, UniswapV3Liquidities, UniswapV3LpPositionState, UniswapV3PoolInfo, UniswapV3PoolToken, UniswapV4PoolBasicState, UniswapV4PoolInfo, UniswapV4PoolKey, UnsafePremiumSettlementError, UnsupplyParams, UnwrapWethParams, UnwrapXstockParams, Utilization, V3ExactInQuote, V3PoolConfig, V4PoolConfig, VARIANCE_RATIO_LAG, ValidateBatchParams, VolatilityComparisonReason, 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, assertLpPositionFunded, assertTradeable, borrow, borrowAndWait, buildBatchDispatchArgs, buildCreditSwapCall, buildCreditWrappedDispatch, buildOpenPositionCalldata, buildProtectedSettleDispatch, buildProtectedSettlePlan, buildSettleSequenceCalls, buildSfpmSwapCalldata, buildSfpmSwapPlan, buildTemporaryLoanRecoveryDispatch, buildTokenShortfallRecoveryDispatch, buildUniqueCredit, buildUniqueLoan, buildUniqueWidthZeroLeg, calculateAccountGreeksPure, calculateMarketIndicator, calculatePortfolioDelta, calculatePortfolioGamma, calculatePortfolioGreeks, calculatePortfolioValue, calculatePositionDelta, calculatePositionDeltaDebtOnly, calculatePositionDeltaWithSwap, calculatePositionGamma, calculatePositionGreeks, calculatePositionValue, calculatePositionValues, calculatePositionVolatilityMetrics, calculateResyncBlock, calculateSpreadWad, calculateVarianceProfile, cancelTransaction, checkApproval, checkCollateralAcrossTicks, classifyStrategyGroups, classifyStrike, cleanupStalePendingPositions, clearCheckpoint, clearPendingPositions, clearTrackedChunks, clearTrackedPositions, clearTradeHistory, closePosition, closePositionAndWait, collateralCurveTicks, 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, emptyLiquidateParams, encodeLeg, encodePoolId, encodePoolKeyBytes, encodeV3PoolKeyBytes, encodeV4PoolId, ensureSfpmV3PoolInitialized, estimateBlockNumbers, estimateCloseZapSwap, estimateCollateralBreakdown, estimateCollateralRequired, executeBatchDispatch, executeBatchDispatchAndWait, executeSettleSequence, executeSettleSequenceAndWait, failPendingPosition, feeGrowthInsideX128, feesFromFeeGrowthDelta, fetchPoolId, fetchSfpmV3PoolId, fetchUniswapFeeData, forceExercise, forceExerciseAndWait, formatBlockNumber, formatBps, formatCompact, formatDatetime, formatDuration, formatDurationSeconds, formatFeeTier, formatGas, formatGwei, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, formatPoolIdHex, formatPriceRange, formatRateWad, formatRatioPercent, formatTick, formatTickRange, formatTimestamp, formatTimestampLocale, formatTokenAmount, formatTokenAmountSigned, formatTokenDelta, formatTokenFlow, formatTokenIdHex, formatTokenIdShort, formatTxHash, formatUtilization, formatWad, formatWadPercent, formatWadSigned, formatWei, generateOverlappingTokenIds, getAccountBuyingPower, getAccountCollateral, getAccountGreeks, getAccountHistory, getAccountPremia, getAccountSummaryBasic, getAccountSummaryRisk, getAssetIndex, getBlockMeta, getChainDeployment, getChunkLiquidities, getChunkSpreads, getClosePositionTransferEstimate, getClosedPositions, getClosedPositionsKey, getCollateralAddresses, getCollateralCurve, getCollateralCurveInputs, getCollateralData, getCollateralRequiredBase, getCollateralSharePrices, getCollateralTotalAssetsBatch, getCurrentRates, getDeltaHedgeParams, getEnforcedTickLimits, getExecutableLpMaxSize, getFactoryConstructMetadata, getFactoryOwnerOf, getFactoryTokenURI, getForfeitablePremium, getGuardianUnlockState, getHedgeLimits, 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, getPoolCurrentTick, getPoolDeploymentBlock, getPoolDisplayId, getPoolLiquidities, getPoolMetaKey, getPoolMetadata, getPoolPrefix, getPortfolioValue, getPosition, getPositionChunkData, getPositionDeltaMetrics, getPositionEnrichmentData, getPositionGreeks, getPositionMetaKey, getPositionValueCurve, getPositionVolatilityHistory, getPositions, getPositionsKey, getPositionsWithPremia, getPriceHistory, getPricesAtTick, getRealizedPnL, getRequiredCreditForITM, getRiskParameters, getSafeMode, getSchemaVersionKey, getSimpleLoanTokenIndex, 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, ladderStrikeSequence, liquidate, liquidateAndWait, loadCheckpoint, logReturns, marketPnlInQuote, marketRiskFromValues, marketScenario, minePoolAddress, mint, mintAndWait, mintableAfterBuffer, multicallRead, netLiquidationValueInQuote, openPosition, openPositionAndWait, optimizeTokenIdRiskPartners, oracleEpochAt, orderListForSettle, packMarketState, panopticLiquidatorAbi, panopticPoolV2Abi, panopticQueryAbi, parseBps, parseCollateralLog, parsePanopticError, parsePoolLog, parseTokenAmount, parseTokenListId, parseWad, planDeriveStrategy, pokeOracle, pokeOracleAndWait, positionValueKey, positionValueTicks, prepareIndicatorCandles, prepareLiquidityGamma, preparePositionGamma, preparePositionValue, preparePositionValueCurve, previewBorrow, previewDeposit, previewMint, previewRedeem, previewRepay, previewUnwrap, previewWithdraw, previewWrap, priceToTick, publicBroadcaster, quoteLiquidation, quoteOneTokenFlow, quoteSfpmSwap, quoteTemporaryLoanRecovery, quoteTokenShortfallRecovery, quoteV3ExactIn, ratePerSecWadToAprPct, realizedBeta, reconstructFromEvents, recoverSnapshot, recoverSnapshotFromTx, redeem, redeemAndWait, removeTrackedChunks, repay, repayAndWait, requireChainDeployment, resolveBlockNumbers, resolveLadderStrike, resolvePanopticPoolFromPoolId, resolveTokenIndex, resolveUniswapV4PoolKey, riskEngineAbi, rollPosition, rollPositionAndWait, roundToTickSpacing, saveCheckpoint, saveClosedPosition, scaleCollateralRequired, scanChunks, screenAccountExact, selectDispatchForAccount, settleAccumulatedPremia, settleAccumulatedPremiaAndWait, settlePremiumFrom, settlePremiumFromAndWait, simulateBatchDispatch, simulateClosePosition, simulateDeployNewPool, simulateDeposit, simulateDispatch, simulateForceExercise, simulateLiquidate, simulateOpenPosition, simulateSFPMBurn, simulateSFPMMint, simulateSettle, simulateSettlePremiumBatch, simulateSettlePremiumFrom, simulateSettleSequence, simulateSwapExactIn, simulateSwapExactOut, simulateWithTokenFlow, simulateWithdraw, slippageBpsToTickDistance, smartRepay, smartRepayAndWait, speedUpTransaction, splitTokenIdByTimescale, sqrtPriceX96ToPriceDecimalScaled, sqrtPriceX96ToTick, supply, supplyAndWait, swapExactIn, swapExactInAndWait, swapExactOut, swapExactOutAndWait, syncPositions, tickLimits, tickToPrice, tickToPriceDecimalScaled, tickToSqrtPriceX96, toVaultFrameAtTick, truncateAddress, unsupply, unsupplyAndWait, unwrapWeth, unwrapWethAndWait, unwrapXstock, unwrapXstockAndWait, utilizationBpsToWad, utilizationPctToWad, validateBatch, validateBuilderCode, validatePoolId, valuePositionAccrual, verifyBlockContinuity, watchEvents, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
|
|
17358
|
+
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, BetaResult, BlockMeta, BorrowParams, BuildBatchDispatchArgsParams, BuildBatchDispatchArgsResult, BuildCreditWrappedDispatchParams, BuildProtectedSettleDispatchParams, BuildTemporaryLoanRecoveryDispatchParams, BuildTokenShortfallRecoveryDispatchParams, CalculateAccountGreeksPureParams, CancelParams, CastingError, ChainDeployment, CheckApprovalParams, CheckCollateralAcrossTicksParams, ChunkData, ChunkHasZeroLiquidityError, ChunkInput, ChunkKey, ChunkLimitError, ChunkLiquidityResult, ChunkMetadata, ChunkSpread, ChunkStats, ClosePositionParams, ClosePositionSimulation, ClosePremiumProtectionSimulation, ClosedPosition, CollateralAcrossTicks, CollateralBreakdown, CollateralDataPoint, CollateralEstimate, CollateralSharePriceData, CollateralStrategyKind, CollateralTracker, ConfirmPendingPositionParams, CreateEventPollerParams, CreateEventSubscriptionParams, CreateFlowNeutralTokenIdParams, CreditSwapCall, CreditSwapCallParams, CreditWrapDirection, CreditWrapPlacement, CrossPoolError, CurrentRates, DEFAULT_MAX_SPREAD, DEFAULT_MINT_BUFFER, DEFAULT_MIN_SWAP_RATIO_BPS, DEFAULT_RECONNECT_CONFIG, DEFAULT_VEGOID, DataWithMeta, DecodedLeg, DecodedOraclePack, DecodedTokenId, DeltaHedgeResult, DeployNewPoolParams, DepositEvent, DepositParams, DepositSimulation, DepositTooLargeError, DeriveStrategy, DeriveUniqueTokenIdParams, DeriveUniqueTokenIdResult, DetectReorgParams, DispatchCall, DispatchCalldata, DispatchIntent, DispatchParams, DispatchSimulation, DuplicateTokenIdError, ERC4626PreviewParams, ERC4626PreviewResult, EffectiveLiquidityAboveThresholdError, EncodeLegParams, EnforcedTickLimits, EnsureSfpmV3PoolInitializedParams, EnsureSfpmV3PoolInitializedResult, EstimateBlockNumbersParams, EstimateCollateralBreakdownParams, EstimateCollateralRequiredParams, EventPoller, EventReconstructionParams, EventReconstructionResult, EventSubscription, EventSubscriptionHandle, ExceedsMaximumRedemptionError, ExecuteBatchDispatchParams, ExecuteSettleSequenceParams, FailPendingPositionParams, FetchPoolIdParams, FetchPoolIdResult, FetchSfpmV3PoolIdParams, FlowNeutralTokenId, ForceExerciseParams, ForceExerciseSimulation, ForcedExercisedEvent, ForfeitablePremium, GenerateOverlappingTokenIdsParams, GenerateOverlappingTokenIdsResult, GetAccountBuyingPowerParams, GetAccountCollateralParams, GetAccountGreeksParams, GetAccountPremiaParams, GetAccountSummaryBasicParams, GetAccountSummaryRiskParams, GetBlockMetaParams, GetChunkLiquiditiesParams, GetChunkLiquiditiesResult, GetChunkSpreadsParams, GetCollateralDataParams, GetCurrentRatesParams, GetDeltaHedgeParamsInput, GetEnforcedTickLimitsParams, GetFactoryConstructMetadataParams, GetFactoryOwnerOfParams, GetFactoryTokenURIParams, GetForfeitablePremiumParams, GetGuardianUnlockStateParams, GetInterestStateParams, GetItmAmountsParams, GetLiquidationPricesParams, GetMarginBufferParams, GetMaxPositionSizeParams, GetMaxRedeemParams, GetMaxWithdrawableParams, GetNativeTokenPriceParams, GetNetLiquidationValueParams, GetNetLiquidationValuesParams, GetOpenPositionIdsParams, GetOpenPositionPreviewParams, GetOracleRiskParametersParams, GetOracleStateParams, GetPanopticPoolAddressParams, GetPanopticPoolFromPoolIdParams, GetPendingPositionsParams, GetPoolLiquiditiesParams, GetPoolMetadataParams, GetPoolParams, GetPortfolioValueParams, GetPositionChunkDataParams, GetPositionChunkDataResult, GetPositionEnrichmentDataParams, GetPositionEnrichmentDataResult, GetPositionGreeksParams, GetPositionParams, GetPositionsParams, GetPositionsWithPremiaParams, GetPriceHistoryParams, GetRealizedPnLParams, GetRequiredCreditForITMParams, GetRiskParametersParams, GetSafeModeParams, GetStreamiaHistoryParams, GetSyncStatusParams, GetTrackedChunksParams, GetTrackedPositionIdsParams, GetTradeHistoryParams, GetUniswapFeeHistoryParams, GetUniswapV3LpPositionStateParams, GetUniswapV3PoolFromIdParams, GetUniswapV3PoolInfoParams, GetUniswapV3PoolLiquiditiesParams, GetUniswapV4LpPositionStateParams, GetUniswapV4PoolBasicStateParams, GetUniswapV4PoolInfoParams, GetUniswapV4PoolKeyFromIdParams, GetUniswapV4PoolLiquiditiesParams, GetUtilizationParams, GuardianUnlockState, HedgeLimitEstimate, HelperLiquidateParams, IndicatorCandle, IndicatorPoint, InputListFailError, InsufficientCreditLiquidityError, InterestState, InvalidBuilderCodeError, InvalidHistoryRangeError, InvalidTickBoundError, InvalidTickError, InvalidTokenIdParameterError, InvalidUniswapCallbackError, IrmCurrent, IrmMarketStateInputs, IrmPoint, IsLiquidatableParams, ItmAmounts, LEG_BITS, LEG_LIMITS, LEG_MASKS, LadderStrike, LegChunkData, LegConfig, LegGreeksParams, LegUpdate, LengthMismatchError, LiquidateParams, LiquidateSimulation, LiquidationCheck, LiquidationGateTicks, LiquidationPrices, LiquidationQuote, LiquidityChunkKey, LiquidityChunkSpread, LiquidityTooHighError, LoanSlotExhaustedError, LpFundingPolicy, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MARKET_INDICATOR_PERIODS, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MarginBuffer, MarketIndicator, MaxPositionSize, MaxRetriesExceededError, MinePoolAddressParams, MinePoolAddressResult, MintBufferRatio, MintParams, MissingPositionIdsError, MulticallContract, MulticallReadParams, NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, NetLiquidationValue, NetLiquidationValues, NetLiquidityZeroError, NetworkMismatchError, NeutralLeg, NoLegsExercisableError, NonceManager, NotALongLegError, NotBuilderError, NotEnoughLiquidityInChunkError, NotEnoughTokensError, NotGuardianError, NotMarginCalledError, NotPanopticPoolError, ORACLE_EPOCH_SECONDS, OneTokenFlowQuote, OneTokenFlowQuoteParams, OneTokenFlowResult, OneTokenFlowUnavailableReason, OpenPositionParams, OpenPositionPreview, OpenPositionSimulation, OptimizeTokenIdRiskPartnersParams, OptionBurntEvent, OptionMintedEvent, OracleEmaPeriods, OracleRateLimitedError, OracleRiskParameters, OracleRiskParametersState, OracleSafeModeCause, OracleSafeModeDiagnosis, OracleState, OracleTiming, OverlappingOptionLegConfig, OverlappingOptionType, PanopticError, PanopticEvent, PanopticEventType, PanopticHelperNotDeployedError, PanopticNFTMetadata, PanopticValidationError, ParsedError, PendingPosition, PokeOracleParams, Pool, PoolFormatterConfig, PoolFormatters, PoolHealthStatus, PoolKey, PoolLiquidities, PoolMetadata, PoolNotInitializedError, PoolSwap, PoolSwapKey, PoolSwapStream, PoolSwapTransport, PoolSwapWatcher, PoolVersionConfig, PortfolioValue, Position, PositionChunkData, PositionCountNotZeroError, PositionEnrichmentResult, PositionGreeks, PositionGreeksInput, PositionGreeksResult, PositionInput, PositionMintFundingParams, PositionNotOwnedError, PositionSnapshotNotFoundError, PositionStorageParams, PositionTooLargeError, PositionValueCurve, PositionValueInput, PositionVolatilityObservation, PositionWithPremia, PositionsWithPremiaResult, PremiumSettledEvent, PreviewBorrowParams, PreviewBorrowResult, PreviewRepayParams, PreviewWrapParams, PriceBoundFailError, PriceHistoryResult, PriceImpactTooLargeError, PriceSnapshot, ProtectedSettlePlan, ProviderLagError, QuoteLiquidationParams, 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, STRIKE_LADDER_TARGET_STRIKES, SafeMode, SafeModeError, SafeModeState, SaveCheckpointParams, SaveClosedPositionParams, ScanChunksParams, ScanChunksResult, ScannedChunk, ScreenAccountExactParams, ScreenAccountExactResult, SettleParams, SettlePremiumBatchResult, SettlePremiumBatchTargetResult, SettlePremiumFromParams, SettlePremiumFromSimulation, SettleSequenceCallsParams, SettleSequenceClose, SettleSequenceSimulation, SettleSequenceTarget, SettleSimulation, SettledEvent, SfpmSwapCalldata, SfpmSwapKind, SfpmSwapPlan, SfpmSwapPlanParams, SfpmSwapQuote, SimulateBatchDispatchParams, SimulateBatchDispatchResult, SimulateClosePositionParams, SimulateClosePremiumProtectionParams, SimulateDeployNewPoolParams, SimulateDepositParams, SimulateDispatchParams, SimulateForceExerciseParams, SimulateLiquidateParams, SimulateOpenPositionParams, SimulateSFPMParams, SimulateSettleParams, SimulateSettlePremiumBatchParams, SimulateSettlePremiumFromParams, SimulateSettleSequenceParams, SimulateSwapExactInParams, SimulateSwapExactOutParams, SimulateWithTokenFlowParams, SimulateWithTokenFlowResult, SimulateWithdrawParams, SimulationResult, SmartRepayParams, SnapshotRecoveryResult, SpeedUpParams, SplitTokenIdByTimescaleResult, StaleDataError, StaleOracleError, StorageAdapter, StrategyAllocation, StrategyGroup, StreamPoolSwapsParams, StreamiaHistoryResult, StreamiaLeg, StreamiaSnapshot, StrikeClassification, StrikeOrientation, SubscribePoolSwapsParams, SupplyParams, SwapExactInParams, SwapExactOutParams, SwapPoolRef, SwapSimulation, SwapStreamEventSource, SwapStreamEventSourceFactory, 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, UniswapBlockData, UniswapFeeHistoryResult, UniswapFeeSnapshot, UniswapLpPositionState, UniswapV3Liquidities, UniswapV3LpPositionState, UniswapV3PoolInfo, UniswapV3PoolToken, UniswapV4PoolBasicState, UniswapV4PoolInfo, UniswapV4PoolKey, UnsafePremiumSettlementError, UnsupplyParams, UnwrapWethParams, UnwrapXstockParams, Utilization, V3ExactInQuote, V3PoolConfig, V4PoolConfig, VARIANCE_RATIO_LAG, ValidateBatchParams, VolatilityComparisonReason, WAD, WatchEventsParams, WatchPoolSwapsParams, 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, assertLpPositionFunded, assertTradeable, borrow, borrowAndWait, buildBatchDispatchArgs, buildCreditSwapCall, buildCreditWrappedDispatch, buildOpenPositionCalldata, buildProtectedSettleDispatch, buildProtectedSettlePlan, buildSettleSequenceCalls, buildSfpmSwapCalldata, buildSfpmSwapPlan, buildTemporaryLoanRecoveryDispatch, buildTokenShortfallRecoveryDispatch, buildUniqueCredit, buildUniqueLoan, buildUniqueWidthZeroLeg, calculateAccountGreeksPure, calculateMarketIndicator, calculatePortfolioDelta, calculatePortfolioGamma, calculatePortfolioGreeks, calculatePortfolioValue, calculatePositionDelta, calculatePositionDeltaDebtOnly, calculatePositionDeltaWithSwap, calculatePositionGamma, calculatePositionGreeks, calculatePositionValue, calculatePositionValues, calculatePositionVolatilityMetrics, calculateResyncBlock, calculateSpreadWad, calculateVarianceProfile, cancelTransaction, checkApproval, checkCollateralAcrossTicks, classifyStrategyGroups, classifyStrike, cleanupStalePendingPositions, clearCheckpoint, clearPendingPositions, clearTrackedChunks, clearTrackedPositions, clearTradeHistory, closePosition, closePositionAndWait, collateralCurveTicks, 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, emptyLiquidateParams, encodeLeg, encodePoolId, encodePoolKeyBytes, encodeV3PoolKeyBytes, encodeV4PoolId, ensureSfpmV3PoolInitialized, estimateBlockNumbers, estimateCloseZapSwap, estimateCollateralBreakdown, estimateCollateralRequired, executeBatchDispatch, executeBatchDispatchAndWait, executeSettleSequence, executeSettleSequenceAndWait, failPendingPosition, feeGrowthInsideX128, feesFromFeeGrowthDelta, fetchPoolId, fetchPoolSwaps, fetchSfpmV3PoolId, fetchUniswapFeeData, forceExercise, forceExerciseAndWait, formatBlockNumber, formatBps, formatCompact, formatDatetime, formatDuration, formatDurationSeconds, formatFeeTier, formatGas, formatGwei, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, formatPoolIdHex, formatPriceRange, formatRateWad, formatRatioPercent, formatTick, formatTickRange, formatTimestamp, formatTimestampLocale, formatTokenAmount, formatTokenAmountSigned, formatTokenDelta, formatTokenFlow, formatTokenIdHex, formatTokenIdShort, formatTxHash, formatUtilization, formatWad, formatWadPercent, formatWadSigned, formatWei, generateOverlappingTokenIds, getAccountBuyingPower, getAccountCollateral, getAccountGreeks, getAccountHistory, getAccountPremia, getAccountSummaryBasic, getAccountSummaryRisk, getAssetIndex, getBlockMeta, getChainDeployment, getChunkLiquidities, getChunkSpreads, getClosePositionTransferEstimate, getClosedPositions, getClosedPositionsKey, getCollateralAddresses, getCollateralCurve, getCollateralCurveInputs, getCollateralData, getCollateralRequiredBase, getCollateralSharePrices, getCollateralTotalAssetsBatch, getCurrentRates, getDeltaHedgeParams, getEnforcedTickLimits, getExecutableLpMaxSize, getFactoryConstructMetadata, getFactoryOwnerOf, getFactoryTokenURI, getForfeitablePremium, getGuardianUnlockState, getHedgeLimits, 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, getPoolCurrentTick, getPoolDeploymentBlock, getPoolDisplayId, getPoolLiquidities, getPoolMetaKey, getPoolMetadata, getPoolPrefix, getPortfolioValue, getPosition, getPositionChunkData, getPositionDeltaMetrics, getPositionEnrichmentData, getPositionGreeks, getPositionMetaKey, getPositionMintFunding, getPositionValueCurve, getPositionVolatilityHistory, getPositions, getPositionsKey, getPositionsWithPremia, getPriceHistory, getPricesAtTick, getRealizedPnL, getRequiredCreditForITM, getRiskParameters, getSafeMode, getSchemaVersionKey, getSimpleLoanTokenIndex, getStreamiaHistory, getSyncCheckpointKey, getSyncStatus, getTickSpacing, getTokenIdValidationError, 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, ladderStrikeSequence, liquidate, liquidateAndWait, loadCheckpoint, logReturns, marketPnlInQuote, marketRiskFromValues, marketScenario, minePoolAddress, mint, mintAndWait, mintableAfterBuffer, multicallRead, netLiquidationValueInQuote, openPosition, openPositionAndWait, optimizeTokenIdRiskPartners, oracleEpochAt, orderListForSettle, packMarketState, panopticLiquidatorAbi, panopticPoolV2Abi, panopticQueryAbi, parseBps, parseCollateralLog, parsePanopticError, parsePoolLog, parseStreamedKey, parseStreamedSwap, parseSwapLog, parseTokenAmount, parseTokenListId, parseWad, planDeriveStrategy, pokeOracle, pokeOracleAndWait, positionValueKey, positionValueTicks, prepareIndicatorCandles, prepareLiquidityGamma, preparePositionGamma, preparePositionValue, preparePositionValueCurve, previewBorrow, previewDeposit, previewMint, previewRedeem, previewRepay, previewUnwrap, previewWithdraw, previewWrap, priceToTick, publicBroadcaster, quoteLiquidation, quoteOneTokenFlow, quoteSfpmSwap, quoteTemporaryLoanRecovery, quoteTokenShortfallRecovery, quoteTokenShortfallSwap, quoteV3ExactIn, ratePerSecWadToAprPct, realizedBeta, reconstructFromEvents, recoverSnapshot, recoverSnapshotFromTx, redeem, redeemAndWait, removeTrackedChunks, repay, repayAndWait, requireChainDeployment, resolveBlockNumbers, resolveLadderStrike, resolvePanopticPoolFromPoolId, resolveTokenIndex, resolveUniswapV4PoolKey, riskEngineAbi, rollPosition, rollPositionAndWait, roundToTickSpacing, saveCheckpoint, saveClosedPosition, scaleCollateralRequired, scanChunks, screenAccountExact, selectDispatchForAccount, settleAccumulatedPremia, settleAccumulatedPremiaAndWait, settlePremiumFrom, settlePremiumFromAndWait, simulateBatchDispatch, simulateClosePosition, simulateClosePremiumProtection, simulateDeployNewPool, simulateDeposit, simulateDispatch, simulateForceExercise, simulateLiquidate, simulateOpenPosition, simulateSFPMBurn, simulateSFPMMint, simulateSettle, simulateSettlePremiumBatch, simulateSettlePremiumFrom, simulateSettleSequence, simulateSwapExactIn, simulateSwapExactOut, simulateWithTokenFlow, simulateWithdraw, slippageBpsToTickDistance, smartRepay, smartRepayAndWait, speedUpTransaction, splitTokenIdByTimescale, sqrtPriceX96ToPriceDecimalScaled, sqrtPriceX96ToTick, streamPoolSwaps, subscribePoolSwaps, supply, supplyAndWait, swapExactIn, swapExactInAndWait, swapExactOut, swapExactOutAndWait, syncPositions, tickLimits, tickToPrice, tickToPriceDecimalScaled, tickToSqrtPriceX96, toVaultFrameAtTick, truncateAddress, unsupply, unsupplyAndWait, unwrapWeth, unwrapWethAndWait, unwrapXstock, unwrapXstockAndWait, utilizationBpsToWad, utilizationPctToWad, validateBatch, validateBuilderCode, validatePoolId, valuePositionAccrual, verifyBlockContinuity, watchEvents, watchPoolSwaps, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
|
|
17121
17359
|
//# sourceMappingURL=index.d.ts.map
|