forked from Data-Nexus/NFT-Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
32 lines (32 loc) · 948 Bytes
/
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
specVersion: 0.0.5
description: 721-tracker
repository: https://github.com/Data-Nexus/NFT-Tracker
schema:
file: ./schema.graphql
dataSources:
#### All ERC721 ####
- kind: ethereum/contract
name: IERC721
network: arbitrum-one
source:
abi: IERC721
startBlock: 5774644
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- transfer
- transaction
- account
abis:
- name: IERC721
file: ./node_modules/@openzeppelin/contracts/build/contracts/IERC721.json
- name: IERC721Metadata
file: ./node_modules/@openzeppelin/contracts/build/contracts/IERC721Metadata.json
- name: Contract721
file: ./abis/Contract721.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/eip721/index.ts