69 lines
1.0 KiB
GraphQL
69 lines
1.0 KiB
GraphQL
|
type Proposal @entity {
|
||
|
id: ID!
|
||
|
timestamp: Int!
|
||
|
blockNumber: Int!
|
||
|
logIndex: Int!
|
||
|
transactionHash: Bytes!
|
||
|
|
||
|
proposalId: Int!
|
||
|
proposer: Bytes!
|
||
|
target: Bytes!
|
||
|
startTime: Int!
|
||
|
endTime: Int!
|
||
|
description: String!
|
||
|
executed: Boolean!
|
||
|
}
|
||
|
|
||
|
type Voted @entity {
|
||
|
id: ID!
|
||
|
timestamp: Int!
|
||
|
blockNumber: Int!
|
||
|
logIndex: Int!
|
||
|
transactionHash: Bytes!
|
||
|
|
||
|
proposalId: Int!
|
||
|
voter: Bytes!
|
||
|
support: Boolean!
|
||
|
votes: BigInt!
|
||
|
from: Bytes!
|
||
|
input: Bytes!
|
||
|
}
|
||
|
|
||
|
type Delegated @entity {
|
||
|
id: ID!
|
||
|
timestamp: Int!
|
||
|
blockNumber: Int!
|
||
|
logIndex: Int!
|
||
|
transactionHash: Bytes!
|
||
|
|
||
|
account: Bytes!
|
||
|
delegateTo: Bytes!
|
||
|
}
|
||
|
|
||
|
type Undelegated @entity {
|
||
|
id: ID!
|
||
|
timestamp: Int!
|
||
|
blockNumber: Int!
|
||
|
logIndex: Int!
|
||
|
transactionHash: Bytes!
|
||
|
|
||
|
account: Bytes!
|
||
|
delegateFrom: Bytes!
|
||
|
}
|
||
|
|
||
|
type StakeBurned @entity {
|
||
|
id: ID!
|
||
|
timestamp: Int!
|
||
|
blockNumber: Int!
|
||
|
logIndex: Int!
|
||
|
transactionHash: Bytes!
|
||
|
|
||
|
relayer: Bytes!
|
||
|
amountBurned: BigInt!
|
||
|
}
|
||
|
|
||
|
type StakeDailyBurned @entity {
|
||
|
id: ID!
|
||
|
date: Int!
|
||
|
dailyAmountBurned: BigInt!
|
||
|
}
|