Introducing Alloyed Assets on Osmosis, the Ultimate Solution for Asset Composability
Liquidity fragmentation and user experience (UX) present significant challenges, particularly within cross-chain platforms like Osmosis. Osmosis allows users to deposit assets from an ever-growing list of bridges and source chains.
While this diversity is valuable, it also fragments liquidity and creates a UX nightmare. Osmosis’s solution is the innovative ‘Alloyed Asset’, which consolidates different versions of the same asset into a single, unified token.
Current Strategy and the Shift to Alloyed Assets
Historically, Osmosis has tried to tackle liquidity fragmentation by designating an asset from a single source as the official version within its ecosystem. For instance, ETH from mainnet Ethereum via the Axelar bridge became the canonical ETH on Osmosis, while other versions are marked with icons and affixes indicating their origin, like ETH.wh for assets deposited via Wormhole’s bridge or polygon.ETH.axl for ETH deposited from Polygon via the Axelar bridge.
While the suffix notation helps to clarify an asset’s source chain and bridging path, they don’t address the lack of fungibility between these assets for users. For example, polygon.ETH.axl (ETH deposited from Polygon via the Axelar bridge) is not fungible with ETH.axl (ETH deposited from Ethereum mainnet via the Axelar bridge), despite passing through the same Axelar bridge.
Clearly, as the variety of asset sources expands, so does the sheer volume of like-kind assets with affixes attached. So while this strategy has been an appropriate UX solution to date, it’s no longer sufficient. New developments and innovations have brought forth an even better solution–and this is where the launch of Alloyed Assets comes in–as the end-game vision for seamless composability of like-kind assets on Osmosis.
Taking Inspiration from Centralized Exchanges
Osmosis drew inspiration from Coinbase’s streamlined system for managing assets from multiple sources. On Coinbase, all deposited ETH, regardless of its origin, is uniformly labeled as ETH, greatly simplifying the deposit and withdrawal process.
People that use centralized exchanges (CEXes) rarely consider the custody solutions used under the hood to secure their assets. On Osmosis, bridges are intended to play a similar role to CEXes’ custody services, simplifying asset transfers while masking the underlying complexity, and providing a seamless experience for users.
Alloyed Assets: A Novel Solution
Osmosis is revolutionizing how like-kind assets are managed with the introduction of Alloyed Assets. This system leverages the ‘transmuter’, a CosmWasm smart contract that implements a stableswap AMM (optimized for like-kind assets, to enable 1:1 swaps with no slippage).
Alloyed assets represent LP shares of these pools, combining various asset versions into one fungible token. Depositing different asset versions into the pool adds liquidity and, in return, users receive LP shares in the form of alloyed assets, enhancing UX by consolidating liquidity.
Users can acquire alloyed assets by simply swapping a like-kind asset for the alloyed version in the swap page.
Alloyed assets are optional for users. Anyone who wants to hold the non-canonical, single-bridge version of an asset is free to do so.
The Great Bridge Fungifier
In a sense, the Alloyed Assets system acts as a bridge aggregator or ‘bridge fungifier’, ensuring assets transferred across diverse bridges become fungible within the Osmosis ecosystem.
Osmosis governance will determine which assets will be included in each Alloy (i.e., Alloyed pool).
Two-Tiered Approach to Managing Risk in Alloyed Asset Pools
Osmosis leverages a two-pronged rate limiter mechanism to: 1) maintain balance within Alloyed asset pools; and 2) ensure that if one source bridge is compromised, the remaining assets in an Alloyed pool from other bridges are not at risk:
- Static Limiter: This static limiter mechanism is a safeguard that prevents any single version of an asset from dominating the pool’s composition beyond a predetermined threshold.
- For example, an ETH alloy can limit ETH via the Wormhole bridge from exceeding 30% of the alloy’s composition.
- Change Limiter: On the other hand, the change rate limiter mechanism is intended to monitor and control the rate at which an asset’s share of a pool can increase over a given timeframe. This provides a window for oversight and potential intervention, ensuring the pool’s stability and integrity.
- For example, an ETH alloy can limit ETH via the Wormhole bridge from increasing its composition by more than 10% in a 24 hour period.
While Alloyed Asset pools increase a user’s exposure to more bridge-related risks, the risks associated with each potential bridge hack or failure are lessened via the rate limiting mechanisms described above.
For additional safeguards, the system will employ a SubDAO that can quickly respond to any incidents or anomalies. If an asset within an Alloyed pool is deemed corrupted, the SubDAO can mark it, triggering a mechanism where the corrupted asset’s amount and weight in the pool can only decrease. This prevents it from dominating the pool by requiring users to redeem corrupted assets in proportion to non-corrupted ones, to maintain balance.
The system also allows for the possibility of an altruistic actor to redeem all corrupted assets in a singular transaction, bypassing the limiters to cleanse the pool of the corrupted asset. Following the clearance of corrupted assets, the pool resumes normal operations, possibly with adjusted limiter settings to reflect the new asset composition. This streamlined approach ensures the integrity of the pool and protects against value depreciation.
USDT and Beyond
USDT is anticipated to be the first alloyed asset proposed to use the Alloyed Asset system—the first of many. You can get involved in the discussion here: Alloyed Asset: USDT
With alloyed assets, Osmosis aims to redefine liquidity management and UX in DeFi. This marks the beginning of an ambitious journey to support the deposit and withdrawal of a wide range of assets from diverse sources.
Osmosis is committed to continuously improving and expanding its Alloyed Asset framework. By directly addressing liquidity fragmentation, Osmosis not only enhances its platform, but also contributes to the overarching goal of seamless blockchain interoperability.
FAQs
Do I have to use an alloyed asset?
No, alloyed assets are optional. If a user wants to hold a specific version of an asset, that will be possible. However, the UX of osmosis.zone and likely other frontends will be optimized for the canonical assets, and pending governance approval, liquidity will be directed towards alloyed assets via incentives and market maker initiatives (as in prop 712).
What happens if an underlying asset runs out in an alloy?
If an underlying asset runs out in an alloy, that withdrawal path is no longer usable until refilled. In the future, Osmosis governance can choose to incentivize such rebalancing to maintain minimum liquidity of different underlying assets.
Will LSDs be included in the alloys?
No, because LSDs are not designed to maintain price parity with their underlying assets, they will not be able to be included in alloyed pools. However, there could be alloys for specific LSDs – for example a wstETH alloy enabling bridging of wstETH from numerous Ethereum L2s.
Will Rebasing tokens be included in the alloys?
No, Osmosis pools and IBC in general are not currently designed to support rebasing tokens, and they will also not be usable in alloys.
Will different stablecoins like USDC and USDT be included in the same alloy?
No, because different stablecoins have different backing and risk structures, and have historically deviated off of a perfect peg.
Can Alloyed Assets be transferred?
Yes, they can be moved within the Osmosis ecosystem and beyond in the same manner as other IBC-enabled assets. This means users can transfer their Alloyed Assets between wallets and chains, and utilize them in any protocols that list or support them. For now, the full functionality of withdrawing the individual underlying assets only exists on the Osmosis DEX.
How do users and protocols interact with Alloyed Assets compared to standard assets?
Users and protocols interact with Alloyed Assets similarly to standard assets in terms of basic functionalities such as transferring, trading, and utilizing them in DeFi protocols. However, the key difference lies in the abstraction of bridge details and asset composability facilitated by Alloyed Assets.
Users transacting through the app.osmosis.zone frontend will have the management of bridge connections and liquidity abstracted away through an intuitive withdrawal and deposit process.Protocols may need to integrate specific functionalities to handle Alloyed Assets, such as utilizing Skip’s API to handle the routing between variant assets that a user may wish to deposit and the protocol’s choice of using the Alloyed Asset or specific constituents.
Chains may choose to use the Alloyed Asset as a new standard, using Osmosis DEX as a hub for deposits and withdrawals in the same way that bridging chains currently are used as such. They may also implement a mechanism similar to Alloyed Assets and unwrap/rewrap the constituent assets using IBC middleware during the transfer process.