-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph-linea.yaml
47 lines (47 loc) · 1.78 KB
/
subgraph-linea.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-mainnet
source:
address: "0xdD78e7F31B98dD8BD1F44F8FFCCeb4EdA6abdc5B"
startBlock: 237386
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