2018-07-20 16:37:46 +00:00
|
|
|
package core
|
|
|
|
|
2018-12-12 16:01:50 +00:00
|
|
|
import (
|
|
|
|
"context"
|
2019-01-21 20:52:37 +00:00
|
|
|
"github.com/vulcanize/vulcanizedb/pkg/geth/client"
|
2018-12-12 16:01:50 +00:00
|
|
|
)
|
2018-07-20 16:37:46 +00:00
|
|
|
|
|
|
|
type RpcClient interface {
|
|
|
|
CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
|
2019-01-21 20:52:37 +00:00
|
|
|
BatchCall(batch []client.BatchElem) error
|
2018-07-20 16:37:46 +00:00
|
|
|
IpcPath() string
|
|
|
|
SupportedModules() (map[string]string, error)
|
|
|
|
}
|