Skip to content

Comments

Add settlement completion event emission#46

Open
MooreTheAnalyst wants to merge 2 commits intoHaroldwonder:mainfrom
MooreTheAnalyst:feature/settlement-expiry
Open

Add settlement completion event emission#46
MooreTheAnalyst wants to merge 2 commits intoHaroldwonder:mainfrom
MooreTheAnalyst:feature/settlement-expiry

Conversation

@MooreTheAnalyst
Copy link
Contributor

  • Define SettlementCompleted event with sender, recipient, token, and amount fields
  • Emit event after successful settlement in confirm_payout
  • Add test_settlement_completed_event to verify event emission and field correctness
  • Update test_events_emitted to verify settlement event alongside existing events

Close #6

- Define SettlementCompleted event with sender, recipient, token, and amount fields
- Emit event after successful settlement in confirm_payout
- Add test_settlement_completed_event to verify event emission and field correctness
- Update test_events_emitted to verify settlement event alongside existing events
- Add doc comment to emit_settlement_completed function
- Add inline comments to clarify event emission flow in confirm_payout
- Improve code readability without changing functionality
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.

Emit Event After Successful Settlement

1 participant