-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsubgraph.yaml
60 lines (60 loc) · 1.84 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
51
52
53
54
55
56
57
58
59
60
specVersion: 0.0.4
schema:
file: ./schema.graphql
features:
- fullTextSearch
dataSources:
- kind: ethereum
name: VeaInboxArbToEthTestnet
network: arbitrum-sepolia
source:
address: "0xE12daFE59Bc3A996362d54b37DFd2BA9279cAd06"
abi: VeaInboxArbToEthTestnet
startBlock: 77452741
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Snapshot
- Message
- Refs
abis:
- name: VeaInboxArbToEthTestnet
file: ../contracts/deployments/arbitrumSepolia/VeaInboxArbToEthTestnet.json
- name: VeaInboxArbToEthDevnet
file: ../contracts/deployments/arbitrumSepolia/VeaInboxArbToEthDevnet.json
eventHandlers:
- event: MessageSent(bytes)
handler: handleMessageSent
- event: SnapshotSaved(bytes32,uint256,uint64)
handler: handleSnapshotSaved
- event: SnapshotSent(indexed uint256,bytes32)
handler: handleSnapshotSent
file: ./src/VeaInbox.ts
- kind: ethereum
name: VeaInboxArbToEthDevnet
network: arbitrum-sepolia
source:
address: "0xF6C5640de593fEf76129F1F1A863F7ddc65776C9"
abi: VeaInboxArbToEthDevnet
startBlock: 129093493
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Snapshot
- Message
- Refs
abis:
- name: VeaInboxArbToEthDevnet
file: ../contracts/deployments/arbitrumSepolia/VeaInboxArbToEthDevnet.json
eventHandlers:
- event: MessageSent(bytes)
handler: handleMessageSent
- event: SnapshotSaved(bytes32,uint256,uint64)
handler: handleSnapshotSaved
- event: SnapshotSent(indexed uint256,bytes32)
handler: handleSnapshotSent
file: ./src/VeaInbox.ts