第0章: 恒定函数做市商-交易函数-公式的疑问 #67
Unanswered
dianxia52
asked this question in
Milestone 0. Introduction
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在文章中:
(x+rΔx)(y−Δy)=k
对于r的解释: 池子也会从我们给出的 token0 中收取一定数量的手续费 (r)
疑问是:
考虑手续费的情况下, 不应该是 (x+(1-r)Δx)(y−Δy)=k么?
如果直接r×Δx的话, x只多了手续费的量, 但y却直接少了卖出的量, k就不恒等了. 所以这块有疑问.
Beta Was this translation helpful? Give feedback.
All reactions