Liquidity Pool Deposit Operation Min/Max Price?

Liquidity Pool Deposit Operation Min/Max Price?

Manage alerts

Loading saved threads...

AndyPrince · External communityPost link
External question — Stellar Stack Exchange Author: AndyPrince Original post: https://stellar.stackexchange.com/questions/5841 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Does anyone know what the Min/Max Price parameters on the Liquidity Pool Deposit operation do at a conceptual level? https://developers.stellar.org/docs/start/list-of-operations/#liquidity-pool-deposit https://github.com/stellar/stellar-core/commit/0cb6260a18050edaa95a4fd2b1dd8de814c0c168
Quote
Report
jmar42 · External communityPost link
External answer — Stellar Stack Exchange Author: jmar42 Original post: https://stellar.stackexchange.com/a/5908 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. The min/max price will but the current market price of the non-native (XLM) asset. Example, USDC vs. XLM would be roughly right now 2.91 min 2.93 max if using "Number". I'm sure they do this for market slippage error so that if the markets are moving fast there is some wiggle room to get you into the AMM vs. exact ratios and the transaction failing.
Quote
Report

Post Reply

Checking account access…