💱 Classifying the SDEX Holistically

未关闭
#3,085 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
领域
documentation

调研方向

Read the linked SDEX and liquidity pools page, especially lines 14–21, alongside the issue’s discussion of offerIDs, contraIDs, and AMMs. Clarify how the SDEX, order book, and liquidity pools relate, and check the claims against the behavior described in the issue. Done means the documentation accurately explains that relationship and the relevant execution terminology.

由索引模型根据 Issue 内容生成。

描述

In the coming months, I will make a bona fide attempt to finish the SDEX page from #338. I want to iron out any of the alignment choices I made drafting those updates beforehand, since by the time I put in the PR, it will be pretty close to some substantive regulatory interactions. Unlike the other guides from that issue, this one will actually be relatively imminently reviewed, and I think it would benefit the network to have many of the clarifications that improve complianceness.

Yes, I decided that is a word, but more importantly than that, these are just factually proper as to the current DEX behavior. The biggest thing in my mind is the current implementation introducing the DEX & liquidity pools. I combine them into a cohesive unit:

https://github.com/stellar/stellar-docs/blob/9ae77130c0be6463c1524901e88c43741bd425ad/docs/learn/fundamentals/liquidity-on-stellar-sdex-liquidity-pools.mdx?plain=1#L14-L21

Later on, I go to define the placeholder offerIDs generated on execution of market orders and contraIDs, which we have used in our codebase with the Commission's review for at least three years. I'm less worried about the semantics on that, since they make a lot more sense in place. But just for clarity, I want to note it because a native AMM generates a contraID which the user receives in return for marketable execution against an AMM (ref #1545, but I'm not proposing the full implementation here).

Because a user can make an offer which executes against a liquidity pool, it follows that liquidity pools are part of the SDEX. The "SDEX" term itself originates from long before Protocol 18, but nobody ever really bothered to reassess it once AMMs came into Core. If you can start with the order book (via a priced offer) and end on the AMM, then logically those two are part of the same system, even without CAP-37.

主要语言
MDX
星标
145
派生
326
平均合并
2 天 18 小时
30 天内合并 PR
109

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stellar/stellar-docs 的其他 Issue

查看 stellar/stellar-docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。