forked from cerc-io/ipld-eth-server
Add drip file transformers
- for all three file functions on the drip contract
This commit is contained in:
@@ -21,14 +21,13 @@ import (
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
|
||||
)
|
||||
|
||||
type Converter interface {
|
||||
Convert(contractAddress string, contractAbi string, ethLog types.Log) (TendModel, error)
|
||||
}
|
||||
|
||||
type TendConverter struct {}
|
||||
type TendConverter struct{}
|
||||
|
||||
func NewTendConverter() TendConverter {
|
||||
return TendConverter{}
|
||||
|
||||
Reference in New Issue
Block a user