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

Add calculation for get_lp_apy to rust sdk #51

Open
DannyDelott opened this issue Mar 20, 2024 · 0 comments
Open

Add calculation for get_lp_apy to rust sdk #51

DannyDelott opened this issue Mar 20, 2024 · 0 comments

Comments

@DannyDelott
Copy link
Contributor

We are currently doing this client-side by looking at two checkpoints and doing some math:

https://github.com/delvtech/hyperdrive-frontend/blob/48280bb6a12528b11e17c45612fc1fdab3cdd4c2/packages/hyperdrive-js-core/src/hyperdrive/ReadHyperdrive/ReadHyperdrive.ts#L690-L715

@ryangoree ryangoree transferred this issue from delvtech/hyperdrive May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant