-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
30 lines (29 loc) · 951 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
specVersion: 0.0.4
description: DAOBox LensVotingNFT Aragon Plugin
repository: https://github.com/DAObox/lensvoting-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: LensVotingNFT
network: matic
source:
address: "0xD3596C81FcAb699192dc79C8e25f1362E3dFf89A"
abi: LensVotingNFT
startBlock: 40934510
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Delegator
- Delegate
abis:
- name: LensVotingNFT
file: ./abis/LensVotingNFT.json
eventHandlers:
- event: FollowNFTDelegatedPowerChanged(indexed address,indexed uint256,uint256)
handler: handleFollowNFTDelegatedPowerChanged
- event: FollowNFTTransferred(indexed uint256,indexed uint256,address,address,uint256)
handler: handleFollowNFTTransferred
file: ./src/lens-voting-nft.ts