2019-08-07 21:21:13 +00:00
|
|
|
type Profile @entity {
|
|
|
|
id: ID!
|
|
|
|
addr: Bytes!
|
|
|
|
canceled: Boolean!
|
|
|
|
commitTime: BigInt!
|
|
|
|
type: String!
|
|
|
|
url: String!
|
|
|
|
name: String!
|
|
|
|
profileId: BigInt!
|
2019-08-10 17:12:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type PledgesInfo @entity {
|
|
|
|
id: ID! # id is unique on profile + token
|
|
|
|
profile: String!
|
|
|
|
token: String!
|
|
|
|
lifetimeReceived: BigInt!
|
|
|
|
balance: BigInt!
|
2019-08-15 15:28:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type Pledge @entity {
|
|
|
|
id: ID!
|
|
|
|
owner: String!
|
|
|
|
amount: BigInt!
|
|
|
|
token: String!
|
|
|
|
commitTime: BigInt!
|
|
|
|
nDelegates: BigInt!
|
|
|
|
intendedProject: BigInt!
|
|
|
|
pledgeState: Int!
|
2019-08-07 21:21:13 +00:00
|
|
|
}
|