Closed cryptomatictrader closed 1 week ago
The recent changes introduce a new function ShouldFilterDenom
in the TokenSupply
and TokenSupplyOffset
structs. This function filters denominations (denom
) based on specific string checks. The function is integrated into various parts of the codebase, replacing hardcoded string checks with calls to the new function, enhancing maintainability and consistency.
Files/Paths | Change Summaries |
---|---|
domain/token_supply.go |
Added the ShouldFilterDenom function to filter denominations based on string checks. Imported strings package. |
service/indexer_streaming_service.go |
Replaced string conditionals with the indexerdomain.ShouldFilterDenom function to filter denominations. |
service/writelistener/bank_write_listener.go |
Integrated indexerdomain.ShouldFilterDenom function to filter denominations before calling publishSupply and publishSupplyOffset . |
Indexer project