-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
33 lines (33 loc) · 1 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Contract
network: base-testnet
source:
address: "0xacfe09fd03f7812f022fbf636700adea18fd2a7a"
abi: Contract
startBlock: 4843438
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Attested
- Revoked
- RevokedOffchain
- Timestamped
abis:
- name: Contract
file: ./abis/Contract.json
eventHandlers:
- event: Attested(indexed address,indexed address,bytes32,indexed bytes32)
handler: handleAttested
- event: Revoked(indexed address,indexed address,bytes32,indexed bytes32)
handler: handleRevoked
- event: RevokedOffchain(indexed address,indexed bytes32,indexed uint64)
handler: handleRevokedOffchain
- event: Timestamped(indexed bytes32,indexed uint64)
handler: handleTimestamped
file: ./src/contract.ts