๐Ÿ“ŠSafuuX DEX

SafuuX Swap

Token swaps in Safuu DEX is a simple way to trade/swap tokens in SafuuX Chain. SafuuX DEX is an Automated Market Maker (AMM) and native Decentralised Exchange of SafuuX Chain for instant swap of SFU-20 tokens. Users of our platform will pick input and output tokens they want to trade with a specific input amount and our protocol will calculate how many output tokens they will receive.

Our SafuuX DEX smart contracts or pairs manages a liquidity pool which has a reserve of two SFU-20 tokens similar to popular exchanges like Uniswap or PancakeSwap. These tokens track pro-rata LP shares of the total reserves, and can be redeemed for the underlying assets at any time.

Token pairs are the automated market makers which accepts input tokens to give equivalent output tokens as long as the โ€œconstant productโ€ formula is met which is simply expressed as x * y = k where k is the pairโ€™s reserve balance and state of it must be maintained and not changed. As the k is unchanged, it's also referred to as invariant. This formula has the desirable property that larger trades (relative to reserves) execute at exponentially worse rates than smaller ones.

Swapping

Token swapping in SafuuX DEX letโ€™s users instantly trade one SFU-20 token for another without the need of Central Exchange. Our DEX does not use an order book to determine price or liquidity, instead uses an automated market maker (AMM) to determine rates and slippage.

Liquidity Pools

Every liquidity Pool in SafuuX DEX is a trading pair which consists of two different SFU-20 tokens. When a pool is created, the first person to provide liquidity sets the initial price of the pool and are also incentivised to deposit equal value of both tokens into the pool.

Swaps can occur in SafuuX DEX when there is enough liquidity on a trading pair. If there isnโ€™t much liquidity, then the swaps could be either expensive or not possible.

Once the user provides liquidity, they get LP tokens, which will earn rewards in the form of trading fee as their contribution helps the exchange to have enough liquidity for users to perform swaps. When a trade occurs, a 0.19% fee is charged and out of which 0.14% is distributed to all LPs in the pool after trade is completed successfully.

When a user performs a swap on SafuuX DEX, they will pay a 0.19% trading fee.

โ— 0.14% - returned to the liquidity pools to reward LPs

โ— 0.05% - sent to the Treasury

Last updated