Skip to content

Commit

Permalink
fixes sepolia subgraph target contract address
Browse files Browse the repository at this point in the history
  • Loading branch information
skuhlmann committed Jan 9, 2024
1 parent 4c35591 commit f3f3dae
Show file tree
Hide file tree
Showing 3 changed files with 647 additions and 52 deletions.
16 changes: 2 additions & 14 deletions apps/moloch-v3-subgraph/manifests/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,16 +319,10 @@ module.exports.config = {
},
sepolia: {
dataSources: [
{
name: 'baalSummoner-v1.0.0',
template: 'baal-summoner-ds.yaml',
address: '0xD69e5B8F6FA0E5d94B93848700655A78DF24e387',
startBlock: 4816767,
},
{
name: 'baalSummoner-v2.0.0',
template: 'baal-summoner-2.0.0-ds.yaml',
address: '0xD69e5B8F6FA0E5d94B93848700655A78DF24e387',
address: '0xB2B3909661552942AE1115E9Fc99dF0BC93d71d0',
startBlock: 4816767,
},
{
Expand Down Expand Up @@ -367,16 +361,10 @@ module.exports.config = {
},
base: {
dataSources: [
{
name: 'baalSummoner-v1.0.0',
template: 'baal-summoner-ds.yaml',
address: '0x22e0382194AC1e9929E023bBC2fD2BA6b778E098',
startBlock: 7428979,
},
{
name: 'baalSummoner-v2.0.0',
template: 'baal-summoner-2.0.0-ds.yaml',
address: '0x97Aaa5be8B38795245f1c38A883B44cccdfB3E11',
address: '0x22e0382194AC1e9929E023bBC2fD2BA6b778E098',
startBlock: 7428979,
},
{
Expand Down
52 changes: 14 additions & 38 deletions apps/moloch-v3-subgraph/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,13 @@ repository: https://github.com/hausdao/daohaus-v3-subgraph-sandbox
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: BaalSummoner
network: base
source:
address: '0x22e0382194AC1e9929E023bBC2fD2BA6b778E098'
abi: BaalSummoner
startBlock: 7428979
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Dao
abis:
- name: BaalSummoner
file: ./abis/BaalSummoner.json
- name: Erc20
file: ./abis/Erc20.json
eventHandlers:
- event: >-
SummonBaal(indexed address,indexed address,indexed
address,address,bool)
handler: handleSummonBaal
file: ./src/baal-summoner-mapping.ts
- kind: ethereum/contract
name: BaalSummonerV2
network: base
network: sepolia
source:
address: '0x97Aaa5be8B38795245f1c38A883B44cccdfB3E11'
address: '0xB2B3909661552942AE1115E9Fc99dF0BC93d71d0'
abi: BaalSummonerV2
startBlock: 7428979
startBlock: 4816767
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand All @@ -56,11 +32,11 @@ dataSources:
file: ./src/baal-summoner-mapping.ts
- kind: ethereum/contract
name: VaultSummoner
network: base
network: sepolia
source:
address: '0x2eF2fC8a18A914818169eFa183db480d31a90c5D'
address: '0x763f5c2E59f997A6cC48Bf1228aBf61325244702'
abi: VaultSummoner
startBlock: 7428979
startBlock: 4816767
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand All @@ -78,11 +54,11 @@ dataSources:
file: ./src/vault-summoner-mapping.ts
- kind: ethereum/contract
name: Poster
network: base
network: sepolia
source:
address: '0x000000000000cd17345801aa8147b8d3950260ff'
abi: Poster
startBlock: 7428979
startBlock: 4816767
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand All @@ -99,11 +75,11 @@ dataSources:
file: ./src/poster-mapping.ts
- kind: ethereum/contract
name: TributeMinion
network: base
network: sepolia
source:
address: '0x00768B047f73D88b6e9c14bcA97221d6E179d468'
address: '0xdb4D89F2199b9Cf451B7Ff4bdC94b1c96De4bdD0'
abi: TributeMinion
startBlock: 7428979
startBlock: 4816767
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand All @@ -124,7 +100,7 @@ dataSources:
templates:
- kind: ethereum/contract
name: BaalTemplate
network: base
network: sepolia
source:
abi: Baal
mapping:
Expand Down Expand Up @@ -173,7 +149,7 @@ templates:
handler: handleLockManager
- kind: ethereum/contract
name: SharesTemplate
network: base
network: sepolia
source:
abi: Shares
mapping:
Expand All @@ -196,7 +172,7 @@ templates:
handler: handleSharesTransfer
- kind: ethereum/contract
name: LootTemplate
network: base
network: sepolia
source:
abi: Loot
mapping:
Expand Down
Loading

0 comments on commit f3f3dae

Please sign in to comment.