@panoptic-eng/sdk 1.0.74 → 1.0.75
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 +7 -0
- package/dist/cow/index.d.ts.map +1 -1
- package/dist/cow/index.js.map +1 -1
- package/dist/{cow-DRZqTpih.js → cow-12OtZc7G.js} +1 -1
- package/dist/index.d.ts +24 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/{irm-BwOG1LRv.js → irm-BntFNP1P.js} +2 -2
- package/dist/panoptic/v2/index.d.ts +14 -0
- package/dist/panoptic/v2/index.d.ts.map +1 -1
- package/dist/panoptic/v2/index.js +53 -3
- package/dist/panoptic/v2/index.js.map +1 -1
- package/dist/panoptic/v2/react-public.d.ts +14 -0
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +53 -3
- package/dist/panoptic/v2/react-public.js.map +1 -1
- package/dist/{rates-B9HaWnEM.js → rates-c9XVKm3m.js} +1 -1
- package/dist/{router-KwjvMN_z.js → router-lUA1kp8A.js} +1 -1
- package/dist/uniswap/index.d.ts +7 -0
- package/dist/uniswap/index.d.ts.map +1 -1
- package/dist/uniswap/index.js.map +1 -1
- package/dist/{v2-DlmRqBju.js → v2-C0vQkjxc.js} +4 -4
- package/dist/{writes-CeRXSZwj.js → writes-CDTpO4OY.js} +54 -4
- package/dist/zodiac/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MulticallNoDataError, MulticallResultFailedError, MulticallResultMissingError, PanopticValidationError, collateralTrackerV2Abi, decodeLeftRightUnsigned, decodeTokenId, getBlockMeta, getPool, getPositions, panopticPoolV2Abi, riskEngineAbi } from "./rates-
|
|
1
|
+
import { MulticallNoDataError, MulticallResultFailedError, MulticallResultMissingError, PanopticValidationError, collateralTrackerV2Abi, decodeLeftRightUnsigned, decodeTokenId, getBlockMeta, getPool, getPositions, panopticPoolV2Abi, riskEngineAbi } from "./rates-c9XVKm3m.js";
|
|
2
2
|
import { NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, tickToSqrtPriceX96 } from "./greeks-CEv-Uex1.js";
|
|
3
3
|
import { decodeFunctionResult, encodeFunctionData, parseAbi } from "viem";
|
|
4
4
|
import { call, multicall } from "viem/actions";
|
|
@@ -3303,4 +3303,4 @@ async function getIrmCurve(params) {
|
|
|
3303
3303
|
}
|
|
3304
3304
|
|
|
3305
3305
|
//#endregion
|
|
3306
|
-
export { BORROW_INDEX_BITS, BPS_SCALE, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MULTICALL3_ADDRESS, Multicall3Abi, RATE_AT_TARGET_BITS, SECONDS_PER_YEAR, UNREALIZED_INTEREST_BITS, UniswapV3PoolAbi, WAD as WAD$1, applyOwedInterest, deriveSupplyRatePerSecWad, getAccountBuyingPower, getAccountCollateral, getAccountSummaryBasic, getAccountSummaryRisk, getCollateralAddresses, getCollateralData, getCurrentRates, getInterestState, getIrmCurrent, getIrmCurve, getLiquidationPrices, getNetLiquidationValue, getNetLiquidationValues, getPoolCollateralAddresses, getPositionValueCurve, isLiquidatable, packMarketState, panopticQueryAbi, positionValueKey, positionValueTicks, preparePositionValueCurve, ratePerSecWadToAprPct, readBlockAndAggregate, requireReturnData, utilizationBpsToWad, utilizationPctToWad };
|
|
3306
|
+
export { BORROW_INDEX_BITS, BPS_SCALE, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MULTICALL3_ADDRESS, Multicall3Abi, RATE_AT_TARGET_BITS, SECONDS_PER_YEAR, UNREALIZED_INTEREST_BITS, UniswapV3PoolAbi, WAD as WAD$1, applyOwedInterest, deriveSupplyRatePerSecWad, getAccountBuyingPower, getAccountCollateral, getAccountSummaryBasic, getAccountSummaryRisk, getCollateralAddresses, getCollateralData, getCurrentRates, getInterestState, getIrmCurrent, getIrmCurve, getLiquidationPrices, getNetLiquidationValue, getNetLiquidationValues, getPoolCollateralAddresses, getPositionValueCurve, isLiquidatable, packMarketState, panopticQueryAbi as panopticQueryAbi$1, positionValueKey, positionValueTicks, preparePositionValueCurve, ratePerSecWadToAprPct, readBlockAndAggregate, requireReturnData, utilizationBpsToWad, utilizationPctToWad };
|
|
@@ -2906,6 +2906,13 @@ interface TokenFlow {
|
|
|
2906
2906
|
tickBefore: bigint | null;
|
|
2907
2907
|
/** Pool tick after the operation */
|
|
2908
2908
|
tickAfter: bigint | null;
|
|
2909
|
+
/**
|
|
2910
|
+
* Token 0 borrow interest owed before the call, included in delta0 when the call settles it.
|
|
2911
|
+
* Unset when unknown, which does not mean zero: delta0 may still include interest.
|
|
2912
|
+
*/
|
|
2913
|
+
interestOwed0?: bigint;
|
|
2914
|
+
/** Token 1 equivalent of interestOwed0, with the same unset semantics. */
|
|
2915
|
+
interestOwed1?: bigint;
|
|
2909
2916
|
}
|
|
2910
2917
|
/**
|
|
2911
2918
|
* Simulation result discriminated union.
|
|
@@ -5317,6 +5324,13 @@ interface TokenFlow$1 {
|
|
|
5317
5324
|
tickBefore: bigint | null;
|
|
5318
5325
|
/** Pool tick after the operation */
|
|
5319
5326
|
tickAfter: bigint | null;
|
|
5327
|
+
/**
|
|
5328
|
+
* Token 0 borrow interest owed before the call, included in delta0 when the call settles it.
|
|
5329
|
+
* Unset when unknown, which does not mean zero: delta0 may still include interest.
|
|
5330
|
+
*/
|
|
5331
|
+
interestOwed0?: bigint;
|
|
5332
|
+
/** Token 1 equivalent of interestOwed0, with the same unset semantics. */
|
|
5333
|
+
interestOwed1?: bigint;
|
|
5320
5334
|
}
|
|
5321
5335
|
/**
|
|
5322
5336
|
* Parameters for simulateWithTokenFlow.
|