From 74e42bba4d16fe16df67c0627481393e20e46b5c Mon Sep 17 00:00:00 2001 From: Kyle Scott Date: Wed, 20 Sep 2023 10:46:43 -0400 Subject: [PATCH] dir layout --- .../src/decorator/publicActions.ts | 0 .../src/decorator/walletActions.ts | 0 .../getPanopticCollateral.test.ts | 0 .../publicActions/getPanopticCollateral.ts | 0 .../getPanopticCollateralData.test.ts | 0 .../getPanopticCollateralData.ts | 0 .../getPanopticCollateralParameters.test.ts | 0 .../getPanopticCollateralParameters.ts | 0 .../getPanopticCollateralPositionData.test.ts | 0 .../getPanopticCollateralPositionData.ts | 0 .../publicActions/getPanopticFactory.test.ts | 0 .../src/publicActions/getPanopticFactory.ts | 0 .../src/publicActions/getPanopticPool.test.ts | 0 .../src/publicActions/getPanopticPool.ts | 0 .../publicActions/getPanopticPoolData.test.ts | 0 .../src/publicActions/getPanopticPoolData.ts | 0 .../publicActions/getPanopticPosition.test.ts | 0 .../src/publicActions/getPanopticPosition.ts | 0 .../getPanopticPositionData.test.ts | 0 .../publicActions/getPanopticPositionData.ts | 0 packages/panoptic-sdk/src/types.ts | 98 ------------------- .../src/types/PanopticCollateral.ts | 30 ++++++ .../panoptic-sdk/src/types/PanopticFactory.ts | 10 ++ .../panoptic-sdk/src/types/PanopticPool.ts | 24 +++++ .../src/types/PanopticPosition.ts | 33 +++++++ packages/panoptic-sdk/src/types/index.ts | 12 +++ .../src/utils/calculateBurnOptions.test.ts | 0 .../src/utils/calculateBurnOptions.ts | 0 .../src/utils/calculateForceExercise.test.ts | 0 .../src/utils/calculateForceExercise.ts | 0 .../utils/calculateLiquidateAccount.test.ts | 0 .../src/utils/calculateLiquidateAccount.ts | 0 .../src/utils/calculateMintOptions.test.ts | 0 .../src/utils/calculateMintOptions.ts | 0 .../src/utils/calculateRollOptions.test.ts | 0 .../src/utils/calculateRollOptions.ts | 0 .../collateralTracker/calculateBurn.test.ts | 0 .../calculateDeposit.test.ts | 0 .../collateralTracker/calculateDeposit.ts | 0 .../collateralTracker/calculateMint.test.ts | 0 .../utils/collateralTracker/calculateMint.ts | 0 .../collateralTracker/calculateRedeem.ts | 0 .../calculateWithdraw.test.ts | 0 .../collateralTracker/calculateWithdraw.ts | 0 .../collateralTracker/simulateBurn.test.ts | 0 .../collateralTracker/simulateBurn.ts | 0 .../collateralTracker/simulateDeposit.test.ts | 0 .../collateralTracker/simulateDeposit.ts | 0 .../collateralTracker/simulateMint.test.ts | 0 .../collateralTracker/simulateMint.ts | 0 .../simulateWithdraw.test.ts | 0 .../collateralTracker/simulateWithdraw.ts | 0 .../walletActions/simulateBurnOptions.test.ts | 0 .../src/walletActions/simulateBurnOptions.ts | 0 .../simulateForceExercise.test.ts | 0 .../walletActions/simulateForceExercise.ts | 0 .../simulateLiquidateAccount.test.ts | 0 .../walletActions/simulateLiquidateAccount.ts | 0 .../walletActions/simulateMintOptions.test.ts | 0 .../src/walletActions/simulateMintOptions.ts | 0 .../walletActions/simulateRollOptions.test.ts | 0 .../src/walletActions/simulateRollOptions.ts | 0 packages/uniswap-v3-sdk/.gitignore | 1 + 63 files changed, 110 insertions(+), 98 deletions(-) create mode 100644 packages/panoptic-sdk/src/decorator/publicActions.ts create mode 100644 packages/panoptic-sdk/src/decorator/walletActions.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateral.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateral.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateralParameters.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateralParameters.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticFactory.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticFactory.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPool.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPool.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPoolData.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPoolData.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPosition.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPosition.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPositionData.test.ts create mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPositionData.ts delete mode 100644 packages/panoptic-sdk/src/types.ts create mode 100644 packages/panoptic-sdk/src/types/PanopticCollateral.ts create mode 100644 packages/panoptic-sdk/src/types/PanopticFactory.ts create mode 100644 packages/panoptic-sdk/src/types/PanopticPool.ts create mode 100644 packages/panoptic-sdk/src/types/PanopticPosition.ts create mode 100644 packages/panoptic-sdk/src/types/index.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateBurnOptions.test.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateBurnOptions.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateForceExercise.test.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateForceExercise.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateLiquidateAccount.test.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateLiquidateAccount.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateMintOptions.test.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateMintOptions.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateRollOptions.test.ts create mode 100644 packages/panoptic-sdk/src/utils/calculateRollOptions.ts create mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateBurn.test.ts create mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.test.ts create mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.ts create mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.test.ts create mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.ts create mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateRedeem.ts create mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.test.ts create mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.ts create mode 100644 packages/panoptic-sdk/src/walletActions/collateralTracker/simulateBurn.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/collateralTracker/simulateBurn.ts create mode 100644 packages/panoptic-sdk/src/walletActions/collateralTracker/simulateDeposit.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/collateralTracker/simulateDeposit.ts create mode 100644 packages/panoptic-sdk/src/walletActions/collateralTracker/simulateMint.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/collateralTracker/simulateMint.ts create mode 100644 packages/panoptic-sdk/src/walletActions/collateralTracker/simulateWithdraw.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/collateralTracker/simulateWithdraw.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateBurnOptions.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateBurnOptions.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateForceExercise.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateForceExercise.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateLiquidateAccount.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateLiquidateAccount.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateMintOptions.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateMintOptions.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateRollOptions.test.ts create mode 100644 packages/panoptic-sdk/src/walletActions/simulateRollOptions.ts diff --git a/packages/panoptic-sdk/src/decorator/publicActions.ts b/packages/panoptic-sdk/src/decorator/publicActions.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/decorator/walletActions.ts b/packages/panoptic-sdk/src/decorator/walletActions.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateral.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateral.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateral.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateral.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateralParameters.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateralParameters.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateralParameters.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateralParameters.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticFactory.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticFactory.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticFactory.ts b/packages/panoptic-sdk/src/publicActions/getPanopticFactory.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPool.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPool.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPool.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPool.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPoolData.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPoolData.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPoolData.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPoolData.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPosition.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPosition.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPosition.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPosition.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPositionData.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPositionData.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPositionData.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPositionData.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/types.ts b/packages/panoptic-sdk/src/types.ts deleted file mode 100644 index 2fde1f0..0000000 --- a/packages/panoptic-sdk/src/types.ts +++ /dev/null @@ -1,98 +0,0 @@ -import type { - BaseERC20, - ERC20Amount, - ERC1155, - ERC1155Data, - Fraction, - Tuple, -} from "reverse-mirage"; -import type { - UniswapV3Factory, - UniswapV3Pool, - UniswapV3PoolData, - UniswapV3Tick, -} from "uniswap-v3-sdk"; -import type { Address } from "viem"; - -export type PanopticCollateral = BaseERC20<"poERC20"> & { - underlyingToken: BaseERC20; -}; - -export type PanopticFactory = { - type: "panopticFactory"; - address: Address; - owner: Address; - uniswapFactory: UniswapV3Factory; - blockCreated: bigint; -}; - -export type PanopticPool = { - type: "panopticPool"; - uniswapPool: UniswapV3Pool; - factory: PanopticFactory; - collateralTracker0: PanopticCollateral; - collateralTracker1: PanopticCollateral; - address: Address; - blockCreated: bigint; -}; - -export type PanopticCollateralParamters = { - type: "panopticCollateralParameters"; - maintenanceMarginRatio: Fraction; - commissionFee: Fraction; - ITMSpreadFee: Fraction; - sellCollateralRatio: Fraction; - buyCollateralRatio: Fraction; - targetPoolUtilization: Fraction; - saturatedPoolUtilization: Fraction; - exerciseCost: Fraction; -}; - -export type PanopticCollateralPositionData = ERC20Amount & { - // position array -}; - -export type PanopticCollateralData = { - type: "panopticCollateralData"; - collateral: PanopticCollateral; - parameters: PanopticCollateralParamters; - poolAssets: ERC20Amount; - inAmm: ERC20Amount; - totalSupply: ERC20Amount; -}; - -export type PanoptionLeg = { - asset: "token0" | "token1"; - optionRatio: number; - position: "long" | "short"; - riskPartnerIndex: 0 | 1 | 2 | 3; - tickLower: UniswapV3Tick; - tickUpper: UniswapV3Tick; -}; - -export type PanopticPosition = ERC1155 & { - type: "panopticPosition"; - pool: PanopticPool; - owner: Address; - legs: Tuple; -}; - -export type PanopticPositionData = ERC1155Data & { - liquidityAdded: bigint; - liquidityRemoved: bigint; - accountPremiumOwed0: bigint; - accountPremiumOwed1: bigint; - accountPremiumGross0: bigint; - accountPremiumGross1: bigint; - baseFee0: bigint; - baseFee1: bigint; - token0Utilization: Fraction; - token1Utilization: Fraction; -}; - -export type PanopticPoolData = { - type: "panopticPoolData"; - panopticPool: PanopticPool; - uniswapPoolData: UniswapV3PoolData; - collateralTracker0Data: PanopticCollateralData; -}; diff --git a/packages/panoptic-sdk/src/types/PanopticCollateral.ts b/packages/panoptic-sdk/src/types/PanopticCollateral.ts new file mode 100644 index 0000000..4b04c67 --- /dev/null +++ b/packages/panoptic-sdk/src/types/PanopticCollateral.ts @@ -0,0 +1,30 @@ +import type { BaseERC20, ERC20Amount, Fraction } from "reverse-mirage"; + +export type PanopticCollateral = BaseERC20<"poERC20"> & { + underlyingToken: BaseERC20; +}; + +export type PanopticCollateralParamters = { + type: "panopticCollateralParameters"; + maintenanceMarginRatio: Fraction; + commissionFee: Fraction; + ITMSpreadFee: Fraction; + sellCollateralRatio: Fraction; + buyCollateralRatio: Fraction; + targetPoolUtilization: Fraction; + saturatedPoolUtilization: Fraction; + exerciseCost: Fraction; +}; + +export type PanopticCollateralPositionData = ERC20Amount & { + // position array +}; + +export type PanopticCollateralData = { + type: "panopticCollateralData"; + collateral: PanopticCollateral; + parameters: PanopticCollateralParamters; + poolAssets: ERC20Amount; + inAmm: ERC20Amount; + totalSupply: ERC20Amount; +}; diff --git a/packages/panoptic-sdk/src/types/PanopticFactory.ts b/packages/panoptic-sdk/src/types/PanopticFactory.ts new file mode 100644 index 0000000..db152b2 --- /dev/null +++ b/packages/panoptic-sdk/src/types/PanopticFactory.ts @@ -0,0 +1,10 @@ +import type { UniswapV3Factory } from "uniswap-v3-sdk"; +import type { Address } from "viem/accounts"; + +export type PanopticFactory = { + type: "panopticFactory"; + address: Address; + owner: Address; + uniswapFactory: UniswapV3Factory; + blockCreated: bigint; +}; diff --git a/packages/panoptic-sdk/src/types/PanopticPool.ts b/packages/panoptic-sdk/src/types/PanopticPool.ts new file mode 100644 index 0000000..a22fab9 --- /dev/null +++ b/packages/panoptic-sdk/src/types/PanopticPool.ts @@ -0,0 +1,24 @@ +import type { UniswapV3Pool, UniswapV3PoolData } from "uniswap-v3-sdk"; +import type { Address } from "viem/accounts"; +import type { + PanopticCollateral, + PanopticCollateralData, +} from "./PanopticCollateral.js"; +import type { PanopticFactory } from "./PanopticFactory.js"; + +export type PanopticPool = { + type: "panopticPool"; + uniswapPool: UniswapV3Pool; + factory: PanopticFactory; + collateralTracker0: PanopticCollateral; + collateralTracker1: PanopticCollateral; + address: Address; + blockCreated: bigint; +}; + +export type PanopticPoolData = { + type: "panopticPoolData"; + panopticPool: PanopticPool; + uniswapPoolData: UniswapV3PoolData; + collateralTracker0Data: PanopticCollateralData; +}; diff --git a/packages/panoptic-sdk/src/types/PanopticPosition.ts b/packages/panoptic-sdk/src/types/PanopticPosition.ts new file mode 100644 index 0000000..da53912 --- /dev/null +++ b/packages/panoptic-sdk/src/types/PanopticPosition.ts @@ -0,0 +1,33 @@ +import type { ERC1155, ERC1155Data, Fraction, Tuple } from "reverse-mirage"; +import type { UniswapV3Tick } from "uniswap-v3-sdk"; +import type { Address } from "viem/accounts"; +import type { PanopticPool } from "./PanopticPool.js"; + +type PanoptionLeg = { + asset: "token0" | "token1"; + optionRatio: number; + position: "long" | "short"; + riskPartnerIndex: 0 | 1 | 2 | 3; + tickLower: UniswapV3Tick; + tickUpper: UniswapV3Tick; +}; + +export type PanopticPosition = ERC1155 & { + type: "panopticPosition"; + pool: PanopticPool; + owner: Address; + legs: Tuple; +}; + +export type PanopticPositionData = ERC1155Data & { + liquidityAdded: bigint; + liquidityRemoved: bigint; + accountPremiumOwed0: bigint; + accountPremiumOwed1: bigint; + accountPremiumGross0: bigint; + accountPremiumGross1: bigint; + baseFee0: bigint; + baseFee1: bigint; + token0Utilization: Fraction; + token1Utilization: Fraction; +}; diff --git a/packages/panoptic-sdk/src/types/index.ts b/packages/panoptic-sdk/src/types/index.ts new file mode 100644 index 0000000..3d50d1f --- /dev/null +++ b/packages/panoptic-sdk/src/types/index.ts @@ -0,0 +1,12 @@ +export type { + PanopticCollateral, + PanopticCollateralData, + PanopticCollateralParamters, + PanopticCollateralPositionData, +} from "./PanopticCollateral.js"; +export type { PanopticFactory } from "./PanopticFactory.js"; +export type { PanopticPool, PanopticPoolData } from "./PanopticPool.js"; +export type { + PanopticPosition, + PanopticPositionData, +} from "./PanopticPosition.js"; diff --git a/packages/panoptic-sdk/src/utils/calculateBurnOptions.test.ts b/packages/panoptic-sdk/src/utils/calculateBurnOptions.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateBurnOptions.ts b/packages/panoptic-sdk/src/utils/calculateBurnOptions.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateForceExercise.test.ts b/packages/panoptic-sdk/src/utils/calculateForceExercise.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateForceExercise.ts b/packages/panoptic-sdk/src/utils/calculateForceExercise.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateLiquidateAccount.test.ts b/packages/panoptic-sdk/src/utils/calculateLiquidateAccount.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateLiquidateAccount.ts b/packages/panoptic-sdk/src/utils/calculateLiquidateAccount.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateMintOptions.test.ts b/packages/panoptic-sdk/src/utils/calculateMintOptions.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateMintOptions.ts b/packages/panoptic-sdk/src/utils/calculateMintOptions.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateRollOptions.test.ts b/packages/panoptic-sdk/src/utils/calculateRollOptions.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/calculateRollOptions.ts b/packages/panoptic-sdk/src/utils/calculateRollOptions.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateBurn.test.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateBurn.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.test.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.test.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateRedeem.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateRedeem.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.test.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateBurn.test.ts b/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateBurn.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateBurn.ts b/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateBurn.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateDeposit.test.ts b/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateDeposit.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateDeposit.ts b/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateDeposit.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateMint.test.ts b/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateMint.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateMint.ts b/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateMint.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateWithdraw.test.ts b/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateWithdraw.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateWithdraw.ts b/packages/panoptic-sdk/src/walletActions/collateralTracker/simulateWithdraw.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateBurnOptions.test.ts b/packages/panoptic-sdk/src/walletActions/simulateBurnOptions.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateBurnOptions.ts b/packages/panoptic-sdk/src/walletActions/simulateBurnOptions.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateForceExercise.test.ts b/packages/panoptic-sdk/src/walletActions/simulateForceExercise.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateForceExercise.ts b/packages/panoptic-sdk/src/walletActions/simulateForceExercise.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateLiquidateAccount.test.ts b/packages/panoptic-sdk/src/walletActions/simulateLiquidateAccount.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateLiquidateAccount.ts b/packages/panoptic-sdk/src/walletActions/simulateLiquidateAccount.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateMintOptions.test.ts b/packages/panoptic-sdk/src/walletActions/simulateMintOptions.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateMintOptions.ts b/packages/panoptic-sdk/src/walletActions/simulateMintOptions.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateRollOptions.test.ts b/packages/panoptic-sdk/src/walletActions/simulateRollOptions.test.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/panoptic-sdk/src/walletActions/simulateRollOptions.ts b/packages/panoptic-sdk/src/walletActions/simulateRollOptions.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/uniswap-v3-sdk/.gitignore b/packages/uniswap-v3-sdk/.gitignore index 96c5d5d..b40d29a 100644 --- a/packages/uniswap-v3-sdk/.gitignore +++ b/packages/uniswap-v3-sdk/.gitignore @@ -13,3 +13,4 @@ src/generated.ts # build dist/ coverage/ +.DS_Store