@panoptic-eng/sdk 1.0.43 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cow/index.js +10 -0
- package/dist/cow/index.js.map +1 -1
- package/dist/{cow-tRUtAUZy.js → cow-DIYBU1j9.js} +1 -1
- package/dist/{getTrackedPositionIds-ms3W9dYB.js → getTrackedPositionIds-CwBHzOO2.js} +1 -1
- package/dist/{greeks-GysWXct-.js → greeks-9aTE-DwO.js} +11 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/{irm-SPC2KxLA.js → irm-CvLqxTAo.js} +6 -7
- package/dist/panoptic/v2/greeks/index.js +10 -0
- package/dist/panoptic/v2/greeks/index.js.map +1 -1
- package/dist/panoptic/v2/index.d.ts +22 -6
- package/dist/panoptic/v2/index.d.ts.map +1 -1
- package/dist/panoptic/v2/index.js +24 -17
- package/dist/panoptic/v2/index.js.map +1 -1
- package/dist/panoptic/v2/react-public.d.ts +22 -6
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +24 -17
- package/dist/panoptic/v2/react-public.js.map +1 -1
- package/dist/{router-BTfbaRfg.js → router-CUlQfzoc.js} +1 -1
- package/dist/{router-mLWy0MD9.js → router-OcmdMkXx.js} +2 -2
- package/dist/uniswap/index.js +10 -0
- package/dist/uniswap/index.js.map +1 -1
- package/dist/{v2-Djy0rVdh.js → v2-D5oeb9YD.js} +11 -14
- package/dist/{writes-_gfkBizf.js → writes-CG9mYns0.js} +4 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PanopticError } from "./getTrackedPositionIds-
|
|
1
|
+
import { PanopticError } from "./getTrackedPositionIds-CwBHzOO2.js";
|
|
2
2
|
import { BaseError, ContractFunctionRevertedError, encodeAbiParameters, encodeFunctionData, encodePacked, zeroAddress } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/uniswap/v4/router/errors.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PanopticError, getBlockMeta, getPool, submitWrite } from "./getTrackedPositionIds-
|
|
2
|
-
import { AmountExceedsUint128Error, InvalidSwapTokenError, MissingSweepRecipientError, QuoterUnavailableError, UnsupportedChainError, universalRouterAbi } from "./router-
|
|
1
|
+
import { PanopticError, getBlockMeta, getPool, submitWrite } from "./getTrackedPositionIds-CwBHzOO2.js";
|
|
2
|
+
import { AmountExceedsUint128Error, InvalidSwapTokenError, MissingSweepRecipientError, QuoterUnavailableError, UnsupportedChainError, universalRouterAbi } from "./router-CUlQfzoc.js";
|
|
3
3
|
import { BaseError, ContractFunctionRevertedError, encodeAbiParameters, encodeFunctionData, encodePacked, erc20Abi, isAddressEqual, maxUint256, zeroAddress } from "viem";
|
|
4
4
|
|
|
5
5
|
//#region src/uniswap/v4/addresses.ts
|
package/dist/uniswap/index.js
CHANGED
|
@@ -18,6 +18,16 @@ const MIN_TICK = -887272n;
|
|
|
18
18
|
* Maximum tick value for Uniswap v3/v4 pools.
|
|
19
19
|
*/
|
|
20
20
|
const MAX_TICK = 887272n;
|
|
21
|
+
/**
|
|
22
|
+
* PanopticQuery sentinel indicating that no lower liquidation boundary exists.
|
|
23
|
+
* This is int24.min, not Uniswap's minimum usable tick.
|
|
24
|
+
*/
|
|
25
|
+
const NO_LOWER_LIQUIDATION_TICK = -(1n << 23n);
|
|
26
|
+
/**
|
|
27
|
+
* PanopticQuery sentinel indicating that no upper liquidation boundary exists.
|
|
28
|
+
* This is int24.max, not Uniswap's maximum usable tick.
|
|
29
|
+
*/
|
|
30
|
+
const NO_UPPER_LIQUIDATION_TICK = (1n << 23n) - 1n;
|
|
21
31
|
|
|
22
32
|
//#endregion
|
|
23
33
|
//#region src/panoptic/v2/formatters/tick.ts
|