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

Feat: SOL value calculator program for S LP token #158

Open
billythedummy opened this issue Dec 12, 2023 · 0 comments
Open

Feat: SOL value calculator program for S LP token #158

billythedummy opened this issue Dec 12, 2023 · 0 comments
Labels

Comments

@billythedummy
Copy link
Contributor

billythedummy commented Dec 12, 2023

Only support S pools whose pricing program's PriceLpTokensToRedeem ix works with wSOL output token. Return value of PriceLpTokensToReedeem(wSOL) as the SOL value of a S pool LP token.

Similarly, PriceLpTokensToMint(wSOL) is the LST value of SOL.

onhold until we want to add scnSOL to the S pool

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

No branches or pull requests

1 participant