Skip to content

Commit

Permalink
Add distributor tokens (#53)
Browse files Browse the repository at this point in the history
* Add distributor tokens

* Update version
  • Loading branch information
tsudmi authored Apr 6, 2022
1 parent 654d654 commit 91f35bf
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stakewise-subgraphs",
"version": "1.2.1",
"version": "1.2.2",
"description": "Subgraphs for the StakeWise Protocol",
"repository": "https://github.com/stakewise/subgraphs",
"license": "AGPL-3.0-only",
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "const",
"version": "1.2.1",
"version": "1.2.2",
"license": "AGPL-3.0-only",
"main": "index.ts",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions subgraphs/ethereum/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum",
"version": "1.2.1",
"version": "1.2.2",
"license": "AGPL-3.0-only",
"scripts": {
"prepare:goerli": "mustache config/goerli.json subgraph.template.yaml > subgraph.yaml",
Expand All @@ -15,7 +15,7 @@
"deploy:perm_goerli": "yarn build:perm_goerli",
"deploy:gnosis": "yarn build:gnosis && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/ethereum-gnosis",
"deploy:mainnet": "yarn build:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/ethereum-mainnet",
"deploy:local": "graph deploy --version-label 1.2.1 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/ethereum",
"deploy:local": "graph deploy --version-label 1.2.2 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/ethereum",
"create:local": "graph create --node $GRAPH_NODE_URL stakewise/ethereum"
}
}
4 changes: 2 additions & 2 deletions subgraphs/rari-fuse/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rari-fuse",
"version": "1.2.1",
"version": "1.2.2",
"license": "AGPL-3.0-only",
"scripts": {
"prepare:goerli": "true",
Expand All @@ -15,7 +15,7 @@
"deploy:perm_goerli": "yarn build:perm_goerli",
"deploy:gnosis": "yarn build:gnosis",
"deploy:mainnet": "yarn build:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/rari-fuse-mainnet",
"deploy:local": "graph deploy --version-label 1.2.1 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/rari-fuse",
"deploy:local": "graph deploy --version-label 1.2.2 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/rari-fuse",
"create:local": "graph create --node $GRAPH_NODE_URL stakewise/rari-fuse"
}
}
13 changes: 12 additions & 1 deletion subgraphs/stakewise/config/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,16 @@
"address": "0x9b23e05aefb37d5ea9b525016d19eb82b65f255c",
"startBlock": "21293582"
},
"distributorTokens": []
"distributorTokens": [
{
"index": 0,
"address": "0xbdf4488dcf7165788d438b62b4c8a333879b7078",
"startBlock": "21383985"
},
{
"index": 1,
"address": "0x5d7309a01b727d6769153fcb1df5587858d53b9c",
"startBlock": "21391068"
}
]
}
5 changes: 5 additions & 0 deletions subgraphs/stakewise/config/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"index": 1,
"address": "0x83d534ab1d4002249b0e6d22410b62cf31978ca2",
"startBlock": "13398765"
},
{
"index": 2,
"address": "0xe95e4c2dac312f31dc605533d5a4d0af42579308",
"startBlock": "14482784"
}
]
}
4 changes: 2 additions & 2 deletions subgraphs/stakewise/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stakewise",
"version": "1.2.1",
"version": "1.2.2",
"license": "AGPL-3.0-only",
"scripts": {
"prepare:goerli": "mustache config/goerli.json subgraph.template.yaml > subgraph.yaml",
Expand All @@ -15,7 +15,7 @@
"deploy:perm_goerli": "yarn build:perm_goerli && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/stakewise-perm-goerli",
"deploy:gnosis": "yarn build:gnosis && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/stakewise-gnosis",
"deploy:mainnet": "yarn build:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/stakewise-mainnet",
"deploy:local": "graph deploy --version-label 1.2.1 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/stakewise",
"deploy:local": "graph deploy --version-label 1.2.2 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/stakewise",
"create:local": "graph create --node $GRAPH_NODE_URL stakewise/stakewise"
}
}
4 changes: 2 additions & 2 deletions subgraphs/uniswap-v3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uniswap-v3",
"version": "1.2.1",
"version": "1.2.2",
"license": "AGPL-3.0-only",
"scripts": {
"prepare:goerli": "mustache config/goerli.json subgraph.template.yaml > subgraph.yaml",
Expand All @@ -15,7 +15,7 @@
"deploy:perm_goerli": "yarn build:perm_goerli",
"deploy:gnosis": "yarn build:gnosis",
"deploy:mainnet": "yarn build:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/uniswap-v3-mainnet",
"deploy:local": "graph deploy --version-label 1.2.1 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/uniswap-v3",
"deploy:local": "graph deploy --version-label 1.2.2 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/uniswap-v3",
"create:local": "graph create --node $GRAPH_NODE_URL stakewise/uniswap-v3"
}
}

0 comments on commit 91f35bf

Please sign in to comment.