Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LP Token 价格计算推导及安全性 - 一片瓜田 #102

Open
Desgard opened this issue Sep 7, 2021 · 0 comments
Open

LP Token 价格计算推导及安全性 - 一片瓜田 #102

Desgard opened this issue Sep 7, 2021 · 0 comments

Comments

@Desgard
Copy link
Owner

Desgard commented Sep 7, 2021

https://www.desgard.com/2021/09/06/defi-lp-price.html

背景在实现 CakeBot 的 USDT/USDC 池时,需要计算 LP Token 的代币价值,从而方便的给用户提示 LP Token 当前准确的价格,来计算收益率。所以对 LP Token 的价值计算做了一点深入的研究,并且还翻阅到 Alpha Finance 团队的关于安全获取 LP 价格的方法。本位将这些...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant