-
Notifications
You must be signed in to change notification settings - Fork 2
/
subgraph.yaml
71 lines (71 loc) · 1.77 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
61
62
63
64
65
66
67
68
69
70
71
specVersion: 0.0.5
description: ERC20 Subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: miweETH
network: linea
source:
abi: ERC20
address: "0x3478dE5e82431676C87113001bBeeb359cb5eAa5"
startBlock: 4811275
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Account
- Token
- TokenBalance
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/mapping.ts
- kind: ethereum/contract
name: miuniETH
network: linea
source:
abi: ERC20
address: "0x56ceD49205e5D9b4d8D9B29f4aBfbe7bb8b08768"
startBlock: 6645189
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Account
- Token
- TokenBalance
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/mapping.ts
- kind: ethereum/contract
name: miezETH
network: linea
source:
abi: ERC20
address: "0x96d6ce4e83db947ff6bd1ab0b377f23cd5d9ec2d"
startBlock: 8631420
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Account
- Token
- TokenBalance
abis:
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/mapping.ts