-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
53 lines (48 loc) · 1.04 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
type CreateMech @entity(immutable: true) {
id: Bytes!
mech: Bytes! # address
agentId: BigInt! # uint256
price: BigInt! # uint256
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type OwnerUpdated @entity(immutable: true) {
id: Bytes!
owner: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Pause @entity(immutable: true) {
id: Bytes!
owner: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Unpause @entity(immutable: true) {
id: Bytes!
owner: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Request @entity(immutable: true) {
id: Bytes!
sender: Bytes!
requestId: BigInt!
ipfsHash: String!
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type Deliver @entity(immutable: true) {
id: Bytes!
sender: Bytes!
requestId: BigInt!
ipfsHash: String!
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}