Skip to main content

Swap Introduction

The youves platform incorporates a swap feature with a constant function market maker (CFMM). The CFMM is optimised to have a flat response curve. The goal is to limit the slippage for exchange pairs.The flat-curve DEX is designed in a way where even very high inputs of asset 1 in a trade will never empty the asset 2 side of the trade as the function can make the outgoing asset arbitrarily expensive.

The swap feature supports swaps for both correlated and uncorrelated asset pairs which are powered by the youves flat curve/target flat curves and some by external DEXes within the Tezos ecosystem. (Quipuswap, Plenty, and 3route).

Further details and explanations of the flat-curve are in this github repository.