2023-02-20 11:23:06 +00:00
|
|
|
package graph
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/ledgerwatch/erigon-lib/kv"
|
2023-07-08 17:01:26 +00:00
|
|
|
"github.com/ledgerwatch/erigon/turbo/jsonrpc"
|
2023-02-20 11:23:06 +00:00
|
|
|
"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 {
|
2023-07-08 17:01:26 +00:00
|
|
|
GraphQLAPI jsonrpc.GraphQLAPI
|
2023-02-20 11:23:06 +00:00
|
|
|
db kv.RoDB
|
|
|
|
filters *rpchelper.Filters
|
|
|
|
blockReader services.FullBlockReader
|
|
|
|
}
|