π’Saber
"Saber is the leading cross-chain stablecoin exchange on Solana"
Last updated
"Saber is the leading cross-chain stablecoin exchange on Solana"
Last updated
Stable swap is optimised for assets that trade at nearly the same value (ie USDC/USDT)
Saberβs product is its own βAutomated Market Makerβ contract. Meaning they have their own smart contract which calculates how much an asset should be swapped for
Constant Product AMM (useful for assets which have volatile prices)
IE Liquidity Pool, price slippage
X*Y=K // Token A value * Token B Value = Constant
Constant Sum AMM (1:1 trading)
IE Treading assets with the exact same price, no slippage
X+Y=K // Token A price + Token B price = Constant
Stable swap - Saber's AMM calculation
A combination of
X + Y + X*Y = D + (D/2)^2