mirror of
https://github.com/Instadapp/ERC-20-Token-Allowance.git
synced 2024-07-29 22:48:10 +00:00
31 lines
535 B
GraphQL
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
|
|
}
|