[ARFC] Onboard STONE to Aave V3 on Scroll

[ARFC] Onboard STONE to Aave V3 on Scroll

Author: @ACI

Date: 2024-09-02


ARFC updated with Risk Parameters provided by Risk Service Providers. 2024-01-10

Summary

StakeStone is the protocol issuing STONE, the liquid ETH, with over 150k users. Currently, StakeStone is seeking support to onboard STONE to Aave V3 on Scroll and is launching a series of initiatives to boost liquidity and Aave adoption.

Motivation

STONE is an ERC-20 rebalancing token that generates risk-free rewards for ETH based on blue-chip underlying assets like Lido, EigenLayer, and Symbiotic in a decentralized manner through our OPAP governance mechanism. StakeStone currently has $350 million worth of STONE deployed on Scroll. To ensure that STONE has robust liquidity, in addition to the STONE-ETH DEX liquidity on Scroll, STONE also has PMM powered cross-chain liquidity. Users can perform cross-chain redemption and receive ETH on the Ethereum mainnet within 40 seconds, with optimized pricing.

STONE aims to become the liquid ETH, covering users’ opportunity costs while creating more use cases for STONE holders. Thanks to its architecture supporting multiple underlying assets, STONE can maintain market adaptability and stability over the long term, allowing users and the protocol to avoid the need to mint or integrate a new asset.

Benefits of listing STONE token:

STONE is collaborating with Scroll to build a DeFi ecosystem. STONE works closely with various protocols to support the ecosystem and facilitate their go-to-market strategies. Currently, STONE is the largest asset category on Scroll, accounting for over 30% of the total TVL across the chain, with a high utilization rate (close to 90%). The StakeStone team is dedicated to offering services to protocols that support STONE while fostering collaboration for shared prosperity, which is reflected in the high utilization of STONE across various DeFi use cases.

Market Impact:

As of today, over 180,000 ETH have been staked in StakeStone, with a historical high of 340,000 ETH. StakeStone has also successfully processed nearly 1 billion dollars in inflows and outflows. Meanwhile, STONE has a wide user base, and all users are very active on-chain. We hope that this active community can bring more liquidity and activity to AAVE.

Chain to be deployed/listed:

Scroll chain. Scroll grew to become the top zk rollup in terms of TVL and shows continued strength in community and volume.

Proof of Liquidity (POL) and Deposit Commitments

StakeStone has collaborations with external parties to bootstrap liquidity for a more robust and diverse liquidity environment at AAVE. Large liquidity providers are highly interested in using STONE in AAVE and further boosting DEX liquidity for STONE. StakeStone will also have its own liquidity mining incentive campaign for STONE in AAVE.

To incentivize the use of STONE in AAVE, StakeStone will provide boosted STONE points for STONE suppliers and is planning a yield-boost campaign specifically designed to maximize engagement.

Among our active liquidity providers, we have gathered strong interest in using STONE for lending and borrowing. The team will actively engage with liquidity providers to achieve a supply of at least 5,000 STONE, gradually increasing it over time as risk parameters are adjusted.

Specification

Parameter Value
Isolation Mode No
Borrowable Yes
Collateral Enabled Yes
Supply Cap 4,800
Borrow Cap 480
Debt Ceiling -
LTV 72.5%
LT 75%
Liquidation Bonus 7.5%
Liquidation Protocol Fee 10.00%
Variable Base 0.00%
Variable Slope1 7.00%
Variable Slope2 300.00%
Uoptimal 45.00%
Reserve Factor 15.00%
Stable Borrowing Disabled
Flashloanable Yes
Siloed Borrowing No
Borrowable in Isolation No
E-Mode Category N/A

Other relevant information

STONE has undergone multiple rounds of audits conducted by firms such as Quantstamp, Slowmist, Veridise, and Secure3, and closely collaborates with security organizations like Cobo and Coincover.

Useful Links

Dune Analytics for data about STONE

Security audits

[Governance votes about asset](StakeStone - Staking, But More)

OPAP proposal example

[TEMP CHECK] Onboard STONE to Aave V3 on Scroll Snapshot Vote

[TEMP CHECK] Onboard STONE to Aave V3 on Scroll Forum Thread

Disclaimer

