by denvercoder904 · 4y ago · 0 comments
Retail investors try reading it, give up, and quietly agree that the emperor’s new clothes are lovely
For AMMs, same applies to Uniswap. Their whitepapers(V1,V2,V3) are both accessible and formal enough to be useful.
Also this paper from Curve https://curve.fi/files/stableswap-paper.pdf
Projects like Terra and Anchor are messy enough (some might say willfully misleading and opaque) that you want to be able to recognize lingo and patterns (and, ideally, source code) to come out with somewhat useful results. In some cases, you'll need to be monitoring their Discord, Twitter, and/or Telegram groups to follow them properly - though in those cases, I've taken that as enough of a red flag in itself to disqualify the entire project from my attention.
For a great read on this and more, check out Vitalik's post: https://vitalik.ca/general/2022/05/25/stable.html
Terra (Classic): https://docs.wcdc.me/docs/index.html
I'd read up on the Uniswap constant product invariant (xy=k) and consider reading the Uniswap v2 code (it's a pleasure to read) [0].
Then check out the StableSwap paper by Curve founder Michael Egorov [1]
Finally if you want a well-documented implementation to read in Solidity, check out Saddle [2]. Disclaimer, I helped write the first iteration.
[0] https://github.com/Uniswap/v2-core [1] https://curve.fi/files/stableswap-paper.pdf [2] https://github.com/saddle-finance/saddle-contract/blob/maste...
Not sure why you mention backtesting, or how that would really apply.
HN is better than this.
Remember that "conservative" in finance means not taking risks, rather than the current political meaning of "right wing authoritarian".