[ARFC] Onboard artMETIS to Aave V3 on Metis Market

[ARFC] Onboard artMETIS to Aave V3 on Metis Market

Author: ACI (Aave Chan Initiative)

Date: 2024-06-26

Risk Parameters have been provided by Risk Service Providers for a second time after liquidity changes and the ARFC has been updated accordingly 2024-08-12.

Summary

This proposal suggests onboarding artMETIS, the LST for METIS token as collateral on Aave v3 on Metis market.

Motivation

Artemis is a liquid staking protocol launched in Feb 2024 that enables users to stake their METIS token and participate in the decentralized Sequencer staking. It is the largest LST protocol and the 3rd highest TVL protocol on the Metis network. artMETIS is a liquid wrapper of the staked METIS on Artemis and accrues the staking rewards directly. Therefore, 1 artMETIS can always be redeemed to more than 1 METIS.

artMETIS liquidity is concentrated in artMETIS/METIS pair on Hercules, allowing for swap of 100 artMETIS to METIS with less than 0.5% slippage. The pool TVL currently has $3.43M and is available here.

artMETIS can also be utilized as collateral on Shoebill METIS market, enabling users to borrow assets and access liquidity by leveraging their artMETIS holdings. artMETIS is the top supply asset on Shoebill with over $3 million TVL.

Benefits of listing artMETIS

We believe that listing artMETIS will bring significant benefits to all parties involved and is a strategic decision that aligns with the goals of Aave.

  • Increased liquidity. The addition of artMETIS introduces an opportunity for users to borrow and lend LSTs.
  • Market expansion and user adoption. The listing of artMETIS has the potential to attract new users to the Aave platform.
  • Leveraged lending is a crucial use case for lending platforms. It not only brings more TVL and users to the platform but also significantly incentivizes genuine lending activity. This, in turn, generates more fee revenue for the project.
  • AAVE’s artMETIS assets will receive an additional weekly incentive of $5000-$10000 in oMETIS (Option Metis), along with an extra 1X ART Points. These points will be eligible for future Artemis airdrops.

Chain to be deployed/listed

artMETIS will be listed on Aave V3 Metis market with the following specifications.

Ticker: artMETIS

Contract Address: 0x2583A2538272f31e9A15dD12A432B8C96Ab4821d

Chainlink Oracle: 0x96C4A48Abdf781e9c931cfA92EC0167Ba219ad8E

Specification

Risk Parameters have been provided at ARFC stage by Risk Service Providers and the ARFC has been updated accordingly.

Parameter Value
Isolation Mode No
Borrowable Yes
Collateral Enabled Yes
Supply Cap 40,000
Borrow Cap 4,000
Debt Ceiling -
LTV 30.00%
LT 40.00%
Liquidation Bonus 7.50%
Liquidation Protocol Fee 10.00%
Reserve Factor 20.00%
Variable Base 0.0%
Variable Slope1 7.00%
Variable Slope2 300.00%
Uoptimal 45.00%
Flashloanable Yes
Siloed Borrowing No
Borrowed in Isolation No

Proof of Liquidity (POL) and Deposit Commitments:

The Metis Foundation has shown strong commitment to supporting Artemis by committing 10k METIS and 10k artMETIS tokens to provide liquidity on Hercules DEX.

Furthermore, the launch of Metis sequencers has sparked interest from institutional investors who are looking to invest and stake the METIS token. Artemis, as a leading liquid staking protocol for METIS, has actively engaged with these investors and successfully onboarded them to stake their METIS tokens with Artemis.

Artemis has implemented a points system that incentivizes the initial liquidity bootstrap and user activity on various platforms. By supplying and borrowing artMETIS tokens on Aave, users can earn additional points and become eligible for the Artemis token airdrop.

In recognition of Artemis’s efforts, the Metis Foundation has provided official grants to support the development of DeFi use cases for artMETIS. Part of this grant will be allocated to incentivize users on Aave.

