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

fix(mfi-v2-trading): added config for flashloan actionbox platform fee #923

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

k0beLeenders
Copy link
Contributor

there is a missing platform fee config on the new actionbox v2, this adds it again

this branch will only build once stake box is merged in

Copy link

vercel bot commented Oct 21, 2024

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

Name Status Preview Comments Updated (UTC)
marginfi-v2-trading ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 22, 2024 7:48am
marginfi-v2-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 22, 2024 7:48am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
marginfi-landing-page ⬜️ Skipped (Inspect) Oct 22, 2024 7:48am
marginfi-v2-docs ⬜️ Skipped (Inspect) Oct 22, 2024 7:48am

Copy link

alwaysmeticulous bot commented Oct 21, 2024

🤖 No test run has been triggered as your Meticulous project has been deactivated (since you haven't viewed any test results in a while). Click here to reactivate.

Last updated for commit d1e8ee2. This comment will update as new commits are pushed.

@@ -142,7 +146,8 @@ export function useLoopSimulation({
amount,
slippageBps,
marginfiClient.provider.connection,
0 //priorityFee
Copy link
Contributor

Choose a reason for hiding this comment

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

why no priority fee here? Arent you importing that from the actionboxstore too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

priority fee isn't used anymore, we only use bundletip

@@ -119,7 +123,8 @@ export function useRepayCollatSimulation({
amount,
slippageBps,
marginfiClient.provider.connection,
0 //priorityFee
0, //priorityFee,
Copy link
Contributor

Choose a reason for hiding this comment

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

same

@chambaz chambaz merged commit 8c5e54b into main Oct 24, 2024
6 checks passed
@chambaz chambaz deleted the fix/flashloan-actionbox-fee branch October 24, 2024 14:06
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