-
Notifications
You must be signed in to change notification settings - Fork 2
/
subgraph.yaml
40 lines (40 loc) · 1.05 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Beanz
network: mainnet
source:
address: "0x306b1ea3ecdf94aB739F1910bbda052Ed4A9f949"
abi: Beanz
startBlock: 14492070
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Token
- Owner
abis:
- name: Beanz
file: ./abis/Beanz.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/beanz.ts
templates:
- name: TokenMetadata
kind: file/ipfs
mapping:
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/beanz.ts
handler: handleMetadata
entities:
- TokenMetadata
abis:
- name: Beanz
file: ./abis/Beanz.json
features:
- fullTextSearch