Skip to content

Add events to contract explorer #1512

Description

@leighmcculloch

I propose the Lab display events that a contract has emitted in the contract explorer.

  • Show events in Contract Spec
  • Display contract's events from the RPC's getEvents endpoint
  • Display contract events for a transaction

And, that it use the events spec available in the SEP-48 Contract Spec that's present in contracts built for protocol 23 onwards to render self-describing views of those events.

Today the contract explorer shows information about the contract executable, and its state, but not events:

Image

See the following links for examples of how to combine raw contract events with contract specs for a user friendly view:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions