cic-chain-events/cmd/filters.go

19 lines
332 B
Go

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,
})
}