In summary, the commitment of the Metis Foundation to provide initial liquidity, collaborations with external parties to bootstrap liquidity, implementation of liquidity mining programs, support for staking and yield farming opportunities, and the provision of grants to incentivize the user activity on Aave all contribute to a strong proof of liquidity and deposit commitments. These factors demonstrate the significant value and potential growth that the listing of artMETIS can bring to the Aave ecosystem.

Useful Links:

Website

X

Documents:

https://docs.artemisfinance.io/

Audit Report:

https://docs.artemisfinance.io/audit

Defillama:

https://defillama.com/protocol/artemis-finance

Disclaimer:

This proposal is powered by Skywards. The Aave Chan Initiative is not directly affiliated with Metis and did not receive compensation for creation this proposal.

Next Steps

  1. Publication of a standard ARFC, collect community & service providers feedback before escalating proposal to ARFC snapshot stage
  2. If the ARFC snapshot outcome is YAE, publish an AIP vote for final confirmation and enforcement of the proposal

Copyright:

Copyright and related rights waived under CC0

Recommendation

LlamaRisk reviewed artMETIS, a Liquid Staking Derivative (LSD) on the Metis L2 chain, and recommends holding off onboarding until i) access control of its upgradeable contracts is transferred to a multi-sig, ii) unstake feature is enabled, and iii) its peg against METIS improves. Most of its contracts, including the artMETIS token ERC20 contract, can be upgraded by a single EOA without a timelock. This critical flaw in its access control could lead to a manipulation of the artMETIS supply, a risk that we deem unacceptable for Aave. The absence of an unstake feature, planned for the near future, has also led to a deteriorating peg against METIS. Based on this review, we advise against onboarding. The full review is provided below for Aave’s consideration.

Resources

Introduction

artMETIS is an LSD proposed by Artemis on the Metis L2 chain. It represents staked METIS tokens — the native token of the Metis L2 chain — which are staked as collateral by users to get the right to operate sequencers of the Metis L2 chain. Artemis offers to operate sequencers and stake METIS tokens on behalf of their users. It is the third-biggest dApp in terms of TVL on the Metis L2 chain, with $9.2m in assets locked. With a TVL of $5.4m, the Enki Protocol is its only competitor.

I - Asset Fundamentals

Metis L2 chain

Metis is an L2 rollup that settles on Ethereum mainnet. According to L2Beat, it represents 0.97% of the L2 market share. Metis L2 utilizes the Optimistic Virtual Machine (OVM) codebase, an early iteration of the Optimism codebase. The primary challenge with the OVM lies in its partial compatibility with the Ethereum Virtual Machine (EVM), necessitating additional development efforts for teams to deploy their applications on this platform. Subsequently, Optimism developed OVM 2.0, which achieved full EVM compatibility. This updated codebase is currently employed by numerous rollups, including the official Optimism L2 rollup. However, Metis L2 has opted to continue using the initial version of the OVM.

Source: Perpetual Protocol blog post

METIS token statistics (as of the 20th of June 2024):

  • Total supply: 10,000,000
  • Circulating supply: 5,686,334
  • Market cap: $290,915,236
  • Staked supply: 335,168 METIS (5.89% of circulating supply)
  • Number of sequencers: 6

Metis staking

Contrary to Ethereum L1 (mainnet), where staked ETH provides economic security to ensure the chain’s state is correct, METIS tokens are staked to provide economic security to the decentralized set of sequencers of the Metis L2 chain. In an optimistic L2 chain, transactions are processed off-chain to increase scalability. The backend process responsible for ordering transactions is called a sequencer. The staking of METIS tokens provides economic security to a decentralized set of sequencers by operating a Proof-of-Stake Sequencer Pool. In their beginnings, most L2 chains opted to centralize their sequencers and considered decentralizing them later. Metis L2 is the first rollup to attempt to decentralize its sequencers. Please refer to the official documentation of Artemis for more information.


Metis L2 chain sequencers. Source: Metis L2 official website

