cic-chain-events/cmd/filters.go

19 lines
332 B
Go
Raw Normal View History

2023-01-05 12:45:09 +01:00
package main
import (
"github.com/grassrootseconomics/cic-chain-events/internal/filter"
)
func initAddressFilter() filter.Filter {
return filter.NewAddressFilter(filter.AddressFilterOpts{
Logg: lo,
})
}
func initTransferFilter() filter.Filter {
return filter.NewTransferFilter(filter.TransferFilterOpts{
Logg: lo,
})
}
2023-01-05 12:45:09 +01:00