ERC-20-Token-Allowance/schema.graphql
2022-08-15 23:03:06 +05:30

31 lines
535 B
GraphQL

type Account @entity {
id: ID!
version: BigInt!
accountID: BigInt!
# Smart account address
address: Bytes!
# Address of the DSA creator
creator: Bytes!
# Total transactions of the DSA
transactionsCount: BigInt!
# Cast event data
approvals: [ApprovalEvent!]!
}
type ApprovalEvent @entity {
id: ID!
token: Token!
from: Bytes!
# to or the spender address
to: Bytes!
# value approved or transaferred
value: BigInt!
}
type Token @entity {
id: ID!
name: String
symbol: String
decimals: BigInt
}