-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
38 lines (35 loc) · 899 Bytes
/
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
type ConfirmedAttendee @entity(immutable: true) {
id: Bytes!
eventId: Bytes! # bytes32
attendeeAddress: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type DepositsPaidOut @entity(immutable: true) {
id: Bytes!
eventId: Bytes! # bytes32
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type NewEventCreated @entity(immutable: true) {
id: Bytes!
eventId: Bytes! # bytes32
creatorAddress: Bytes! # address
eventTimestamp: BigInt! # uint256
maxCapacity: BigInt! # uint256
deposit: BigInt! # uint256
eventDataCID: String! # string
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}
type NewRSVP @entity(immutable: true) {
id: Bytes!
eventId: Bytes! # bytes32
attendeeAddress: Bytes! # address
blockNumber: BigInt!
blockTimestamp: BigInt!
transactionHash: Bytes!
}