All You Need to Know About SORA Synthetics (XST) on Polkaswap

Polkaswap
Polkaswap
Published in
7 min readAug 18, 2023

The article aims to address community questions ahead of the SORA Synthetics (XST) launch.

TL;DR

  • The XST platform will have the same network fees as regular swaps on Polkaswap, although the liquidity route will differ, and there will be a synthetic asset fee based on the asset.
  • Swapping XST tokens for XST-based assets, like XSTUSD, will burn the equivalent amount of XST tokens reducing their supply. Likewise, if XSTUSD is swapped to XST, the XST supply will increase proportionately.
  • Oracles will have 4-minute interval feed updates to help protect against front-running and keep asset prices constantly up to date.

We have previously covered an introduction to SORA Synthetics (XST) assets and the precursor to the platform XSTUSD. With the announcement of SORA Synthetics (XST) and the testnet that allowed the community to mint their algorithmic synthetic assets, questions began flooding the platform on details about XST.

In this article, we will answer some questions the community raised before the platform release so that you can mint XST assets with style and freedom and the confidence that you are using a secure platform.

What are the swap fees, where do they go, and what is burned?

As with other swaps on Polkaswap, the fee is currently 0.7 XOR (about 15 cents at the time of writing). Additionally, the XST traded is burnt as collateral for the asset in question, so, for example, to mint $1 XSTUSD, $1 worth of XST tokens would be burnt.

The swap fees are similar to any swap on Polkaswap. There are two differences, however. The first is that the underlying liquidity source, as all XST swaps, regardless of the pair, needs to follow the route X > XST > XSTXXX, and vice versa, XSTXXX > XST > X.

The second is that there will be a Synthetic asset fee specific to each synthetic (e.g., XSTBTC will have fee A, and XSTCHF will have fee B. Although A = B is possible). The Synthetic Asset Fee is determined upon creating the synthetic asset through governance and can be modified through governance later on. Those fees are calculated in XST, 0.666%, and the amount is converted and charged in XOR.

Here are two examples of asset flows and their respective fees;

1) To Swap XSTRUB > XSTCHF, the swap route would be: XSTRUB > XST > XSTCHF. There would be no LP fee involved, but some Synthetic Asset fees involved.

The total fees would be: **Total fee** = XSTRUB(fee_ratio + dynamic_fee_ratio) + XSTCHF(fee_ratio + dynamic_fee_ratio)

fee_ratio: fee, which is set during synthetic asset registration

dynamic_fee_ratio: dynamic fee calculated in the band pallet (more details).

2) To Swap XSTBTC > XOR, the swap route would be: XSTBTC > XST > XOR. In this case, an LP fee is involved, as well as a synthetic asset fee.

Then, the total fees would be: Total fee** = XSTBTC(fee_ratio + dynamic_fee_ratio) + fee_LP(XST-XOR)

How do the assets flow, what are the pools impacted, and can you give some examples?

As mentioned above, the asset route is X > XST > XSTXXX, and vice versa, XSTXXX > XST > X. When any token is traded for an XST-based asset, it is first traded for XST, which is then burnt to mint the desired asset, so if a user wants to trade XOR for XSTCHF, the route would be XOR > XST (burn) > XSTCHF (mint). Or vice versa, XSTCHF (burn) > XST (mint) > XOR.

In this case, the XOR-XST pool would be impacted. It is also important to note that XST-based assets cannot be pooled, although as an exception, it is possible to pool XSTUSD with other SORA network tokens (excluding XST-based assets).

How do the Oracles work exactly? What front-running prevention mechanisms are in place?

Through collaboration with our partners at Band Protocol, the price feeds for over 30 assets, including cryptocurrencies, fiat currencies, and RWA (real-world assets), are fed into SORA Synthetics (XST), allowing users to mint any of these assets.

Currently, the front-running mechanism is a constant (4-minute interval) update of the price feed, enabling SORA Synthetics (XST) to have the most updated price and prevent people or their bots from taking advantage of any price offset.

To prevent front-running, we have implemented a dynamic fee for the synthetic assets based on the percentage change in the Oracle price. This dynamic exchange fee is based on SIP-184: Dynamic Exchange Fees. More information about the implementation is available here.

