Expand description
On-chain events (sol_log_data via Steel event! / .log()).
§Event contract
| Event | Trigger | Observer |
|---|---|---|
TicketPurchased | BuyTicket ix | Indexer records ticket; bot uses for payout calculation |
FeesRouted | AdminRouteFees ix | Off-chain ledger updates protocol revenue |
Paid | AdminPayout ix | Bot confirms payout in DB |
Initialized | Initialize ix | One-time setup confirmation |
Structs§
- Fees
Routed - Emitted by
AdminRouteFees. - Initialized
- Emitted by
Initialize. - Paid
- Emitted by
AdminPayout. - Ticket
Purchased - Emitted by
BuyTicket.