Open
Description
Component
Cast
Describe the feature you would like
I'm able to call cast receipt [txHash] logs
to get the full logs of a transaction, but it's time consuming to manually parse the logs into legible events.
Seems helpful to be able to call cast events [txHash]
to get a nicely formatted view of the events.
I'd love to build this out, as soon as we have agreement on the plan below.
Rough Plan
-
Grab the logs using cast.receipt() with field set to logs.
-
For each, grab topic[0] and run it against 4byte. If that fails, try pulling interface and comparing to event signatures from abi. If neither works, error out.
-
Convert topics & data into types defined by the event.
-
Print pretty output with event signature and correct data.
Additional context
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Todo