Skip to content

Latest commit

 

History

History

badger-across

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Badger Subgraph

Subgraph to track Across protocol balances on Mainnet.

Deployed

Mainnet:

Setup

  • Copy .envrc.example to .envrc.
  • Set ACCESS_TOKEN to your The Graph access token.
  • Set GRAPH_PATH to <github-username>/<subgraph-name>.
  • Export .envrc variables.

Entities

This entity holds information regarding ERC20 tokens present in the subgraph.

type Token @entity {
  id: ID!
  address: Bytes!
  decimals: Int!
  name: String!
  symbol: String!
}