From bfe97fe8e7622725c59e5a02d470b037898762ba Mon Sep 17 00:00:00 2001 From: Tom French Date: Fri, 25 Nov 2022 18:34:04 +0000 Subject: [PATCH] chore: deprecate 20220906-composable-stable-pool --- pkg/deployments/README.md | 2 +- .../tasks/deprecated/20211208-stable-phantom-pool/readme.md | 2 +- .../abi/ComposableStablePool.json | 0 .../abi/ComposableStablePoolFactory.json | 0 .../build-info/ComposableStablePoolFactory.json | 0 .../bytecode/ComposableStablePool.json | 0 .../bytecode/ComposableStablePoolFactory.json | 0 .../{ => deprecated}/20220906-composable-stable-pool/index.ts | 4 ++-- .../{ => deprecated}/20220906-composable-stable-pool/input.ts | 2 +- .../20220906-composable-stable-pool/output/arbitrum.json | 0 .../20220906-composable-stable-pool/output/goerli.json | 0 .../20220906-composable-stable-pool/output/mainnet.json | 0 .../20220906-composable-stable-pool/output/optimism.json | 0 .../20220906-composable-stable-pool/output/polygon.json | 0 .../20220906-composable-stable-pool/readme.md | 4 ++++ 15 files changed, 9 insertions(+), 5 deletions(-) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/abi/ComposableStablePool.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/abi/ComposableStablePoolFactory.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/build-info/ComposableStablePoolFactory.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/bytecode/ComposableStablePool.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/bytecode/ComposableStablePoolFactory.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/index.ts (80%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/input.ts (87%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/output/arbitrum.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/output/goerli.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/output/mainnet.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/output/optimism.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/output/polygon.json (100%) rename pkg/deployments/tasks/{ => deprecated}/20220906-composable-stable-pool/readme.md (67%) diff --git a/pkg/deployments/README.md b/pkg/deployments/README.md index ce3b090919..f3acb26c90 100644 --- a/pkg/deployments/README.md +++ b/pkg/deployments/README.md @@ -93,7 +93,6 @@ Returns an object with all contracts from a deployment and their addresses. | Protocol fee percentages provider | [`20220725-protocol-fee-percentages-provider`](./tasks/20220725-protocol-fee-percentages-provider) | | Child Chain Gauge Reward Helper | [`20220812-child-chain-reward-helper`](./tasks/20220812-child-chain-reward-helper) | | Linear Pools for Aave aTokens with built-in rebalancing | [`20220817-aave-rebalanced-linear-pool`](./tasks/20220817-aave-rebalanced-linear-pool) | -| Composable Stable Pools | [`20220906-composable-stable-pool`](./tasks/20220906-composable-stable-pool) | ## Scripts @@ -132,3 +131,4 @@ Go to each deprecated deployment's readme file to learn more about why it is dep | Linear Pools for ERC4626 Tokens | [`20220304-erc4626-linear-pool`](./tasks/deprecated/20220304-erc4626-linear-pool) | | Batch Relayer V2 | [`20220318-batch-relayer-v2`](./tasks/deprecated/20220318-batch-relayer-v2) | | Fee Distributor for veBAL holders | [`20220420-fee-distributor`](./tasks/deprecated/20220420-fee-distributor) | +| Composable Stable Pools | [`20220906-composable-stable-pool`](./tasks/deprecated/20220906-composable-stable-pool) | diff --git a/pkg/deployments/tasks/deprecated/20211208-stable-phantom-pool/readme.md b/pkg/deployments/tasks/deprecated/20211208-stable-phantom-pool/readme.md index 74cbfd0aa0..5ae90d4d8d 100644 --- a/pkg/deployments/tasks/deprecated/20211208-stable-phantom-pool/readme.md +++ b/pkg/deployments/tasks/deprecated/20211208-stable-phantom-pool/readme.md @@ -2,7 +2,7 @@ > ⚠️ **DEPRECATED: do not use** ⚠️ > -> This factory and associated Pools have been deprecated due to numerical issues when one of the token depegs. Use this [updated version](../../20220906-composable-stable-pool) instead. +> This factory and associated Pools have been deprecated due to numerical issues when one of the token depegs. Use this [updated version](../../20221122-composable-stable-pool-v2) instead. Deployment of the `StablePhantomPoolFactory`, for Meta Stable Pools with preminted BPT of up to 4 tokens. diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/abi/ComposableStablePool.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/abi/ComposableStablePool.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/abi/ComposableStablePool.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/abi/ComposableStablePool.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/abi/ComposableStablePoolFactory.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/abi/ComposableStablePoolFactory.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/abi/ComposableStablePoolFactory.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/abi/ComposableStablePoolFactory.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/build-info/ComposableStablePoolFactory.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/build-info/ComposableStablePoolFactory.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/build-info/ComposableStablePoolFactory.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/build-info/ComposableStablePoolFactory.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/bytecode/ComposableStablePool.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/bytecode/ComposableStablePool.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/bytecode/ComposableStablePool.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/bytecode/ComposableStablePool.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/bytecode/ComposableStablePoolFactory.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/bytecode/ComposableStablePoolFactory.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/bytecode/ComposableStablePoolFactory.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/bytecode/ComposableStablePoolFactory.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/index.ts b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/index.ts similarity index 80% rename from pkg/deployments/tasks/20220906-composable-stable-pool/index.ts rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/index.ts index 096d7f31d4..c6a9264e53 100644 --- a/pkg/deployments/tasks/20220906-composable-stable-pool/index.ts +++ b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/index.ts @@ -1,5 +1,5 @@ -import Task from '../../src/task'; -import { TaskRunOptions } from '../../src/types'; +import Task from '../../../src/task'; +import { TaskRunOptions } from '../../../src/types'; import { ComposableStablePoolDeployment } from './input'; export default async (task: Task, { force, from }: TaskRunOptions = {}): Promise => { diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/input.ts b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/input.ts similarity index 87% rename from pkg/deployments/tasks/20220906-composable-stable-pool/input.ts rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/input.ts index e13b794f33..b0cdca1070 100644 --- a/pkg/deployments/tasks/20220906-composable-stable-pool/input.ts +++ b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/input.ts @@ -1,4 +1,4 @@ -import Task, { TaskMode } from '../../src/task'; +import Task, { TaskMode } from '../../../src/task'; export type ComposableStablePoolDeployment = { Vault: string; diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/output/arbitrum.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/arbitrum.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/output/arbitrum.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/arbitrum.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/output/goerli.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/goerli.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/output/goerli.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/goerli.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/output/mainnet.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/mainnet.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/output/mainnet.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/mainnet.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/output/optimism.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/optimism.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/output/optimism.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/optimism.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/output/polygon.json b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/polygon.json similarity index 100% rename from pkg/deployments/tasks/20220906-composable-stable-pool/output/polygon.json rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/output/polygon.json diff --git a/pkg/deployments/tasks/20220906-composable-stable-pool/readme.md b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/readme.md similarity index 67% rename from pkg/deployments/tasks/20220906-composable-stable-pool/readme.md rename to pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/readme.md index f5e157bb8a..02c3942436 100644 --- a/pkg/deployments/tasks/20220906-composable-stable-pool/readme.md +++ b/pkg/deployments/tasks/deprecated/20220906-composable-stable-pool/readme.md @@ -1,5 +1,9 @@ # 2022-09-06 - Composable Stable Pool +> ⚠️ **DEPRECATED: do not use** ⚠️ +> +> This factory and associated Pools have been deprecated in favor of a new version that supports proportional joins and exits. Use this [updated version](../../20221122-composable-stable-pool-v2) instead. + Deployment of `ComposableStablePoolFactory`, which allows creating Stable Pools that are suitable to be included in other Pools. ## Useful Files