-
Notifications
You must be signed in to change notification settings - Fork 7
/
subgraph.yaml
50 lines (50 loc) · 1.39 KB
/
subgraph.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: SubgraphAvailabilityManager
network: arbitrum-one
source:
abi: SubgraphAvailabilityManager
address: "0x1cB555359319A94280aCf85372Ac2323AaE2f5fd"
startBlock: 223974980
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- NewOwnership
- NewPendingOwnership
- OracleSet
- OracleVote
- VoteTimeLimitSet
abis:
- name: SubgraphAvailabilityManager
file: ./abis/SubgraphAvailabilityManager.json
eventHandlers:
- event: OracleSet(indexed uint256,indexed address)
handler: handleOracleSet
- event: OracleVote(indexed bytes32,bool,indexed uint256,uint256)
handler: handleOracleVote
file: ./src/subgraph-availability-manager.ts
- kind: ethereum
name: SAODataEdge
network: arbitrum-one
source:
abi: SAODataEdge
address: "0xeD16cEbd4fa74a0016E1149cc03563Db4B223aec"
startBlock: 223927924
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Log
abis:
- name: SAODataEdge
file: ./abis/SAODataEdge.json
eventHandlers:
- event: Log(bytes)
handler: handleLog
file: ./src/sao-data-edge.ts