-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.graphql
More file actions
59 lines (54 loc) · 1.34 KB
/
schema.graphql
File metadata and controls
59 lines (54 loc) · 1.34 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
type MetaEvidence @entity(immutable: true) {
id: Bytes!
_metaEvidenceID: BigInt! # uint256
_evidence: String! # string
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Payment @entity(immutable: true) {
id: Bytes!
_transactionID: BigInt! # uint256
_amount: BigInt! # uint256
_party: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type HasToPayFee @entity(immutable: true) {
id: Bytes!
_transactionID: BigInt! # uint256
_party: Int! # uint8
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Evidence @entity(immutable: true) {
id: Bytes!
_arbitrator: Bytes! # address
_evidenceGroupID: BigInt! # uint256
_party: Bytes! # address
_evidence: String! # string
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Dispute @entity(immutable: true) {
id: Bytes!
_arbitrator: Bytes! # address
_disputeID: BigInt! # uint256
_metaEvidenceID: BigInt! # uint256
_evidenceGroupID: BigInt! # uint256
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Ruling @entity(immutable: true) {
id: Bytes!
_arbitrator: Bytes! # address
_disputeID: BigInt! # uint256
_ruling: BigInt! # uint256
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}