Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BuilderRequest = "{\"query\":\"{\\n builders(first:1000){\\n id\\n status\\n balanceStaked\\n }\\n}\",\"variables\":{}}" ProposerRequest = "{\"query\":\"{\\n proposers(first:1000){\\n id\\n status\\n reportCount\\n }\\n}\",\"variables\":{}}" ReporterRequest = "{\"query\":\"{\\n reporters(first:1000){\\n id\\n active\\n numberOfReports\\n }\\n}\",\"variables\":{}}" BuilderStakeRequest = "{\"query\":\"\\n{globalValue(id: \\\"1\\\") { builderMinimumStake }}\",\"variables\":{}}" )
Functions ¶
This section is empty.
Types ¶
type PonRegistrySubgraph ¶
func NewPonPool ¶
func NewPonPool(url string, apiKey string) *PonRegistrySubgraph
func (*PonRegistrySubgraph) GetBuilders ¶
func (s *PonRegistrySubgraph) GetBuilders() ([]ponPoolTypes.BuilderInterface, error)
func (*PonRegistrySubgraph) GetReporters ¶
func (s *PonRegistrySubgraph) GetReporters() ([]ponPoolTypes.Reporter, error)
func (*PonRegistrySubgraph) GetValidators ¶
func (s *PonRegistrySubgraph) GetValidators() ([]ponPoolTypes.Validator, error)
Click to show internal directories.
Click to hide internal directories.