Skip to content

Commit

Permalink
Cleanup: Deprecate linear pools and child chain gauges V1 (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
jubeira authored May 22, 2024
1 parent 25fdc17 commit e3d88d0
Show file tree
Hide file tree
Showing 136 changed files with 118 additions and 71 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ jobs:
FRAXTAL_RPC_ENDPOINT: ${{ secrets.FRAXTAL_RPC_ENDPOINT }}
SEPOLIA_RPC_ENDPOINT: ${{ secrets.SEPOLIA_RPC_ENDPOINT }}
- name: Test
run: yarn test
run: yarn test --bail
20 changes: 15 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,26 @@

### Deprecations

- Deprecated all linear pool types:
- `20230206-aave-rebalanced-linear-pool-v4`.
- `20230206-erc4626-linear-pool-v3`.
- `20230208-euler-linear-pool`
- `20230213-gearbox-linear-pool`.
- `20230213-yearn-linear-pool`.
- `20230315-silo-linear-pool`.
- `20230409-erc4626-linear-pool-v4`.
- `20230409-gearbox-linear-pool-v2`.
- `20230409-yearn-linear-pool-v2`.
- `20230410-aave-linear-pool-v5`
- `20230410-silo-linear-pool-v2`
- Deprecated `20220413-child-chain-gauge-factory`.
- Deprecated `20220527-child-chain-gauge-token-adder`.
- Deprecated `20220812-child-chain-reward-helper`.
- Deprecated `20221202-timelock-authorizer`.
- Deprecated `20220916-batch-relayer-v4`.
- Deprecated `20230109-gauge-adder-v3`.
- Deprecated `20230206-aave-rebalanced-linear-pool-v4`.
- Deprecated `20230206-composable-stable-pool-v3`.
- Deprecated `20230206-erc4626-linear-pool-v3`.
- Deprecated `20230206-weighted-pool-v3`.
- Deprecated `20230213-gearbox-linear-pool`.
- Deprecated `20230213-yearn-linear-pool`.
- Deprecated `20230315-silo-linear-pool`.
- Deprecated `20230320-composable-stable-pool-v4`.
- Deprecated `20230316-avax-l2-balancer-pseudo-minter` and `20230316-avax-child-chain-gauge-factory-v2` (initial version for `L2BalancerPseudoMinter` and `ChildChainGaugeFactory` for Avalanche).
- Deprecated `20230527-l2-gauge-checkpointer`.
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,25 +77,21 @@ Returns an object with all contracts from a deployment and their addresses.
| Liquidity Mining: veBAL, Gauge Controller and Minter | [`20220325-gauge-controller`](./tasks/20220325-gauge-controller) |
| Test Balancer Token | [`20220325-test-balancer-token`](./tasks/20220325-test-balancer-token) |
| Delegation of veBAL boosts | [`20220325-ve-delegation`](./tasks/20220325-ve-delegation) |
| Gauges on child networks (L2s and sidechains) | [`20220413-child-chain-gauge-factory`](./tasks/20220413-child-chain-gauge-factory) |
| veBAL Smart Wallet Checker | [`20220420-smart-wallet-checker`](./tasks/20220420-smart-wallet-checker) |
| Relayer with the fix for the Double Entrypoint issue | [`20220513-double-entrypoint-fix-relayer`](./tasks/20220513-double-entrypoint-fix-relayer) |
| Protocol Fee Withdrawer | [`20220517-protocol-fee-withdrawer`](./tasks/20220517-protocol-fee-withdrawer) |
| Child Chain Gauge Token Adder | [`20220527-child-chain-gauge-token-adder`](./tasks/20220527-child-chain-gauge-token-adder) |
| Preseeded Voting Escrow Delegation | [`20220530-preseeded-voting-escrow-delegation`](./tasks/20220530-preseeded-voting-escrow-delegation) |
| Distribution Scheduler for reward tokens on gauges | [`20220707-distribution-scheduler`](./tasks/20220707-distribution-scheduler) |
| Fee Distributor for veBAL holders V2 | [`20220714-fee-distributor-v2`](./tasks/20220714-fee-distributor-v2) |
| Swap, join and exit simulations (queries) | [`20220721-balancer-queries`](./tasks/20220721-balancer-queries) |
| 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) |
| Mainnet Staking Gauges V2 | [`20220822-mainnet-gauge-factory-v2`](./tasks/20220822-mainnet-gauge-factory-v2) |
| Arbitrum Root Gauges V2, for veBAL voting | [`20220823-arbitrum-root-gauge-factory-v2`](./tasks/20220823-arbitrum-root-gauge-factory-v2) |
| Optimism Root Gauges V2, for veBAL voting | [`20220823-optimism-root-gauge-factory-v2`](./tasks/20220823-optimism-root-gauge-factory-v2) |
| Polygon Root Gauges V2, for veBAL voting | [`20220823-polygon-root-gauge-factory-v2`](./tasks/20220823-polygon-root-gauge-factory-v2) |
| Pool Recovery Helper | [`20221123-pool-recovery-helper`](./tasks/20221123-pool-recovery-helper) |
| Authorizer Adaptor Entrypoint | [`20221124-authorizer-adaptor-entrypoint`](./tasks/20221124-authorizer-adaptor-entrypoint) |
| VeBoost V2 | [`20221205-veboost-v2`](./tasks/20221205-veboost-v2) |
| Linear Pools for Euler Tokens | [`20230208-euler-linear-pool`](./tasks/20230208-euler-linear-pool) |
| Single Recipient Stakeless Gauges V2 | [`20230215-single-recipient-gauge-factory`](./tasks/20230215-single-recipient-gauge-factory-v2) |
| Gnosis Root Gauge, for veBAL voting | [`20230217-gnosis-root-gauge-factory`](./tasks/20230217-gnosis-root-gauge-factory) |
| Merkle Orchard Distributor V2 | [`20230222-merkle-orchard-v2`](./tasks/20230222-merkle-orchard-v2) |
Expand All @@ -105,11 +101,6 @@ Returns an object with all contracts from a deployment and their addresses.
| L2 Voting Escrow Delegation Proxy | [`20230316-l2-ve-delegation-proxy`](./tasks/20230316-l2-ve-delegation-proxy) |
| Weighted Pool V4 | [`20230320-weighted-pool-v4`](./tasks/20230320-weighted-pool-v4) |
| L2 Layer0 Bridge Forwarder | [`20230404-l2-layer0-bridge-forwarder`](./tasks/20230404-l2-layer0-bridge-forwarder) |
| Linear Pools for ERC4626 Tokens V4 | [`20230409-erc4626-linear-pool-v4`](./tasks/20230409-erc4626-linear-pool-v4) |
| Linear Pools for Yearn Tokens V2 | [`20230409-yearn-linear-pool-v2`](./tasks/20230409-yearn-linear-pool-v2) |
| Linear Pools for Gearbox Tokens V2 | [`20230409-gearbox-linear-pool-v2`](./tasks/20230409-gearbox-linear-pool-v2) |
| Linear Pools for Aave aTokens V5 | [`20230410-aave-linear-pool-v5`](./tasks/20230410-aave-linear-pool-v5) |
| Linear Pools for Silo Tokens V2 | [`20230410-silo-linear-pool-v2`](./tasks/20230410-silo-linear-pool-v2) |
| Managed Pool V2 | [`20230411-managed-pool-v2`](./tasks/20230411-managed-pool-v2) |
| Authorizer with Adaptor Validation | [`20230414-authorizer-wrapper`](./tasks/20230414-authorizer-wrapper) |
| Voting Escrow Remapper | [`20230504-vebal-remapper`](./tasks/20230504-vebal-remapper) |
Expand Down Expand Up @@ -171,10 +162,13 @@ Go to each deprecated deployment's readme file to learn more about why it is dep
| Single Recipient Stakeless Gauges | [`20220325-single-recipient-gauge-factory`](./tasks/deprecated/20220325-single-recipient-gauge-factory) |
| Gauge Registrant | [`20220325-gauge-adder`](./tasks/deprecated/20220325-gauge-adder) |
| Linear Pools for ERC4626 Tokens V2 | [`20220404-erc4626-linear-pool-v2`](./tasks/deprecated/20220404-erc4626-linear-pool-v2) |
| Gauges on child networks (L2s and sidechains) | [`20220413-child-chain-gauge-factory`](./tasks/deprecated/20220413-child-chain-gauge-factory) |
| Arbitrum Root Gauges, for veBAL voting | [`20220413-arbitrum-root-gauge-factory`](./tasks/deprecated/20220413-arbitrum-root-gauge-factory) |
| Polygon Root Gauges, for veBAL voting | [`20220413-polygon-root-gauge-factory`](./tasks/deprecated/20220413-polygon-root-gauge-factory) |
| Fee Distributor for veBAL holders | [`20220420-fee-distributor`](./tasks/deprecated/20220420-fee-distributor) |
| Linear Pools for Unbutton tokens | [`20220425-unbutton-aave-linear-pool`](./tasks/deprecated/20220425-unbutton-aave-linear-pool) |
| Child Chain Gauge Token Adder | [`20220527-child-chain-gauge-token-adder`](./tasks/deprecated/20220527-child-chain-gauge-token-adder) |
| Child Chain Gauge Reward Helper | [`20220812-child-chain-reward-helper`](./tasks/deprecated/20220812-child-chain-reward-helper) |
| Stable Pools V2 of up to 5 tokens | [`20220609-stable-pool-v2`](./tasks/deprecated/20220609-stable-pool-v2) |
| Optimism Root Gauges, for veBAL voting | [`20220628-optimism-root-gauge-factory`](./tasks/deprecated/20220628-optimism-root-gauge-factory) |
| Gauge Registrant V2, supporting new networks | [`20220628-gauge-adder-v2`](./tasks/deprecated/20220628-gauge-adder-v2) |
Expand All @@ -189,6 +183,7 @@ Go to each deprecated deployment's readme file to learn more about why it is dep
| Gauge Registrant V3 | [`20230109-gauge-adder-v3`](./tasks/deprecated/20230109-gauge-adder-v3) |
| Weighted Pool V3 | [`20230206-weighted-pool-v3`](./tasks/deprecated/20230206-weighted-pool-v3) |
| Composable Stable Pools V3 | [`20230206-composable-stable-pool-v3`](./tasks/deprecated/20230206-composable-stable-pool-v3) |
| Linear Pools for Euler Tokens | [`20230208-euler-linear-pool`](./tasks/deprecated/20230208-euler-linear-pool) |
| Timelock Authorizer, governance contract | [`20221202-timelock-authorizer`](./tasks/deprecated/20221202-timelock-authorizer) |
| Linear Pools for ERC4626 Tokens V3 | [`20230206-erc4626-linear-pool-v3`](./tasks/deprecated/20230206-erc4626-linear-pool-v3) |
| Linear Pools for Aave aTokens (with rebalancing) V4 | [`20230206-aave-rebalanced-linear-pool-v4`](./tasks/deprecated/20230206-aave-rebalanced-linear-pool-v4) |
Expand All @@ -197,6 +192,11 @@ Go to each deprecated deployment's readme file to learn more about why it is dep
| Batch Relayer V5 | [`20230314-batch-relayer-v5`](./tasks/deprecated/20230314-batch-relayer-v5) |
| Linear Pools for Silo Tokens | [`20230315-silo-linear-pool`](./tasks/deprecated/20230315-silo-linear-pool) |
| Composable Stable Pools V4 | [`20230320-composable-stable-pool-v4`](./tasks/deprecated/20230320-composable-stable-pool-v4) |
| Linear Pools for ERC4626 Tokens V4 | [`20230409-erc4626-linear-pool-v4`](./tasks/deprecated/20230409-erc4626-linear-pool-v4) |
| Linear Pools for Yearn Tokens V2 | [`20230409-yearn-linear-pool-v2`](./tasks/deprecated/20230409-yearn-linear-pool-v2) |
| Linear Pools for Gearbox Tokens V2 | [`20230409-gearbox-linear-pool-v2`](./tasks/deprecated/20230409-gearbox-linear-pool-v2) |
| Linear Pools for Aave aTokens V5 | [`20230410-aave-linear-pool-v5`](./tasks/deprecated/20230410-aave-linear-pool-v5) |
| Linear Pools for Silo Tokens V2 | [`20230410-silo-linear-pool-v2`](./tasks/deprecated/20230410-silo-linear-pool-v2) |
| L2 Gauge Checkpointer | [`20230527-l2-gauge-checkpointer`](./tasks/deprecated/20230527-l2-gauge-checkpointer) |
| Avalanche Root Gauge, for veBAL voting | [`20230529-avalanche-root-gauge-factory`](./tasks/deprecated/20230529-avalanche-root-gauge-factory) |
| Composable Stable Pools V5 | [`20230711-composable-stable-pool-v5`](./tasks/deprecated/20230711-composable-stable-pool-v5) |
Expand Down
12 changes: 6 additions & 6 deletions addresses/arbitrum.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
"address": "0xb08E16cFc07C684dAA2f93C70323BAdb2A6CBFd2"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220425-unbutton-aave-linear-pool": {
"contracts": [
Expand Down Expand Up @@ -227,7 +227,7 @@
"address": "0xbfD9769b061E57e478690299011A028194D66e3C"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220609-stable-pool-v2": {
"contracts": [
Expand Down Expand Up @@ -276,7 +276,7 @@
"address": "0xA0DAbEBAAd1b243BBb243f933013d560819eB66f"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220817-aave-rebalanced-linear-pool": {
"contracts": [
Expand Down Expand Up @@ -584,7 +584,7 @@
"address": "0x3f53A862919ccFA023CB6AcE91378a79Fb0F6Bf5"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230409-yearn-linear-pool-v2": {
"contracts": [
Expand All @@ -601,7 +601,7 @@
"address": "0x1Fa7F727934226aedaB636D62a084931b97d366b"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230410-aave-linear-pool-v5": {
"contracts": [
Expand All @@ -622,7 +622,7 @@
"address": "0x19b1C92631405A0a9495ccbA0BeCF4f2e8e908bD"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230411-managed-pool-v2": {
"contracts": [
Expand Down
6 changes: 3 additions & 3 deletions addresses/avalanche.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"address": "0x2E96068b3D5B5BAE3D7515da4A1D2E52d08A2647"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220916-batch-relayer-v4": {
"contracts": [
Expand Down Expand Up @@ -252,7 +252,7 @@
"address": "0xEd3E2F496cbCd8e212192fb8D1499842f04A0D19"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230410-aave-linear-pool-v5": {
"contracts": [
Expand All @@ -273,7 +273,7 @@
"address": "0xA826a114B0c7dB4d1FF4a4BE845a78998c64564C"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230411-managed-pool-v2": {
"contracts": [
Expand Down
8 changes: 4 additions & 4 deletions addresses/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
"address": "0x1CC2E10C486Ffb7228810B9c7C183d0CD92cdF44"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230409-gearbox-linear-pool-v2": {
"contracts": [
Expand All @@ -216,7 +216,7 @@
"address": "0x3c28a59356B473847AAa5e0b6F561636079213A6"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230409-yearn-linear-pool-v2": {
"contracts": [
Expand All @@ -233,7 +233,7 @@
"address": "0x369877467FC3B6774DE4E11E0c0AbBdE70Eb40FD"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230410-aave-linear-pool-v5": {
"contracts": [
Expand All @@ -254,7 +254,7 @@
"address": "0x712e23a9B91Aa30EE7997d1c7a1a285d4C7912D1"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230411-managed-pool-v2": {
"contracts": [
Expand Down
2 changes: 1 addition & 1 deletion addresses/bsc.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
"address": "0x2Ba5fd37e71Ab2633602553BE7ad5A377D7ED31A"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230411-managed-pool-v2": {
"contracts": [
Expand Down
8 changes: 4 additions & 4 deletions addresses/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"address": "0x809B79b53F18E9bc08A961ED4678B901aC93213a"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220425-unbutton-aave-linear-pool": {
"contracts": [
Expand All @@ -94,7 +94,7 @@
"address": "0x1802953277FD955f9a254B80Aa0582f193cF1d77"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220609-stable-pool-v2": {
"contracts": [
Expand Down Expand Up @@ -130,7 +130,7 @@
"address": "0xf7D5DcE55E6D47852F054697BAB6A1B48A00ddbd"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220908-weighted-pool-v2": {
"contracts": [
Expand Down Expand Up @@ -364,7 +364,7 @@
"address": "0x1AC55C31DaC78ca943CB8ebfCa5945ce09e036e2"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230411-managed-pool-v2": {
"contracts": [
Expand Down
12 changes: 6 additions & 6 deletions addresses/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@
"address": "0xDEC02e6642e2c999aF429F5cE944653CAd15e093"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230213-gearbox-linear-pool": {
"contracts": [
Expand Down Expand Up @@ -943,7 +943,7 @@
"address": "0x9516a2d25958EdB8da246a320f2c7d94A0DBe25d"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230409-gearbox-linear-pool-v2": {
"contracts": [
Expand All @@ -964,7 +964,7 @@
"address": "0x0d05Aac44aC7Dd3c7ba5d50Be93EB884A057d234"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230409-yearn-linear-pool-v2": {
"contracts": [
Expand All @@ -981,7 +981,7 @@
"address": "0xAC5B4EF7eDe2F2843a704E96dcAA637F4BA3Dc3f"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230410-aave-linear-pool-v5": {
"contracts": [
Expand All @@ -1002,7 +1002,7 @@
"address": "0x4cE277Df0FeB5B4d07a0ca2ADCf5326E4005239d"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230410-silo-linear-pool-v2": {
"contracts": [
Expand All @@ -1027,7 +1027,7 @@
"address": "0x74CBfAF94A3577c539a9dCEE9870A6349a33b34f"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230411-managed-pool-v2": {
"contracts": [
Expand Down
12 changes: 6 additions & 6 deletions addresses/optimism.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"address": "0x2E96068b3D5B5BAE3D7515da4A1D2E52d08A2647"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220425-unbutton-aave-linear-pool": {
"contracts": [
Expand Down Expand Up @@ -138,7 +138,7 @@
"address": "0x6f5a2eE11E7a772AeB5114A20d0D7c0ff61EB8A0"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220609-stable-pool-v2": {
"contracts": [
Expand Down Expand Up @@ -196,7 +196,7 @@
"address": "0x8aB784368A1883DA90D8513b48801e2Db1cb2D5D"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20220817-aave-rebalanced-linear-pool": {
"contracts": [
Expand Down Expand Up @@ -495,7 +495,7 @@
"address": "0x2DA61Ef3Cdcb97efb0f7099c02527fabFe94Dee5"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230409-yearn-linear-pool-v2": {
"contracts": [
Expand All @@ -512,7 +512,7 @@
"address": "0x34557eF500Bfc060B8e3f2DA58EF725Bb7D32202"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230410-aave-linear-pool-v5": {
"contracts": [
Expand All @@ -533,7 +533,7 @@
"address": "0x45d37982784F022A9864748b4E8750e1e7019604"
}
],
"status": "ACTIVE"
"status": "DEPRECATED"
},
"20230411-managed-pool-v2": {
"contracts": [
Expand Down
Loading

0 comments on commit e3d88d0

Please sign in to comment.