Skip to content

fix(contracts): harden treasury withdrawals with enforceable guardrails#385

Merged
Devsol-01 merged 1 commit intoDevsol-01:mainfrom
enyinnaya1234:fix/364-treasury-security-limits
Mar 26, 2026
Merged

fix(contracts): harden treasury withdrawals with enforceable guardrails#385
Devsol-01 merged 1 commit intoDevsol-01:mainfrom
enyinnaya1234:fix/364-treasury-security-limits

Conversation

@enyinnaya1234
Copy link
Copy Markdown
Contributor

Closes #364

Introduce admin-controlled per-transaction and daily treasury withdrawal limits with strict pool-balance and invariant validation to block abuse paths. Expose new treasury limit and withdrawal entry points and add focused failure tests so exploit-prevention behavior is locked by CI.

Made-with: Cursor

Introduce admin-controlled per-transaction and daily treasury withdrawal limits with strict pool-balance and invariant validation to block abuse paths. Expose new treasury limit and withdrawal entry points and add focused failure tests so exploit-prevention behavior is locked by CI.

Made-with: Cursor
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 26, 2026

@enyinnaya1234 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 26, 2026

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

Project Deployment Actions Updated (UTC)
nestera Ready Ready Preview, Comment Mar 26, 2026 2:23pm

@Devsol-01 Devsol-01 merged commit 52b3bc3 into Devsol-01:main Mar 26, 2026
3 checks passed
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.

[contract] Treasury Security & Limits

3 participants