Skip to content

Conversation

@mgrabina
Copy link
Contributor

@mgrabina mgrabina commented Jan 6, 2026

The dust protection (which was overestimated) was affecting the quote received only in one side, so for big orders where our overestimated costs are not significant and where slippage were low, the market orders were struggling more to get filled.

@vercel
Copy link

vercel bot commented Jan 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
interface Ready Ready Preview, Comment Jan 6, 2026 5:59pm

@mgrabina mgrabina marked this pull request as ready for review January 6, 2026 02:01
[SupportedChainId.SEPOLIA]: '',
};

export const DUST_PROTECTION_MULTIPLIER = 1.001;
Copy link
Contributor Author

@mgrabina mgrabina Jan 6, 2026

Choose a reason for hiding this comment

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

👉 Conservative market
Max APR ≈ 80%
Max per hour: 0.91 bps

👉 Aggressive / volatile market
Max APR ≈ 300%
Max per hour:≈3.4 bps

👉 Extreme custom strategy (rare but allowed)
Max APR ≈ 1000%
Max per hour:≈11.4 bps

We have 10 min max now.

@mgrabina mgrabina force-pushed the fix/dust-protection-cost-optimization branch from c14c3b0 to 26532f2 Compare January 6, 2026 02:04
@mgrabina mgrabina changed the title fix: optmize dust protection calculation fix: dust protection calculation optimization Jan 6, 2026
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

AGMASO
AGMASO previously approved these changes Jan 6, 2026
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@mgrabina mgrabina requested review from AGMASO and foodaka January 6, 2026 18:03
@mgrabina mgrabina merged commit b3ab80a into main Jan 6, 2026
18 of 21 checks passed
@mgrabina mgrabina deleted the fix/dust-protection-cost-optimization branch January 6, 2026 20:47
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.

5 participants