diff --git a/src/mappings/config.ts b/src/mappings/config.ts index 2a2507c..2cf0411 100644 --- a/src/mappings/config.ts +++ b/src/mappings/config.ts @@ -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' + +*/ diff --git a/subgraph.yaml b/subgraph.yaml index bf9ed02..8793793 100644 --- a/subgraph.yaml +++ b/subgraph.yaml @@ -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