Skip to content

Feature/add events#191

Merged
nafiuishaaq merged 5 commits into
MentoNest:mainfrom
Xhristin3:feature/add-events
Apr 23, 2026
Merged

Feature/add events#191
nafiuishaaq merged 5 commits into
MentoNest:mainfrom
Xhristin3:feature/add-events

Conversation

@Xhristin3

Copy link
Copy Markdown
Contributor

Define InitializedEvent struct with correct signature

  • Emit event exactly once during initialize()
  • Enable clients to subscribe and detect contract readiness"

closes #143
closes #144
closes #145
closes #146

@drips-wave

drips-wave Bot commented Apr 23, 2026

Copy link
Copy Markdown

@Xhristin3 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

@nafiuishaaq nafiuishaaq merged commit 087b3ea into MentoNest:main Apr 23, 2026
Xhristin3 and others added 5 commits April 23, 2026 17:14
…parameters

- Define InitializedEvent struct with correct signature
- Emit event exactly once during initialize()
- Enable clients to subscribe and detect contract readiness
- Define FundsLockedEvent struct with session_id, buyer, seller, amount, timestamp
- Emit event during lock_funds() with all relevant metadata
- Include timestamp for temporal tracking
…estamp

- Add amount (gross), payout (net to seller), and fee fields to SessionApprovedEvent
- Include timestamp for temporal tracking
- Remove redundant FeeDeductedEvent emission
- Emit single comprehensive SessionApproved event
- Export FundsLockedEvent and InitializedEvent for public use
- Ensure all event types are accessible to clients
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.

Event — SessionApproved event Event — SessionCompleted event Event — FundsLocked event Event — Initialized event

2 participants