@panoptic-eng/sdk 1.0.65 → 1.0.67
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/{chainDeployments-Do4NaZA_.js → chainDeployments-CwnYHCg7.js} +16 -10
- package/dist/cow/index.js +40 -0
- package/dist/cow/index.js.map +1 -1
- package/dist/{cow-BU9YOHkh.js → cow-CGgPXhY6.js} +1 -1
- package/dist/deployments.js +16 -10
- package/dist/deployments.js.map +1 -1
- package/dist/index.d.ts +34 -34
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +56 -10
- package/dist/index.js.map +1 -1
- package/dist/{irm-DGyKOQXz.js → irm-BDxwCFDm.js} +2 -2
- package/dist/panoptic/v2/index.d.ts +38 -2
- package/dist/panoptic/v2/index.d.ts.map +1 -1
- package/dist/panoptic/v2/index.js +161 -16
- package/dist/panoptic/v2/index.js.map +1 -1
- package/dist/panoptic/v2/react-public.d.ts +38 -2
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +161 -16
- package/dist/panoptic/v2/react-public.js.map +1 -1
- package/dist/{rates-Y0Pbv1_x.js → rates-BHS-Qiu7.js} +75 -5
- package/dist/{router-DxE-iwYF.js → router-BW6TqwOO.js} +2 -2
- package/dist/{router-CheXbrfz.js → router-IDtCENST.js} +2 -2
- package/dist/{transactionFees-BF033Mob.js → transactionFees-B4jz-v7d.js} +1 -1
- package/dist/uniswap/index.js +71 -1
- package/dist/uniswap/index.js.map +1 -1
- package/dist/{v2-QFSAShVj.js → v2-Dgh6JxG_.js} +75 -6
- package/dist/vault-transaction-fees.js +16 -10
- package/dist/vault-transaction-fees.js.map +1 -1
- package/dist/{writes-BA21eyGF.js → writes-CG612Vuk.js} +2 -2
- package/dist/zodiac/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -13683,6 +13683,76 @@ function diagnoseOracleSafeMode(state, parameters, onchainLevel) {
|
|
|
13683
13683
|
};
|
|
13684
13684
|
}
|
|
13685
13685
|
|
|
13686
|
+
//#endregion
|
|
13687
|
+
//#region src/panoptic/v2/reads/riskEngineDeployment.ts
|
|
13688
|
+
const IMPLEMENTATION_SLOT = "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc";
|
|
13689
|
+
const PROXIES = new Set(["0x000000000000ffe5efdb5ae76b9200263c58b4c0", "0x000000000000ffada7c641e2ad6b13b51b50cc94"]);
|
|
13690
|
+
const BLUE_CHIP = {
|
|
13691
|
+
DECIMALS: 10000000n,
|
|
13692
|
+
VEGOID: 8,
|
|
13693
|
+
CROSS_BUFFER_0: 9000000n,
|
|
13694
|
+
CROSS_BUFFER_1: 9000000n,
|
|
13695
|
+
EMA_PERIODS: 4533471891108855828971580n,
|
|
13696
|
+
MAX_TICKS_DELTA: 724n,
|
|
13697
|
+
MAX_CLAMP_DELTA: 149,
|
|
13698
|
+
MAX_TWAP_DELTA_DISPATCH: 513,
|
|
13699
|
+
MAX_SPREAD: 9e4,
|
|
13700
|
+
BP_DECREASE_BUFFER: 1075e4,
|
|
13701
|
+
SELLER_COLLATERAL_RATIO: 2000000n,
|
|
13702
|
+
BUYER_COLLATERAL_RATIO: 100000n,
|
|
13703
|
+
MAINT_MARGIN_RATE: 1000000n,
|
|
13704
|
+
LOAN_MARGIN_DIVISOR: 4n,
|
|
13705
|
+
FORCE_EXERCISE_COST: 5000000n,
|
|
13706
|
+
TARGET_POOL_UTIL: 6666667n,
|
|
13707
|
+
SATURATED_POOL_UTIL: 9000000n,
|
|
13708
|
+
MAX_OPEN_LEGS: 26n,
|
|
13709
|
+
MAX_BONUS: 2000000n,
|
|
13710
|
+
NOTIONAL_FEE: 3,
|
|
13711
|
+
PREMIUM_FEE: 250,
|
|
13712
|
+
PROTOCOL_SPLIT: 5e3,
|
|
13713
|
+
BUILDER_SPLIT: 4e3,
|
|
13714
|
+
MIN_RATE_AT_TARGET: 634195839n
|
|
13715
|
+
};
|
|
13716
|
+
const IMPLEMENTATIONS = {
|
|
13717
|
+
"0x000000000000f0b287c19f606bc3a471f260c502": BLUE_CHIP,
|
|
13718
|
+
"0x000000000000f4901018445c697e1e358dab8dad": {
|
|
13719
|
+
...BLUE_CHIP,
|
|
13720
|
+
CROSS_BUFFER_0: 7500000n,
|
|
13721
|
+
CROSS_BUFFER_1: 7500000n,
|
|
13722
|
+
EMA_PERIODS: 9066943782217711657943160n,
|
|
13723
|
+
MAX_TICKS_DELTA: 953n,
|
|
13724
|
+
MAINT_MARGIN_RATE: 2500000n
|
|
13725
|
+
}
|
|
13726
|
+
};
|
|
13727
|
+
/** Resolve immutable getters from the implementation manifest and read dynamic state at the same block. */
|
|
13728
|
+
async function riskEngineMulticall(client, parameters) {
|
|
13729
|
+
const calls = parameters.contracts;
|
|
13730
|
+
const proxies = [...new Set(calls.map((call$1) => call$1.address.toLowerCase()))].filter((address) => PROXIES.has(address));
|
|
13731
|
+
if (proxies.length === 0) return client.multicall(parameters);
|
|
13732
|
+
const manifests = new Map(await Promise.all(proxies.map(async (address) => {
|
|
13733
|
+
const slot = await client.getStorageAt({
|
|
13734
|
+
address,
|
|
13735
|
+
slot: IMPLEMENTATION_SLOT,
|
|
13736
|
+
blockNumber: parameters.blockNumber
|
|
13737
|
+
});
|
|
13738
|
+
const implementation = slot?.length === 66 ? `0x${slot.slice(-40)}`.toLowerCase() : "";
|
|
13739
|
+
const manifest = IMPLEMENTATIONS[implementation];
|
|
13740
|
+
if (!manifest) throw new Error(`Unknown RiskEngine implementation ${implementation || "(missing)"} for ${address}; update the SDK deployment parameters`);
|
|
13741
|
+
return [address, manifest];
|
|
13742
|
+
})));
|
|
13743
|
+
const values = calls.map((call$1) => call$1.args?.length ? void 0 : manifests.get(call$1.address.toLowerCase())?.[call$1.functionName]);
|
|
13744
|
+
const liveCalls = calls.filter((_, index) => values[index] === void 0);
|
|
13745
|
+
const liveResults = liveCalls.length === 0 ? [] : await client.multicall({
|
|
13746
|
+
...parameters,
|
|
13747
|
+
contracts: liveCalls
|
|
13748
|
+
});
|
|
13749
|
+
let liveIndex = 0;
|
|
13750
|
+
return values.map((value) => value === void 0 ? liveResults[liveIndex++] : parameters.allowFailure === false ? value : {
|
|
13751
|
+
status: "success",
|
|
13752
|
+
result: value
|
|
13753
|
+
});
|
|
13754
|
+
}
|
|
13755
|
+
|
|
13686
13756
|
//#endregion
|
|
13687
13757
|
//#region src/panoptic/v2/reads/pool.ts
|
|
13688
13758
|
const erc20Abi$2 = [
|
|
@@ -13896,7 +13966,7 @@ async function getPool(params) {
|
|
|
13896
13966
|
abi: uniswapV3PoolAbi,
|
|
13897
13967
|
functionName: "liquidity"
|
|
13898
13968
|
} : null;
|
|
13899
|
-
const [dynamicResults, _meta] = await Promise.all([client
|
|
13969
|
+
const [dynamicResults, _meta] = await Promise.all([riskEngineMulticall(client, {
|
|
13900
13970
|
contracts: [
|
|
13901
13971
|
{
|
|
13902
13972
|
address: poolAddress,
|
|
@@ -14189,10 +14259,10 @@ async function getOracleState(params) {
|
|
|
14189
14259
|
_meta
|
|
14190
14260
|
};
|
|
14191
14261
|
}
|
|
14192
|
-
/**
|
|
14262
|
+
/** Resolve the oracle constants for a specific deployed RiskEngine at the target block. */
|
|
14193
14263
|
async function getOracleRiskParameters(params) {
|
|
14194
14264
|
const targetBlockNumber = params.blockNumber ?? await params.client.getBlockNumber();
|
|
14195
|
-
const [[emaPeriods, maxTicksDelta, maxClampDelta], _meta] = await Promise.all([params.client
|
|
14265
|
+
const [[emaPeriods, maxTicksDelta, maxClampDelta], _meta] = await Promise.all([riskEngineMulticall(params.client, {
|
|
14196
14266
|
contracts: [
|
|
14197
14267
|
{
|
|
14198
14268
|
address: params.riskEngineAddress,
|
|
@@ -14239,7 +14309,7 @@ async function getRiskParameters(params) {
|
|
|
14239
14309
|
abi: panopticPoolV2Abi,
|
|
14240
14310
|
functionName: "riskEngine"
|
|
14241
14311
|
});
|
|
14242
|
-
const [riskEngineResults, _meta] = await Promise.all([client
|
|
14312
|
+
const [riskEngineResults, _meta] = await Promise.all([riskEngineMulticall(client, {
|
|
14243
14313
|
contracts: [
|
|
14244
14314
|
{
|
|
14245
14315
|
address: riskEngineAddress,
|
|
@@ -24808,6 +24878,75 @@ async function getCurrentPositionSizes(params) {
|
|
|
24808
24878
|
return positionBalances.map((packed) => packed & BIT_MASK_128$1);
|
|
24809
24879
|
}
|
|
24810
24880
|
|
|
24881
|
+
//#endregion
|
|
24882
|
+
//#region src/panoptic/v2/reads/closePositionTransferEstimate.ts
|
|
24883
|
+
/** Spot-price burn swap projection; excludes AMM fees, price impact, and commissions. */
|
|
24884
|
+
function estimateCloseZapSwap({ itm0, itm1, asset, sqrtPriceX96 }) {
|
|
24885
|
+
if (sqrtPriceX96 <= 0n) throw new RangeError("Price must be positive");
|
|
24886
|
+
if (asset !== 0n && asset !== 1n) throw new RangeError("Asset must be token0 or token1");
|
|
24887
|
+
const priceSquared = sqrtPriceX96 * sqrtPriceX96;
|
|
24888
|
+
const q192 = 1n << 192n;
|
|
24889
|
+
const swapToken0 = itm0 !== 0n && (itm1 === 0n || asset === 0n);
|
|
24890
|
+
return swapToken0 ? {
|
|
24891
|
+
amount0: -itm0,
|
|
24892
|
+
amount1: itm0 * priceSquared / q192
|
|
24893
|
+
} : {
|
|
24894
|
+
amount0: itm1 * q192 / priceSquared,
|
|
24895
|
+
amount1: -itm1
|
|
24896
|
+
};
|
|
24897
|
+
}
|
|
24898
|
+
/** Estimate collateral transfers without dispatching a close or checking account solvency. */
|
|
24899
|
+
async function getClosePositionTransferEstimate(params) {
|
|
24900
|
+
const { client, poolAddress, account, queryAddress, tokenId } = params;
|
|
24901
|
+
const blockNumber = params.blockNumber ?? await client.getBlockNumber();
|
|
24902
|
+
const [positionSize] = await getCurrentPositionSizes({
|
|
24903
|
+
client,
|
|
24904
|
+
poolAddress,
|
|
24905
|
+
account,
|
|
24906
|
+
positionIdList: [tokenId],
|
|
24907
|
+
blockNumber
|
|
24908
|
+
});
|
|
24909
|
+
if (positionSize === void 0 || positionSize === 0n) throw new Error("This position is no longer open in the owner’s account.");
|
|
24910
|
+
const firstLeg = decodeTokenId(tokenId).legs[0];
|
|
24911
|
+
if (!firstLeg) throw new RangeError("Position must contain at least one leg");
|
|
24912
|
+
const value = await getNetLiquidationValue({
|
|
24913
|
+
client,
|
|
24914
|
+
poolAddress,
|
|
24915
|
+
account,
|
|
24916
|
+
queryAddress,
|
|
24917
|
+
tokenIds: [tokenId],
|
|
24918
|
+
includePendingPremium: false,
|
|
24919
|
+
blockNumber
|
|
24920
|
+
});
|
|
24921
|
+
const itm = await getItmAmounts({
|
|
24922
|
+
client,
|
|
24923
|
+
poolAddress,
|
|
24924
|
+
queryAddress,
|
|
24925
|
+
tokenId,
|
|
24926
|
+
positionSize,
|
|
24927
|
+
blockNumber,
|
|
24928
|
+
_meta: value._meta
|
|
24929
|
+
});
|
|
24930
|
+
const swap = estimateCloseZapSwap({
|
|
24931
|
+
itm0: itm.itm0,
|
|
24932
|
+
itm1: itm.itm1,
|
|
24933
|
+
asset: firstLeg.asset,
|
|
24934
|
+
sqrtPriceX96: tickToSqrtPriceX96(value.atTick)
|
|
24935
|
+
});
|
|
24936
|
+
return {
|
|
24937
|
+
exercise: {
|
|
24938
|
+
amount0: value.value0,
|
|
24939
|
+
amount1: value.value1
|
|
24940
|
+
},
|
|
24941
|
+
swap,
|
|
24942
|
+
zap: {
|
|
24943
|
+
amount0: value.value0 + swap.amount0,
|
|
24944
|
+
amount1: value.value1 + swap.amount1
|
|
24945
|
+
},
|
|
24946
|
+
_meta: value._meta
|
|
24947
|
+
};
|
|
24948
|
+
}
|
|
24949
|
+
|
|
24811
24950
|
//#endregion
|
|
24812
24951
|
//#region src/panoptic/v2/reads/enrichment.ts
|
|
24813
24952
|
/**
|
|
@@ -25117,7 +25256,7 @@ async function getHedgeLimits({ client, poolAddress, account, positionIds, asset
|
|
|
25117
25256
|
});
|
|
25118
25257
|
const { collateralToken0Address: ct0, collateralToken1Address: ct1, riskEngineAddress: engine } = metadata;
|
|
25119
25258
|
if (metadata.fee >= 1000000n) throw new Error("A fixed swap fee is required for this estimate");
|
|
25120
|
-
const [full, currentTick, pool0, pool1, total0, total1, interest0, interest1, buffer, notionalFee, cross0, cross1, maxLegs, accountLegs, supply0, supply1] = await client
|
|
25259
|
+
const [full, currentTick, pool0, pool1, total0, total1, interest0, interest1, buffer, notionalFee, cross0, cross1, maxLegs, accountLegs, supply0, supply1] = await riskEngineMulticall(client, {
|
|
25121
25260
|
contracts: [
|
|
25122
25261
|
{
|
|
25123
25262
|
address: poolAddress,
|
|
@@ -32137,7 +32276,7 @@ var _1 = {
|
|
|
32137
32276
|
"semiFungiblePositionManagerV4": "0x00000000000005C3287f136Ef5AF56c68Ea6849f",
|
|
32138
32277
|
"semiFungiblePositionManagerV3": "0x00000000000005E4693aDc8Ec0f12D686f728198",
|
|
32139
32278
|
"builderFactory": "0x0000000000000a3D22E158417AA639D7F71b0FF7",
|
|
32140
|
-
"riskEngine": "
|
|
32279
|
+
"riskEngine": "0x000000000000ffE5eFdB5AE76b9200263C58b4c0",
|
|
32141
32280
|
"panopticPoolImplementation": "0x000000000000135429F0DaCaB61639Bf6a63EbbC",
|
|
32142
32281
|
"collateralTrackerImplementation": "0x0000000000001d9c38CA405A2e04420865A08A33",
|
|
32143
32282
|
"panopticFactoryV4": "0x0000000000000c51d0f8cf4bd9adE7191372a625",
|
|
@@ -32148,7 +32287,7 @@ var _1 = {
|
|
|
32148
32287
|
"interactionHelper": "0x00000000000041fe14Ce3c2392337CE501aE8328"
|
|
32149
32288
|
}
|
|
32150
32289
|
},
|
|
32151
|
-
"riskEngines": ["
|
|
32290
|
+
"riskEngines": ["0x000000000000ffE5eFdB5AE76b9200263C58b4c0", "0x000000000000FfADa7c641E2aD6B13b51b50Cc94"],
|
|
32152
32291
|
"markets": { "ethUsdc30bps": {
|
|
32153
32292
|
"currency0": "0x0000000000000000000000000000000000000000",
|
|
32154
32293
|
"currency1": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
@@ -32168,7 +32307,12 @@ var _1 = {
|
|
|
32168
32307
|
"fee": 500,
|
|
32169
32308
|
"weth": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
|
32170
32309
|
},
|
|
32171
|
-
"deprecatedRiskEngines": [
|
|
32310
|
+
"deprecatedRiskEngines": [
|
|
32311
|
+
"0x0000000000000e673aECBDB5f5fE5DFAf4a8e9Ac",
|
|
32312
|
+
"0x0000000000000E65545005B26207D7edFd031260",
|
|
32313
|
+
"0x000000000000075e29cdaa9cb640a69e148ca7da",
|
|
32314
|
+
"0x0000000000000fe1e261f66ce2f44def4f5ae0cb"
|
|
32315
|
+
]
|
|
32172
32316
|
};
|
|
32173
32317
|
var _4663 = {
|
|
32174
32318
|
"chainId": 4663,
|
|
@@ -32226,7 +32370,7 @@ var _4663 = {
|
|
|
32226
32370
|
"semiFungiblePositionManagerV4": "0x00000000000005C3287f136Ef5AF56c68Ea6849f",
|
|
32227
32371
|
"semiFungiblePositionManagerV3": "0x00000000000005E4693aDc8Ec0f12D686f728198",
|
|
32228
32372
|
"builderFactory": "0x0000000000000a3D22E158417AA639D7F71b0FF7",
|
|
32229
|
-
"riskEngine": "
|
|
32373
|
+
"riskEngine": "0x000000000000FfADa7c641E2aD6B13b51b50Cc94",
|
|
32230
32374
|
"panopticPoolImplementation": "0x000000000000135429F0DaCaB61639Bf6a63EbbC",
|
|
32231
32375
|
"collateralTrackerImplementation": "0x0000000000001d9c38CA405A2e04420865A08A33",
|
|
32232
32376
|
"panopticFactoryV4": "0x0000000000000c51d0f8cf4bd9adE7191372a625",
|
|
@@ -32237,11 +32381,7 @@ var _4663 = {
|
|
|
32237
32381
|
"interactionHelper": "0x00000000000041fe14Ce3c2392337CE501aE8328"
|
|
32238
32382
|
}
|
|
32239
32383
|
},
|
|
32240
|
-
"riskEngines": [
|
|
32241
|
-
"0x000000000000075e29cdaa9cb640a69e148ca7da",
|
|
32242
|
-
"0x0000000000000fe1e261f66ce2f44def4f5ae0cb",
|
|
32243
|
-
"0x0000000000000f3fb82469581A74776178E76Ca4"
|
|
32244
|
-
],
|
|
32384
|
+
"riskEngines": ["0x000000000000ffE5eFdB5AE76b9200263C58b4c0", "0x000000000000FfADa7c641E2aD6B13b51b50Cc94"],
|
|
32245
32385
|
"markets": {
|
|
32246
32386
|
"spyUsdg": {
|
|
32247
32387
|
"currency0": "0x117cc2133c37B721F49dE2A7a74833232B3B4C0C",
|
|
@@ -32269,7 +32409,12 @@ var _4663 = {
|
|
|
32269
32409
|
"hypovault": "https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/hypovault-subgraph-robinhood/prod/gn",
|
|
32270
32410
|
"panoptic": "https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-robinhood/v2_prod/gn"
|
|
32271
32411
|
},
|
|
32272
|
-
"deprecatedRiskEngines": [
|
|
32412
|
+
"deprecatedRiskEngines": [
|
|
32413
|
+
"0x0000000000000E65545005B26207D7edFd031260",
|
|
32414
|
+
"0x000000000000075e29cdaa9cb640a69e148ca7da",
|
|
32415
|
+
"0x0000000000000fe1e261f66ce2f44def4f5ae0cb",
|
|
32416
|
+
"0x0000000000000f3fb82469581A74776178E76Ca4"
|
|
32417
|
+
]
|
|
32273
32418
|
};
|
|
32274
32419
|
var _8453 = {
|
|
32275
32420
|
"chainId": 8453,
|
|
@@ -38587,5 +38732,5 @@ function useTxEventConfirmation({ txHash, poolAddress = zeroAddress, collateralT
|
|
|
38587
38732
|
}
|
|
38588
38733
|
|
|
38589
38734
|
//#endregion
|
|
38590
|
-
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, MARKET_INDICATOR_PERIODS, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MaxRetriesExceededError, MissingPositionIdsError, NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, 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, STRIKE_LADDER_TARGET_STRIKES, SafeModeError, StaleDataError, StaleOracleError, SwapTokenMismatchError, SyncTimeoutError, TOKEN_ID_BITS, TokenIdHasZeroLegsError, TooManyLegsOpenError, TransferFailedError, UNREALIZED_INTEREST_BITS, UTILIZATION_DENOMINATOR, UnauthorizedUniswapCallbackError, UnderOverFlowError, UnhealthyPoolError, UnsafePremiumSettlementError, VARIANCE_RATIO_LAG, 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, 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, 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, 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, isCowSupportedChain, 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, mutationEffects, 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, queryKeys, 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, 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, useExecuteSettleSequence, useFactoryConstructMetadata, useFactoryOwnerOf, useFactoryTokenURI, useFailPendingPosition, useFlowNeutralTokenId, useForceExercise as useForceExerciseHook, useForfeitablePremium, 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, usePoolVersion, 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, useSettlePremiumFrom as useSettlePremiumFromHook, useSimulateBatchDispatch, useSimulateClosePosition, useSimulateDeployNewPool, useSimulateDeposit, useSimulateDispatch, useSimulateForceExercise, useSimulateLiquidate, useSimulateOpenPosition, useSimulateSFPMBurn, useSimulateSFPMMint, useSimulateSettle, useSimulateSettlePremiumBatch, useSimulateSettlePremiumFrom, useSimulateSettleSequence, 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, valuePositionAccrual, verifyBlockContinuity, watchEvents, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
|
|
38735
|
+
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, MARKET_INDICATOR_PERIODS, MAX_TICK, MAX_TRACKED_CHUNKS, MINT_BUFFER, MINT_BUFFER_DENOMINATOR, MIN_TICK, MaxRetriesExceededError, MissingPositionIdsError, NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, 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, STRIKE_LADDER_TARGET_STRIKES, SafeModeError, StaleDataError, StaleOracleError, SwapTokenMismatchError, SyncTimeoutError, TOKEN_ID_BITS, TokenIdHasZeroLegsError, TooManyLegsOpenError, TransferFailedError, UNREALIZED_INTEREST_BITS, UTILIZATION_DENOMINATOR, UnauthorizedUniswapCallbackError, UnderOverFlowError, UnhealthyPoolError, UnsafePremiumSettlementError, VARIANCE_RATIO_LAG, 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, 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, isCowSupportedChain, 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, mutationEffects, 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, queryKeys, 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, 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, useExecuteSettleSequence, useFactoryConstructMetadata, useFactoryOwnerOf, useFactoryTokenURI, useFailPendingPosition, useFlowNeutralTokenId, useForceExercise as useForceExerciseHook, useForfeitablePremium, 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, usePoolVersion, 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, useSettlePremiumFrom as useSettlePremiumFromHook, useSimulateBatchDispatch, useSimulateClosePosition, useSimulateDeployNewPool, useSimulateDeposit, useSimulateDispatch, useSimulateForceExercise, useSimulateLiquidate, useSimulateOpenPosition, useSimulateSFPMBurn, useSimulateSFPMMint, useSimulateSettle, useSimulateSettlePremiumBatch, useSimulateSettlePremiumFrom, useSimulateSettleSequence, 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, valuePositionAccrual, verifyBlockContinuity, watchEvents, wethWrapAbi, withdraw, withdrawAndWait, withdrawWithPositions, withdrawWithPositionsAndWait, wrapEth, wrapEthAndWait, wrapXstock, wrapXstockAndWait, xstockWrapperAbi };
|
|
38591
38736
|
//# sourceMappingURL=react-public.js.map
|