-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
44 lines (42 loc) · 982 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
39
40
41
42
43
44
type TimelineEvent @entity {
id: ID!
createdAt: BigInt!
createdBy: Bytes!
type: String!
shamanAddress: Bytes!
metadata: String
shaman: Shaman!
projectMetadata: String
totalSecondsWorked: BigInt
sessionsTime: [BigInt!]
sessionsValue: [Int!]
totalAmountClaimed: BigInt
isLocked: Boolean
mutinyFrom: Bytes
mutinyTo: Bytes
updateIntervalFrom: BigInt
updateIntervalTo: BigInt
updateTokenPerSecondFrom: BigInt
updateTokenPerSecondTo: BigInt
updatePercsFrom: [BigInt!]
updatePercsTo: [BigInt!]
}
type Shaman @entity {
id: ID! # address
createdAt: BigInt!
baal: Bytes! # address
address: Bytes! #address
interval: BigInt!
tokenPerSecond: BigInt!
valueScalePercs: [BigInt!]!
isLocked: Boolean!
teamLead: Bytes! # address
sharesOrLoot: Boolean!
summoner: Bytes! # address
timeline: [TimelineEvent!]! @derivedFrom(field: "shaman")
projectMetadata: String!
}
type EventTransaction @entity {
id: ID!
createdAt: BigInt!
}