-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
70 lines (70 loc) · 2.69 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
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
specVersion: 0.0.4
description: Dynamic decentalized dispute resolution protocol for NFT Protect
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: DyArbitratorRegistry
network: goerli
source:
address: "0x6620883168AD86d3b88E0C1a3eF0b3Ce4284c17d"
startBlock: 8935625
abi: DyArbitratorRegistry
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ArbitratorAddRequested
- ArbitratorAdded
- ArbitratorDeleted
- ArbitratorManagerChanged
- ContractAdded
- ContractRemoved
- ContractsAddRequested
- Deployed
- DisputeAccepted
- DisputeRejected
- OperationAdded
- OperationChanged
- OperationRemoved
- OperationsAddRequested
- SetMasterArbitrator
- SetMasterOperation
abis:
- name: DyArbitratorRegistry
file: ./abis/DyArbitratorRegistry.json
eventHandlers:
- event: ArbitratorAddRequested(indexed uint256,uint256,address,string)
handler: handleArbitratorAddRequested
- event: ArbitratorAdded(indexed address,string,address)
handler: handleArbitratorAdded
- event: ArbitratorDeleted(indexed address)
handler: handleArbitratorDeleted
- event: ArbitratorManagerChanged(indexed address,address)
handler: handleArbitratorManagerChanged
- event: ContractAdded(indexed address,indexed address)
handler: handleContractAdded
- event: ContractRemoved(indexed address,indexed address)
handler: handleContractRemoved
- event: ContractsAddRequested(indexed uint256,uint256,address,indexed address)
handler: handleContractsAddRequested
- event: Deployed()
handler: handleDeployed
- event: DisputeAccepted(indexed uint256)
handler: handleDisputeAccepted
- event: DisputeRejected(indexed uint256)
handler: handleDisputeRejected
- event: OperationAdded(indexed address,indexed uint256,bytes)
handler: handleOperationAdded
- event: OperationChanged(indexed address,indexed uint256,bytes)
handler: handleOperationChanged
- event: OperationRemoved(indexed address,indexed uint256)
handler: handleOperationRemoved
- event: OperationsAddRequested(indexed uint256,uint256,address,indexed address)
handler: handleOperationsAddRequested
- event: SetMasterArbitrator(address)
handler: handleSetMasterArbitrator
- event: SetMasterOperation(indexed uint256,bytes)
handler: handleSetMasterOperation
file: ./src/mapping.ts