docs's People
Forkers
isabelluoyx dodoricky rambulik mianmiantiger williamaronli fly050505 gcoinman azmove mutabor-code contropist twenty34 crypto-yang lbk3530 cleancoindev ope123515482 harshrpg jaetask whisker17 bolonia ethanzhang1996 bayram63 bergdave fetsorn kokuadrat yuichiroaoki cryptowen elizadetebriz rooct ilienongithub jujuyu andro54 autarkxu drzedd42 clemilsondonizete limore0129 azaidelson fraugdibdocs's Issues
Help Us Translate
NFT Intro’s review and its Chinese translation
NFT Intro’s review and its Chinese translation
Erroneous claim about equality of PMM curve to AMM curve when K=1
In the PMM explanation here[https://dodoex.github.io/docs/docs/pmm] there is a statement that if k=1, the PMM curve actually becomes the same as AMM curve. This seems wrong.
It would be correct if the exponent of (B0/B) equaled one. It is not correct if the exponent is 2 as in your final formula.
Proof:
The AMM formula looks like this (with zero fees): dy = dx*Y / (X+dx). Here, X and Y are amounts of liquidity present in the pool for assets X and Y, dx is the amount of asset x sold, and dy is the amount received.
If we translate this to Dodo nomenclature with k=1, P = dx/dy, and P also equals X/Y * (Y/(Y-dy)).
Indeed, dx/dy equals the actual price (P), X/Y is the initial price i, and Y/(Y-dy) is essentially B0/B.
After algebraic simplification, we bring the expression dx/dy=X/Y*(Y/(Y-dy)) to the exact AMM formula: dy = dx*Y/(X+dx)
Of course, if the exponent of Y/(Y-dy) was 2, we would not get to this result.
DODO DOC 文档汉化版上线
目前已有中文文档,包括图片、公式等格式
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.