๐Ÿ”ตDEX methods

The core entrypoints

Investing

Any user could invest their own liquidity to contract and receive Liquidity Pool Token (LPT). LPT allows earning interest from Swapping and imbalanced invests/divests.

Balanced invest

Imbalanced invest

More info about invest entrypoint written out on the corresponding page.

Swapping

The main idea of DEX is to swap between different liquidity entries. This contract used swap math, which tried to keep math calculations as close as possible to Curve math. Each swap has a 0.05% fee that goes to liquidity providers (this part of the reward stays in liquidity pool), QUIPU pool stakers (if no one had staked yet, this part of the fee goes to liquidity providers), referral (if not provided goes to default referral address), and to the developer.

Divesting

The liquidity provider could take back his liquidity by performing divest operation. The provider could choose a more convenient divest method from 3 variants: balanced/imbalanced/in one coin. Info about the difference of variants described at Divesting page.

Additional interest

Participators of DEX pools are allowed to earn additional rewards as referrals or by staking QUIPU tokens. For more information about earning rewards in this way, follow the page under this text.

Last updated