[TEMP CHECK] Onboard USDS and sUSDS to Aave v3

Title: [TEMP CHECK] Onboard USDS and sUSDS to Aave v3

Author: @ACI

Date: 2024-08-28


Summary

This proposal aims to onboard USDs and sUSDS, the rebranded DAI and sDAI tokens to Aave v3.

Motivation

DAI has been a cornerstone asset in the Aave ecosystem, with a long and successful history of supply across various versions of the protocol. MakerDAO marked a significant milestone with a rebranded to Sky, introducing USDS and sUSDS as the new iterations of DAI and sDAI. Given the established track record and widespread adoption of their predecessors, we propose to onboard these new assets to Aave v3.

By integrating USDS and sUSDS into Aave v3, we aim to maintain continuity for users who have relied on DAI and sDAI while embracing the evolution of these assets under the Sky brand.

Proof of Liquidity and Deposit Commitments

Sky protocol team has discussed providing both token incentives and liquidity provision when USDS is onboarded. ACI is in discussion with members of Sky protocol team to finalize these programs.

Specification

Based on discussion with members of Sky protocol team, we propose the following:

  • sUSDS added as collateral and borrow asset to Aave v3 Main Instance
  • USDS added as supply and borrow asset to Aave v3 Lido Instance
  • Integration with Paraswap to allow users to seamlessly swap between DAI and USDS variants within the Aave system.

We invite all service providers and community members to weigh in on these suggestions.

Final contract addresses will be provided upon final launch of the Sky protocol.

Risk Parameters will be provided at ARFC Stage by Risk Service Providers.

Disclaimer:

This proposal is powered by Skywards. ACI is not directly affiliated with Sky and did not receive compensation for creation this proposal.

Next Steps

  1. If consensus is reached on this [TEMP CHECK], escalate this proposal to the Snapshot stage.
  2. If the Snapshot outcome is YAE, this proposal will be escalated to ARFC stage
  3. Publication of a standard ARFC, collect community & service providers feedback before escalating proposal to ARFC snapshot stage
  4. 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

12 Likes

Greetings Aave. Phoenix Labs has put forward a proposal to the Sky governance process to activate SPK rewards on the main market and a D3M into the Lido market.

7 Likes

Im happy to see this kind of proposal and I’m even more happy to see @PhoenixLabs also proposing to push incentives and a lot liquidity to the Aave Lido instance to give the new stablecoins liquidity.

I really hope this marks the beginning of a great partnership between two very important protocols in the crypto space.
Both will be profiting from these proposals.

6 Likes

I think this is an extremely irresponsible suggestion by the ACI. Let’s think about this:

1. The tokens haven’t even launched yet
2. These assets likely fail 6 of the 7 categories of the Risk Quantification Criterion
3. There is no oracle from Chainlink, or likely any at all at launch
4. DAI is not a cornerstone in the Aave ecosystem - in fact Stani himself has mentioned he was in full support of offboarding DAI from Aave completely

If incentives are all that’s needed to get a new asset onto Aave then there would be proposals for new markets every single day.

Screenshot 2024-09-03 at 10.55.55 AM

2 Likes

Dear Aave community, I fully respect Aave’s decision regarding the conversion of DAI and USDS. However, I have a few concerns that I would like to consult regarding users who currently have deposits in the 12EE pool.

  1. Regarding the risk associated with DAI, is it necessary to impose withdrawal restrictions on depositors in the pool as a risk control measure, and is such a response too drastic?
  2. For users engaging in Flash Loans within the pool, no matter what type of asset is used as collateral, Flash Loans can only be successfully executed if the profit covers the interest. So why is it necessary to stop the use of DAI assets?
  3. For DAI assets that have already been subjected to risk control measures, when will the restrictions be lifted to allow users to freely withdraw their funds?
2 Likes

Summary

The launch of USDS marks an important step in the Maker ecosystem transition, a cog in the overall Endgame plan, which has evolved throughout the years. LlamaRisk expresses enthusiasm for the potential growth and synergies between Maker and Aave while remaining cautious about the implementation details, as only partial information has been provided on the release of USDS and sUSDS. The current phase is an incentivized activation campaign.

We prepared the brief below for Aave DAO’s consideration, as this marks an important event for Maker, Aave, and DeFi as a whole. Further research and recommendations for onboarding will be provided as more information becomes available.

Key Highlights

  • Maker ecosystem transitioning from DAI to USDS as part of the Endgame plan, while DAI remains immutable with no changes planned
  • USDS obtainable by upgrading DAI or converting USDC (1:1), with holders earning SKY token rewards (600M annually) and benefiting from Savings Rate
  • SKY: new governance token, upgradeable from MKR (24,000 SKY per MKR)
  • Sky.money: primary gateway to Sky Ecosystem, planned to be transferred to the new Foundation on the September 18 launch date, with Skybase International managing legal, technical, and marketing aspects
  • USDS mintable on Spark.fi with various crypto collaterals (functionality not yet available through interface), 700M SPK rewards allocated; Spark Star plays a significant role in the Sky Ecosystem
  • Activation campaign (August 20 - September 18, 2024) subject to legal terms, excludes US, UK, and prohibited jurisdictions, prohibits VPNs and anonymization; the opportunity to claim rewards honored until December 30, 2024
  • Expected PSM migration: 1.4B USDC liquidity, 6% estimated yield
  • sUSDS contract: UUPS upgradeable, ERC-20, ERC-4626, ERC-2612 compliant, no external oracle, with future upgrade plans for freeze function to ensure global scalability over a multi-month to multi-year timeline, depending on USDS growth
Reveal full USDS brief

Useful Links

Asset Fundamentals

USDS can be generated through two distinct mechanisms: an optional upgrade from DAI or a direct conversion from USDC at a 1:1 ratio.

Holders of USDS tokens will be eligible for SKY token rewards, with an expected annual distribution of 600 million SKY. SKY is a new version of the Maker governance token, which can be obtained by upgrading MKR to SKY at a rate of 24,000 SKY per MKR.

Said upgrades are facilitated through app.sky.money, a gateway to the Sky Ecosystem. The website, sky.money, is designed to enable eligible participants to interact with the Sky Protocol, utilizing USDS to accrue SKY tokens as Native Token Rewards and to benefit from the Savings Rate feature on USDS holdings.

image
Source: sky.money, September 4th, 2024

Alternative access points

USDS can also be minted on spark.fi with crypto collateral of the user’s choice. Spark has allocated an estimated 700 million SPK tokens annually as rewards for USDS users. However, it is important to note that as of this analysis, app.spark.fi currently needs to provide the functionality to generate USDS tokens directly through its interface.

image
Source: Source: https://app.spark.fi, September 4th, 2024

Terms of Service Specifics

At present, the website showcases the activation campaign only. As the Legal Terms stipulated, this campaign will run from August 20 to September 18, 2024. Participation in the Campaign necessitates accepting the terms delineated in the Campaign Appendix, the overarching Terms of Use, and the Privacy Policy. The acceptance process involves linking a digital wallet and explicitly acknowledging the binding legal agreements by selecting a checkbox in a pop-up interface. Users must subsequently sign an on-chain message containing a unique identifier, confirming their comprehension and acceptance of the terms.

Upon conclusion of the campaign, participants may claim their rewards. However, eligibility for rewards does not guarantee receipt. The claiming process is subject to Sky’s community-driven governance and may undergo modifications. Additionally, the campaign is time-bound, although the opportunity to claim rewards will be honored until December 30, 2024.

The intricate details of the reward mechanism, encompassing but not limited to the methodology of reward calculation, distribution criteria, and eligibility requirements, fall under the sole purview of Sky (the former MakerDAO) and its governance processes.

Skybase International assumes the role of the entity providing website and interface services, serving as the contractual counterparty to users in the binding agreement. While specific company details are not disclosed in Legal Terms, the choice of governing law (Cayman Islands) and the designation of Cayman courts for dispute resolution (except binding arbitration, also seated in the Cayman Islands) suggest that Skybase International may be incorporated in the Cayman Islands.

Skybase International plays an important role in the ongoing campaign, as the company retains the authority to modify the Campaign terms at any juncture, acting under the direction of Sky governance.

The campaign is exclusively limited to participants outside the United States. Notably, the United Kingdom is among the prohibited jurisdictions, along with countries appearing on FATF blacklists and greylists.

VPN software, proxy servers, or any other privacy or anonymization tools or techniques to circumvent geographical restrictions are strictly prohibited. Robust geo-blocking and VPN-detection measures have been implemented to ensure adherence to these conditions.

Legal Structure Explainer

According to a forum post authored by Rune Christensen, Skybase International operates as a subsidiary entity within a holding structure directly linked with Maker’s founder himself.

Notably, Skybase International is not designed to be a self-sustaining entity. As elucidated by Rune, the company has been specifically funded to manage the multifaceted responsibilities encompassing legal compliance, technical development, and marketing initiatives for sky.money.

As of the scheduled launch date on September 18, plans are in place to transfer the sky.money domain to a newly established Foundation. It is being formed to consolidate and manage all intellectual property holdings associated with the Sky ecosystem. While the Foundation’s formation is still in progress, publicly available information indicates that it intends to delegate the maintenance and operation of the website and application to a separate entity.

Market Dynamics

Sam MacPherson’s post on X implies that USDS will enjoy 1.4b USDC in immediately available liquidity upon successful PSM migration. Assertions were based on the collateral metrics on makerburn.com with an estimated yield of 6% (current DAI savings rate).

image
Source: makerburn.com, September 4th, 2024

Smart Contract Review

