fixes for review comments

This commit is contained in:
Ian Norden
2019-03-21 18:36:49 -05:00
parent 37e581c7ec
commit 37fc038605
31 changed files with 630 additions and 1013 deletions
@@ -22,10 +22,10 @@ import (
"github.com/vulcanize/vulcanizedb/pkg/datastore/postgres"
)
type GenericTransformer interface {
type ContractTransformer interface {
Init() error
Execute() error
GetConfig() config.ContractConfig
}
type GenericTransformerInitializer func(db *postgres.DB, bc core.BlockChain) GenericTransformer
type ContractTransformerInitializer func(db *postgres.DB, bc core.BlockChain) ContractTransformer