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

chore: Update Swap config defaultMaxSlippage naming #1305

Closed
wants to merge 4 commits into from

Conversation

cpcramer
Copy link
Contributor

@cpcramer cpcramer commented Sep 25, 2024

What changed? Why?
BOE-556

Update the Swap config from maxSlippage to defaultMaxSlippage.

This new naming better reflects this parameter. This is the default max slippage value that the developer will set. The end user will still be able to specify their custom maxSlippage value.

Updated docs and the playground example.
Notes to reviewers

How has it been tested?

@cpcramer cpcramer changed the title chore: Update Swap config defaultMaxSlippage chore: Update Swap config defaultMaxSlippage naming Sep 25, 2024
Copy link

vercel bot commented Sep 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2024 10:52pm
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2024 10:52pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2024 10:52pm

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

Successfully merging this pull request may close these issues.

1 participant