Skip to content

Commit be00425

Browse files
committed
chore: subgraph for arbitrum one
1 parent 4e32c01 commit be00425

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

subgraph/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"scripts": {
66
"update:arbitrum-sepolia-devnet": "./scripts/update.sh arbitrumSepoliaDevnet arbitrum-sepolia",
77
"update:arbitrum-sepolia": "./scripts/update.sh arbitrumSepolia arbitrum-sepolia",
8-
"update:arbitrum": "./scripts/update.sh arbitrum arbitrum",
8+
"update:arbitrum": "./scripts/update.sh arbitrum arbitrum-one",
99
"update:local": "./scripts/update.sh localhost mainnet",
1010
"clean": "graph clean && rm subgraph.yaml.bak.*",
1111
"codegen": "graph codegen",
1212
"build": "graph build",
1313
"deploy:arbitrum-sepolia-devnet": "graph deploy escrow-v2-devnet -l v$npm_package_version",
1414
"deploy:arbitrum-sepolia": "graph deploy escrow-v2-testnet -l v$npm_package_version",
15-
"deploy:arbitrum": "graph deploy escrow-v2-mainnet -l v$npm_package_version",
15+
"deploy:arbitrum": "graph deploy escrow-v2-neo -l v$npm_package_version",
1616
"create-local": "graph create --node http://localhost:8020/ kleros/escrow-v2-local",
1717
"remove-local": "graph remove --node http://localhost:8020/ kleros/escrow-v2-local",
1818
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 kleros/escrow-v2-local --version-label v$(date +%s)",

subgraph/subgraph.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ schema:
44
dataSources:
55
- kind: ethereum
66
name: EscrowUniversal
7-
network: arbitrum-sepolia
7+
network: arbitrum-one
88
source:
9-
address: '0x11aB737EDB1c6b181919a95ccD07c8DAA3e8E687'
9+
address: '0x79530E7Bb3950A3a4b5a167816154715681F2f6c'
1010
abi: EscrowUniversal
11-
startBlock: 122734130
11+
startBlock: 305434342
1212
mapping:
1313
kind: ethereum/events
1414
apiVersion: 0.0.6
@@ -22,7 +22,7 @@ dataSources:
2222
- SettlementProposal
2323
abis:
2424
- name: EscrowUniversal
25-
file: ../contracts/deployments/arbitrumSepoliaDevnet/EscrowUniversal.json
25+
file: ../contracts/deployments/arbitrum/EscrowUniversal.json
2626
eventHandlers:
2727
- event: Payment(indexed uint256,uint256,address)
2828
handler: handlePayment

0 commit comments

Comments
 (0)