The sUSDS contract uses the UUPS (Universal Upgradeable Proxy Standard) pattern to enable upgradeability. Only authorized admins (wards[address] == 1) can:

  • Grant or revoke admin rights (rely, deny)
  • Authorize upgrades (_authorizeUpgrade)
  • Update contract parameters, e.g., Savings Rate (file)

getImplementation allows anyone to check the current implementation.

The contract implements key standards:

  • ERC-20: Standard token functionality (totalSupply, balanceOf, transfer, transferFrom)
  • ERC-4626: Tokenized shares of an underlying asset (USDS) that accrues yield over time (deposit, mint, withdraw, redeem, convertToShares, convertToAsset)
  • ERC-2612: Permit functionality for approvals via signatures (EIP-712), saving gas

The drip function updates the rate accumulator (chi) based on the USDS Savings Rate (ssr), determining the savings balance growth over time. It ensures chi only updates when time has passed since the last update (rho).

The contract doesn’t include external Oracle or price feed functionality. The price of sUSDS in terms of USDS is determined by the internal chi value and ssr rate.

Freeze Function

Details on the freeze function are revealed in another blog post by Rune.

USDS will eventually be upgraded to include a freeze function to ensure global scalability, aligning with the industry standard of other major RWA-backed stablecoins. This function will not be integrated at launch, but the token will be designed with upgradeability, allowing for its potential implementation through a governance vote.

The future freeze function is expected to adhere to the rule of law in jurisdictions where Sky needs certainty that the legal system will enforce recourse against RWA collateral. This will enhance the security, stability, and reliability of using large-scale RWA collateral for USDS as it scales.

The timeline for implementing the freeze function spans many months or years, depending on USDS growth. It will be implemented using the decentralized governance and transparent processes of the Sky Atlas to ensure a risk-minimized process with checks and balances, potentially including a decentralized appeals process for controversial cases.

Importantly, DAI will not undergo similar changes due to its technical immutability.

4 Likes

Thank you very much for taking the time to respond, but the question I have is regarding the issue of our DAI assets in Aave’s 12EE pool being frozen and unable to be withdrawn. Your report explained the DAI to USDS conversion issue, but it doesn’t seem to address when we will be able to withdraw the DAI assets in the pool.But I still sincerely appreciate it.

1 Like

I’m very sorry. I’m new to the community and not very familiar with the different interfaces. I mistakenly thought that was your response to my question. My apologies. :sweat_smile:

3 Likes

What is 12EE? We don’t have any market with this name. Are you sure you are not mistaken something here?

2 Likes

0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE

2 Likes

Sorry idk what you mean.

2 Likes

The address I mentioned earlier ending in 2312EE is the vault address for DAI on Aave. This morning, all the apolDAI assets were cleared, and I am quite puzzled by this.
æˆȘć±2024-09-05 17.00.20

2 Likes

I think this is an extremely irresponsible suggestion by the ACI. Let’s think about this:

1. The tokens haven’t even launched yet
2. These assets likely fail 6 of the 7 categories of the Risk Quantification Criterion
3. There is no oracle from Chainlink, or likely any at all at launch
4. DAI is not a cornerstone in the Aave ecosystem - in fact Stani himself has mentioned he was in full support of offboarding DAI from Aave completely

If incentives are all that’s needed to get a new asset onto Aave then there would be proposals for new markets every single day.

@69420 brings up many valid points and I would like to see a proper discussion around what the processes are here about new assets.

I recall many assets in the past being delayed or outright not listed at all for relatively minor reasons. Certainly, USDS and sUSDS represent opportunities for Aave but we should have consistent guidelines that are abided by in asset listings. As it is now, there seems to be little transparency in how certain assets end up being listed and how others stay in temp check. @ApuMallku can probably attest to the number of times they’ve revisited a thread to see if there would be progress on the asset being listed and getting nothing in response.

1 Like

The ACI and Aave delegates appear to have completely ignored these concerns. This is extremely disappointing.

You’re confused. You should be looking at the balance of DAI in the aDAI contract not the balance you circled. The correct one is at the top of that list.

1 Like

It’s useless to reference outdated documents when trying to argue specific points on the process. Do check the Governance pinned posts for the latest v1 governance process.

USDS is completely fungible with DAI by design. Risk service providers and technical service providers did a thorough review ahead of listing as they do with all onboarding.

3 Likes

This looks like a solid proposal, and I’m hopeful it’ll work out well. I’m just curious to see how the new tokens will actually perform and if they’ll gain the adoption we expect.

1 Like

Thank you for your correction. I couldn’t find our original contract address in my image. The address is “0x18FBD380aD51A4bcb3A1A8a89107483d10B716c0”, which used to be the contract with the largest holding of apolDAI tokens, but now it shows zero. Tens of thousands of addresses deposited tens of millions of DAI into the “12EE” pool through this contract. However, the assets are now untraceable. We might have been deceived by the owner of the 1c60 contract.

1 Like