# \[BIP-233\] Enable MaticX / bb-a-wMATIC Gauge \[Polygon\]

**URL:** <https://forum.balancer.fi/t/bip-233-enable-maticx-bb-a-wmatic-gauge-polygon/4583>\
**Category:** BAL Gauges\
**Created:** [March 30, 2023, 5:00pm UTC](https://forum.balancer.fi/t/bip-233-enable-maticx-bb-a-wmatic-gauge-polygon/4583 "2023-03-30T17:00:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Llama](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.balancer.fi/llama/32/2387_2.png) [@Llama](https://forum.balancer.fi/u/Llama)\
**Post date:** [March 30, 2023, 5:00pm UTC](https://forum.balancer.fi/t/bip-233-enable-maticx-bb-a-wmatic-gauge-polygon/4583/1 "2023-03-30T17:00:11Z")

</div>

#### PR with payload

> <https://github.com/BalancerMaxis/multisig-ops/pull/128>
>
> \- BIP-229-230: Adding airdrop csv for SP funding
> \- BIPs 231-239: Adding single …executable json for gauges for BIP 231-239 (polygon first, then mainnet) 
> \- Great migration gauges excluded!

**Summary:**

> This pool uses the ComposableStablePoolFactory-v3 1 which addresses the [reentrancy vulnerability](https://forum.balancer.fi/t/reentrancy-vulnerability-scope-expanded/4345) disclosed during February 2023. This gauge is uncapped, and would enter as a “core pool” under [BIP-19](https://forum.balancer.fi/t/bip-19-incentivize-core-pools-l2-usage/3329). This means 65% of 50% of yield generated by this pool is to be used for bribing for votes on it via [Hidden Hand](https://hiddenhand.finance/balancer).
> 
> The pool MaticX/bb-a-wMATIC is to replace the primary MaticX/wMATIC pool on Balancer v2. The current MaticX/wMATIC pool contains $13.5M in TVL at the time of writing and is the second largest pool on the Polygon deployment.

**References/Useful links:**

> - [Website](https://www.staderlabs.com/polygon/liquid-staking/maticx/)
> - Documentation
> - [Github Page](https://github.com/stader-labs/maticX)
> - [Twitter](https://twitter.com/staderlabs)
> - [Discord](https://discord.com/invite/fFNDa3XU)

**Protocol Description:**

> This pool utilises MaticX and linear pool bb-a-wMATIC which deposits wMATIC into Aave v3 wMATIC reserve on the Aave v3 deployment on Polygon. The linear pool utilises a wrapper developed by Aave Companies.

**Motivation:**

> Migrating from MaticX/wMATIC to MaticX/bb-a-wMATIC is expected to generate an additional 31.6 bps (158/2 x 0.5 x 0.8) of yield for Liquidity Providers (LPs) after fees and bribes relative to the current pool. This is due to the Aave v3 wMATIC reserve generation 158 bps of deposit yield. Historically, this yield has been higher.
> 
> Excluding token emissions, the inclusion of the bb-a-wMATIC linear pool, increases the passive yield for LPs by an estimated 10.2%, (0.316%/3.11%). This is equivalent to \>8x the swap fee APR at the time of writing as most of the yield is derived from MaticX within the pool.

**Specifications:**

> 1. **Governance:** Stader protocol is governed by the SD token. Holders can actively participate in governance decisions and share feedback on proposals put forward by the protocol. The following decisions will follow the governance mechanism process:
> 
> - Any implication on smart contract parameters for liquid staking
> - Changes to validator selection criteria
> - Changes to fees
> - SD token related
> - Treasury management and SD staking
> - More details [here](https://www.staderlabs.com/blog/launching-staders-governance-mechanism/)
> 
> 1. **Oracles:** MaticX Oracle, [‘0x5d37E4b374E6907de8Fc7fb33EE3b0af403C7403’](https://polygonscan.com/address/0x5d37E4b374E6907de8Fc7fb33EE3b0af403C7403)
> 
> 2. **Audits:**
> 
> - [ABDK](https://github.com/aave/aave-v3-core/blob/master/audits/27-01-2022_ABDK_AaveV3.pdf)
> 
> - [OpenZeppelin](https://github.com/aave/aave-v3-core/blob/master/audits/01-11-2021_OpenZeppelin_AaveV3.pdf)
> 
> - [Trail of Bits](https://github.com/aave/aave-v3-core/blob/master/audits/07-01-2022_TrailOfBits_AaveV3.pdf)
> 
> - [Peckshield](https://github.com/aave/aave-v3-core/blob/master/audits/14-01-2022_PeckShield_AaveV3.pdf)
> 
> - [SigmaPrime](https://github.com/aave/aave-v3-core/blob/master/audits/27-01-%3E2022_SigmaPrime_AaveV3.pdf)
> 
> - [Halborn](https://github.com/stader-labs/audits/blob/main/halborn/StaderLabs_MaticX_Smart_Contract_Security_Audit_Report_Halborn_Final.pdf)
> 
> - [Immunebytes](https://www.staderlabs.com/docs/polygon/StaderLabs%20maticX%20Smart%20Contract%20Audit%20Report%20by%20Immunebytes.pdf)
> 
> 1. **Centralization vectors:** See [here](https://docs-new.staderlabs.com/polygon/security).
> 2. **Market History:** See [MaticX](https://www.coingecko.com/en/coins/stader-maticx) and [wMATIC](https://www.coingecko.com/en/coins/wmatic).
> 3. **Value:** Balancer will earn the protocol fee on MaticX yield and deposit yield generated by Aave v3 on Polygon via bb-a-wMATIC.
> 
> Link to Pool: TBA  
> Link to Gauges: TBA

**Disclosure:**

> This proposal is the sole work of @Llama contributor, @Matthew_Graham, via the legal entity TokenLogic. Llama is a Service Provider to Aave DAO.

---

<div class="post-metadata">

**Author:** ![ZenDragon](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.balancer.fi/zendragon/32/1542_2.png) [@ZenDragon](https://forum.balancer.fi/u/ZenDragon)\
**Post date:** [April 5, 2023, 6:37pm UTC](https://forum.balancer.fi/t/bip-233-enable-maticx-bb-a-wmatic-gauge-polygon/4583/2 "2023-04-05T18:37:01Z")

</div>

Pool: [0xE78b25c06dB117fdF8F98583CDaaa6c92B79E917](https://app.balancer.fi/#/polygon/pool/0xe78b25c06db117fdf8f98583cdaaa6c92b79e917000000000000000000000b2b)  
Gauge: 0x87F678f4F84e5665e1A85A22392fF5A84adC22cD

Transaction: The DAO Multisig `0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f` will interact with the AuthorizerAdaptor at `0x8F42aDBbA1B16EaAE3BB5754915E0D06059aDd75` and call performAction with the GaugeController at `0xC128468b7Ce63eA702C1f104D55A2566b13D3ABD` for the target(address) argument and using 0x3a04f900 followed by the gauge address `0x87F678f4F84e5665e1A85A22392fF5A84adC22cD `and the corresponding gauge type for the data(bytes) argument.

data(bytes) : `0x3a04f9000000000000000000000000000087F678f4F84e5665e1A85A22392fF5A84adC22cD 0000000000000000000000000000000000000000000000000000000000000003`

---

<div class="post-metadata">

**Author:** ![Xeonus](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.balancer.fi/xeonus/32/3621_2.png) [@Xeonus](https://forum.balancer.fi/u/Xeonus)\
**Post date:** [April 5, 2023, 8:27pm UTC](https://forum.balancer.fi/t/bip-233-enable-maticx-bb-a-wmatic-gauge-polygon/4583/3 "2023-04-05T20:27:59Z")

</div>

[https://snapshot.org/#/balancer.eth/proposal/0xc772745e083cc5a94e9259a9944a5f4af04f0865ae9eab1035924536d5e9f110](https://snapshot.org/#/balancer.eth/proposal/0xc772745e083cc5a94e9259a9944a5f4af04f0865ae9eab1035924536d5e9f110)