Additionally, we have implemented a fallback mechanism for market manipulation if there is an Oracle data feed outage for any synthetic asset. If the last price update for a specific synthetic asset happened more than one hour prior, the synthetic asset will automatically be disabled. Once the Oracle data feed resumes, the synthetic asset must be reenabled through governance.

What are the pros and cons of using XST, and why is XST needed?

Using XST as collateral, stable XST-based tokens can be minted “synthetically,” which removes the requirement for over-collateralization when minting the asset. So, for example, 1 XSTUSD is $1 worth of XST, unlike other synthetic assets where to mint a token worth $1, about $1.20 has to be put as collateral.

What is the current XST supply?

The total supply of XST varies. Check the SORA Ministry of Finance XST quantity live data feed for the latest amount. As of the time of writing this, there is currently 1,471,530,869.11 XST.

How much XST remains to be farmed, and when will the farming conclude?

Within the XOR-XST farming pool on Demeter, there are still 108,227,836 XST left to be farmed, with the farm ending on the 5th of February 2024. On the XOR-ETH and XOR-DAI pools, there is still 26,400,263 XST left to be farmed, with the farm also ending on the 5th of February 2024.

If I pool XOR + XST assets, what do I earn?

Unfortunately, XST assets are not available for pooling, only the XST token itself. The only XST asset that can be pooled is XSTUSD. However, it cannot be paired in a pool with other XST-based assets.

How is XST different to SNX?

The main difference between SORA Synthetics (XST) and Synthetix is that for users to mint Synthetix assets, they need to add their $SNX token to a liquidity pool, whereas, in the case of SORA Synthetics (XST), the XST token put as collateral gets burnt. ETH, LUSD, and DAI also collateralize SNX tokens.

Synthetix is a debt-based system where the stakers incur debt by minting the synthetic asset staking $SNX and are freed from the debt when the synthetic asset is burnt. The XST platform, on the other hand, does not cause debt to its user and instead burns the collateral $XST tokens to mint the XST-based asset.

Stakers on the SNX platform must maintain their collateralisation ratio (C-Ratio), or they will be penalised. Source: SNX Litepaper.

How is XST different to LUNA?

The main difference between XST and LUNA is that XST is decentralized, and the TBC provides a protection mechanism against boom and bust cycles or speculative attacks, with the collateral to mint XST-based assets being burnt whenever new assets are minted. The XST token backs all XST-based assets, a deflationary token no longer minted, and the only source of new circulating XST comes from liquidity pools within the Demeter platform.

In Conclusion

SORA Synthetics (XST) is unique in the entire Substrate ecosystem. There is no other blockchain currently operating within the ecosystem that has a synthetic asset platform with over 30 price feeds that will allow the community to mint any asset they choose, with the ability to add more via on-chain governance. Every time an XST asset is minted, the overall supply of XST tokens is reduced, reducing the amount of XST tokens needed to mint more assets. SORA Synthetics (XST) is receiving front-running protection, and since the assets are stable, XST-based assets will not fluctuate in value unless the RWA is pegged to changes.

We hope this FAQ helps you understand how XST will work, the main differences between XST and other algorithmic assets, and the benefits the platform brings to users seeking stability. SORA Synthetics (XST) aims to make assets universally accessible through a synthetic representation that is safe, stable, and, most importantly, stylish and free.

As the launch of SORA Synthetics (XST) approaches, more documentation will be provided to cover extensively the platform’s mechanisms and comprehensive guides to request assets through governance. In the meantime, if you have further questions, contact the SORA community on Telegram or Twitter for more support.

About Polkaswap

Polkaswap is a DeFi application on the SORA network, it is a non-custodial liquidity aggregating, cross-chain AMM DEX designed uniquely for the Polkadot ecosystem. It offers boundless liquidity through its one-of-a-kind Aggregate Liquidity Technology (ALT).

Polkaswap utilizes SORA network interoperability with the Polkadot and Kusama networks, as well as the capability to bridge external blockchains (like Ethereum) to the Polkadot ecosystem.

Connect With Us

Polkaswap 𒊹𒂵𒆜 community:

Twitter | Telegram | Reddit | YouTube | Announcements Channel

--

--

Polkaswap
Polkaswap

https://polkaswap.io is a non-custodial cross chain AMM DEX designed uniquely for the Polkadot and Kusama ecosystems and hosted on the SORA 2.0 network.