23 lines
325 B
GraphQL
23 lines
325 B
GraphQL
type User @entity {
|
|
id: ID!
|
|
amount: BigInt!
|
|
}
|
|
|
|
type Round @entity {
|
|
id: ID!
|
|
blockNumber: BigInt!
|
|
timestamp: BigInt!
|
|
winners: [Bytes!]!
|
|
prizes: [BigInt!]!
|
|
roundCloser: Bytes!
|
|
roundCloserReward: BigInt!
|
|
jackpot: Jackpot
|
|
}
|
|
|
|
type Jackpot @entity {
|
|
id: ID!
|
|
round: Round
|
|
winner: Bytes!
|
|
prize: BigInt!
|
|
}
|