Create db utils for common operations related to built-in models
Closed this issue · 1 comments
pharr117 commented
The indexer provides a couple built-in models in use throughout the main indexer loop that may be useful for custom parsers. These include:
- Address model
- Denom model
We should add utils to help custom parsers/indexers handle these models. These could include:
- Find ops
- FindOrCreate ops
These models have unique indexes on them, so these will provide useful utils while reducing errors.
pharr117 commented
This has been pushed along in various PRs, marking this as done.