Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions public/articles/articles-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@
"featured": false
},
{
"slug": "challenges-of-backing-by-basket-of-assets",
"title": "The Challenges and Problems of Backing by a Basket of Assets",
"author": "Zahnentferner",
"date": "2024-06-13",
"image": "/images/challenges-of-basket-backing.webp",
"excerpt": "Exploring the hidden pitfalls of backing a stablecoin with a basket of assets instead of a single asset.",
"slug": "introducing-gluon-on-ergo",
"featured": false
},
{
"title": "Introducing Gluon, the future of stablecoin protocols on Ergo",
"author": "Wen-Chiao Su",
"date": "2024-05-01",
Expand Down
60 changes: 60 additions & 0 deletions public/articles/basket-backing-challenges.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: "The Challenges and Problems of Backing by a Basket of Assets"
author: "Zahnentferner"
date: "2024-06-13"
image: "/images/challenges-of-basket-backing.webp"
excerpt: "Exploring the hidden pitfalls of backing a stablecoin with a basket of assets instead of a single asset."
---

# The Challenges and Problems of Backing by a Basket of Assets

All the stablecoin protocols that The Stable Order designed (notably multiple versions of Djed and Gluon) are backed by a single asset. And this can be seen in their various deployments:

- SigmaUSD: backed only by ERG
- Djed powered by COTI: backed only by ADA
- Djed on Milkomeda: backed only by mADA
- Zephyr: backed only by ZEPH
- Gluon Gold on Ergo (upcoming): backed only by ERG
- Ethereum Classic Stable Dollar (upcoming): backed only by ETC

So, occasionally we are asked:

*Why not back the stablecoin by a basket/portfolio of assets instead of a single asset?*

The main advantage of backing by a basket of assets is straightforward: a diversified portfolio reduces risk. Even if one of the assets in the basket loses value significantly, possibly even becoming completely worthless, the other assets are still there to provide backing.

(Note, however, that the usual high-correlation between crypto-assets reduces the benefits of this advantage. To fully benefit from the risk reduction, the assets in the portfolio should be as uncorrelated as possible.)

The disadvantages, challenges and problems of backing by a basket of assets instead of a single asset are more subtle.

The first one is: who decides the proportion of each asset in the basket?

Note that a naive approach to this question, where we would just allow the proportions to fluctuate freely depending on what users are depositing and withdrawing would be vulnerable to a variation of Gresham's Law:

*Bad money drives out good money.*

For example, in a stablecoin backed by two assets A1 and A2, if people perceive A1 as a better asset to hold than A2, then they could deposit A2 in the reserve to mint stablecoins and then redeem these stablecoins for A1, thus driving the "good" A1 out of the reserve and leaving the stablecoin backed by the "bad" A2.

Therefore, a stablecoin backed by a portfolio needs some form of portfolio management. In principle, this could be done in a centralized way, through decentralized governance or in an algorithmic way. But each of these three ways increases complexity and brings additional challenges or undesirable consequences.

A centralized portfolio management would bring the usual disadvantages of centralization, including the risk that the single entity manages the portfolio for its own benefit instead of doing so for the benefit of the system. Decentralized governance would just mean that decisions are not done by a single entity but by a majority of various entities (or even minority in case of low participation), but the potential conflict of interests remain. In both cases, the stability derived from knowing that the rules and parameters of the system will remain unchanged ("code is law"!) is lost. So, from a philosophical perspective, only algorithmic portfolio management is really suitable.

The challenge with algorithmic portfolio management then is which algorithm to choose. There is a vast academic literature on proper portfolio management, but these algorithms require lots of historical data about the prices of the portfolio's assets. Nowadays, blockchain oracles do not provide all this data. And, even if they did, it would be too expensive to process all that data on chain, in a smart contract. Doing it off-chain would lead us back to centralization or decentralized off-chain governance.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add missing hyphens to compound adjectives and technical terms

Several compound adjectives and technical phrases lack required hyphens:

  • Line 42: "on chain" → "on-chain"
  • Line 50: "single asset backed stablecoin" → "single-asset-backed stablecoin" (appears twice)
  • Line 50: "two-asset backed" → "two-asset-backed" (inconsistent hyphenation)

Apply these diffs to fix hyphenation:

-And, even if they did, it would be too expensive to process all that data on chain, in a smart contract.
+And, even if they did, it would be too expensive to process all that data on-chain, in a smart contract.
-Let's suppose that we would like to have a stablecoin S backed by two assets A1 and A2. Instead of modifying a single asset backed stablecoin protocol to work as a two-asset backed stablecoin protocol with, let's say, a built-in liquidity-pool-like mechanism to manage the A1 and A2 portfolio, we could do one of the following two options:
+Let's suppose that we would like to have a stablecoin S backed by two assets A1 and A2. Instead of modifying a single-asset-backed stablecoin protocol to work as a two-asset-backed stablecoin protocol with, let's say, a built-in liquidity-pool-like mechanism to manage the A1 and A2 portfolio, we could do one of the following two options:
-With both of these options, one can effectively have a stablecoin backed by multiple assets using just a single asset backed stablecoin protocol.
+With both of these options, one can effectively have a stablecoin backed by multiple assets using just a single-asset-backed stablecoin protocol.

Also applies to: 50-50, 56-56

🧰 Tools
🪛 LanguageTool

[grammar] ~42-~42: Use a hyphen to join words.
Context: ...oo expensive to process all that data on chain, in a smart contract. Doing it off...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
public/articles/basket-backing-challenges.md lines 42, 50, and 56: several
compound adjectives and technical phrases are missing hyphens; update "on chain"
to "on-chain" at line 42, change both occurrences of "single asset backed
stablecoin" to "single-asset-backed stablecoin" and change "two-asset backed"
(or "two asset backed") to "two-asset-backed" around line 50 (and any duplicate
instances), and apply the same hyphenation correction to the phrase at line 56
(and any other occurrences like "50-50") so all compound modifiers are
consistently hyphenated.


An alternative could be to design algorithms that are not based on proper portfolio management, but they might be "good enough" and feasible to implement as smart contracts.

For example, one option could be to implement mechanisms similar to those used by liquidity pools. In a liquidity pool between assets A1 and A2, it becomes progressively more expensive to swap A2 for A1 as the proportion of A2 in the pool increases. Similarly, we could make it progressively more expensive to mint stablecoins by depositing A2 as the proportion of A2 in the reserve increases. However, the equations used by liquidity pools nowadays are rather ad-hoc.

Independently of the algorithmic portfolio management approach that we choose (whether it is a propoer portfolio management approach when it becomes technically feasible on chain or a liquidity pool inspired approach), it would be more interesting to do it outside the stablecoin protocol, for the sake of simplicity and architectural compositionality.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix spelling error: "propoer" → "proper"

Line 48 contains a typo in the word "propoer" which should be "proper".

Apply this diff to fix the spelling:

-Independently of the algorithmic portfolio management approach that we choose (whether it is a propoer portfolio management approach when it becomes technically feasible on chain or a liquidity pool inspired approach), it would be more interesting to do it outside the stablecoin protocol, for the sake of simplicity and architectural compositionality.
+Independently of the algorithmic portfolio management approach that we choose (whether it is a proper portfolio management approach when it becomes technically feasible on-chain or a liquidity-pool-inspired approach), it would be more interesting to do it outside the stablecoin protocol, for the sake of simplicity and architectural compositionality.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Independently of the algorithmic portfolio management approach that we choose (whether it is a propoer portfolio management approach when it becomes technically feasible on chain or a liquidity pool inspired approach), it would be more interesting to do it outside the stablecoin protocol, for the sake of simplicity and architectural compositionality.
Independently of the algorithmic portfolio management approach that we choose (whether it is a proper portfolio management approach when it becomes technically feasible on-chain or a liquidity-pool-inspired approach), it would be more interesting to do it outside the stablecoin protocol, for the sake of simplicity and architectural compositionality.
🧰 Tools
🪛 LanguageTool

[grammar] ~48-~48: Ensure spelling is correct
Context: ...pproach that we choose (whether it is a propoer portfolio management approach when it b...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~48-~48: Use a hyphen to join words.
Context: ... when it becomes technically feasible on chain or a liquidity pool inspired appro...

(QB_NEW_EN_HYPHEN)


[grammar] ~48-~48: Use a hyphen to join words.
Context: ...ly feasible on chain or a liquidity pool inspired approach), it would be more int...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
public/articles/basket-backing-challenges.md around line 48: fix the spelling
typo "propoer" to "proper" in the sentence so it reads "whether it is a proper
portfolio management approach..." — update that word only, keeping the rest of
the sentence unchanged.


Let's suppose that we would like to have a stablecoin S backed by two assets A1 and A2. Instead of modifying a single asset backed stablecoin protocol to work as a two-asset backed stablecoin protocol with, let's say, a built-in liquidity-pool-like mechanism to manage the A1 and A2 portfolio, we could do one of the following two options:

1. Create a liquidity pool between A1 and A2 and then make S be backed by the LP token of the liquidity pool.

2. Create a stablecoin S1 backed by A1 and a stablecoin S2 backed by A2; then create a liquidity pool between S1 and S2 and let S be the LP token of this liquidity pool.

With both of these options, one can effectively have a stablecoin backed by multiple assets using just a single asset backed stablecoin protocol.

The second option even has the added benefit of giving users a form of decentralization of choice. Those who would prefer a stablecoin backed only by A1 or only by A2 would have the option of minting only S1 or only S2, even if they are minority.

Considering all the above-mentioned factors, researching stablecoin protocols backed by portfolios/baskets of assets appears to be unnecessary and undesirable. But creating stablecoins that are indirectly backed by multiple assets through a composition of portfolios/pools and single-asset-backed stablecoins would be worthwhile.
Binary file added public/images/challenges-of-basket-backing.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.