Summary
The contract emits structured events for all state transitions (apply, withdraw, assign, complete, revoke, initialize). The event schema is not documented anywhere outside the source code, making it hard for integrators to build event-driven applications on top of the contract.
Problem
An integrator building a notification service on top of Soroban event streams must reverse-engineer the schema from src/lib.rs. There is no canonical reference for field names, types, and which events carry which fields.
Acceptance Criteria
Summary
The contract emits structured events for all state transitions (apply, withdraw, assign, complete, revoke, initialize). The event schema is not documented anywhere outside the source code, making it hard for integrators to build event-driven applications on top of the contract.
Problem
An integrator building a notification service on top of Soroban event streams must reverse-engineer the schema from
src/lib.rs. There is no canonical reference for field names, types, and which events carry which fields.Acceptance Criteria
docs/event-schema.mdwith a table per event type:docs/schemas/contract-events.jsonfor automated validationdocs/api-reference.mdand the README