Skip to content

Add creator address to invoice_expired event data #607

Description

@Kingsman-99

Description

invoice_expired in contracts/split/src/events.rs emits (deadline, funded, event_seq) but not the creator address. Including the creator in the data payload lets indexers attribute expired invoices to creators without a separate get_invoice call.

Acceptance Criteria

  • Update invoice_expired to accept a creator: &Address parameter
  • Include creator in the event data: (deadline, funded, creator, event_seq)
  • Update all call sites in lib.rs
  • Update tests that assert the event data shape
  • cargo test passes

Context

  • Target file: contracts/split/src/events.rs

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programcomplexity: highComplex feature requiring deep knowledge - 200 ptsenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions