-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubgraph.yaml
38 lines (38 loc) · 1.08 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
specVersion: 1.0.0
description: Ethereum Endorsement Service Subgraph
repository: https://github.com/lutralabs/ees
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: EESCore
network: sepolia
source:
abi: EESCore
address: "0x5Cb7f40d8a23d9Baff52cFd5A10994EcEfF9e7ED"
startBlock: 6037898
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/EESCore.ts
entities:
- Donation
- Endorsement
- Withdrawal
- Account
- FeeWithdrawal
abis:
- name: EESCore
file: ./abis/EESCore.json
eventHandlers:
- event: Donate(indexed address,indexed address,uint256)
handler: handleDonate
- event: Endorse(indexed address,indexed address,string,indexed bytes32,uint256)
handler: handleEndorse
- event: Withdraw(indexed address,uint256)
handler: handleWithdraw
- event: WithdrawFees(string,indexed address,uint256)
handler: handleWithdrawFees