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: Amplification ratio #5

Merged
merged 3 commits into from
Sep 19, 2024
Merged

feat: Amplification ratio #5

merged 3 commits into from
Sep 19, 2024

Conversation

Arrowana
Copy link
Contributor

@Arrowana Arrowana commented Sep 9, 2024

No description provided.

src/lib.rs Outdated
#[derive(Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct DefaultSlippage {

pub struct DefaultAutoSlippage {
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is this? why Auto naming

Copy link
Contributor Author

Choose a reason for hiding this comment

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

bad naming i guess, renamed to Default

Copy link
Contributor Author

@Arrowana Arrowana Sep 9, 2024

Choose a reason for hiding this comment

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

Sorry, i changed it again because there was the same mistake in jupiter-core-rs but Default cannot work over there, so it is now DynamicSlippageDefault

@Arrowana Arrowana merged commit 9da7c4b into main Sep 19, 2024
1 check passed
@Arrowana Arrowana deleted the feat/amplification-ratio branch September 19, 2024 03:26
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.

3 participants