Metis currently boasts 6 sequencers, of which the Metis team operates 3. Although a good first step, especially compared to other L2 chains, this remains a limited degree of decentralization. To get the right to operate a sequencer and secure the Metis L2 network, participants must stake at least 20,000 METIS tokens ($1.02M as of the 20th of June 2024) in an L1 contract called the Sequencer Locking Pool. A sequencer’s stake is limited to 100,000 METIS. If the maximum number of sequencers is reached, candidates enter a FIFO queue and are selected when a new sequencer spot is freed. Underperforming sequencers can be rejected from the pool. On deposit, participants receive a Soul Bound Token (SBT) containing their sequencer ID. This SBT is later destroyed upon their exit from the sequencer pool.

Sequencers in the pool are selected, in turn, according to a weighted random selection algorithm that considers their voting power, which is a linear function of each sequencer’s stake. The probability for a sequencer to be selected, P(A), is calculated as follows:

P(A) = VotingPower(A) / TotalVotingPower 

votingPower(A) = lockedAmount(A) / 10^18

Source: Metis L2 chain documentation

A new random selection is made if the active sequencer is down. According to the documentation, apart from being ejected from the sequencer pool and missing out on future rewards, no penalties are inflicted upon underperforming sequencers. Active and well-performing validators are rewarded with a 20% APY reward on their stake, and withdrawals are subject to a 21-day unbonding period.

Artemis protocol

artMETIS is a liquid staking token representing staked METIS in the Sequencer Locking Pool L1 contract. This re-pricing token can be exchanged to increase METIS tokens thanks to the accrued staking rewards. Because of how the Metis L2 staking system works, there is no risk of slashing. Therefore, depegging risks are limited to potential smart contract vulnerabilities and exploits.

image
Source: Metis L2 documentation

The Artemis architecture spans both layers because the sequencers are tracked on L1. The system works as follows: METIS token holders deposit METIS tokens on the Metis L2 network into the artMETIS Module contract and return the artMETIS token in exchange. The Artemis protocol will automatically deposit user deposits into the L1 bridge and stake them into the Sequencer Locking Pool L1 contract. Artemis currently operates two sequencers:

  • ArtemisSuperNode: locked 100,000 METIS tokens since 22nd of March 2024. 100% of blocks signed.
  • ArtemisSuperNode2: locked 75,167 METIS tokens since the 13th of April 2024. 96% of blocks signed.

We observe that the ArtemisSuperNode2 sequencer has a 96% block signing rate, the lowest block signing rate of all sequencers. However, this remains a relatively high rate and is not a cause for concern.

It’s important to note that unstaking functionality is yet to be enabled in the Artemis protocol. The planned unstaking process will involve a 21-day unbonding period once implemented, which is expected to occur shortly.

Incentives

METIS staking currently provides a relatively high reward rate of 20%. Usually, liquid staking provides a staking yield slightly lower than the underlying staking yield because the protocol takes a cut of the staking yield. This differs from artMETIS, which currently proposes a staking yield of 74.08% APY, a boosted staking yield provided by a $50M incentive program funded by Artemis. This indicates that Artemis is well-funded. The artMETIS staking yield is calculated as follows:

artMETIS APY = 20% sequencer APY + (10% x 50M $USD / TVL)

It follows from the calculation that the incentive will gradually decrease as the TVL of the protocol approaches 50M $USD.

II - Market Risk Assessment

Key metrics (as of the 20th of June 2024)

Liquidity

image

Source: daily volume of the HerculesV3 artMETIS/WMETIS liquidity pool in USD

The primary liquidity venue for artMETIS is the artMETIS/WMETIS liquidity pool on the HerculesV3 exchange, the main swap exchange of Metis L2 chain. The pool currently boasts a $1.6m TVL. It relies on a Channel Multiplier Strategy from SteerProtocol, an LP method that aims to capitalize on market deviation from the theoretical peg.


Liquidity trend in the HerculesV3 artMETIS/WMETIS pool. Source: SteerProtocol

Volatility


HerculesV3 artMETIS/WMETIS Source: geckoterminal.com

The secondary market rate between artMETIS and METIS, its underlying asset, has been slowly declining since its inception. This is troubling since the opposite should be observed: a unit of artMETIS should be exchangeable for increasing METIS tokens through time, thanks to the accrued rewards from the Metis L2 sequencer pool. The depeg on secondary markets currently stands at 3.9%, which is relatively large compared to the observed deviation of other liquid staking tokens.

The absence of an unstake feature, currently pending launch by the METIS sequencer node, has contributed to a deteriorating peg of artMETIS against METIS. This depeg is likely exacerbated by a $50m incentive program that has boosted staking yields from 20% to approximately 75%. Some stakers may constantly be withdrawing their rewards and converting them into METIS tokens, creating selling pressure on artMETIS. The team plans to enable unstaking shortly, including a 21-day unbonding period. While this unbonding period might initially limit liquidity, introducing unstaking functionality is anticipated to help recover the peg.

Growth

Looking at the top holders on L1, we can see that 3/4 of the total supply helps in the Metis official bridge, that is, the Metis L2 chain. The second top holder is the SequencerLockingPool contract, in which sequencer operators must lock their METIS tokens. The third top holder is Binance.

image
Source: Etherscan

Unique holder addresses on L2 have reached a maximum of 800,000 addresses.


Source: Metis explorer

The TVL reached a maximum of ~$14m at the beginning of June 2024 and has since retraced to a previously observed plateau of ~$10M.

image

Source: DeFiLlama

III - Technological Risk

3.1 Smart Contract Risk Assessment

Audits

Artemis has been audited by PeckShield on the 26th of January 2024. This audit revealed three findings, including one medium risk and two low risks. Notably, PeckShield classified the extended responsibilities of the ADMIN_ROLE as medium risk for the protocol and recommended transferring this role to a proper DAO-like governance contract. The Artemis team claimed that the issue was mitigated by transferring this role to a multisig, better than an EOA but still far from truly decentralized governance.

Codebase

Artemis contracts are verified on Metis Explorer but are not available on GitHub. No details about off-chain services comprising the Artemis protocol are provided, limiting transparency and independent review.

Upgradeability

All L2 contract implementations use TransparentUpgradeableProxy contracts with a proxyAdmin at 0x479603DE0a8B6D2f4D4eaA1058Eea0d7Ac9E218d, owned by an EOA at 0xc493BD1d8d794357E79dA84613b67533Afc4D337.

This single-EOA control is a critical security flaw. If compromised, an attacker could upgrade contracts to allow infinite minting of artMETIS tokens, risking complete value loss. The lack of a timelock exacerbates this vulnerability by enabling immediate execution of changes. While initially chosen for development ease, this centralized control violates best practices for decentralized protocols. The team plans to transfer ownership to a multisig wallet, which is urgently needed to enhance security and decentralization.

In contrast, the Sequencer Locking Pool L1 contract uses a more secure 4/9 protocol multisig ownership. A similar approach should be swiftly implemented for L2 contracts to address current vulnerabilities.

3.2 Price Feed Considerations

A Chainlink price feed is available on Metis L2 chain for the METIS/USD exchange rate. This could be used with the exchange rate, derived by amtDepositPool.totalDeposits() / artMETIS.totalSupply().

3.3 Dependencies

As a liquid staking token representing staked METIS that secures the Metis L2 chain, Artemis directly inherits the risk associated with the Metis L2 chain. With a TVL of only ~$56m, Metis L2 chain is a relatively small L2 chain whose limited economic security budget might prevent its ability to secure itself. Furthermore, the limited number of sequencers it relies upon and the absence of penalties for underperforming sequencers might hinder its ability to maintain high uptime.

IV - Counterparty Risk

4.1 Governance and Regulatory Risk Assessment

Governance model

Artemis plans to distribute the ART token, allowing users to vote on governance proposals. Below is a draft of the planned allocation.

image

Source: Artemis documentation

For now, the protocol is centralized in the hands of the Artemis team. There is no public forum where protocol upgrades are discussed.

Regulatory risks

It’s noted that the METIS staking functionality is accessible through https://artemisfinance.io. The website links to a Docs section detailing artMETIS mechanics, fees, deployed contracts, security audits, and related information. However, a significant absence is observed—neither the ‘Docs’ nor the landing page includes a comprehensive Terms of Service or similar document outlining conditions governing access to and use of the protocol’s front-end interface. Ideally, such terms would cover eligible user profiles, acceptable use policies, restrictions, liability limitations, warranties, and dispute resolution mechanisms.

The lack of specific risk disclaimers or disclosures related to the protocol’s intricacies is also noticeable. While acknowledging the protocol’s inherently non-custodial nature, activities on the front-end layers may be subject to various rules and regulations. Including risk explanations would benefit both the front-end operator, establishing liability boundaries, and users, enabling them to understand better and potentially mitigate risks.

The Artemis team should expand on METIS staking options beyond the centralized https://artemisfinance.io interface. Given its potentially centralized control, users should be informed about alternative ways to interact with the protocol if the front end is no longer supported or undergoes modifications.

4.2 Access Control

The proxyAdmin contract, which is the admin of all contracts on L2, is itself owned by an EOA located at 0xc493BD1d8d794357E79dA84613b67533Afc4D337. The only contract that is not controlled by the proxyAdmin is the priceFeed contract which is owned by a 4/9 multisig.

IV - Aave V3 Specific Parameters

Subject to addressing the critical access control flaw, we align with parameters recommended by @ChaosLabs.

Note: This assessment follows the LLR-Aave Framework, a comprehensive methodology for asset onboarding and parameterization in Aave V3. This framework is continuously updated and available here.

Revision 1: change in recommended parameters

6 Likes

The current proposal has been escalated to ARFC Snapshot.

Vote will start tomorrow, we encourage everyone to participate.

We support the recommendation to wait with listing artMETIS until the conditions below are met

Should the community decide to assume the risks involved, we provide our analysis and recommend parameters below:

Liquidity and Market Cap

There are currently 180K staked as artMETIS, a liquid staking token on the Metis network. Since inception, its average daily trading volume is $21K.

artMETIS / USD Volatility

Untitled - 2024-07-01T120928.477

Additionally, we find that artMETIS’s discount relative to Metis has been widening.

Untitled - 2024-07-01T120930.714

Liquidation Threshold

Considering the volatility and limited history of artMETIS, we recommend an LTV of 30% and an LT of 40%.

Supply Cap, Borrow Cap, and Liquidation Bonus

Following Chaos Labs’ approach to initial supply caps, we generally propose setting the Supply Cap at 2x the liquidity available under the Liquidation Penalty price impact. For artMETIS we recommend a more conservative approach at half this figure.

Given the liquidity of artMETIS, we recommend a 7.5% Liquidation Bonus and a supply cap of 15,000 artMETIS.

Based on our observations, the utilization rate for LSTs has been low. Therefore, we have taken a conservative approach of 1,5000 artMETIS. However, if there is a significant increase in demand and utilization, we will reassess the caps according to the utilization pattern.

IR Curve Parameters

We recommend aligning the interest rate parameters with other LSTs to ensure consistency across similar assets on Aave v3.

E-mode

Given the asset’s concentrated liquidity and limited history, we do not recommend including it in E-Mode.

Recommendations

Following the above analysis, we recommend listing artMETIS with the following parameter settings:

Parameter Value
Isolation Mode No
Borrowable Yes
Collateral Enabled Yes
Supply Cap 15,000
Borrow Cap 1,500
Debt Ceiling -
LTV 30.00%
LT 40.00%
Liquidation Bonus 7.50%
Liquidation Protocol Fee 10.00%
Reserve Factor 20.00%
Variable Base 0.0%
Variable Slope1 7.00%
Variable Slope2 300.00%
Uoptimal 45.00%
Flahloanable Yes
Siloed Borrowing No
Borrowed in Isolation No
3 Likes

After Snapshot monitoring, the current ARFC Snapshot has ended, reaching Quorum and NAY as winning option with 606K votes.

Therefore, the proposal to Onboard artMETIS to Aave V3 on Metis Market, has NOT passed.

Summary

This is the second review of the artMetis Liquid Staking Derivative (LSD) on the Metis L2 chain. Our initial assessment, conducted on June 28th, 2024, identified several critical vulnerabilities that necessitated remediation, leading to our recommendation against onboarding artMETIS as collateral at that time.

