https://github.com/graphprotocol/foam-subgraph
The FOAM Proof of Location protocol empowers a permissionless and autonomous network of radio beacons that can offer secure location services.
https://github.com/graphprotocol/foam-subgraph
Last synced: 10 months ago
JSON representation
The FOAM Proof of Location protocol empowers a permissionless and autonomous network of radio beacons that can offer secure location services.
- Host: GitHub
- URL: https://github.com/graphprotocol/foam-subgraph
- Owner: graphprotocol
- Created: 2018-12-20T13:38:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-23T00:04:30.000Z (almost 4 years ago)
- Last Synced: 2025-03-23T18:51:54.271Z (10 months ago)
- Language: TypeScript
- Size: 95.7 KB
- Stars: 5
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FOAM-subgraph
The FOAM Proof of Location protocol empowers a permissionless and autonomous network of radio beacons that can offer secure location services.
## Queries
```graphql
{
polls {
id
creator
commitEndDate
revealEndDate
voteQuorum
votesFor
votesAgainst
didCommit
didReveal
totalTokens
# challenge{}
# votes{}
}
votes {
id
pollID
user
numTokens
votedFor
revealed
}
challenges {
id
rewardPool
challenger
resolved
stake
totalTokens
votersClaimed
data
passed
# poll{}
}
listings{
id
owner
whitelist
applicationExpiry
unstakedDeposit
data
challengeID
deleted
# challenges{}
}
users{
id
numApplications
totalStaked
# listings {}
# challenges{}
# createdPolls {}
# votes {}
totalVotes
lockedVotes
foamBalance
# signals {}
}
signals{
id
owner
cst
nftAddress
geohash
radius
}
}
```