Skip to content

Commit

Permalink
Rinkeby config
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Kreiselmaier committed Jun 1, 2022
1 parent 0eca721 commit 09a36c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions src/mappings/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ export const DEFAULT_ADMIN_ROLE =
'0x1effbbff9c66c5e59634f24fe842750c60d18891155c32dd155fc2d661a4c86d' // bytes32(keccak256(DEFAULT_ADMIN_ROLE))
export const RELAYER_ROLE = '0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4' // bytes32(keccak256(RELAYER_ROLE))

/* Rinkeby
/* Rinkeby */

export const CHAIN_ID = 4
export const BRIDGE = '0x638285e837db7124ff0947251c6f20ceeb2645df'

/* Kovan */
/* Kovan
export const CHAIN_ID = 42
export const BRIDGE = '0x638285e837db7124ff0947251c6f20ceeb2645df'
*/
8 changes: 4 additions & 4 deletions subgraph.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
specVersion: 0.0.4
description: The Moonbase Alpha Bridge subgraph indexes all activity related to GMI Farming on Kovan
description: The Moonbase Alpha Bridge subgraph indexes all activity related to GMI Farming on Rinkeby
repository: https://github.com/TobyKreiselmaier/Moonbase-Alpha-Bridge-Subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: Bridge
network: kovan
network: rinkeby
source:
address: '0x638285e837db7124ff0947251c6f20ceeb2645df' # MoonbeamBridge on Kovan
address: '0x638285e837db7124ff0947251c6f20ceeb2645df' # MoonbeamBridge on Rinkeby
abi: Bridge
startBlock: 25101423 # contract creation
startBlock: 8660132 # contract creation
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand Down

0 comments on commit 09a36c5

Please sign in to comment.