Skip to content

Add structured marketplace events and test verification - #97

Merged
jobbykings merged 1 commit into
Epondia:mainfrom
Opulencechuks:marketplace-events
Jun 22, 2026
Merged

Add structured marketplace events and test verification#97
jobbykings merged 1 commit into
Epondia:mainfrom
Opulencechuks:marketplace-events

Conversation

@Opulencechuks

@Opulencechuks Opulencechuks commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

this PR closes #53
Introduce MarketplaceEvent enum and emit structured events for all major contract actions:

  • Listing created / updated
  • Bid placed
  • Sale completed
  • Listing cancelled
  • Rental, staking, rewards, dispute handling, escrow, etc.

Updated marketplace_test.rs to import symbol_short and assert that each state-changing call emits the correct event, including a new verification for the DisputeOpened event.

These events follow Soroban's conventions, enabling reliable off-chain indexing for real-time UI updates and analytics dashboards.

All modifications are confined to the three files requested.

@jobbykings
jobbykings merged commit daa2e8b into Epondia:main Jun 22, 2026
5 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.

Implement structured event emission for marketplace contract

2 participants