This proposal is powered by Skywards. ACI is not directly affiliated with StakeStone and did not receive compensation for creating 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

2 Likes

Overview

Chaos Labs supports listing STONE on Aave V3’s Scroll deployment. Below is our analysis and initial risk parameter recommendation.

Scroll Liquidity

STONE is an ETH derivative offered by StakeStone. After users deposit WETH, these tokens are deposited into the Strategy Pool. These funds are then deployed according to on-chain votes (OPAP); a multi-sig controls deployment operations. Currently, the allocation is as follows:

image - 2024-09-06T231503.562

The token accrues staking rewards in its exchange rate, rather than rebasing. On Scroll, it has a total supply of 132K, with 64K holders.

image - 2024-09-06T231508.837

Its DEX liquidity on Scroll is distributed, with large simulated orders primarily routed through SyncSwap, Ambient, Nuri, and Tokan.

image - 2024-09-06T231510.933
SyncSwap

image - 2024-09-06T231517.380
Ambient (Total Volume, TVL, and Fees)

image - 2024-09-06T231543.362
Nuri

image - 2024-09-06T231549.336
Tokan

Recently, StakeStone announced that it was partnering with Native to improve STONE withdrawals across all chains. This involves depositing a portion of STONE’s underlying ETH into Native’s borrow/lend protocol. Currently, users can choose to redeem Scroll STONE on either Scroll or Ethereum. Users on Ethereum can either make an instant withdrawal — which may incur slippage based on the buffer size or the Native market — or request a withdrawal, which will be processed at the exchange rate but takes more time.

image - 2024-09-06T231557.099
Instant withdrawal options on Ethereum

LTV, Liquidation Threshold, and Liquidation Bonus

Over the last 180 days, STONE has an average daily trading volume of $1.8M. Relative to ETH, it has a daily annualized volatility of 5.61% and a 30-day daily annualized volatility of 3.56%.

Considering STONE’s volatility, we recommend setting the LTV and LT in line with similar assets on Layer 2s: 72.5% and 75%, respectively.

Additionally, we find that STONE on Uniswap V3 has traded at a consistent and slight discount to its exchange rate. However, it has shown relatively strong stability, including during the sharp market downturn on August 5.

image - 2024-09-06T231600.349

Given STONE’s liquidity, volatility, and limited historical depegs, we recommend a liquidation penalty of 7.5%, ensuring that liquidating non-WETH STONE-collateralized positions are profitable to liquidate even in times of stress.

Supply and Borrow Cap

Following Chaos Labs’ approach to initial supply caps, we propose setting the Supply Cap at 2x the liquidity available under the Liquidity Penalty price impact. Thus, we recommend an initial supply cap of 4,800 STONE.

Given limited historical demand for similar ETH-derivative assets, we recommend setting the borrow cap at 10% of the supply cap.

Pricing STONE

Following the risk assessment above — primarily the fact that the exchange rate is derived from underlying assets and strategies, not all of which have been evaluated for risk and the composition of which can change over time — we recommend listing the asset using a market rate oracle.

E-mode

Given the asset’s exposure to numerous—and shifting—strategies, tokens, and vaults, we find it has elevated risks relative to other assets listed in E-Mode and thus do not recommend it be included in the category at this point in time.

Recommendations

Following the above analysis, we recommend listing STONE on Aave V3’s Scroll deployment. We recommend the following parameter settings:

Parameter Value
Isolation Mode No
Borrowable Yes
Collateral Enabled Yes
Supply Cap 4,800
Borrow Cap 480
Debt Ceiling -
LTV 72.5%
LT 75%
Liquidation Bonus 7.5%
Liquidation Protocol Fee 10.00%
Variable Base 0.00%
Variable Slope1 7.00%
Variable Slope2 300.00%
Uoptimal 45.00%
Reserve Factor 15.00%
Stable Borrowing Disabled
Flashloanable Yes
Siloed Borrowing No
Borrowable in Isolation No
E-Mode Category N/A
3 Likes

Summary

LlamaRisk is supportive of onboarding STONE on Aave V3 Scroll, conditional to launching a bug bounty program and implementing a verifiable governance timelock. Key considerations:

  • STONE is a yield-bearing Liquid Staking Token with yield from Ethereum staking, re-staking with EigenLayer and Symbiotic, and strategies decided by the StakeStone team through OPAP (Optimizing Portfolio and Allocation Proposal) proposals, indicating centralized control over the underlying collateral yield strategies.
  • STONE has $495M / 178K ETH staked, offering a 2.81% yield. It is omnichain through LayerZero and lives on 17 chains, including Ethereum, Arbitrum, Sei, and Scroll.
  • Despite being the largest asset on Scroll, STONE has limited liquidity, with 2,400 STONE to ETH DEX swaps within a 7.5% price impact. The STONE/ETH price has been stable at around 1.0248 without depeg events, with the most volume on Ethereum.
  • StakeStone has been audited seven times by firms like SlowMist and Secure3 with progressively fewer high-risk findings. A bug bounty is planned but not live yet.
  • Key risks include the StakeStone team’s full control to change strategies/contracts, DAO governance immaturity once transitioned, dependency on risky Liquid Staking Tokens like wBETH, lack of transparency (no public GitHub, and many unverified contracts). The team retains complete access control, and several dependencies are subject to change with limited prior notice.

While well-known auditors have audited the StakeStone protocol several times, the centralized control, lack of transparency, and dependency on various strategies pose elevated risks. These considerations warrant the exclusion from e-mode, at least for now. Implementing a bug bounty program and a verifiable governance timelock will help mitigate some of these concerns. If onboarded, closely monitoring the asset’s performance and the team’s actions is advised.

We’ve discussed and aligned parameters with @ChaosLabs and propose a supply cap of 2x the liquidity available within the liquidation bonus as a price impact. Due to the potential risks associated with the centralized aspects of the strategies employed for managing the underlying asset, it is recommended to use a market price feed instead of relying on STONE’s internal exchange rate.

Detailed risk assessment below

1. Asset Fundamental Characteristics

1.1 Asset

STONE on Scroll is a Liquid Restaking Token (LRT) with advanced allocation strategies launched by StakeStone in March 2024. It is a re-pricing token whose exchange rate against ETH is determined based on the amount of ETH derivatives held in the STONE protocol. More specifically, STONE is a yield-bearing asset whose yield is the sum of the native Ethereum consensus yield, re-staking yield from EigenLayer and Symbiotic, and potential other yield generation venues. It currently offers a 2.81% yield, with $495m / 178k ETH in the protocol.

image
Source: StakeStone Portfolio Allocation, September 4th, 2024

The yield is generated through different asset allocation strategies that are decided through the OPAP (Optimizing Portfolio and Allocation Proposal) mechanism. Proposals are created to create a Strategy Pool, a segregated pool of assets implementing a specific strategy. The weight given to each Strategy Pool ensures that any loss of funds remains limited to the amount of asset allocated to that pool.

So far, 9 proposals have been made with 8 passing. See the above diagram for the allocation as of August 29, 2024. Only the StakeStone team can make proposals, but it is mentioned that this will be transitioned to a DAO soon. It is important to note that re-staking strategies are, for now, highly speculative and that some strategies involve using poor quality collaterals such as BETH.

STONE is made an omnichain fungible token through LayerZero, which allows the asset to be bridged between networks with reduced friction. STONE is never burned on its source chain, and collateral can only released once bridged back to aid redemption stability. It is live on 17 chains, including Ethereum, Arbitrum, Sei, and Scroll.

The largest holder of the asset is a Tranchess STONE fund, which ends in October 2024.

1.2 Architecture

image

Source: StakeStone documentation, September 4, 2024

The StakeStone protocol aggregates the yield earned from different yield-generating venues transparently for users. This is achieved by distributing the ETH deposited into the protocol into each of the StrategyPool according to their assigned asset allocation weight, which is decided by the OPAP contract.

The process can be summarized as follows:

  1. The user deposits ETH into the StakeStone Vault contract and gets STONE tokens in returns according to the current internal exchange rate.
  2. An off-chain service allocates the ETH sitting in the StakeStone Vault contract to the different StrategyPool contracts according to their asset allocation weight set through OPAP parameters. It may imply sending the asset to StrategyPool contracts on other chains.
  3. Users may wish to withdraw their ETH at any time by burning their STONE tokens without incurring a fee from the StakeStone Vault. The StakeStone Vault currently holds 906 STONE.

