-
Notifications
You must be signed in to change notification settings - Fork 8
/
subgraph.yaml
44 lines (44 loc) · 1.08 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ds-gno
network: mainnet
source:
address: "0x6810e776880C02933D47DB1b9fc05908e5386b96"
abi: ERC20
startBlock: 3557596
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- User
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/gno.ts
- kind: ethereum
name: ds-lgno
network: mainnet
source:
address: "0x4f8AD938eBA0CD19155a835f617317a6E788c868"
abi: ERC20
startBlock: 14111111
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- User
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/lgno.ts