forked from developerfred/admanager-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
80 lines (80 loc) · 2.96 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
72
73
74
75
76
77
78
79
80
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AdvertisementManager
network: base
source:
address: "0x020243968704ccF8202Afd1F1134a90953385877"
abi: AdvertisementManager
startBlock: 20259379
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AchievementUnlocked
- AdvertisementDeactivated
- EngagementRecorded
- EngagementRewardMinted
- LevelUp
- NewAdvertisement
- NewChiefOfAdvertising
- NewCommunityChallenge
- NewReferral
- Paused
- ReferralRewardDistributed
- ReputationUpdated
- RoleAdminChanged
- RoleGranted
- RoleRevoked
- SpecialEventStarted
- Unpaused
- WeeklyBonusMinted
- WithdrawCompleted
abis:
- name: AdvertisementManager
file: ./abis/AdvertisementManager.json
eventHandlers:
- event: AchievementUnlocked(address,uint256,string)
handler: handleAchievementUnlocked
- event: AdvertisementDeactivated(indexed uint256)
handler: handleAdvertisementDeactivated
- event: EngagementRecorded(indexed uint256,address,uint256)
handler: handleEngagementRecorded
- event: EngagementRewardMinted(address,uint256)
handler: handleEngagementRewardMinted
- event: LevelUp(address,uint256)
handler: handleLevelUp
- event: NewAdvertisement(string,string,uint256,address,address)
handler: handleNewAdvertisement
- event: NewChiefOfAdvertising(indexed address,uint256,uint256)
handler: handleNewChiefOfAdvertising
- event: NewCommunityChallenge(string,uint256,uint256,uint256)
handler: handleNewCommunityChallenge
- event: NewReferral(address,address)
handler: handleNewReferral
- event: Paused(address)
handler: handlePaused
- event: ReferralRewardDistributed(address,uint256,uint256)
handler: handleReferralRewardDistributed
- event: ReputationUpdated(address,uint256)
handler: handleReputationUpdated
- event: RoleAdminChanged(indexed bytes32,indexed bytes32,indexed bytes32)
handler: handleRoleAdminChanged
- event: RoleGranted(indexed bytes32,indexed address,indexed address)
handler: handleRoleGranted
- event: RoleRevoked(indexed bytes32,indexed address,indexed address)
handler: handleRoleRevoked
- event: SpecialEventStarted(string,uint256,uint256,uint256)
handler: handleSpecialEventStarted
- event: Unpaused(address)
handler: handleUnpaused
- event: WeeklyBonusMinted(address,uint256)
handler: handleWeeklyBonusMinted
- event: WithdrawCompleted(address,uint256)
handler: handleWithdrawCompleted
file: ./src/advertisement-manager.ts