Hey everyone,
I’m in a tough situation and hoping the community can help. Short version: created a pool on Base, copied unverified rate providers, the owner upgraded them and now demands 0.05 ETH to withdraw liquidity. About $1,500 stuck.
How it happened:
About 3 weeks ago I was creating a pool and saw another pool with similar tokens. Thought “hey, let me just copy the rate providers from there, why reinvent the wheel”. The contracts were unverified but worked fine - I withdrew liquidity several times without any issues.
Then a few days ago when trying to withdraw, I see this error:
Need to transfer at least 0.05 ether to 0x216E4a5e998c159cDc90374796Fbfa9AA3e283Db to use rate provider again
At first I thought it was phishing or my browser was compromised. But no - the error appears on the actual balancer.fi site before signing any transaction.
What I found out:
Spent several hours investigating. Decompiled the bytecode of these rate providers and realized they’re upgradeable proxy contracts. The owner simply replaced the implementation with a malicious version that demands payment. Classic rug pull via upgrade.
What I tried:
-
All removeLiquidity variants - revert with the same error
-
removeLiquidityRecovery - doesn’t work because pool is not in recovery mode
-
enableRecoveryMode - getting SenderNotAllowed, I don’t have permissions
Details for the team:
Pool: 0x2794AEe6bb42519fe469e406b63f387C1B7e32Ac (Base) Vault: 0xbA1333333333a1BA1108E8412f11850A5C319bA9 My wallet: 0xdF284270c7098D36A1637C4FC711aBc9209f3E34
Malicious rate providers:
-
0xDC91D8066AA60fBF0670EC87a26EE9393c7013A9 -
0xE1dE0dc616C0E00A855260886cc87b4497Cc3165
Question:
Is there a way to activate recovery mode for this pool through governance? That’s the only option I found to bypass the compromised rate providers.
I understand this was my mistake (shouldn’t have copied unverified contracts), but I’d be very grateful for any help. And maybe these rate providers should be flagged somehow so others don’t fall into the same trap.
Thanks!