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

SwapVM #54

Open
wants to merge 26 commits into
base: zeegomo/add-swap-vm
Choose a base branch
from
Open

SwapVM #54

wants to merge 26 commits into from

Conversation

davidrusu
Copy link
Contributor

No description provided.

@davidrusu davidrusu changed the base branch from master to zeegomo/add-swap-vm March 11, 2025 15:06
@@ -108,6 +212,12 @@ pub struct Pool {
pub total_shares: u64,
}

impl Pool {
pub fn price(&self) -> f64 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is thsi supposed to represent? this is not really the price you're going to get because it will change depending on the amount of tokens you're going to swap?

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

Successfully merging this pull request may close these issues.

2 participants