@panoptic-eng/sdk 1.0.38 → 1.0.40
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 +804 -5
- package/dist/cow/index.d.ts.map +1 -0
- package/dist/cow/index.js +5268 -5
- package/dist/cow/index.js.map +1 -0
- package/dist/{cow-DB8siv6M.js → cow-tRUtAUZy.js} +2 -3
- package/dist/{getTrackedPositionIds-zYPIs5dt.js → getTrackedPositionIds-ms3W9dYB.js} +1 -2
- package/dist/greeks-GysWXct-.js +1 -2
- package/dist/index.d.ts +5752 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11952 -2130
- package/dist/index.js.map +1 -1
- package/dist/{irm-ChkvYphK.js → irm-SPC2KxLA.js} +321 -3
- package/dist/panoptic/v2/greeks/index.d.ts +277 -4
- package/dist/panoptic/v2/greeks/index.d.ts.map +1 -0
- package/dist/panoptic/v2/greeks/index.js +620 -2
- package/dist/panoptic/v2/greeks/index.js.map +1 -0
- package/dist/panoptic/v2/index.d.ts +14633 -7
- package/dist/panoptic/v2/index.d.ts.map +1 -0
- package/dist/panoptic/v2/index.js +27875 -9
- package/dist/panoptic/v2/index.js.map +1 -0
- package/dist/panoptic/v2/react-public.d.ts +14779 -15
- package/dist/panoptic/v2/react-public.d.ts.map +1 -1
- package/dist/panoptic/v2/react-public.js +29463 -89
- package/dist/panoptic/v2/react-public.js.map +1 -1
- package/dist/{router-tCRa0ekE.js → router-BTfbaRfg.js} +2 -3
- package/dist/{router-BCUJkY8j.js → router-mLWy0MD9.js} +3 -4
- package/dist/test/index.d.ts +3 -3
- package/dist/test/index.d.ts.map +1 -1
- package/dist/test/index.js +2 -2
- package/dist/{transactionFees-CVi2TrJh.js → transactionFees-C_Qx07mx.js} +1 -2
- package/dist/uniswap/index.d.ts +813 -78
- package/dist/uniswap/index.d.ts.map +1 -1
- package/dist/uniswap/index.js +5884 -13
- package/dist/uniswap/index.js.map +1 -1
- package/dist/{v2-BxtzpUnV.js → v2-DG7qG6di.js} +4 -5
- package/dist/vault-transaction-fees.d.ts +63 -2
- package/dist/vault-transaction-fees.d.ts.map +1 -0
- package/dist/vault-transaction-fees.js +174 -2
- package/dist/vault-transaction-fees.js.map +1 -0
- package/dist/{writes-D3bj1wth.js → writes-Xp9Wa8GQ.js} +2 -3
- package/dist/zodiac/index.d.ts.map +1 -1
- package/package.json +4 -3
- package/dist/cow/types.d.ts +0 -4
- package/dist/cow/types.js +0 -0
- package/dist/cow-DB8siv6M.js.map +0 -1
- package/dist/getTrackedPositionIds-zYPIs5dt.js.map +0 -1
- package/dist/greeks-GysWXct-.js.map +0 -1
- package/dist/hypoVault/vaultDisplayNames.d.ts +0 -2
- package/dist/hypoVault/vaultDisplayNames.js +0 -4
- package/dist/index-BhEBx83X.d.ts +0 -9760
- package/dist/index-BhEBx83X.d.ts.map +0 -1
- package/dist/index-Bo9tHtD7.d.ts +0 -1901
- package/dist/index-Bo9tHtD7.d.ts.map +0 -1
- package/dist/index-CttjEZ-S.d.ts +0 -275
- package/dist/index-CttjEZ-S.d.ts.map +0 -1
- package/dist/index-DktZq9Kb.d.ts +0 -261
- package/dist/index-DktZq9Kb.d.ts.map +0 -1
- package/dist/irm-ChkvYphK.js.map +0 -1
- package/dist/irm-D2WTHtuo.d.ts +0 -5667
- package/dist/irm-D2WTHtuo.d.ts.map +0 -1
- package/dist/irm-D5plRhpB.d.ts +0 -32
- package/dist/irm-D5plRhpB.d.ts.map +0 -1
- package/dist/panoptic/v2/types/index.d.ts +0 -3
- package/dist/panoptic/v2/types/index.js +0 -0
- package/dist/quote-DeHNUR0Z.d.ts +0 -52
- package/dist/quote-DeHNUR0Z.d.ts.map +0 -1
- package/dist/router-BCUJkY8j.js.map +0 -1
- package/dist/router-tCRa0ekE.js.map +0 -1
- package/dist/src-CRAtPwWk.js +0 -321
- package/dist/src-CRAtPwWk.js.map +0 -1
- package/dist/transactionFees-CVi2TrJh.js.map +0 -1
- package/dist/transactionFees-DzDyt50k.d.ts +0 -63
- package/dist/transactionFees-DzDyt50k.d.ts.map +0 -1
- package/dist/types-Cad5m4Td.d.ts +0 -246
- package/dist/types-Cad5m4Td.d.ts.map +0 -1
- package/dist/types-DM0nxlZr.d.ts +0 -128
- package/dist/types-DM0nxlZr.d.ts.map +0 -1
- package/dist/v2-BxtzpUnV.js.map +0 -1
- package/dist/vaultDisplayNames-CKpz51Hu.js +0 -0
- package/dist/vaultDisplayNames-Q6htUcch.d.ts +0 -2
- package/dist/writes-D3bj1wth.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PanopticError
|
|
1
|
+
import { PanopticError } from "./getTrackedPositionIds-ms3W9dYB.js";
|
|
2
2
|
import { BaseError, ContractFunctionRevertedError, encodeAbiParameters, encodeFunctionData, encodePacked, zeroAddress } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/uniswap/v4/router/errors.ts
|
|
@@ -309,5 +309,4 @@ function isRevert(err) {
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
//#endregion
|
|
312
|
-
export { AmountExceedsUint128Error, InvalidSwapTokenError, MSG_SENDER, MissingSweepRecipientError, QuoterUnavailableError, UNISWAP_V3_ADDRESSES, UnsupportedChainError, V3_SWAP_EXACT_IN, buildV3SwapExecuteArgs, buildV3SwapExecuteCalldata, encodeV3Path, getUniswapV3Addresses, quoteV3ExactIn, universalRouterAbi };
|
|
313
|
-
//# sourceMappingURL=router-tCRa0ekE.js.map
|
|
312
|
+
export { AmountExceedsUint128Error, InvalidSwapTokenError, MSG_SENDER, MissingSweepRecipientError, QuoterUnavailableError, UNISWAP_V3_ADDRESSES, UnsupportedChainError, V3_SWAP_EXACT_IN, buildV3SwapExecuteArgs, buildV3SwapExecuteCalldata, encodeV3Path, getUniswapV3Addresses, quoteV3ExactIn, universalRouterAbi };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PanopticError
|
|
2
|
-
import { AmountExceedsUint128Error, InvalidSwapTokenError, MissingSweepRecipientError, QuoterUnavailableError, UnsupportedChainError, universalRouterAbi } from "./router-
|
|
1
|
+
import { PanopticError, getBlockMeta, getPool, submitWrite } from "./getTrackedPositionIds-ms3W9dYB.js";
|
|
2
|
+
import { AmountExceedsUint128Error, InvalidSwapTokenError, MissingSweepRecipientError, QuoterUnavailableError, UnsupportedChainError, universalRouterAbi } from "./router-BTfbaRfg.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
|
|
@@ -977,5 +977,4 @@ async function swapExactOutViaRouterAndWait(params) {
|
|
|
977
977
|
}
|
|
978
978
|
|
|
979
979
|
//#endregion
|
|
980
|
-
export { PERMIT2_ADDRESS, SETTLE_ALL, SWAP_EXACT_IN_SINGLE, SWAP_EXACT_OUT_SINGLE, SWEEP, TAKE_ALL, UNISWAP_V4_ADDRESSES, V4_SWAP, approveErc20ForPermit2, approveErc20ForPermit2AndWait, approveRouterViaPermit2, approveRouterViaPermit2AndWait, buildV4ExactOutSwapExecuteArgs, buildV4ExactOutSwapExecuteCalldata, buildV4SwapExecuteArgs, buildV4SwapExecuteCalldata, checkRouterApproval, getUniswapV4Addresses, quoteSwapExactInViaRouter, quoteSwapExactOutViaRouter, quoteV4ExactInByPoolKey, resolveSwapRoute, swapExactInViaRouter, swapExactInViaRouterAndWait, swapExactOutViaRouter, swapExactOutViaRouterAndWait };
|
|
981
|
-
//# sourceMappingURL=router-BCUJkY8j.js.map
|
|
980
|
+
export { PERMIT2_ADDRESS, SETTLE_ALL, SWAP_EXACT_IN_SINGLE, SWAP_EXACT_OUT_SINGLE, SWEEP, TAKE_ALL, UNISWAP_V4_ADDRESSES, V4_SWAP, approveErc20ForPermit2, approveErc20ForPermit2AndWait, approveRouterViaPermit2, approveRouterViaPermit2AndWait, buildV4ExactOutSwapExecuteArgs, buildV4ExactOutSwapExecuteCalldata, buildV4SwapExecuteArgs, buildV4SwapExecuteCalldata, checkRouterApproval, getUniswapV4Addresses, quoteSwapExactInViaRouter, quoteSwapExactOutViaRouter, quoteV4ExactInByPoolKey, resolveSwapRoute, swapExactInViaRouter, swapExactInViaRouterAndWait, swapExactOutViaRouter, swapExactOutViaRouterAndWait };
|
package/dist/test/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Address } from "viem";
|
|
2
1
|
import { ReactNode } from "react";
|
|
3
2
|
import { Config } from "wagmi";
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { Address } from "viem";
|
|
5
5
|
|
|
6
6
|
//#region src/test/test-utils.d.ts
|
|
7
7
|
declare const spawnAnvil: (args?: AnvilArgs) => Promise<void>;
|
|
@@ -236,7 +236,7 @@ declare const ReactTestWrapper: ({
|
|
|
236
236
|
}: {
|
|
237
237
|
children?: ReactNode;
|
|
238
238
|
wagmiConfig: Config;
|
|
239
|
-
}) =>
|
|
239
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
240
240
|
|
|
241
241
|
//#endregion
|
|
242
242
|
//#region src/test/test-accounts.d.ts
|
package/dist/test/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["spawnAnvil","AnvilArgs","Promise","killAnvilProcess","killAllAnvilProcesses","Record","ReactNode","Config","ReactTestWrapper","children","wagmiConfig","
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["spawnAnvil","AnvilArgs","Promise","killAnvilProcess","killAllAnvilProcesses","Record","ReactNode","Config","ReactTestWrapper","children","wagmiConfig","react_jsx_runtime0","JSX","Element","Address","alice","bob","charlie"],"sources":["../../src/test/test-utils.d.ts","../../src/test/react-test-utils.d.ts","../../src/test/test-accounts.d.ts"],"sourcesContent":null,"mappings":";;;;;;cAAqBA,oBAAoBC,cAAcC;cAClCC,oCAAoCD;cACpCE,6BAA6BF;KAC7CD,SAAAA;;;AAHL;;;EAAkD,QAAKC,CAAAA,EAAAA,MAAAA,GAAAA,SAAAA;EAAO;AAC9D;AACA;AAAgE;;;;ACAhE;;EAG6C,eAHHO,CAAAA,EAAAA,OAAAA,GAAAA,SAAAA;EAAQ;;;;AAGL;;;;ACJ7C;EACqBO,kBAAKF,CAAAA,EAAAA,MAAO,GAAA,MAAA,GAAA,SAAA;EACZG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eFkGJZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCnGIG;;;;aACNF;eACEC;MACiBI,kBAAAA,CAAAC,GAAAA,CAAIC;;;;cCJjBE,OAAOD;cACPE,KAAKF;cACLG,SAASH"}
|
package/dist/test/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useEffect } from "react";
|
|
2
|
-
import { WagmiProvider, useConnect } from "wagmi";
|
|
3
1
|
import { exec, execSync, spawn } from "node:child_process";
|
|
4
2
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
3
|
+
import { useEffect } from "react";
|
|
4
|
+
import { WagmiProvider, useConnect } from "wagmi";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/test/test-utils.ts
|
|
@@ -171,5 +171,4 @@ async function getVaultTransactionFeeQuote(client) {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
//#endregion
|
|
174
|
-
export { MAX_VAULT_PRIORITY_FEE_PER_GAS, MAX_VAULT_TRANSACTION_GAS_COST, MIN_VAULT_PRIORITY_FEE_PER_GAS, VaultTransactionFeeEstimationError, VaultTransactionGasCostLimitError, applyVaultTransactionGasCostLimit, bufferVaultTransactionGasEstimate, getVaultTransactionFeeQuote, validateVaultSignedTransactionFeeCaps };
|
|
175
|
-
//# sourceMappingURL=transactionFees-CVi2TrJh.js.map
|
|
174
|
+
export { MAX_VAULT_PRIORITY_FEE_PER_GAS, MAX_VAULT_TRANSACTION_GAS_COST, MIN_VAULT_PRIORITY_FEE_PER_GAS, VaultTransactionFeeEstimationError, VaultTransactionGasCostLimitError, applyVaultTransactionGasCostLimit, bufferVaultTransactionGasEstimate, getVaultTransactionFeeQuote, validateVaultSignedTransactionFeeCaps };
|