mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-11-22 15:56:45 +01:00
24 lines
440 B
Go
24 lines
440 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,
|
|
})
|
|
}
|
|
|
|
func initNoopFilter() filter.Filter {
|
|
return filter.NewNoopFilter(filter.NoopFilterOpts{
|
|
Logg: lo,
|
|
})
|
|
}
|