Users should note that until TGE, their repository will remain private, though this architecture may be verified through block explorers.

1.3 Tokenomics

StakeStone does not have a DAO with a governance token, but one is planned shortly. This DAO will be tasked with making OPAP proposals and voting for them. The documentation mentions that those proposal deployments will be fully on-chain. Currently, only the team-controlled address 0xc52d678f99bfc43ae777a16a79b78db571a3e2a1 can make OPAP proposals, and those proposals are deployed in an off-chain manner, meaning that the teams retain full control over what gets deployed and when.

The vast majority of STONE is held on Ethereum (174K) with large amounts on Manta (10K), while the asset has most velocity on Ethereum and Scroll. Scrollscan reports 130K STONE, although this amount is largely held on mainnet (via LayerZero).

Source: LayerZeroScan (September 4, 2024)

2. Market Risk

2.1 Liquidity

image

Source: ODOS, September 4, 2024

STONE on Scroll is most liquid on Nuri exchange, STONE’s partner DEX. For reference, the weETH market of the Aave Scroll instance is maxed out with 16K deposited, and 1.6K weETH borrowed. The asset has 27,300 weETH on the network. Deposits of the asset are at their cap, indicating that more would be deposited should it be lifted. We believe that the same is true for STONE, given the circulating supply of the asset, but liquidity for STONE should first increase before considering a larger supply cap.

2.2 Volatility

Source: Coingecko Terminal, Nuri STONE/WETH (September 4, 2024)

From the end of July 2024 to the beginning of August 2024, the secondary exchange rate for STONE remained relatively flat and gradually increased after that. It currently trades slightly above ETH at 1.0248. It hasn’t suffered from any short or long-lived depeg event.

2.3 Exchanges

Source: Coingecko, September 4, 2024

STONE is mostly paired with WETH, with more than 50% of the volume being found on Ethereum mainnet. Most liquidity is found on Scroll, with 2400 STONE available to be liquidated within a 7.5% price impact on ODOS.

2.4 Growth

3. Technological Risk

3.1 Smart Contract Risk

The StakeStone protocol has received a total of 7 audits:

SlowMist, a reputable auditor with only one entry on Rekt’s leaderboard, conducted the most recent audit of StakeStone. This audit resulted in fewer high-risk findings compared to earlier audits, indicating an improvement in the project’s security. StakeStone is currently working on implementing a bug bounty program, which will offer a maximum payout of $200K for smart contract bugs and $10K for frontend bugs. However, considering the protocol’s total value locked (TVL), the bounty amounts could be higher to attract more skilled security researchers. In addition to the bug bounty program, StakeStone has engaged in audit competitions through Secure3, demonstrating their commitment to ensuring the security of their platform.

SlowMist Audit Report - EigenLSTRestaking.pdf

3.2 Price Feed Risk

STONE on Scroll has a STONE/ETH Chainlink price feed with a 24-hour heartbeat and a 0.5% deviation threshold. This could be paired with an ETH/USD feed to allow Aave contracts to price the asset reliably.

3.3 Dependency Risk

The StakeStone protocol has multiple dependencies.

Liquid Staking Protocols

The ETH users deposit into the StakeStone protocol and other Liquid Staking Protocols to generate yield. Most LST collateral is currently wstETH, though 7% is wBETH from Binance. wBETH is an asset with significant dependency, counterparty, and regulatory risks. Currently, wBETH is not on Aave. If STONE’s team can enter and exit wBETH as it pleases (given that the DAO has not yet matured), then there is no obstacle to them entering assets with significantly higher risk profiles to chase additional yield. While there is some framework detailing how yield will be generated that specifically states safety is the priority, it is difficult to verify if it is being used and there is no programmatic enforcement. There is a timelock documented with at least a 24-hour delay with many votes waiting 3-7 days to implement. Without verified OPAP contracts, this is impossible to verify. The example set primarily involves point farming, which has many inherent risks. Therefore, modifying STONE’s collateral presents the most significant risk to the Aave DAO.

Re-staking protocols

