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: add slippage for preview amounts #98

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

janndriessen
Copy link
Collaborator

@janndriessen janndriessen commented Dec 11, 2024

Some morpho components seem to have a tiny diff in preview amounts during execution. So this PR adds a small slippage (0.01%) to the output of the previewMint/Redeem functions.

@janndriessen janndriessen requested a review from edkim December 11, 2024 16:08
Copy link

@edkim edkim left a comment

Choose a reason for hiding this comment

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

Lgtm. Let's see if this fixes the issue.

@janndriessen janndriessen merged commit 4e473ee into main Dec 11, 2024
2 checks passed
@janndriessen janndriessen deleted the feat/add-slippge-for-morpho-tokens branch December 11, 2024 16:32
Copy link

🎉 This PR is included in version 3.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants