-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
65 lines (59 loc) · 1.42 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
type OwnershipTransferred @entity(immutable: true) {
id: Bytes!
owner: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type SetStaking @entity(immutable: true) {
id: Bytes!
address: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Initialized @entity(immutable: true) {
id: Bytes!
version: Int! # uint8
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type SetGraphcastID @entity(immutable: true) {
id: Bytes!
indexer: Bytes! # address
graphcastID: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type ServiceRegistered @entity(immutable: true) {
id: Bytes!
indexer: Bytes! # address
url: String! # string
geohash: String! # string
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type ServiceUnregistered @entity(immutable: true) {
id: Bytes!
indexer: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Indexer @entity {
id: Bytes!
url: String! # string
geohash: String! # string
registeredAtBlock: BigInt!
registeredAtTimestamp: BigInt!
registeredAtTransaction: Bytes!
active: Boolean!
unregisteredAtBlock: BigInt
unregisteredAtTimestamp: BigInt
unregisteredAtTransaction: Bytes
"GraphcastID address might not exist if never set"
graphcastID: Bytes
}