By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: How Swap Volume and Gas Fees Impact CBDC Exchange Costs | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > How Swap Volume and Gas Fees Impact CBDC Exchange Costs | HackerNoon
Computing

How Swap Volume and Gas Fees Impact CBDC Exchange Costs | HackerNoon

News Room
Last updated: 2025/04/15 at 2:45 PM
News Room Published 15 April 2025
Share
SHARE

Table of Links

Abstract and 1. Introduction

  1. Background

    2.1 Layer-2 Blockchains

    2.2 Project Mariana

  2. Related Work and Contribution

  3. System Architecture

  4. Model

    5.1 Automated Market Makers

    5.2 Price Impact

  5. Simulation

    6.1 Data and Parameters

    6.2 Results

  6. Discussion

  7. Conclusions, Acknowledgements, and References

Graphs and Tables

6.2 Results

Fig. 4. Difference between the total swap costs at L1-Mariana and L2-L3-Exchange. The negative difference indicates L2-L3-Exchange out-performance for small and large transaction volumes.Fig. 4. Difference between the total swap costs at L1-Mariana and L2-L3-Exchange. The negative difference indicates L2-L3-Exchange out-performance for small and large transaction volumes.

Fig. 5. Breakdown of total swap costs into gas fees, LP fees (swap fee) and price impact (slippage) as a function of the swap volumeFig. 5. Breakdown of total swap costs into gas fees, LP fees (swap fee) and price impact (slippage) as a function of the swap volume

Fig. 6. Price impact at L1 Mariana and L3 AMM operators. The liquidity pool at L1 Mariana AMM is worth 100mn EUR and each pool of L3 AMM is worth 33mn EURFig. 6. Price impact at L1 Mariana and L3 AMM operators. The liquidity pool at L1 Mariana AMM is worth 100mn EUR and each pool of L3 AMM is worth 33mn EUR

The simulation outcomes are depicted in Figs. 4, 5 and 6. Fig. 8 in the appendix presents the historical total swap costs for transaction volumes of 10k, 100k, and 1mn EUR for CHF for each day over the last 3 years with fixed gas fees. Fig 4 extends this analysis for various gas fees and presents the difference between the costs of L2L3 Exchange and L1 Mariana. Notably, L2-L3-Exchange outperforms for volumes of 10k and 1mn. This outperformance varies, influenced not only by transaction volume but also by current gas fees, as shown in fig. 4. For gas fees surpassing 800 EUR, L2-L3-Exchange outperforms for any transaction volume. For lower gas fees, such as 15 EUR, the out performance range is observed for volumes representing less than 0.01% or more than 0.7% of the provided liquidity. The reason for L2-L3-Exchange outperforming for smaller transactions lies in the minimization of gas fees through the application of L2 and L2s. Fig. 5 breaks down total swap costs, indicating that gas fees dominate the costs for L1 Mariana in smaller transactions, compared to the swap fee for L2-L3-Exchange. For larger transactions, price impact becomes the predominant component of total swap costs.

The outperformance of the L2-L3-Exchange over L1-Mariana and its ability to handle price impact effectively stem from the use of L3 with CLMM, as illustrated in Figs. 6. The analysis of L3 selection indicates the use of L3 with Cryptoswap Invariant 2-token pool for smaller transactions, while the 3-token pool of Cryptoswap Invariant is unused for any transaction volumes. L3 with CLMM and 2-token pool Cryptoswap Invariant outperforms, in certain situations, the 3-token pool of CryptoSwap Mariana despite liquidity fragmentation, with each L3 having three times less liquidity than L1 Mariana. Fig. fig. 5 explains the role of gas, swap, and price impact components in overall transaction costs. The simulation showed that applying more AMMs, despite the liquidity fragmentation, outperforms the application of just one AMM: 100mn to L1- Mariana and 33.33mn to each L3. Fig. 9 simulates the swap costs when various total liquidity is provided.

Table 1. Breakdown of the average fees for the small (10k EUR), medium (100k EUR) and large (1mn EUR) transactions. The buy EUR-CHF transactions are considered at L1 Mariana and L2-L3 Exchange. All fees are denominated in EUR. The simulation is based on the daily historical FX rate for the last three years.Table 1. Breakdown of the average fees for the small (10k EUR), medium (100k EUR) and large (1mn EUR) transactions. The buy EUR-CHF transactions are considered at L1 Mariana and L2-L3 Exchange. All fees are denominated in EUR. The simulation is based on the daily historical FX rate for the last three years.

Authors:

(1) Krzysztof Gogol, University of Zurich ([email protected]);

(2) Johnnatan Messias, Matter Labs;

(3) Malte Schlosser, University of Zurich;

(4) Benjamin Kraner, University of Zurich;

(5) Claudio Tessone, University of Zurich.


Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Hertz Customer Data Stolen in Breach, Possibly Including Licenses, Social Security Numbers
Next Article At Trial, Mark Zuckerberg Avoids Explaining Takeovers of Instagram and WhatsApp
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Why Bitcoin and Ethereum May Not Be as Fair as You Think | HackerNoon
Computing
Global reservoir water data are incredibly good. The reality of many areas is very different.
Mobile
Trump’s Surgeon General Pick Is Tearing the MAHA Movement Apart
Gadget
iPhone fold: All the rumors about Apple’s first foldable, and when it might launch
News

You Might also Like

Computing

Why Bitcoin and Ethereum May Not Be as Fair as You Think | HackerNoon

13 Min Read
Computing

Free Character Profile Template for Writers & Creators |

20 Min Read
Computing

The State of Cloud Storage: #Decentralize-Cloud | HackerNoon

10 Min Read
Computing

How to Implement Account-based Marketing: 7 Real-Life Examples

32 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?