-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathspaL1Subgraph.yaml
44 lines (44 loc) · 1.11 KB
/
spaL1Subgraph.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
specVersion: 0.0.2
schema:
file: ./l1.graphql
dataSources:
- kind: ethereum
name: SperaxL1
network: mainnet
source:
address: "0xb4a3b0faf0ab53df58001804dda5bfc6a3d59008"
abi: SperaxL1
startBlock: 13114326
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: SperaxL1
file: ./abis/SperaxL1.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/SpaL1Mapping.ts
- kind: ethereum
name: L1Wspa
network: mainnet
source:
address: "0x2a95FE4c7e64e09856989F9eA0b57B9AB5f770CB"
abi: L1Wspa
startBlock: 13826479
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Transfer
abis:
- name: L1Wspa
file: ./abis/L1Wspa.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/WspaL1Mapping.ts