Skip to content

Commit

Permalink
Update contracts package and staging endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
davekaj committed Oct 28, 2020
1 parent 6dfafd1 commit 25bdba6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "@graphprotocol/staging-testnet-subgraph",
"version": "v0.7.1-testnet-phase2",
"description": "Subgraph for the Graph Network",
"repository": "https://github.com/graphprotocol/graph-network-subgraph",
"license": "MIT",
Expand All @@ -16,7 +15,7 @@
"build": "graph build",
"build:ipfs": "yarn && yarn prepare:rinkeby && graph build --ipfs https://testnet.thegraph.com/ipfs/",
"deploy-testing": "yarn && yarn prepare:rinkeby && graph deploy davekaj/graph-network-rinkeby-practice --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-staging": "yarn && yarn prepare:rinkeby && graph deploy graphprotocol/graph-network-rinkeby-practice --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-staging": "yarn && yarn prepare:rinkeby && graph deploy graphprotocol/graph-network-testnet-staging --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-production": "",
"prep:addresses:rinkeby": "ts-node config/rinkebyAddressScript.ts && mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts",
"prepare:rinkeby": "yarn prep:addresses:rinkeby && mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && yarn codegen",
Expand All @@ -26,7 +25,7 @@
"prettier-write": "prettier --write '**/*.ts'"
},
"devDependencies": {
"@graphprotocol/contracts": "^0.7.1-testnet-phase2-staging",
"@graphprotocol/contracts": "^0.7.5-testnet-phase2-staging",
"@graphprotocol/graph-cli": "^0.18.0",
"@graphprotocol/graph-ts": "^0.18.1",
"@types/node": "^14.0.13",
Expand Down
14 changes: 7 additions & 7 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,10 @@ type Indexer @entity {

"The percent the Indexer agrees to share with delegators"
indexingRewardCut: Int!
"The total amount of indexing rewards given to delegators"
delegatorIndexingRewards: BigInt!
"The total amount of query fees given to delegators"
delegatorQueryFees: BigInt!
# "The total amount of indexing rewards given to delegators"
# delegatorIndexingRewards: BigInt!
# "The total amount of query fees given to delegators"
# delegatorQueryFees: BigInt!
"The percent of query rebate rewards the Indexer agrees to share with delegators"
queryFeeCut: Int!
"Time delegator decides to wait for changing of their parameters"
Expand Down Expand Up @@ -574,9 +574,9 @@ type DelegatedStake @entity {
"Shares owned in the delegator pool. Used to calculate total amount delegated"
shareAmount: BigInt!

averageSharePurchasePrice: BigInt!
averageShareSellPrice: BigInt!
realizedIncome: BigInt!
# averageSharePurchasePrice: BigInt!
# averageShareSellPrice: BigInt!
# realizedIncome: BigInt!
}

"""
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@
"@ethersproject/properties" "^5.0.3"
"@ethersproject/strings" "^5.0.4"

"@graphprotocol/contracts@^0.7.1-testnet-phase2-staging":
version "0.7.1-testnet-phase2-staging"
resolved "https://registry.yarnpkg.com/@graphprotocol/contracts/-/contracts-0.7.1-testnet-phase2-staging.tgz#c5640eed5884475f4672ed16a8593b114481c298"
integrity sha512-moMfM6NTl7eK04QRhkO6lLWOAx+OzkZpODo+uheYUHJHIs+D7twUBHz8Jin+VqJXuQD+Qo3jRF+adugdGOnAVw==
"@graphprotocol/contracts@^0.7.5-testnet-phase2-staging":
version "0.7.5-testnet-staging-phase2"
resolved "https://registry.yarnpkg.com/@graphprotocol/contracts/-/contracts-0.7.5-testnet-staging-phase2.tgz#980e1b25ca80d11b4ccdff3bd63ec6ea9706fef0"
integrity sha512-4CrVQ7RbRRkDicjKvdG/KW+KeimRYUQSJvmkeQ1LGd7X68NB9SVyrwcFWPVYPhdo8YXW0vP7TNoL9R2o9XtgDw==
dependencies:
"@ethersproject/contracts" "^5.0.3"
ethers "^5.0.9"
Expand Down

0 comments on commit 25bdba6

Please sign in to comment.