-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
94 lines (88 loc) · 1.79 KB
/
schema.graphql
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
type Validator @entity {
id: ID!
network: String!
version: String!
ownerAddress: String!
publicKey: String!
operators: [String!]!
cluster: String!
shares: String!
sharesPublicKeys: [String!]!
encryptedKeys: [String!]!
memo: [String]
blockNumber: BigInt!
logIndex: BigInt!
transactionIndex: BigInt!
addedAtBlockNumber: BigInt!
addedAtLogIndex: BigInt!
addedAtTransactionIndex: BigInt!
isValid: Boolean!
isDeleted: Boolean!
isLiquidated: Boolean!
ignoreOnSync: Boolean!
createdAt: BigInt!
updatedAt: BigInt!
isDraft: Boolean!
isPublicKeyValid: Boolean!
isSharesValid: Boolean!
isOperatorsValid: Boolean!
}
type Operator @entity {
id: ID!
operatorId: BigInt!
network: String!
version: String!
ownerAddress: String!
publicKey: String!
fee: BigInt!
previousFee: BigInt!
declaredFee: BigInt!
addressWhitelist: String
memo: [String]
blockNumber: BigInt!
isValid: Boolean!
isDeleted: Boolean!
createdAt: BigInt!
updatedAt: BigInt!
whitelistAddresses: [String!]!
isPrivate: Boolean!
whitelistingContract: String
}
type Cluster @entity {
id: ID!
clusterId: String!
network: String!
version: String!
ownerAddress: String!
validatorCount: BigInt!
networkFeeIndex: BigInt!
index: BigInt!
balance: BigInt!
active: Boolean!
isLiquidated: Boolean!
operators: [String!]!
blockNumber: BigInt!
createdAt: BigInt!
updatedAt: BigInt!
}
type Account @entity {
id: ID!
ownerAddress: String!
recipientAddress: String
network: String!
version: String!
}
type Event @entity {
id: ID!
network: String!
version: String!
logIndex: BigInt!
transactionHash: String!
transactionIndex: BigInt!
event: String!
blockNumber: BigInt!
ownerAddress: String
rawData: String!
createdAt: BigInt!
processed: BigInt
}