@panoptic-eng/sdk 1.0.41 → 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.d.ts.map +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/panoptic/v2/index.d.ts +118 -1
- package/dist/panoptic/v2/index.d.ts.map +1 -1
- package/dist/panoptic/v2/index.js +210 -16
- package/dist/panoptic/v2/index.js.map +1 -1
- package/dist/panoptic/v2/react-public.d.ts +118 -1
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +210 -16
- package/dist/panoptic/v2/react-public.js.map +1 -1
- package/dist/{v2-ChGyiigb.js → v2-Djy0rVdh.js} +208 -14
- package/package.json +1 -1
|
@@ -11055,7 +11055,7 @@ function getUniswapV3Addresses(chainId, overrides) {
|
|
|
11055
11055
|
|
|
11056
11056
|
//#endregion
|
|
11057
11057
|
//#region src/uniswap/v3/router/quote.ts
|
|
11058
|
-
const BPS_DENOMINATOR$
|
|
11058
|
+
const BPS_DENOMINATOR$6 = 10000n;
|
|
11059
11059
|
const UINT128_MAX$3 = (1n << 128n) - 1n;
|
|
11060
11060
|
/**
|
|
11061
11061
|
* Quote an exact-in v3 swap. Returns `null` when the quote reverts (e.g. the
|
|
@@ -11065,7 +11065,7 @@ const UINT128_MAX$3 = (1n << 128n) - 1n;
|
|
|
11065
11065
|
async function quoteV3ExactIn(params) {
|
|
11066
11066
|
const { client, chainId, tokenIn, tokenOut, fee, amountIn, slippageBps, blockNumber } = params;
|
|
11067
11067
|
if (amountIn < 0n || amountIn > UINT128_MAX$3) throw new PanopticError(`amountIn ${amountIn} exceeds uint128 maximum`);
|
|
11068
|
-
if (slippageBps < 0n || slippageBps > BPS_DENOMINATOR$
|
|
11068
|
+
if (slippageBps < 0n || slippageBps > BPS_DENOMINATOR$6) throw new PanopticError(`invalid slippageBps ${slippageBps}, must be 0..10000`);
|
|
11069
11069
|
const { quoterV2 } = getUniswapV3Addresses(chainId, params.addresses);
|
|
11070
11070
|
try {
|
|
11071
11071
|
const { result } = await client.simulateContract({
|
|
@@ -11082,7 +11082,7 @@ async function quoteV3ExactIn(params) {
|
|
|
11082
11082
|
}]
|
|
11083
11083
|
});
|
|
11084
11084
|
const [amountOut, , , gasEstimate] = result;
|
|
11085
|
-
const amountOutMinimum = amountOut * (BPS_DENOMINATOR$
|
|
11085
|
+
const amountOutMinimum = amountOut * (BPS_DENOMINATOR$6 - slippageBps) / BPS_DENOMINATOR$6;
|
|
11086
11086
|
return {
|
|
11087
11087
|
amountOut,
|
|
11088
11088
|
amountOutMinimum,
|
|
@@ -17113,7 +17113,7 @@ async function simulateDispatch(params) {
|
|
|
17113
17113
|
|
|
17114
17114
|
//#endregion
|
|
17115
17115
|
//#region src/panoptic/v2/simulations/tokenShortfallRecovery.ts
|
|
17116
|
-
const BPS_DENOMINATOR$
|
|
17116
|
+
const BPS_DENOMINATOR$5 = 10000n;
|
|
17117
17117
|
const MAX_RECOVERY_QUOTE_ATTEMPTS = 8;
|
|
17118
17118
|
/**
|
|
17119
17119
|
* Wrap a dispatch with a temporary credit leg that sources the shortfall.
|
|
@@ -17163,7 +17163,7 @@ function getNotEnoughTokensError(error) {
|
|
|
17163
17163
|
}
|
|
17164
17164
|
function maximumAmountIn(estimatedAmountIn, slippageBps) {
|
|
17165
17165
|
if (slippageBps < 0n) throw new PanopticError("slippageBps must be non-negative");
|
|
17166
|
-
return (estimatedAmountIn * (BPS_DENOMINATOR$
|
|
17166
|
+
return (estimatedAmountIn * (BPS_DENOMINATOR$5 + slippageBps) + BPS_DENOMINATOR$5 - 1n) / BPS_DENOMINATOR$5;
|
|
17167
17167
|
}
|
|
17168
17168
|
function ceilDiv(numerator, denominator) {
|
|
17169
17169
|
return (numerator + denominator - 1n) / denominator;
|
|
@@ -17191,10 +17191,10 @@ async function quoteTokenShortfallRecovery(params) {
|
|
|
17191
17191
|
reason: "invalid-shortfall",
|
|
17192
17192
|
detail: `requested=${shortfallError.assetsRequested} <= balance=${shortfallError.assetBalance}`
|
|
17193
17193
|
};
|
|
17194
|
-
if (params.slippageBps < 0n || params.slippageBps > BPS_DENOMINATOR$
|
|
17194
|
+
if (params.slippageBps < 0n || params.slippageBps > BPS_DENOMINATOR$5) return {
|
|
17195
17195
|
available: false,
|
|
17196
17196
|
reason: "invalid-slippage",
|
|
17197
|
-
detail: `slippageBps=${params.slippageBps} is outside [0, ${BPS_DENOMINATOR$
|
|
17197
|
+
detail: `slippageBps=${params.slippageBps} is outside [0, ${BPS_DENOMINATOR$5}]`
|
|
17198
17198
|
};
|
|
17199
17199
|
const targetBlockNumber = params.blockNumber ?? await params.client.getBlockNumber();
|
|
17200
17200
|
const pool = await getPool({
|
|
@@ -22023,7 +22023,7 @@ const nfpmAbi = [{
|
|
|
22023
22023
|
}],
|
|
22024
22024
|
stateMutability: "payable"
|
|
22025
22025
|
}];
|
|
22026
|
-
const MAX_UINT128 = 2n ** 128n - 1n;
|
|
22026
|
+
const MAX_UINT128$1 = 2n ** 128n - 1n;
|
|
22027
22027
|
const MAX_UINT256 = 2n ** 256n - 1n;
|
|
22028
22028
|
const Q128 = 2n ** 128n;
|
|
22029
22029
|
/**
|
|
@@ -22065,8 +22065,8 @@ async function getUniswapV3LpPositionState(params) {
|
|
|
22065
22065
|
args: [{
|
|
22066
22066
|
tokenId,
|
|
22067
22067
|
recipient: owner,
|
|
22068
|
-
amount0Max: MAX_UINT128,
|
|
22069
|
-
amount1Max: MAX_UINT128
|
|
22068
|
+
amount0Max: MAX_UINT128$1,
|
|
22069
|
+
amount1Max: MAX_UINT128$1
|
|
22070
22070
|
}],
|
|
22071
22071
|
account: owner,
|
|
22072
22072
|
blockNumber: _meta.blockNumber
|
|
@@ -26447,7 +26447,7 @@ async function simulateSwapExactIn(params) {
|
|
|
26447
26447
|
|
|
26448
26448
|
//#endregion
|
|
26449
26449
|
//#region src/panoptic/v2/simulations/oneTokenFlow.ts
|
|
26450
|
-
const BPS_DENOMINATOR$
|
|
26450
|
+
const BPS_DENOMINATOR$4 = 10000n;
|
|
26451
26451
|
/**
|
|
26452
26452
|
* Default {@link OneTokenFlowQuoteParams.minSwapRatioBps}: 0.5%.
|
|
26453
26453
|
*
|
|
@@ -26467,7 +26467,7 @@ function abs(value) {
|
|
|
26467
26467
|
return value < 0n ? -value : value;
|
|
26468
26468
|
}
|
|
26469
26469
|
function padForSlippage(amount, slippageBps) {
|
|
26470
|
-
return (amount * (BPS_DENOMINATOR$
|
|
26470
|
+
return (amount * (BPS_DENOMINATOR$4 + slippageBps) + BPS_DENOMINATOR$4 - 1n) / BPS_DENOMINATOR$4;
|
|
26471
26471
|
}
|
|
26472
26472
|
/**
|
|
26473
26473
|
* Quote a dispatch wrapped so its net flow lands in `targetTokenIndex` only.
|
|
@@ -26487,10 +26487,10 @@ async function quoteOneTokenFlow(params) {
|
|
|
26487
26487
|
reason: "invalid-target-token",
|
|
26488
26488
|
detail: `targetTokenIndex=${targetTokenIndex} is neither 0 nor 1`
|
|
26489
26489
|
};
|
|
26490
|
-
if (params.slippageBps < 0n || params.slippageBps > BPS_DENOMINATOR$
|
|
26490
|
+
if (params.slippageBps < 0n || params.slippageBps > BPS_DENOMINATOR$4) return {
|
|
26491
26491
|
available: false,
|
|
26492
26492
|
reason: "invalid-slippage",
|
|
26493
|
-
detail: `slippageBps=${params.slippageBps} is outside [0, ${BPS_DENOMINATOR$
|
|
26493
|
+
detail: `slippageBps=${params.slippageBps} is outside [0, ${BPS_DENOMINATOR$4}]`
|
|
26494
26494
|
};
|
|
26495
26495
|
const tickLimitLow = params.tickLimitLow ?? MIN_TICK;
|
|
26496
26496
|
const tickLimitHigh = params.tickLimitHigh ?? MAX_TICK;
|
|
@@ -26598,7 +26598,7 @@ async function quoteOneTokenFlow(params) {
|
|
|
26598
26598
|
}
|
|
26599
26599
|
if (baseTargetDelta !== null && minSwapRatioBps > 0n) {
|
|
26600
26600
|
const swapInTargetTerms = convertToTokenIndex(swapAmount, otherTokenIndex, targetTokenIndex, pool.sqrtPriceX96);
|
|
26601
|
-
if (swapInTargetTerms * BPS_DENOMINATOR$
|
|
26601
|
+
if (swapInTargetTerms * BPS_DENOMINATOR$4 < minSwapRatioBps * abs(baseTargetDelta)) return {
|
|
26602
26602
|
available: false,
|
|
26603
26603
|
reason: "below-threshold",
|
|
26604
26604
|
detail: `non-target flow ${swapInTargetTerms} (in target token terms) is below ${minSwapRatioBps}bps of the target flow ${abs(baseTargetDelta)}`
|
|
@@ -26690,6 +26690,200 @@ async function quoteOneTokenFlow(params) {
|
|
|
26690
26690
|
};
|
|
26691
26691
|
}
|
|
26692
26692
|
|
|
26693
|
+
//#endregion
|
|
26694
|
+
//#region src/panoptic/v2/simulations/temporaryLoanRecovery.ts
|
|
26695
|
+
const BPS_DENOMINATOR$3 = 10000n;
|
|
26696
|
+
const MAX_RECOVERY_ATTEMPTS = 8n;
|
|
26697
|
+
const MAX_UINT128 = (1n << 128n) - 1n;
|
|
26698
|
+
const LOAN_GROWTH_DENOMINATOR = 20n;
|
|
26699
|
+
/**
|
|
26700
|
+
* Wrap a dispatch with `loan mint -> user operations -> swapped loan burn`.
|
|
26701
|
+
* The repeated tokenId is intentional: the first occurrence mints it and the
|
|
26702
|
+
* last occurrence burns it after the user's operations have settled.
|
|
26703
|
+
*/
|
|
26704
|
+
function buildTemporaryLoanRecoveryDispatch(params) {
|
|
26705
|
+
const low = params.tickLimitLow <= params.tickLimitHigh ? params.tickLimitLow : params.tickLimitHigh;
|
|
26706
|
+
const high = params.tickLimitLow <= params.tickLimitHigh ? params.tickLimitHigh : params.tickLimitLow;
|
|
26707
|
+
return {
|
|
26708
|
+
positionIdList: [
|
|
26709
|
+
params.loanTokenId,
|
|
26710
|
+
...params.dispatch.positionIdList,
|
|
26711
|
+
params.loanTokenId
|
|
26712
|
+
],
|
|
26713
|
+
finalPositionIdList: [...params.dispatch.finalPositionIdList],
|
|
26714
|
+
positionSizes: [
|
|
26715
|
+
params.loanPositionSize,
|
|
26716
|
+
...params.dispatch.positionSizes,
|
|
26717
|
+
0n
|
|
26718
|
+
],
|
|
26719
|
+
tickAndSpreadLimits: [
|
|
26720
|
+
[
|
|
26721
|
+
low,
|
|
26722
|
+
high,
|
|
26723
|
+
0n
|
|
26724
|
+
],
|
|
26725
|
+
...params.dispatch.tickAndSpreadLimits,
|
|
26726
|
+
[
|
|
26727
|
+
high,
|
|
26728
|
+
low,
|
|
26729
|
+
0n
|
|
26730
|
+
]
|
|
26731
|
+
],
|
|
26732
|
+
usePremiaAsCollateral: params.dispatch.usePremiaAsCollateral,
|
|
26733
|
+
builderCode: params.dispatch.builderCode
|
|
26734
|
+
};
|
|
26735
|
+
}
|
|
26736
|
+
/**
|
|
26737
|
+
* Quotes and simulates an atomic temporary loan around a full-close dispatch.
|
|
26738
|
+
*
|
|
26739
|
+
* @param params - Chain client, account, failed dispatch, shortfall error, and quote limits.
|
|
26740
|
+
* @returns An executable quote when recovery succeeds, otherwise a categorized unavailable result.
|
|
26741
|
+
* @throws {PanopticError} When the dispatch is not a full close or required RPC reads fail.
|
|
26742
|
+
*/
|
|
26743
|
+
async function quoteTemporaryLoanRecovery(params) {
|
|
26744
|
+
const initialShortfall = getNotEnoughTokensError(params.error);
|
|
26745
|
+
if (initialShortfall === null) return {
|
|
26746
|
+
available: false,
|
|
26747
|
+
reason: "not-token-shortfall"
|
|
26748
|
+
};
|
|
26749
|
+
let loanAmount = initialShortfall.assetsRequested - initialShortfall.assetBalance;
|
|
26750
|
+
if (loanAmount <= 0n) return {
|
|
26751
|
+
available: false,
|
|
26752
|
+
reason: "invalid-shortfall",
|
|
26753
|
+
detail: `requested=${initialShortfall.assetsRequested} <= balance=${initialShortfall.assetBalance}`
|
|
26754
|
+
};
|
|
26755
|
+
if (params.slippageBps <= 0n || params.slippageBps > BPS_DENOMINATOR$3) return {
|
|
26756
|
+
available: false,
|
|
26757
|
+
reason: "invalid-slippage",
|
|
26758
|
+
detail: `slippageBps=${params.slippageBps} is outside (0, ${BPS_DENOMINATOR$3}]`
|
|
26759
|
+
};
|
|
26760
|
+
if (params.dispatch.finalPositionIdList.length !== 0) throw new PanopticError("Temporary-loan recovery requires a full-close dispatch with an empty finalPositionIdList");
|
|
26761
|
+
let targetBlockNumber;
|
|
26762
|
+
try {
|
|
26763
|
+
targetBlockNumber = params.blockNumber ?? await params.client.getBlockNumber();
|
|
26764
|
+
} catch (error) {
|
|
26765
|
+
if (error instanceof PanopticError) throw error;
|
|
26766
|
+
throw new PanopticError("Failed to resolve the block for temporary-loan recovery", error instanceof Error ? error : new Error(String(error)));
|
|
26767
|
+
}
|
|
26768
|
+
let pool;
|
|
26769
|
+
try {
|
|
26770
|
+
pool = await getPool({
|
|
26771
|
+
client: params.client,
|
|
26772
|
+
poolAddress: params.poolAddress,
|
|
26773
|
+
chainId: params.chainId,
|
|
26774
|
+
blockNumber: targetBlockNumber
|
|
26775
|
+
});
|
|
26776
|
+
} catch (error) {
|
|
26777
|
+
if (error instanceof PanopticError) throw error;
|
|
26778
|
+
throw new PanopticError("Failed to load the pool for temporary-loan recovery", error instanceof Error ? error : new Error(String(error)));
|
|
26779
|
+
}
|
|
26780
|
+
const defaultLimits = tickLimits(pool.currentTick, params.slippageBps);
|
|
26781
|
+
const tickLimitLow = params.tickLimitLow ?? defaultLimits.low;
|
|
26782
|
+
const tickLimitHigh = params.tickLimitHigh ?? defaultLimits.high;
|
|
26783
|
+
if (tickLimitLow >= tickLimitHigh) return {
|
|
26784
|
+
available: false,
|
|
26785
|
+
reason: "invalid-tick-limits",
|
|
26786
|
+
detail: `tickLimitLow=${tickLimitLow} >= tickLimitHigh=${tickLimitHigh}`
|
|
26787
|
+
};
|
|
26788
|
+
const token0 = pool.collateralTracker0.token;
|
|
26789
|
+
const token1 = pool.collateralTracker1.token;
|
|
26790
|
+
const tokenIndexFor = (address) => {
|
|
26791
|
+
const normalized = address.toLowerCase();
|
|
26792
|
+
if (normalized === token0.toLowerCase() || normalized === pool.collateralTracker0.address.toLowerCase()) return 0n;
|
|
26793
|
+
if (normalized === token1.toLowerCase() || normalized === pool.collateralTracker1.address.toLowerCase()) return 1n;
|
|
26794
|
+
return null;
|
|
26795
|
+
};
|
|
26796
|
+
const loanTokenIndex = tokenIndexFor(initialShortfall.tokenAddress);
|
|
26797
|
+
if (loanTokenIndex === null) return {
|
|
26798
|
+
available: false,
|
|
26799
|
+
reason: "unsupported-token",
|
|
26800
|
+
detail: `${initialShortfall.tokenAddress} is neither collateral token of ${params.poolAddress}`
|
|
26801
|
+
};
|
|
26802
|
+
const repaymentTokenIndex = loanTokenIndex === 0n ? 1n : 0n;
|
|
26803
|
+
const loanToken = loanTokenIndex === 0n ? token0 : token1;
|
|
26804
|
+
const repaymentToken = repaymentTokenIndex === 0n ? token0 : token1;
|
|
26805
|
+
const collisionIds = Array.from(new Set([
|
|
26806
|
+
...params.existingPositionIds,
|
|
26807
|
+
...params.dispatch.positionIdList,
|
|
26808
|
+
...params.dispatch.finalPositionIdList
|
|
26809
|
+
]));
|
|
26810
|
+
for (let attempt = 0n; attempt < MAX_RECOVERY_ATTEMPTS; attempt += 1n) {
|
|
26811
|
+
if (loanAmount > MAX_UINT128) return {
|
|
26812
|
+
available: false,
|
|
26813
|
+
reason: "recovery-unavailable",
|
|
26814
|
+
detail: `required loan amount ${loanAmount} exceeds uint128`
|
|
26815
|
+
};
|
|
26816
|
+
const loan = buildUniqueLoan(pool.poolId, loanTokenIndex, loanTokenIndex, pool.currentTick, pool.tickSpacing, collisionIds, loanAmount);
|
|
26817
|
+
const recoveredDispatch = buildTemporaryLoanRecoveryDispatch({
|
|
26818
|
+
dispatch: params.dispatch,
|
|
26819
|
+
loanTokenId: loan.tokenId,
|
|
26820
|
+
loanPositionSize: loan.adjustedSize,
|
|
26821
|
+
tickLimitLow,
|
|
26822
|
+
tickLimitHigh
|
|
26823
|
+
});
|
|
26824
|
+
const simulation = await simulateDispatch({
|
|
26825
|
+
client: params.client,
|
|
26826
|
+
poolAddress: params.poolAddress,
|
|
26827
|
+
account: params.account,
|
|
26828
|
+
existingPositionIdList: params.existingPositionIds,
|
|
26829
|
+
...recoveredDispatch,
|
|
26830
|
+
blockNumber: targetBlockNumber
|
|
26831
|
+
});
|
|
26832
|
+
if (simulation.success && simulation.tokenFlow !== void 0) {
|
|
26833
|
+
const tokenFlow = simulation.tokenFlow;
|
|
26834
|
+
return {
|
|
26835
|
+
available: true,
|
|
26836
|
+
quote: {
|
|
26837
|
+
loanToken,
|
|
26838
|
+
repaymentToken,
|
|
26839
|
+
loanTokenIndex,
|
|
26840
|
+
loanAmount,
|
|
26841
|
+
loanPositionSize: loan.adjustedSize,
|
|
26842
|
+
loanTokenId: loan.tokenId,
|
|
26843
|
+
slippageBps: params.slippageBps,
|
|
26844
|
+
netLoanTokenChange: loanTokenIndex === 0n ? tokenFlow.delta0 : tokenFlow.delta1,
|
|
26845
|
+
netRepaymentTokenChange: repaymentTokenIndex === 0n ? tokenFlow.delta0 : tokenFlow.delta1,
|
|
26846
|
+
dispatch: recoveredDispatch,
|
|
26847
|
+
simulation: {
|
|
26848
|
+
...simulation,
|
|
26849
|
+
tokenFlow
|
|
26850
|
+
},
|
|
26851
|
+
tokenFlow,
|
|
26852
|
+
_meta: simulation._meta
|
|
26853
|
+
}
|
|
26854
|
+
};
|
|
26855
|
+
}
|
|
26856
|
+
if (simulation.success) return {
|
|
26857
|
+
available: false,
|
|
26858
|
+
reason: "recovery-unavailable",
|
|
26859
|
+
detail: "temporary-loan simulation returned no token flow"
|
|
26860
|
+
};
|
|
26861
|
+
const shortfall = getNotEnoughTokensError(simulation.error);
|
|
26862
|
+
if (shortfall === null) return {
|
|
26863
|
+
available: false,
|
|
26864
|
+
reason: "recovery-unavailable",
|
|
26865
|
+
detail: `temporary-loan dispatch reverted: ${simulation.error.message}`,
|
|
26866
|
+
error: simulation.error
|
|
26867
|
+
};
|
|
26868
|
+
const shortfallIndex = tokenIndexFor(shortfall.tokenAddress);
|
|
26869
|
+
if (shortfallIndex !== loanTokenIndex) return {
|
|
26870
|
+
available: false,
|
|
26871
|
+
reason: "repayment-token-shortfall",
|
|
26872
|
+
detail: `repayment token ${shortfall.tokenAddress} requested ${shortfall.assetsRequested}, balance ${shortfall.assetBalance}`,
|
|
26873
|
+
error: simulation.error
|
|
26874
|
+
};
|
|
26875
|
+
const residual = shortfall.assetsRequested - shortfall.assetBalance;
|
|
26876
|
+
const geometricGrowth = (loanAmount + LOAN_GROWTH_DENOMINATOR - 1n) / LOAN_GROWTH_DENOMINATOR;
|
|
26877
|
+
loanAmount += residual > geometricGrowth ? residual : geometricGrowth;
|
|
26878
|
+
}
|
|
26879
|
+
return {
|
|
26880
|
+
available: false,
|
|
26881
|
+
reason: "recovery-unavailable",
|
|
26882
|
+
detail: `temporary-loan recovery remained short after ${MAX_RECOVERY_ATTEMPTS} attempts`,
|
|
26883
|
+
error: new PanopticError("Could not size the temporary loan within the quote attempt limit")
|
|
26884
|
+
};
|
|
26885
|
+
}
|
|
26886
|
+
|
|
26693
26887
|
//#endregion
|
|
26694
26888
|
//#region src/panoptic/v2/abis/poolManager.ts
|
|
26695
26889
|
/**
|
|
@@ -33521,5 +33715,5 @@ function useTxEventConfirmation({ txHash, poolAddress = zeroAddress, collateralT
|
|
|
33521
33715
|
}
|
|
33522
33716
|
|
|
33523
33717
|
//#endregion
|
|
33524
|
-
export { AccountInsolventError, AlreadyInitializedError, BORROW_INDEX_BITS, BPS_DENOMINATOR, BPS_SCALE, BatchValidationError, BelowMinimumRedemptionError, CastingError, ChunkHasZeroLiquidityError, ChunkLimitError, CrossPoolError, DEFAULT_MAX_SPREAD, DEFAULT_MINT_BUFFER, DEFAULT_MIN_SWAP_RATIO_BPS, DEFAULT_RECONNECT_CONFIG, DEFAULT_VEGOID, DepositTooLargeError, DuplicateTokenIdError, EffectiveLiquidityAboveThresholdError, ExceedsMaximumRedemptionError, InputListFailError, InsufficientCreditLiquidityError, InvalidBuilderCodeError, InvalidHistoryRangeError, InvalidTickBoundError, InvalidTickError, InvalidTokenIdParameterError, InvalidUniswapCallbackError, LEG_BITS, LEG_LIMITS, LEG_MASKS, LengthMismatchError, LiquidityTooHighError, LoanSlotExhaustedError, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MaxRetriesExceededError, MissingPositionIdsError, NetLiquidityZeroError, NetworkMismatchError, NoLegsExercisableError, NotALongLegError, NotBuilderError, NotEnoughLiquidityInChunkError, NotEnoughTokensError, NotGuardianError, NotMarginCalledError, NotPanopticPoolError, ORACLE_EPOCH_SECONDS, OracleRateLimitedError, PanopticError, PanopticHelperNotDeployedError, PanopticProvider, PanopticValidationError, PoolNotInitializedError, PositionCountNotZeroError, PositionNotOwnedError, PositionSnapshotNotFoundError, PositionTooLargeError, PriceBoundFailError, PriceImpactTooLargeError, ProviderLagError, RATE_AT_TARGET_BITS, REORG_DEPTH, REQUIRED_BASE_ERROR_SENTINEL, ReentrancyError, RpcError, RpcResponseError, SCHEMA_VERSION, SECONDS_PER_YEAR, STANDARD_TICK_WIDTHS, STORAGE_PREFIX, SafeModeError, StaleDataError, StaleOracleError, SwapTokenMismatchError, SyncTimeoutError, TOKEN_ID_BITS, TokenIdHasZeroLegsError, TooManyLegsOpenError, TransferFailedError, UNREALIZED_INTEREST_BITS, UTILIZATION_DENOMINATOR, UnauthorizedUniswapCallbackError, UnderOverFlowError, UnhealthyPoolError, WAD, WrongPoolIdError, WrongUniswapPoolError, ZERO_COLLATERAL, ZERO_VALUATION, ZeroAddressError, ZeroCollateralRequirementError, addLegToTokenId, addPendingPosition, addTrackedChunks, annualizePerSecondRateWad, applyMintBuffer, applyMintBufferPerToken, apportion, approve, approveAndWait, approvePool, assertCanBurn, assertCanForceExercise, assertCanLiquidate, assertCanMint, assertFresh, assertHealthy, assertTradeable, borrow, borrowAndWait, buildBatchDispatchArgs, buildCreditSwapCall, buildCreditWrappedDispatch, buildOpenPositionCalldata, buildSfpmSwapCalldata, buildSfpmSwapPlan, buildTokenShortfallRecoveryDispatch, buildUniqueCredit, buildUniqueLoan, buildUniqueWidthZeroLeg, calculateAccountGreeksPure, calculatePortfolioDelta, calculatePortfolioGamma, calculatePortfolioGreeks, calculatePortfolioValue, calculatePositionDelta, calculatePositionDeltaDebtOnly, calculatePositionDeltaWithSwap, calculatePositionGamma, calculatePositionGreeks, calculatePositionValue, calculateResyncBlock, calculateSpreadWad, cancelTransaction, checkApproval, checkCollateralAcrossTicks, classifyStrategyGroups, cleanupStalePendingPositions, clearCheckpoint, clearPendingPositions, clearTrackedChunks, clearTrackedPositions, clearTradeHistory, closePosition, closePositionAndWait, collateralRuleKindFor, collateralTrackerV2Abi, computeV4PoolId, confirmPendingPosition, convertToAssets, convertToShares, countLegs, createEventPoller, createEventSubscription, createFileStorage, createFlowNeutralTokenId, createMemoryStorage, createNonceManager, createPoolFormatters, createTokenIdBuilder, decodeAllDispatchCalldata, decodeAllLegs, decodeDispatchCalldata, decodeLeftRightSigned, decodeLeftRightUnsigned, decodeLeg, decodeOraclePack, decodeOracleRiskParameters, decodeOracleTiming, decodePanopticTokenURI, decodePoolId, decodeTickSpacing, decodeTokenId, decodeVegoid, deployNewPool, deployNewPoolAndWait, deposit, depositAndWait, deriveSupplyRatePerSecWad, deriveUniqueTokenId, detectReorg, diagnoseOracleSafeMode, dispatch, dispatchAndWait, encodeLeg, encodePoolId, encodePoolKeyBytes, encodeV3PoolKeyBytes, encodeV4PoolId, ensureSfpmV3PoolInitialized, estimateBlockNumbers, estimateCollateralBreakdown, estimateCollateralRequired, executeBatchDispatch, executeBatchDispatchAndWait, failPendingPosition, feesFromFeeGrowthDelta, fetchPoolId, fetchSfpmV3PoolId, forceExercise, forceExerciseAndWait, formatBlockNumber, formatBps, formatCompact, formatDatetime, formatDuration, formatDurationSeconds, formatFeeTier, formatGas, formatGwei, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, formatPoolIdHex, formatPriceRange, formatRateWad, formatRatioPercent, formatTick, formatTickRange, formatTimestamp, formatTimestampLocale, formatTokenAmount, formatTokenAmountSigned, formatTokenDelta, formatTokenFlow, formatTokenIdHex, formatTokenIdShort, formatTxHash, formatUtilization, formatWad, formatWadPercent, formatWadSigned, formatWei, getAccountBuyingPower, getAccountCollateral, getAccountGreeks, getAccountHistory, getAccountPremia, getAccountSummaryBasic, getAccountSummaryRisk, getAssetIndex, getBlockMeta, getChainDeployment, getChunkLiquidities, getChunkSpreads, getClosedPositions, getClosedPositionsKey, getCollateralAddresses, getCollateralData, getCollateralSharePrices, getCollateralTotalAssetsBatch, getCurrentRates, getDeltaHedgeParams, getEnforcedTickLimits, getFactoryConstructMetadata, getFactoryOwnerOf, getFactoryTokenURI, getGuardianUnlockState, getInterestState, getIrmCurrent, getIrmCurve, getItmAmounts, getLegDelta, getLegDeltaInVaultFrame, getLegGamma, getLegNetValueWidth0, getLegValue, getLiquidationPrices, getMarginBuffer, getMaxPositionSize, getMaxRedeem, getMaxWithdrawable, getNativeTokenPrice, getNetLiquidationValue, getNetLiquidationValues, getNotEnoughTokensError, getOpenPositionIds, getOpenPositionPreview, getOracleRiskParameters, getOracleState, getPanopticPoolAddress, getPanopticPoolFromPoolId, getPendingPositions, getPendingPositionsKey, getPool, getPoolDeploymentBlock, getPoolDisplayId, getPoolLiquidities, getPoolMetaKey, getPoolMetadata, getPoolPrefix, getPortfolioValue, getPosition, getPositionChunkData, getPositionEnrichmentData, getPositionGreeks, getPositionMetaKey, getPositions, getPositionsKey, getPositionsWithPremia, getPriceHistory, getPricesAtTick, getRealizedPnL, getRequiredCreditForITM, getRiskParameters, getSafeMode, getSchemaVersionKey, getStreamiaHistory, getSyncCheckpointKey, getSyncStatus, getTickSpacing, getTokenListId, getTrackedChunks, getTrackedChunksKey, getTrackedPositionIds, getTradeHistory, getUniswapFeeHistory, getUniswapV3LpPositionState, getUniswapV3PoolFromId, getUniswapV3PoolInfo, getUniswapV3PoolLiquidities, getUniswapV4LpPositionState, getUniswapV4PoolBasicState, getUniswapV4PoolInfo, getUniswapV4PoolKeyFromId, getUniswapV4PoolLiquidities, getUtilization, hasLoanOrCredit, hasLongLeg, interpolateBlocks, isCall, 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, 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 };
|
|
33718
|
+
export { AccountInsolventError, AlreadyInitializedError, BORROW_INDEX_BITS, BPS_DENOMINATOR, BPS_SCALE, BatchValidationError, BelowMinimumRedemptionError, CastingError, ChunkHasZeroLiquidityError, ChunkLimitError, CrossPoolError, DEFAULT_MAX_SPREAD, DEFAULT_MINT_BUFFER, DEFAULT_MIN_SWAP_RATIO_BPS, DEFAULT_RECONNECT_CONFIG, DEFAULT_VEGOID, DepositTooLargeError, DuplicateTokenIdError, EffectiveLiquidityAboveThresholdError, ExceedsMaximumRedemptionError, InputListFailError, InsufficientCreditLiquidityError, InvalidBuilderCodeError, InvalidHistoryRangeError, InvalidTickBoundError, InvalidTickError, InvalidTokenIdParameterError, InvalidUniswapCallbackError, LEG_BITS, LEG_LIMITS, LEG_MASKS, LengthMismatchError, LiquidityTooHighError, LoanSlotExhaustedError, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MaxRetriesExceededError, MissingPositionIdsError, NetLiquidityZeroError, NetworkMismatchError, NoLegsExercisableError, NotALongLegError, NotBuilderError, NotEnoughLiquidityInChunkError, NotEnoughTokensError, NotGuardianError, NotMarginCalledError, NotPanopticPoolError, ORACLE_EPOCH_SECONDS, OracleRateLimitedError, PanopticError, PanopticHelperNotDeployedError, PanopticProvider, PanopticValidationError, PoolNotInitializedError, PositionCountNotZeroError, PositionNotOwnedError, PositionSnapshotNotFoundError, PositionTooLargeError, PriceBoundFailError, PriceImpactTooLargeError, ProviderLagError, RATE_AT_TARGET_BITS, REORG_DEPTH, REQUIRED_BASE_ERROR_SENTINEL, ReentrancyError, RpcError, RpcResponseError, SCHEMA_VERSION, SECONDS_PER_YEAR, STANDARD_TICK_WIDTHS, STORAGE_PREFIX, SafeModeError, StaleDataError, StaleOracleError, SwapTokenMismatchError, SyncTimeoutError, TOKEN_ID_BITS, TokenIdHasZeroLegsError, TooManyLegsOpenError, TransferFailedError, UNREALIZED_INTEREST_BITS, UTILIZATION_DENOMINATOR, UnauthorizedUniswapCallbackError, UnderOverFlowError, UnhealthyPoolError, WAD, 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 };
|
|
33525
33719
|
//# sourceMappingURL=react-public.js.map
|