Proposal: Add Support for stMATIC (Lido)

Overview

This is a proposal to add stMATIC to the Polygon v3 market.

Aave governance recently added stETH to the Ethereum v2 market with great success, having a market size of $1.43 billion. The stMATIC token is similar but differs in one important aspect. Instead of being a rebasing token like stETH, it simply becomes more expensive over time relative to MATIC as it accrues yield.

Since Aave governance enjoyed stETH, I would venture to guess they will like stMATIC as well.

In addition, this will unlock leveraged MATIC yield positions similar to the ETHMAXY token by the Galleon DAO.


Background

[following content taken from Jakov of Shard Labs]

Lido is a DAO governed liquid staking protocol for the Polygon PoS chain. It allows users to stake their MATIC tokens on the Ethereum mainnet and immediately get the representation of their share in the form of stMATIC token without maintaining staking infrastructure. Users will get staking rewards and still control and utilize their stMATIC tokens in secondary markets on Ethereum mainnet and Polygon.

MATIC tokens will be delegated across validators that are registered and accepted by the DAO inside Lido protocol.

Node operators don’t have direct access to the delegated assets. They are just providing infrastructure and getting rewards in return. Assets are controlled by Lido core smart contracts exclusively.

The goal is to help with Polygon decentralization and integrate stMATIC with the variety of protocols and DeFi applications on Ethereum mainnet and Polygon PoS chain.

In short, Lido on Polygon is enabling users to:

  • Stake their MATIC tokens in a decentralized and secure way
  • Use their stMATIC on the secondary market
  • Do all of the above simply and easily with a click of a button on the UI

Additional value Lido can bring to the Polygon ecosystem is decentralizing stake distribution, and getting more capital efficiency in the ecosystem — enabling staked MATIC to participate in DeFi on Polygon.

stMATIC token

Polygonscan Link

stMATIC is an ERC20 token that represents the account’s share of the total suuply of MATIC tokens inside Lido system. It is a non-rebasable token, which means that the amount of tokens in the user’s wallet is not going to change. During time, the value of this token is changing, since the amount of MATIC tokens inside the protocol is not constant.

Paramenters

Using the relative parameter adjustments between ETH and stETH, I propose the following for stMATIC

Max LTV: 55%
Liquidation threshold: 62%
Liquidation penalty: 15%

13 Likes

greatly in favor of this proposal.

while the stMATIC presence and liquidity is still relatively small, stMATIC is a great candidate for V3 emode and great collateral form.
I think onboarding stMATIC will help the asset grow in a mutually beneficially relationship.

liquid staking assets will grow exp this year and Aave should be on top on their onboarding.

6 Likes

Full support to have stMATIC listed on Aave

May be of interest to add : Contract Address 0x3a58a54c066fdc0f2d55fc9c89f0415c92ebf3c4 | PolygonScan

2 Likes

Thanks, I added a link.

The StETH listing has been a big success, and so I’m excited to see StMATIC might be next.

Could you please provide the details as described in the New Asset Listing Governance Guide. The community needs to understand in detail how StMATIC works and its risks.

I would also like to understand how you calibrated the risk parameters and justify the higher borrowing power than MATIC which has

  • Max LTV 65%
  • Liquidation threshold 70%
  • Liquidation penalty 10%
2 Likes

Hi @tomuky,

I am excited to see stMATIC added as collateral on the Polygon market. It would be very complimentary given the recent MATIC risk parameter changes made.

Just following on from @Alex_BertoG, if you would like a hand to prepare a risk assessment or for it to be done for you, please do let me know. We can definitely help out here.

3 Likes

@MatthewGraham Absolutely! You are capable of doing a much more comprehensive risk assessment. I merely wanted to kick off the discussion.

Thank you, Matthew! I’m excited to get this moving forward.

@Alex_BertoG My original parameters were (incorrectly) using stETH parameters. For the time being, I’ve updated them to be more acceptable, applying the relative adjustments between ETH to stETH for MATIC to stMATIC. Ultimately, I’d like to see what Matthew comes up with.

3 Likes

Hello,
Voicing my support for this initiative, Liquid Staked asset are the future of France, this onboarding has the potential to help both V3 and stMATIC bloom into the Polygon network.

5 Likes

Snapshot vote has been created: Snapshot

1 Like

Fantastic to see this proposal and the positive support.

Lido Marketing Lead here, just chiming in to say ideally we can drop the terms ‘PoLido’ or ‘Lido for Polygon’ to describe this.

We strongly prefer Lido on Polygon

$0.02,
AD
@AD_1508

@AD_1508 Updates made. Thanks!

3 Likes

Thanks for this initiative! Amazing

1 Like

Jakov from Shard Labs here, very happy to see this proposal live on snapshot already!

Same as AD’s request, please replace the “PoLido” and “Lido for Polygon” with “Lido on Polygon” inside the snapshot vote itself (if it is possible to do it at this point?) @tomuky

2 Likes

Ty ser! Much appreciated

@DeFiYaco Unfortunately, can’t edit snapshot proposals. But I do link to this page.

