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 Vote @entity {
|
|
id: ID!
|
|
timestamp: Int!
|
|
blockNumber: Int!
|
|
logIndex: Int!
|
|
transactionHash: Bytes!
|
|
|
|
proposalId: Int!
|
|
voter: Bytes!
|
|
support: Boolean!
|
|
votes: BigInt!
|
|
from: Bytes!
|
|
input: Bytes!
|
|
}
|
|
|
|
type Delegate @entity {
|
|
id: ID!
|
|
timestamp: Int!
|
|
blockNumber: Int!
|
|
logIndex: Int!
|
|
transactionHash: Bytes!
|
|
|
|
account: Bytes!
|
|
delegateTo: Bytes!
|
|
}
|
|
|
|
type Undelegate @entity {
|
|
id: ID!
|
|
timestamp: Int!
|
|
blockNumber: Int!
|
|
logIndex: Int!
|
|
transactionHash: Bytes!
|
|
|
|
account: Bytes!
|
|
delegateFrom: Bytes!
|
|
}
|
|
|
|
type StakeBurn @entity {
|
|
id: ID!
|
|
timestamp: Int!
|
|
blockNumber: Int!
|
|
logIndex: Int!
|
|
transactionHash: Bytes!
|
|
|
|
relayer: Bytes!
|
|
amountBurned: BigInt!
|
|
}
|
|
|
|
type StakeDailyBurn @entity {
|
|
id: ID!
|
|
date: Int!
|
|
dailyAmountBurned: BigInt!
|
|
} |