starknet.py
starknet.py copied to clipboard
Simplify event parsing
Is your feature request related to a problem? Please describe.
Currently parsing of events is possible through data transformer. It in cases where we already have abi available (e.g. when using Contract api), it'd be nice to be parse more events easily than constructing data transformer and parsing it yourself.
Describe the solution you'd like
Simply parsing events. Some considered solutions:
- add
.parse()method to events data class that somehow returns parsed event - add a method to Contract interface for parsing events
- add a separate parser class
These are just some ideas, resolving this issue will require some reasearch.
Describe alternatives you've considered
n/a
Additional context
n/a