Nuke some leftover converter interfaces

This commit is contained in:
Edvard 2018-10-22 15:51:05 +02:00
parent 6d9547a888
commit 794a7e5f99
2 changed files with 0 additions and 8 deletions

View File

@ -24,10 +24,6 @@ import (
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared" "github.com/vulcanize/vulcanizedb/pkg/transformers/shared"
) )
type Converter interface {
ToModels(ethLogs []types.Log) ([]DripFileIlkModel, error)
}
type DripFileIlkConverter struct{} type DripFileIlkConverter struct{}
func (DripFileIlkConverter) ToModels(ethLogs []types.Log) ([]interface{}, error) { func (DripFileIlkConverter) ToModels(ethLogs []types.Log) ([]interface{}, error) {

View File

@ -22,10 +22,6 @@ import (
"github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/types"
) )
type Converter interface {
ToModels(ethLogs []types.Log) ([]DripFileVowModel, error)
}
type DripFileVowConverter struct{} type DripFileVowConverter struct{}
func (DripFileVowConverter) ToModels(ethLogs []types.Log) ([]interface{}, error) { func (DripFileVowConverter) ToModels(ethLogs []types.Log) ([]interface{}, error) {