-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph-linea-goerli.yaml
47 lines (47 loc) · 1.78 KB
/
subgraph-linea-goerli.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.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: implementation
network: linea-goerli
source:
address: "0xe43EFeA7f40a885f4B35a149CAB5FC3fE01564C6"
startBlock: 1509130
abi: implementation
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Job
abis:
- name: implementation
file: ./abis/implementation.json
eventHandlers:
- event: JobClosed(indexed bytes32)
handler: handleJobClosed
- event: JobDeposited(indexed bytes32,indexed address,uint256)
handler: handleJobDeposited
- event: JobOpened(indexed bytes32,string,indexed address,indexed
address,uint256,uint256,uint256)
handler: handleJobOpened
- event: JobReviseRateInitiated(indexed bytes32,uint256)
handler: handleJobRevisedRateInitiated
- event: JobReviseRateCancelled(indexed bytes32)
handler: handleJobRevisedRateCancelled
- event: JobReviseRateFinalized(indexed bytes32,uint256)
handler: handleJobRevisedRateFinalized
- event: JobSettled(indexed bytes32,uint256,uint256)
handler: handleJobSettled
- event: JobWithdrew(indexed bytes32,indexed address,uint256)
handler: handleJobWithdrew
- event: ProviderAdded(indexed address,string)
handler: handleProviderAdded
- event: ProviderRemoved(indexed address)
handler: handleProviderRemoved
- event: ProviderUpdatedWithCp(indexed address,string)
handler: handleProviderUpdatedWithCp
- event: LockWaitTimeUpdated(indexed bytes32,uint256,uint256)
handler: handleLockWaitTimeUpdated
file: ./src/implementation.ts