erigon-pulse/cmd/rpcdaemon/graphql/graph/resolver.go

20 lines
505 B
Go

package graph
import (
"github.com/ledgerwatch/erigon-lib/kv"
"github.com/ledgerwatch/erigon/turbo/jsonrpc"
"github.com/ledgerwatch/erigon/turbo/rpchelper"
"github.com/ledgerwatch/erigon/turbo/services"
)
// This file will not be regenerated automatically.
//
// It serves as dependency injection for your app, add any dependencies you require here.
type Resolver struct {
GraphQLAPI jsonrpc.GraphQLAPI
db kv.RoDB
filters *rpchelper.Filters
blockReader services.FullBlockReader
}