-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
69 lines (64 loc) · 1.41 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
type Project @entity {
id: Bytes!
profileId: Bytes! # bytes32
nonce: BigInt! # uint256
name: String! # string
metadata_protocol: BigInt! # uint256
metadata_pointer: String!
metadata: ProjectMetadata # ProjectMetadata
owner: Bytes! # address
anchor: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
members: ProfileMemberGroup
}
type ProjectMetadata @entity(immutable: true) {
id: String!
name: String
description: String
avatarHash_IPFS: String
email: String
x: String
github: String
discord: String
telegram: String
website: String
}
type ShipProfile @entity {
id: Bytes!
profileId: Bytes! # bytes32
nonce: BigInt! # uint256
name: String! # string
metadata_protocol: BigInt! # uint256
metadata_pointer: String!
metadata: ShipProfileMetadata! # ShipProfileMetadata
owner: Bytes! # address
anchor: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
alloProfileMembers: ProfileMemberGroup
}
type ShipProfileMetadata @entity(immutable: true) {
id: String!
name: String
mission: String
avatarHash_IPFS: String
email: String
x: String
github: String
discord: String
telegram: String
website: String
}
type ProfileMemberGroup @entity {
id: Bytes!
addresses: [Bytes!]
}
type Transaction @entity {
id: ID!
blockNumber: BigInt!
sender: Bytes! # address
txHash: Bytes!
}