# Functions
NewPostgresDatabase returns a new postgres db client.
# Variables
ErrFarmNotFound farm not found.
ErrNodeNotFound node not found.
ErrViewNotFound.
# Structs
DBContract is contract info.
Farm data about a farm which is calculated from the chain.
Node data about a node which is calculated from the chain.
NodesDistribution is the number of nodes per each country.
PostgresDatabase postgres db client.
# Interfaces
Database interface for storing and fetching grid info.