Following the implementation of several changes by the Artemis team, we now view artMetis as a sound collateral that can be onboarded on the Metis Aave V3 instance. More specifically, withdrawals were enabled, which restored the peg to its expected theoretical value. The EOA that had control over all contracts on the Metis L2 chain has also been replaced by a 3/5 multisig. Although we welcome the use of a multisig, adding timelocks on both L1 and L2 could further strengthen the security of the Artemis protocol.

We are, therefore, ready to recommend onboarding artMETIS and can provide parameter recommendations when a new ARFC is proposed.

For the sake of conciseness, we only mention what has changed since our first report

Asset fundamentals

METIS token statistics (as of the August 7th, 2024):

  • Total supply: 10,000,000
  • Circulating supply: 5,686,334
  • Market cap: $176,987,148
  • Staked supply: 333,699 METIS (5.87% of circulating supply)
  • Number of sequencers: 6

Compared to our first review, the market cap of artMETIS has decreased from $290,915,236 to $176,987,148, a 39% decrease that correlates with the overall crypto market sentiment. The staked supply of METIS has barely changed, currently standing at 333,699 METIS tokens or 5.87% of the circulating supply.

artMETIS token statistics (as of the August 7th, 2024):

The circulating supply of artMETIS has slightly decreased from 177,311 to 170,933 (-3.6%). Considering that withdrawals were enabled since our last review, such a small decrease in the circulating supply is positive and indicative of users’ continued interest in the Artemis protocol. Apart from market valuation, the asset fundamentals have remained fairly stable despite adverse global market conditions.

Withdrawals

Withdrawals are now enabled. It is a two-step process that users must first initiate by interacting with the artMETIS Module contract on the Metis L2 chain. At this point, artMETIS tokens are immediately burned, and the contract records a claim. Through communication with Ethereum mainnet, sufficient funds are unstaked in batches to satisfy the total amount requested by users. After a 21-day unbounded period imposed by the Metis staking consensus, funds are made available to Artemis contracts on L1, bridging the funds back to Metis L2. Then, users can finalize their withdrawal request and receive their METIS tokens back.

image
Source: docs.artemisfinance.io/mechanism/architecture, August 9th, 2024

Notably, Artemis does not add any delay to the withdrawal process, apart from the time it takes to bridge METIS tokens between the Ethereum L1 and Metis L2 chains.

artMETIS/METIS Peg

image
Source: artMETIS/WMETIS - Staked Metis Token Price on Hercules V3 with 0.3% Fee | GeckoTerminal, August 9th, 2024

As expected following the activation of withdrawals, the artMETIS/METIS peg has recovered to reach a value of 1.0241 as of August 9th, 2024. This is still slightly below the theoretical peg of 1.0327 given by the withdrawal modal for artMETIS. A possible reason for this is the large liquid staking APY of 107.76%, boosted by Artemis compared to the base 20% staking APY, which farmers might be constantly selling on secondary markets.

image
Source: artemisfinance.io/stake, August 9th, 2024

Access-control

On the Metis L2 chain, the proxyAdmin contract, which controls all other L2 contracts, is now controlled by a 3/5 multisig. Although a positive and much-needed development, we recommend the addition of a timelock to allow the team to prevent a malicious upgrade from going live and allow users to exit the system if they don’t support the changes.

Following the updates described above, Chaos Labs recommends listing artMETIS with the below updated parameters, accounting for changes in liquidity.

Parameter Value
Isolation Mode No
Borrowable Yes
Collateral Enabled Yes
Supply Cap 40,000
Borrow Cap 4,000
Debt Ceiling -
LTV 30.00%
LT 40.00%
Liquidation Bonus 7.50%
Liquidation Protocol Fee 10.00%
Reserve Factor 20.00%
Variable Base 0.0%
Variable Slope1 7.00%
Variable Slope2 300.00%
Uoptimal 45.00%
Flashloanable Yes
Siloed Borrowing No
Borrowed in Isolation No
1 Like