Hi tomuky
Seems you still havent provided any of the details of the Asset Listing Governance Guide shared above. Without information and risk analysis, how do you expect the community to be able to take an informed decision on the snapshot? You admitted to guessing the parameters you suggested, this is an extremely low security standard for Aave and the liquidity on the protocol :roll_eyes:

1 Like

so the risk parameter were never discussed? How to calculate the depeg risk?

1 Like

stMATIC - Aave v3 Polygon Market Risk Assessment

Smart Contract Risk Counterparty Risk Market Risk Overall Risk

General

Lido on Polygon is a DAO governed liquid staking protocol for Polygon PoS chain. It allows users to stake their ERC20 MATIC tokens on Ethereum mainnet and immediately get the representation of their share in the form of stMATIC token without maintaining staking infrastructure. Users will get staking rewards and still be able to control their stMATIC tokens MATIC tokens will be delegated across validators that are registered and accepted by the DAO insideLido on Polygon protocol.

At the time of writing, there are 20,566,991.15 units of stMATIC in circulating supply on mainnet, worth about $12,351,259.73 on the 28th May 2022. stMATIC on Polygon represents a claim on the stMATIC on mainnet with the actual asset held in a bridge contract on mainnet. After 60 days of trading, launch date 28th February 2022, there are 15,180,666.449 stMATIC tokens in circulating supply and 25,653 transfers have taken place on the Polygon network.

There are two liquidity pools on Polygon Network, Quickswap and Balancer. Both are wMTAIC/stMATIC pools and there is a combined TVL $15.4m.

stMATIC Smart Contract Risk:

stMATIC has been audited by Oxorio and Shard Labs. An extract from the Oxoirio Audit “As stated in each particular issue, all critical, major and warning issues identified have been correctly fixed or acknowledged by the client, so contracts are assumed as secure to use according to our security criteria.”. The report did recommend further testing on Testnets and that additional audits were performed before deploying into production. The Lido team has communicated that they fixed all the issues, wrote specific tests, deployed them on a testnet before deploying on mainnet.

Oxorio audit can be found here.
Shard Labs internal audit can be found here.

stMATIC Counterparty Risk:

stMATIC is the core contract which acts as a liquid staking pool. The contract is responsible for deposits, withdrawals, minting and burning liquid tokens, delegating funds to node operators, applying fees and distributing rewards. 90% of the staked MATIC rewards go to stMATIC holders, node operators (5%), Lido DAO (2.5%) and the Treasury (2.5%). Staking MATIC via “Lido on Polygon” is near instant, with the user receiving an amount of stMATIC based upon the current ratio between MATIC and stMATIC token. Withdrawals on the other hand can take approximately 9 days to process according to the “Lido on Polygon” documentation.

The stMATIC contract is an ERC20 contract that represents the account’s share of the total supply of MATIC tokens inside the “Lido on Polygon” protocol. Unlike stETH, stMATIC is a non-rebasable token, which means that the amount of tokens in the user’s wallet is not going to change. During time, while rewards are accumulated, the value of stMATIC tokens increase. Therefore, when listing stMATIC as collateral there is no need for a wrapper like there is with wstETH.

“Lido on Polygon” is a protocol that runs on the Ethereum blockchain and it is upgradable. The address that controls the ability to implement day-to-day changes and upgrade the protocol is controlled by a Gnosis Safe with a 3 of 5 multisig signer requirement. The signers are established validators and ecosystem partners who can execute privileged operations. Further details can be found here. In the future we expect stMATIC to be upgraded to v2 which is currently undergoing an audit.

Relevant addresses are linked below:

Mainnet Contract Address: 0x9ee91F9f426fA633d227f7a9b000E28b9dfd8599
Mainnet Bridge Address: 0x40ec5b33f54e0e8a33a975908c5ba1c14e5bbbdf
Polygon Contract Address: 0x3A58a54C066FdC0f2D55FC9C89F0415C92eBf3C4
Quickswap liquidity: 0x65752c54d9102bdfd69d351e1838a1be83c924c6
Balancer v2 Liquidity: 0xaF5E0B5425dE1F5a630A8cB5AA9D97B8141C908D

stMATIC Market Risk:

With stMATIC listed as collateral, there is exposure to the oracle price. At the time of writing Chainlink is in the process of creating a calculated stMATIC oracle. It is very strongly recommended that a Chainlink oracle is used to support the stMATIC asset listing. The chainlink oracle for stMATIC is the MATIC/USD Chainlink oracle plus the calculated MATIC/stMATIC conversion rate. The only factor that can influence the conversion rate changes are the new rewards coming into the system from validators as there is no slashing.

There are 361 holders of stMATIC on Polygon of which at least two are smart contracts, being the Balancer v2 BPT gauge and Quickswap’s staking contract, that receive Liquidity Mining rewards. There are 63 LPs in the Balancer v2 pool, of which 85.3% is deposited into the rewards gauge by 324 different wallets. One of these wallets makes up 39.4% of the tokens within the gauge contract. There are 49 LPs in the Quickswap pool, of which 98.9% deposited into the dual staking rewards contract to receive QUICK and LDO rewards. At the time of writing the Quickswap staking contract holds over $5m of user funds. There is some concentration within the liquidity providers for stMATIC on the Polygon Network which if pulled has the potential to affect slippage on swaps.

