-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
50 lines (50 loc) · 1.2 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: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: SEED-ERC20
network: matic
source:
address: "0xEAeCC18198a475c921B24b8A6c1C1f0f5F3F7EA0"
abi: ERC20
startBlock: 21270464
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Token
- Account
- TokenBalance
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/erc-20.ts
- kind: ethereum
name: pSEED-ERC20
network: matic
source:
address: "0x8A8fCd351ED553Fc75Aecbc566A32F94471f302E"
abi: ERC20
startBlock: 21345454
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Token
- Account
- TokenBalance
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/erc-20.ts