forked from kleros/kleros-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
118 lines (118 loc) · 4.43 KB
/
Copy pathsubgraph.yaml
File metadata and controls
118 lines (118 loc) · 4.43 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: KlerosCore
network: arbitrum-goerli
source:
address: "0x791812B0B9f2ba260B2DA432BB02Ee23BC1bB509"
abi: KlerosCore
startBlock: 33640331
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- User
- Arbitrable
- TokenAndETHShift
- JurorTokensPerCourt
- Court
- Dispute
- Round
- Draw
- DisputeKit
- Counter
abis:
- name: DisputeKitClassic
file: ../contracts/deployments/arbitrumGoerli/DisputeKitClassic.json
- name: KlerosCore
file: ../contracts/deployments/arbitrumGoerli/KlerosCore.json
eventHandlers:
- event: AppealDecision(indexed uint256,indexed address)
handler: handleAppealDecision
- event: DisputeCreation(indexed uint256,indexed address)
handler: handleDisputeCreation
- event: Draw(indexed address,indexed uint256,uint256,uint256)
handler: handleDraw
- event: NewPeriod(indexed uint256,uint8)
handler: handleNewPeriod
- event: CourtCreated(indexed uint256,indexed uint96,bool,uint256,uint256,uint256,uint256,uint256[4],uint256[])
handler: handleCourtCreated
- event: CourtModified(indexed uint96,bool,uint256,uint256,uint256,uint256,uint256[4])
handler: handleCourtModified
- event: DisputeKitCreated(indexed uint256,indexed address,indexed uint256)
handler: handleDisputeKitCreated
- event: DisputeKitEnabled(indexed uint96,indexed uint256,indexed bool)
handler: handleDisputeKitEnabled
- event: StakeSet(indexed address,uint256,uint256)
handler: handleStakeSet
- event: StakeDelayed(indexed address,uint256,uint256)
handler: handleStakeDelayed
- event: TokenAndETHShift(indexed address,indexed uint256,indexed uint256,uint256,int256,int256,address)
handler: handleTokenAndETHShift
- event: Ruling(indexed address,indexed uint256,uint256)
handler: handleRuling
- event: AcceptedFeeToken(indexed address,indexed bool)
handler: handleAcceptedFeeToken
file: ./src/KlerosCore.ts
- kind: ethereum
name: PolicyRegistry
network: arbitrum-goerli
source:
address: "0x4c129b9836E4CC3Cf6D833b39a4B7cfA25D86c86"
abi: PolicyRegistry
startBlock: 33436566
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Court
abis:
- name: PolicyRegistry
file: ../contracts/deployments/arbitrumGoerli/PolicyRegistry.json
eventHandlers:
- event: PolicyUpdate(indexed uint256,string,string)
handler: handlePolicyUpdate
file: ./src/PolicyRegistry.ts
- kind: ethereum
name: DisputeKitClassic
network: arbitrum-goerli
source:
address: "0x439f92b61783A752462527f9dA9C6c6180C9253a"
abi: DisputeKitClassic
startBlock: 34139950
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ClassicDispute
- ClassicRound
- ClassicVote
- ClassicEvidenceGroup
- ClassicEvidence
- ClassicContribution
abis:
- name: DisputeKitClassic
file: ../contracts/deployments/arbitrumGoerli/DisputeKitClassic.json
- name: KlerosCore
file: ../contracts/deployments/arbitrumGoerli/KlerosCore.json
eventHandlers:
- event: DisputeCreation(indexed uint256,uint256,bytes)
handler: handleDisputeCreation
- event: Contribution(indexed uint256,indexed uint256,uint256,indexed address,uint256)
handler: handleContributionEvent
- event: Withdrawal(indexed uint256,indexed uint256,uint256,indexed address,uint256)
handler: handleWithdrawal
- event: ChoiceFunded(indexed uint256,indexed uint256,indexed uint256)
handler: handleChoiceFunded
- event: Evidence(indexed uint256,indexed address,string)
handler: handleEvidenceEvent
- event: VoteCast(indexed uint256,indexed address,uint256[],indexed uint256,string)
handler: handleVoteCast
- event: CommitCast(indexed uint256,indexed address,uint256[],bytes32)
handler: handleCommitCast
file: ./src/DisputeKitClassic.ts