-
Notifications
You must be signed in to change notification settings - Fork 19
/
subgraph.yaml
47 lines (47 loc) · 2.03 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: LensHub
network: matic
source:
address: '0xDb46d1Dc155634FbC732f92E853b10B288AD5a1d'
abi: LensHub
startBlock: 28384641
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Profile
- Account
abis:
- name: LensHub
file: ./abis/LensHub.json
eventHandlers:
- event: ProfileCreated(indexed uint256,indexed address,indexed address,string,string,address,bytes,string,uint256)
handler: handleProfileCreated
- event: FollowNFTURISet(indexed uint256,string,uint256)
handler: handleFollowNFTURISet
- event: ProfileImageURISet(indexed uint256,string,uint256)
handler: handleProfileImageURISet
- event: DispatcherSet(indexed uint256,indexed address,uint256)
handler: handleDispatcherSet
- event: ProfileCreatorWhitelisted(indexed address,indexed bool,uint256)
handler: handleProfileCreatorWhitelisted
- event: FollowModuleSet(indexed uint256,address,bytes,uint256)
handler: handleFollowModuleSet
- event: PostCreated(indexed uint256,indexed uint256,string,address,bytes,address,bytes,uint256)
handler: handlePostCreated
- event: MirrorCreated(indexed uint256,indexed uint256,uint256,uint256,bytes,address,bytes,uint256)
handler: handleMirrorCreated
- event: CommentCreated(indexed uint256,indexed uint256,string,uint256,uint256,bytes,address,bytes,address,bytes,uint256)
handler: handleCommentCreated
- event: Followed(indexed address,uint256[],bytes[],uint256)
handler: handleFollowed
- event: DefaultProfileSet(indexed address,indexed uint256,uint256)
handler: handleDefaultProfileSet
- event: FollowNFTTransferred(indexed uint256,indexed uint256,address,address,uint256)
handler: handleFollowNFTTransferred
file: ./src/mappings/index.ts