StakeStone re-stakes the LST it minted from the deposited ETH into different re-staking protocols, including EigenLayer (68% of the protocol’s asset), Symbiotic (7.1% of the protocol’s asset), and Mellow from Lido (23% of the protocol’s assets). Apart from the additional smart contract risks, failure to correctly perform the tasks required by the secured AVSs could put the re-staked assets at risk.

Future DAO selected strategies

Once the team relinquishes strategy control and the OPAP mechanism decentralizes, a DAO will allocate the ETH deposited into the protocol. Nascent DAOs face many problems, and managing an asset while establishing necessary frameworks may present significant risks. DAO participants might also lack the expertise required to gauge the risk of a strategy correctly. A risk assessment process similar to the one Aave used—with external risk providers — could help mitigate this risk.

Offchain services

StakeStone provides no details regarding the off-chain services it uses to allocate the deposited assets and eventually undelegate and unstake the assets needed to honor withdrawals.

4. Counterparty Risk

4.1 Governance and Regulatory Risk

The StakeStone team has full control over the protocol and can unilaterally change the deployed smart contract code and the underlying yield-generating strategies, including the LSTs used, the re-staking protocol used, and the choice of AVSs and underlying node operators. Only the team can make OPAP proposals and deploy them. No vote has ever received a no, and votes pass with as little as 6 STONE with no quorum, which is a security risk.

The team self-reports via LinkedIn is based in Singapore, which is known for being one of the friendliest jurisdictions to DeFi applications globally. But without regulatory clarity, uncertainty (and therefore risk) remains.

4.2 Access Control Risk

Because the codebase is not open-sourced and most contracts are not verified in blockchain explorers like Etherscan or ScrollScan, it is impossible to correctly investigate the access control systems in place in the StakeStone protocol. This forces us to rely on information communicated to us by the StakeStone team.

The StakeStone team mentions using Cobo MPC (Multi-Party Computation Wallet) as a permission management system. An MPC wallet differs from a Safe multisig in that each signer possesses a shard of the private key, and signatures are obtained through an off-chain distributed process where the main private key is never fully assembled. Using the Cobo MPC wallet makes it harder to verify signers and their actions over time.

Because the Cobo MPC wallet does not support contract deployments, the StakeStone protocol’s contracts on Scroll are deployed and owned by the StakeStone deployer address. This EOA can unilaterally renounce and transfer ownership to another address. Beyond deploying the protocol’s contracts, it can update the STONE cap on each chain. Therefore, this EOA also acts as an emergency management tool that could prevent exploits and abuse of the protocol.

We note that very few contracts are published and verified on block explorers like Etherscan (e.g., the StoneVault contract on mainnet), which reduces transparency and makes it harder for security researchers to investigate the protocol properly.

OPAP timelocks are documented, but deployer contract timelocks are not. Given that these contracts are not verified, these timelocks cannot be proven.

5. Aave V3 Specific Parameters

We use the recommended methodology for the supply cap to consider 2x the liquidity available within the liquidation bonus as a price impact. There are currently 2,400 ETH available with a 7.5% price impact. We usually select 10% of the supply cap as the borrowing cap — 480 ETH.

Although the STONE/ETH soft peg is relatively stable, we advise against using e-mode. This could be revised once StakeStone demonstrates a stronger track record, enhanced liquidity, and more decentralized governance processes are in place.

Parameter Recommendation
Isolation Mode No
Emode No
Borrowable Yes
Borrowable in Isolation No
Collateral Enabled Yes
Stable Borrowing No
Supply Cap 4,800
Borrow Cap 480
Debt Ceiling No
LTV 72.5%
LT 75%
Liquidation Bonus 7.5%
Liquidation Protocol Fee 10%
Reserve Factor 15%
Base Variable Borrow Rate 0%
Variable Slope 1 7%
Variable Slope 2 300%
Uoptimal 45%

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.

Disclaimer

This review was independently prepared by LlamaRisk, a community-led non-profit decentralized organization funded in part by the Aave DAO. LlamaRisk is not directly affiliated with the StakeStone protocol and did not receive any compensation from StakeStone for this assessment.

5 Likes

LlamaRisk is happy to report that StakeStone has launched its bug bounty program. All relevant contracts in scope are satisfactorily covered by up to a $300K reward with up to $20K allocated for frontend bugs. With this in mind, we endorse STONE’s onboarding to the protocol following the proposed parameters.

2 Likes