Crate thegraph_core

source
Expand description

A collection of Rust modules that are shared between The Graph’s network services.

Modules§

  • Attestation types and functions for verifying attestations.

Macros§

  • Converts a sequence of string literals containing hex-encoded data into a new Address at compile time.
  • Converts a sequence of string literals containing hex-encoded data into a new AllocationId at compile time.
  • Converts a sequence of string literals containing CIDv0 data into a new DeploymentId at compile time.
  • Converts a sequence of string literals containing hex-encoded data into a new IndexerId at compile time.
  • Converts a sequence of string literals containing hex-encoded data into a new ProofOfIndexing at compile time.
  • Converts a sequence of string literals containing 32-bytes Base58-encoded data into a new SubgraphId at compile time.

Structs§

  • An Ethereum address, 20 bytes in length.
  • A unique identifier for an allocation: the allocation’s Ethereum address.
  • An attestation of a request-response pair.
  • A pointer to a block in the chain.
  • A Subgraph’s Deployment ID represents unique identifier for a deployed subgraph on The Graph.
  • A unique identifier for an indexer: the indexer’s Ethereum address.
  • A Proof of Indexing, “POI”, is a cryptographic proof submitted by indexers to demonstrate that they have accurately indexed a subgraph.
  • A Subgraph ID is a 32-byte identifier for a subgraph.

Enums§

Type Aliases§