Skip to content

Commit b3dfdf1

Browse files
authored
Deployment preparation: Protocol Fee Helper V2 (#309)
1 parent 1aae304 commit b3dfdf1

File tree

13 files changed

+890
-2
lines changed

13 files changed

+890
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ Returns an object with all contracts from a deployment and their addresses.
132132
| V3 Stable Surge Hook (V2) | [`20250403-v3-stable-surge-hook-v2`](./v3/tasks/20250403-v3-stable-surge-hook-v2) |
133133
| V3 Vault Explorer V2 | [`20250407-v3-vault-explorer-v2`](./v3/tasks/20250407-v3-vault-explorer-v2) |
134134
| V3 Wrapped BPT Factory | [`20250418-v3-wrapped-bpt`](./v3/tasks/20250418-v3-wrapped-bpt) |
135-
| V3 Protocol Fee Helper | [`20250430-v3-protocol-fee-helper`](./v3/tasks/20250430-v3-protocol-fee-helper) |
136135
| V3 Protocol Fee Percentages Provider | [`20250502-v3-fee-percentages-provider`](./v3/tasks/20250502-v3-fee-percentages-provider) |
137136
| V3 Protocol Fee Sweeper (V2) | [`20250503-v3-protocol-fee-sweeper-v2`](./v3/tasks/20250503-v3-protocol-fee-sweeper-v2) |
138137
| V3 Aggregator Batch Router | [`20250507-v3-aggregator-batch-router`](./v3/tasks/20250507-v3-aggregator-batch-router) |
@@ -143,6 +142,7 @@ Returns an object with all contracts from a deployment and their addresses.
143142
| V3 Weighted LP Oracle | [`20250814-v3-weighted-pool-oracle`](./v3/tasks/20250814-v3-weighted-pool-oracle) |
144143
| V3 Stable LP Oracle | [`20250815-v3-stable-pool-oracle`](./v3/tasks/20250815-v3-stable-pool-oracle) |
145144
| V3 HyperEVM Rate Provider | [`20250828-v3-hyperevm-rate-provider`](./v3/tasks/20250828-v3-hyperevm-rate-provider) |
145+
| V3 Protocol Fee Helper (V2) | [`20250919-v3-protocol-fee-helper-v2`](./v3/tasks/20250919-v3-protocol-fee-helper-v2) |
146146
| V3 Pool Pause Helper (V2) | [`20250919-v3-pool-pause-helper-v2`](./v3/tasks/20250919-v3-pool-pause-helper-v2) |
147147
| V3 Pool Swap Fee Helper (V2) | [`20250919-v3-pool-swap-fee-helper-v2`](./v3/tasks/20250919-v3-pool-swap-fee-helper-v2) |
148148
| Pool Swap Fee Helper | [`20250919-pool-swap-fee-helper`](./v2/tasks/20250919-pool-swap-fee-helper) |
@@ -261,6 +261,7 @@ Go to each deprecated deployment's readme file to learn more about why it is dep
261261
| V3 Stable Pool V2 | [`20250324-v3-stable-pool-v2`](./v3/deprecated/20250324-v3-stable-pool-v2) |
262262
| V3 Stable Surge Pool (V2) | [`20250404-v3-stable-surge-pool-factory-v2`](./v3/deprecated/20250404-v3-stable-surge-pool-factory-v2) |
263263
| V3 ReClamm Pool | [`20250409-v3-reclamm-pool`](./v3/deprecated/20250409-v3-reclamm-pool) |
264+
| V3 Protocol Fee Helper | [`20250430-v3-protocol-fee-helper`](./v3/deprecated/20250430-v3-protocol-fee-helper) |
264265
| V3 Pool Pause Helper | [`20250430-v3-pool-pause-helper`](./v3/deprecated/20250430-v3-pool-pause-helper) |
265266
| V3 Pool Swap Fee Helper | [`20250430-v3-pool-swap-fee-helper`](./v3/deprecated/20250430-v3-pool-swap-fee-helper) |
266267
| V3 ERC4626 Cow Swap Fee Burner | [`20250507-v3-erc4626-cow-swap-fee-burner`](./v3/deprecated/20250507-v3-erc4626-cow-swap-fee-burner) |

v3/tasks/20250430-v3-protocol-fee-helper/artifact/ProtocolFeeHelper.json renamed to v3/deprecated/20250430-v3-protocol-fee-helper/artifact/ProtocolFeeHelper.json

File renamed without changes.

v3/tasks/20250430-v3-protocol-fee-helper/build-info/ProtocolFeeHelper.json renamed to v3/deprecated/20250430-v3-protocol-fee-helper/build-info/ProtocolFeeHelper.json

File renamed without changes.
File renamed without changes.
File renamed without changes.

v3/tasks/20250430-v3-protocol-fee-helper/readme.md renamed to v3/deprecated/20250430-v3-protocol-fee-helper/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 2025-04-30 - V3 Protocol Fee Helper
22

3+
> ⚠️ **DEPRECATED: do not use** ⚠️
4+
>
5+
> This version was superseded by [`ProtocolFeeHelper` V2](../../tasks/20250919-v3-protocol-fee-helper-v2/), which generalizes the implementation to allow multiple, transferrable allowlists. This allows multiple partners to use the same contract, and eases the burden on governance.
6+
37
The Protocol Fee Helper contract enables granular control over the power to set protocol swap and yield fees on pools. It maintains a set of registered pools whose fees can be set by authorized accounts. Governance must first grant this contract permission to set protocol fees, then add a set of pools, and finally grant permission to call the fee setters on the helper contract.
48

59
## Useful Files

v3/tasks/20250430-v3-protocol-fee-helper/test/task.fork.ts renamed to v3/deprecated/20250430-v3-protocol-fee-helper/test/task.fork.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { describeForkTest, getForkedNetwork, Task, TaskMode, impersonate, getSig
66
import { actionId } from '@helpers/models/misc/actions';
77
import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
88

9-
describeForkTest('V3-ProtocolFeeHelper', 'mainnet', 22348940, function () {
9+
describeForkTest.skip('V3-ProtocolFeeHelper', 'mainnet', 22348940, function () {
1010
const TASK_NAME = '20250430-v3-protocol-fee-helper';
1111
const CONTRACT_NAME = 'ProtocolFeeHelper';
1212

0 commit comments

Comments
 (0)