This repository was archived by the owner on Feb 6, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
85 lines (85 loc) · 2.45 KB
/
subgraph.yaml
File metadata and controls
85 lines (85 loc) · 2.45 KB
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
81
82
83
84
85
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Scorer
network: celo
source:
abi: Scorer
address: "0x517082d63bE128bAF9413C898a957d79E3A3A452"
startBlock: 30738364
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- User
- Score
- ScoreType
- Admin
abis:
- name: Scorer
file: ./abis/Scorer.json
eventHandlers:
- event: RoleGranted(indexed bytes32,indexed address,indexed address)
handler: handleRoleGranted
- event: RoleRevoked(indexed bytes32,indexed address,indexed address)
handler: handleRoleRevoked
- event: ScoreTypeAdded(string)
handler: handleScoreTypeAdded
- event: ScoreTypeRemoved(string)
handler: handleScoreTypeRemoved
- event: ScoreUpdated(indexed address,string,uint256,uint256)
handler: handleScoreUpdated
file: ./src/scorer.ts
- kind: ethereum
name: sweetspot
network: celo
source:
abi: sweetspot
address: "0xeC6D8F428a1e97d0988744BDeD2AE1e4b8D97344"
startBlock: 30739455
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AllowedAmountUpdated
- Claimed
- Deposit
- Initialized
- OwnershipTransferred
- RoundUpdated
- Withdraw
abis:
- name: sweetspot
file: ./abis/sweetspot.json
eventHandlers:
- event: AllowedAmountUpdated(indexed address,indexed address,uint256)
handler: handleAllowedAmountUpdated
- event: Claimed(indexed address,indexed address,uint256)
handler: handleClaimed
- event: Deposit(indexed address,indexed address,uint256)
handler: handleDeposit
- event: RoundUpdated(uint256,uint256,string)
handler: handleRoundUpdated
- event: Withdraw(indexed address,indexed address,uint256)
handler: handleWithdraw
file: ./src/sweetspot.ts
templates:
- kind: file/ipfs
name: RoundMetadata
mapping:
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- RoundMetadata
file: ./src/round-metadata.ts
handler: handleRoundMetadata
abis:
- name: RoundMetadata
file: ./abis/RoundMetadata.json
network: celo