Indexes payouts made both through BountyPayout contract and through PaymentSplitter.
Follow the guide here to set yourself up for local development
Initial setup (once)
yarn global add @graphprotocol/graph-cli
graph auth https://api.thegraph.com/deploy/ <ACCESS_TOKEN>
Deploy
yarn buildAndDeploy
Regenerate typings once you've changed the graph schema:
yarn codegen
Query URL: https://api.thegraph.com/subgraphs/name/leapdao/leapdao-bounties
Playground URL: https://thegraph.com/explorer/subgraph/leapdao/leapdao-bounties/
Payouts per address:
{
payee(id:"0x51bab87c42d384d1cd3056d52d97c84ddaa65fe4") {
id
payouts {
id
amount
timestamp
}
}
}