From d6bd6e42228aba99a0cd066cc91736d768e489e5 Mon Sep 17 00:00:00 2001 From: Daniel Farina Date: Thu, 2 Feb 2023 03:43:03 -0800 Subject: [PATCH] Add stableswap glosary items --- docs/overview/terminology.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/overview/terminology.md b/docs/overview/terminology.md index 649ca9e21..177016d42 100644 --- a/docs/overview/terminology.md +++ b/docs/overview/terminology.md @@ -83,6 +83,9 @@ A user who delegates, bonds, or stakes OSMO to a validator to earn rewards. A computer connected to the Osmosis mainnet able to validate transactions and interact with the Osmosis blockchain. All active validators run full nodes. +## Generalized Solidly Stableswap +Generalized Solidly Stableswap: A type of Stableswap that offers low slippage for multiple assets that are expected to maintain a tight correlation. It uses a mathematical formula to maintain a stable price ratio and reduce slippage, but there is still some price impact for each trade. If the liquidity becomes imbalanced, the slippage can increase. This Stableswap is implemented using the Solidly Stableswap curve and is generalized to support multiple assets. + ## Governance Governance is the democratic process that allows users and validators to make changes to the Osmosis protocol. Community members submit, vote, and implement proposals. @@ -157,6 +160,9 @@ Proof of Stake. A style of blockchain where validators are chosen to propose blo Revenue generated from fees given to validators and delegators. +## Scaling Factor +Scaling factors are introduced to set the expected price ratio for Stableswaps. Precision of pegged coins, differences in staking derivatives, and other issues make it difficult to simply rely on x_reserves ~= y_reserves. Scaling factors are used to map from raw coin units to AMM math units by dividing the raw units by the scaling factor. This mapping is done by rounding the result based on the rounding mode which has three options: RoundUp, RoundDown, and RoundBankers. All token inputs are scaled and the AMM equations must ensure that rounding is done correctly. The details of scaling and rounding are described in the relevant sections of the specification. [here](https://github.com/osmosis-labs/osmosis/blob/main/x/gamm/pool-models/stableswap/README.md) + ## Self-delegation The amount of Osmo a validator bonds to themselves. Also referred to as self-bond.