In the future there is expected to be a Curve pool when Curve v2 launches on Polygon and a Uniswap v3 pool. It is reasonable to expect incentives for liquidity providers and for this to attract new liquidity providers into the market. The introduction of well supported decentralised exchange pools will offer better support and on-chain conditions for liquidating bad debt on the Aave market.

As with stETH and sAVAX, this proposal recommends listing stMATIC with borrowing disabled.

As of 28th May 2022 for stMATIC(MATIC):

30 Day Average Daily Volume: $254.11k ($633.5m)
30 Day Average Daily Volume: $153.01k ($612.1m)
90 Day Average Daily Volume: $151.01k (674.6m)
1 week Normalised Volatility: 0.04511 (0.04678)
1 month Normalised Volatility: 0.08524 (0.08670)
3 month Normalised Volatility: Insufficient Data (0.05936)
6 month Normalised Volatility: Insufficient Data (0.06224)
1 year Normalised Volatility: Insufficient Data (0.06462)

Risk Parameters

We recommend the following parameter configuration upon listing stMATIC.

Risk Parameters:

Collateral: Yes
Borrowing: No
LTV: 50%
Liquidation Threshold: 65%
Liquidation Penalty: 10%
Reserve Factor: 20%

Variable Interest Rate Parameters:

UOptimal: 45%
R_0: 0%
R_s1: 7%
R_s2: 300%

stMATIC eMode Parameters

LTV: 95% → 92.5%
Liquidation Threshold: 97% → 95%
Liquidation Penalty: 2.5% → 1%

** Amended 21/08/2022 to reflect conversations with @bgdlabs highlighting these parameters should match those used by sAVAX on the Avalanche market.

Supply Borrow Caps

NewSupplyCap $7.5m stMATIC

Opinion / Comments

When more information about the timing of a Chainlink Oracle is made available for stMATIC, we will be able to reassess the liquidity and circulating supply on Polygon and determine if Isolation mode is suitable. In time E-Mode is possible and this will require a new category to be created.

At this point in time the concentration amongst liquidity providers and overall amount of stMATIC in liquidity pools gives reason for caution. We know from listing stETH, that listing stMATIC, could lead to significant recursive behaviour. This creates a risk for lenders. Something to keep in mind is the Polygon market is not covered by the mainnet Safety Module.

Upon discussing the asset listing with the Lido community, we learned there are likely to be new decentralised exchange liquidity pools emerging in the near future. Pending the timing and success of these pools, along with the Chainlink Oracle, the risk assessment may improve. A conservative listing would include Isolation mode with a Supply ceiling in place until liquidity and circulating supply improves. The following Isolation mode parameters would be a good starting place based upon current market conditions:

Supply Borrow Caps

NewSupplyCap 7.5m stMATIC

Regarding systemic risk considerations, the v3 Polygon market has approximately $64m of TVL and if stMATIC was 15% of the TVL (collateral) then $9.6m or 16m stMATIC tokens at 60 cents each could be deposited into the lending pool. Having 15% of the borrowing on the market backed by one asset is a lot given the volatility of the asset. It also happens to be a very high percentage of total supply and close to 100% of all stMATIC tokens on the Polygon network. From this we can conclude the limitation is not systemic risk, but rather the circulating supply and liquidity of stMATIC.

The limitation for stMATIC is circulating supply; roughly in crude terms, ⅔ of it is in DEX pools and ⅓ elsewhere within the Polygon ecosystem. The Balancer pool holds 6,627,553 stMATIC and the Quickswap pool holds 4,282,849. Using these two main pools, that is 10,910,402 stMATIC tokens in DEX liquidity pools. 50% of stMATIC circulating supply on Polygon is 7.59m. If 50% of stMATIC was deposited into Aave lending pools, then the stMATIC in DEX pools would contract.

A NewSupplyCap of 7.5m is a reasonable place to start.


Contributors: @MatthewGraham, @uhom and 3SEHoldings.


6 Likes

As a part of Certora continuous formal verification activity, we have conducted a formal verification of stMATIC token code using our generic ERC20 token specification.
It’s important to note that this is strictly a technical analysis of the smart contract code.

How to look at the dashboard
With Certora technology, we write rules that specify how a smart contract should behave and the tool either proves that the rule always holds or finds a counterexample. It’s impossible to specify general rules for all the ERC20 tokens, since they all have different features. We have chosen to specify a set of strict rules for tokens, for example “transfer should always work”. As a result, a token that has a pause and/or a blacklist function (like USDC) will fail the “transfer should always work” rule

In the case of ERC20, the point of these rules is usually to present precise information about the token behavior to the community. This is how we should look at rule failures - usually not as bugs but as information about token features.

Having said that, here is our dashboard with the findings:
https://www.certora.com/erc20s/aave-listings/

In summary, the stMATIC token code complies with our generic mintable ERC20 specification.

I went to the AAVE discord to get an update on StMATIC but they said to give this thread a bump to see the status/progress. Can anyone provide color to this situation.

1 Like