64 lines
1.4 KiB
GraphQL
64 lines
1.4 KiB
GraphQL
type Approval @entity(immutable: true) {
|
|
id: Bytes!
|
|
owner: Bytes! # address
|
|
spender: Bytes! # address
|
|
value: BigInt! # uint256
|
|
blockNumber: BigInt!
|
|
blockTimestamp: BigInt!
|
|
transactionHash: Bytes!
|
|
}
|
|
|
|
type OwnershipTransferred @entity(immutable: true) {
|
|
id: Bytes!
|
|
previousOwner: Bytes! # address
|
|
newOwner: Bytes! # address
|
|
blockNumber: BigInt!
|
|
blockTimestamp: BigInt!
|
|
transactionHash: Bytes!
|
|
}
|
|
|
|
type PlayerRegistered @entity(immutable: true) {
|
|
id: Bytes!
|
|
player: Bytes! # address
|
|
initialGeld: BigInt! # uint256
|
|
blockNumber: BigInt!
|
|
blockTimestamp: BigInt!
|
|
transactionHash: Bytes!
|
|
}
|
|
|
|
type RaidPerformed @entity(immutable: true) {
|
|
id: Bytes!
|
|
player: Bytes! # address
|
|
totalMinted: BigInt! # uint256
|
|
geldBalance: BigInt! # uint256
|
|
blockNumber: BigInt!
|
|
blockTimestamp: BigInt!
|
|
transactionHash: Bytes!
|
|
}
|
|
|
|
type Transfer @entity(immutable: true) {
|
|
id: Bytes!
|
|
from: Bytes! # address
|
|
to: Bytes! # address
|
|
value: BigInt! # uint256
|
|
blockNumber: BigInt!
|
|
blockTimestamp: BigInt!
|
|
transactionHash: Bytes!
|
|
}
|
|
|
|
type UnitAdded @entity(immutable: true) {
|
|
id: Bytes!
|
|
player: Bytes! # address
|
|
unitType: Int! # uint8
|
|
nUnits: Int! # uint16
|
|
cost: BigInt! # uint256
|
|
geldBalance: BigInt! # uint256
|
|
molochDenierLevel: Int! # uint16
|
|
apprenticeLevel: Int! # uint16
|
|
anointedLevel: Int! # uint16
|
|
championLevel: Int! # uint16
|
|
blockNumber: BigInt!
|
|
blockTimestamp: BigInt!
|
|
transactionHash: Bytes!
|
|
}
|