Get method/event signature from ABI (#17)

This commit is contained in:
Elizabeth
2018-09-12 08:59:43 -05:00
committed by GitHub
parent 4b6ef1e58b
commit faefd620b1
7 changed files with 106 additions and 149 deletions
+1 -4
View File
@@ -22,16 +22,13 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/vulcanize/vulcanizedb/pkg/transformers/shared"
)
type Converter interface {
Convert(contractAddress string, contractAbi string, ethLog types.Log) (TendModel, error)
}
type TendConverter struct {
BidFetcher shared.IBidFetcher
}
type TendConverter struct {}
func NewTendConverter() TendConverter {
return TendConverter{}