BalancerMaxis / protocol_fee_allocator

4 stars 2 forks source link

ECLP / Gyro Fee Split #264

Open Xeonus opened 1 month ago

Xeonus commented 1 month ago

Ariah from Gyro has expressed the desire to evaluate "how hard" it would be for us to split fees on ECLP pools. The reason being because Gyro governance is not fully set up yet, they can't vote in their fee collector destination address and turn on the fee switch. Therefore, they want to know if we could collect fees on their behalf and send it to a target (or hold it)

IMPORTANT: likely needs Balancer governance approval before go-live first

Specifications

A pool would qualify if

If that is the case, then fees should be

Example pool

To achieve this, we would need to adjust the fee allocator code base so that first a fee split would be defined and only afterwards we would do the classical fee distribution to core pools, the DAO and veBAL holders. Additionally, the payload would be needed to be adjusted to send Gyro fee split to a target address.