{"id":18493011,"url":"https://github.com/graphprotocol/foam-subgraph","last_synced_at":"2025-04-08T22:30:37.314Z","repository":{"id":43019649,"uuid":"162584550","full_name":"graphprotocol/FOAM-subgraph","owner":"graphprotocol","description":"The FOAM Proof of Location protocol empowers a permissionless and autonomous network of radio beacons that can offer secure location services. ","archived":false,"fork":false,"pushed_at":"2022-03-23T00:04:30.000Z","size":98,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-23T18:51:54.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-20T13:38:46.000Z","updated_at":"2022-02-01T07:10:55.000Z","dependencies_parsed_at":"2022-09-12T08:20:55.117Z","dependency_job_id":null,"html_url":"https://github.com/graphprotocol/FOAM-subgraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2FFOAM-subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2FFOAM-subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2FFOAM-subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2FFOAM-subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphprotocol","download_url":"https://codeload.github.com/graphprotocol/FOAM-subgraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247939711,"owners_count":21021832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T13:12:13.944Z","updated_at":"2025-04-08T22:30:32.299Z","avatar_url":"https://github.com/graphprotocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FOAM-subgraph\nThe FOAM Proof of Location protocol empowers a permissionless and autonomous network of radio beacons that can offer secure location services. \n\n## Queries\n\n```graphql\n{\n  polls {\n    id\n    creator\n    commitEndDate\n    revealEndDate\n    voteQuorum\n    votesFor\n    votesAgainst\n    didCommit\n    didReveal\n    totalTokens\n    # challenge{}\n    # votes{}\n  }\n  votes {\n    id\n    pollID\n    user\n    numTokens\n    votedFor\n    revealed\n  }\n  challenges {\n    id\n    rewardPool\n    challenger\n    resolved\n    stake\n    totalTokens\n    votersClaimed\n    data\n    passed\n    # poll{}\n  }\n  listings{\n    id\n    owner\n    whitelist\n    applicationExpiry\n    unstakedDeposit\n    data\n    challengeID\n    deleted\n    # challenges{}\n  }\n  users{\n    id\n    numApplications\n    totalStaked\n    # listings {}\n    # challenges{}\n    # createdPolls {}\n    # votes {}\n    totalVotes\n    lockedVotes\n    foamBalance\n    # signals {}\n  }\n  signals{\n    id\n    owner\n    cst\n    nftAddress\n    geohash\n    radius\n  }\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Ffoam-subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphprotocol%2Ffoam-subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Ffoam-subgraph/lists"}