@panoptic-eng/sdk 1.0.58 → 1.0.59
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-CaVnyjiG.js → cow-CHb343la.js} +1 -1
- package/dist/index.d.ts +26 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +94 -10
- package/dist/index.js.map +1 -1
- package/dist/{irm-BGGqQprG.js → irm-BIaLQ-0n.js} +2 -2
- package/dist/panoptic/v2/react-public.d.ts +2 -2
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/{rates-B0uPUed1.js → rates-COAJpKRd.js} +1 -1
- package/dist/{router-C5v6J0jv.js → router-DiVbG7km.js} +2 -2
- package/dist/{router-CF7xBH_o.js → router-NeVmoCOu.js} +2 -2
- package/dist/{v2-BybBPXaj.js → v2-B23d5d4I.js} +4 -4
- package/dist/{writes-Da5PWxJ9.js → writes-CllMRkmo.js} +1 -1
- 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, getBlockMeta, getPool, getPositions, panopticPoolV2Abi, riskEngineAbi } from "./rates-
|
|
1
|
+
import { MulticallNoDataError, MulticallResultFailedError, MulticallResultMissingError, PanopticValidationError, collateralTrackerV2Abi, decodeLeftRightUnsigned, getBlockMeta, getPool, getPositions, panopticPoolV2Abi, riskEngineAbi } from "./rates-COAJpKRd.js";
|
|
2
2
|
import { NO_LOWER_LIQUIDATION_TICK, NO_UPPER_LIQUIDATION_TICK, tickToSqrtPriceX96 } from "./greeks-CNi1-cnp.js";
|
|
3
3
|
import { decodeFunctionResult, encodeFunctionData } from "viem";
|
|
4
4
|
import { call } from "viem/actions";
|
|
@@ -2446,4 +2446,4 @@ async function getIrmCurve(params) {
|
|
|
2446
2446
|
}
|
|
2447
2447
|
|
|
2448
2448
|
//#endregion
|
|
2449
|
-
export { BORROW_INDEX_BITS, BPS_SCALE, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, Multicall3Abi, RATE_AT_TARGET_BITS, SECONDS_PER_YEAR, StateViewAbi, UNREALIZED_INTEREST_BITS, WAD as WAD$1, deriveSupplyRatePerSecWad, getAccountCollateral, getAccountSummaryBasic, getAccountSummaryRisk, getCollateralAddresses, getCollateralData, getCurrentRates, getInterestState, getIrmCurrent, getIrmCurve, getLiquidationPrices, getNetLiquidationValue, getNetLiquidationValues, isLiquidatable, packMarketState, panopticQueryAbi
|
|
2449
|
+
export { BORROW_INDEX_BITS, BPS_SCALE, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, Multicall3Abi, RATE_AT_TARGET_BITS, SECONDS_PER_YEAR, StateViewAbi, UNREALIZED_INTEREST_BITS, WAD as WAD$1, deriveSupplyRatePerSecWad, getAccountCollateral, getAccountSummaryBasic, getAccountSummaryRisk, getCollateralAddresses, getCollateralData, getCurrentRates, getInterestState, getIrmCurrent, getIrmCurve, getLiquidationPrices, getNetLiquidationValue, getNetLiquidationValues, isLiquidatable, packMarketState, panopticQueryAbi, ratePerSecWadToAprPct, readBlockAndAggregate, requireReturnData, utilizationBpsToWad, utilizationPctToWad };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Abi as Abi$1, Address as Address$1, Client, ContractFunctionArgs, ContractFunctionName, Hash, Hex, Log, PublicClient, StateOverride, WalletClient } from "viem";
|
|
3
3
|
import Decimal from "decimal.js";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
6
6
|
import { ChainDeployment, getChainDeployment, isSupportedChain, requireChainDeployment } from "../../deployments";
|
|
7
7
|
|
|
8
8
|
//#region src/panoptic/v2/reads/lpFunding.d.ts
|
|
@@ -17750,7 +17750,7 @@ interface PanopticProviderProps extends PanopticContextValue {
|
|
|
17750
17750
|
declare function PanopticProvider({
|
|
17751
17751
|
children,
|
|
17752
17752
|
...value
|
|
17753
|
-
}: PanopticProviderProps):
|
|
17753
|
+
}: PanopticProviderProps): react_jsx_runtime2.JSX.Element;
|
|
17754
17754
|
/**
|
|
17755
17755
|
* Access the Panoptic SDK context.
|
|
17756
17756
|
*
|