Skip to content

Feat/366 treasury integration tests#387

Merged
Devsol-01 merged 3 commits intoDevsol-01:mainfrom
enyinnaya1234:feat/366-treasury-integration-tests
Mar 26, 2026
Merged

Feat/366 treasury integration tests#387
Devsol-01 merged 3 commits intoDevsol-01:mainfrom
enyinnaya1234:feat/366-treasury-integration-tests

Conversation

@enyinnaya1234
Copy link
Copy Markdown
Contributor

Closes #366

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
…e visibility

Emit frontend-trackable treasury events for fee collection, allocation, withdrawals, reserve usage, and yield distribution while preserving existing legacy event emissions for compatibility. Add dedicated treasury event tests that verify indexed topics so off-chain indexers can reliably detect and attribute treasury actions.

Made-with: Cursor
…ation assertions

Add an integration test that validates the complete treasury flow from fee collection and strategy harvest through allocation, reserve edge-case handling, and governance withdrawals. Lock in balance invariants across each transition to prevent accounting drift and ensure contract build-and-flow consistency.

Made-with: Cursor
@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 3:40pm

@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

@Devsol-01 Devsol-01 merged commit 6263899 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 Integration Tests

3 participants