forked from cerc-io/ipld-eth-server
change transformer interface and watcher so that contract config is now fed into AddTransformers such that a single watcher can be loaded with transformers that use different cofigs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package shared
|
||||
|
||||
import (
|
||||
"github.com/ethereum/go-ethereum/accounts/abi"
|
||||
"github.com/vulcanize/vulcanizedb/pkg/filters"
|
||||
)
|
||||
|
||||
type ContractConfig struct {
|
||||
Address string
|
||||
Owner string
|
||||
Abi string
|
||||
ParsedAbi abi.ABI
|
||||
FirstBlock int64
|
||||
LastBlock int64
|
||||
Name string
|
||||
Filters []filters.LogFilter
|
||||
}
|
||||
Reference in New Issue
Block a user