FeedProjects
Developers
Settings
🎉 A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
Balancer

Proposals

Discussions

Members

Information

Create Proposal

Balancer

ProposalsDiscussionsMembersInformation
Proposal
Back to Proposals
closedEnded 3 years ago · Snapshot (Offchain)

[BIP-142] Permission Granting - Recovery Mode - ComposableStable-V2

By 0x7019...998516

Summary

Authorize the PoolRecoveryHelper contract to put ComposableStable-V2 pools in Recovery Mode. This proposal is follow up to the original to cover the additional pool factory.

Motivation

It has recently come to our attention that rate providers can cause some operations to revert if the call to getRate reverts. This goes undetected by most order routing algorithms, which assume rates change slowly and only use the pool’s internal rate cache for estimating the expected outputs of a transaction.

In order to prevent pools with faulty rate providers from interfering with order routing algorithms, Balancer Labs has developed the PoolRecoveryHelper, a smart contract which performs checks on all rate providers of a given pool and puts the pool into Recovery Mode if one of the rate providers reverts.

The notion of Recovery Mode was introduced in recent pool factories. Only addresses authorized by Balancer Governance can put pools in Recovery Mode.

When a pool enters Recovery Mode, any protocol fees it owes at that time are forfeited and a new exit kind is enabled, that bypasses updating the rate cache.

When a pool is put in Recovery Mode, this fact is recorded in the subgraph and order routing algorithms can ignore the pool.

The PoolRecoveryHelper contract is permissionless. Anyone can trigger a check, but the pool will only be put in Recovery Mode in the event that the rate provider required for that pool to work properly reverts.

The contract can only interact with pools deployed from a set of factories. This set will now include the ComposableStable-V2 pool factory deployed in December. See this previous proposal where Balancer Labs was granted the ability to add/remove factories from this set, given the governance decision to do so.

Specification

Grant the following roles to the PoolRecoveryHelpers on each network

Expand Table

NetworkPoolFunctionRole (action ID)PoolRecoveryHelper
MainnetComposableStable-V2enableRecoveryMode0x7d89412e7c8893c1c85589d68187b2ee925cd2d27c10393980897d1fa4346b0a0x1b300C86980a5195bCF49bD419A068D98dC133Db
PolygonComposableStable-V2enableRecoveryMode0x7d89412e7c8893c1c85589d68187b2ee925cd2d27c10393980897d1fa4346b0a0x495F696430F4A51F7fcB98FbE68a9Cb7A07fB1bA
ArbitrumComposableStable-V2enableRecoveryMode0x7d89412e7c8893c1c85589d68187b2ee925cd2d27c10393980897d1fa4346b0a0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2
OptimismComposableStable-V2enableRecoveryMode0x7d89412e7c8893c1c85589d68187b2ee925cd2d27c10393980897d1fa4346b0a0x26743984e3357eFC59f2fd6C1aFDC310335a61c9
Continue Reading
Connect Wallet to Add Note
0
Votes 260
VoterCast PowerVote & Rationale
0x5feA...0417a0
2.667M

Yes, let's do it

0xfF05...2cbbB9
512,370

Yes, let's do it

0x512f...C0f5F3
440,202

Yes, let's do it

0x2ad5...58b7FD
433,008

Yes, let's do it

0xe096...589A60
257,369

Yes, let's do it

SHOW MORE
VOTE POWER
0
Connect Wallet
Proposal Status
  • Thu December 22 2022, 07:00 pmVoting Period Starts
  • Mon December 26 2022, 07:00 pmEnd Voting Period
Current Results

1-Yes, let's do it

4.89M

2-No, this is not the way

0.366

0%
Quorum 4.89M/2M
DocumentationBrandingContact Us
Home
This Project is Currently Disabled

If you would like to enable it, please checkout below.

Boardroom Subscription

Sign up for an individual subscription (access all projects on the platform)

Subscribe
Enable Project

Enable the entire project for every user

Enable Project
Contact Us