forked from cerc-io/ipld-eth-server
Nuke some leftover converter interfaces
This commit is contained in:
parent
6d9547a888
commit
794a7e5f99
@ -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) {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user