mirror of
https://github.com/Instadapp/compound-dsa-managers.git
synced 2024-07-29 21:48:19 +00:00
42 lines
674 B
GraphQL
42 lines
674 B
GraphQL
type Owner @entity {
|
|
id: ID!
|
|
address: Bytes!
|
|
manager: [Manager!]! @derivedFrom(field: "owner")
|
|
}
|
|
|
|
type Manager @entity {
|
|
id: ID!
|
|
address: Bytes!
|
|
owner: Owner!
|
|
isAllowed: Boolean!
|
|
isDSA: Boolean!
|
|
transactionData: TransactionData!
|
|
}
|
|
|
|
type TransactionData @entity {
|
|
# transaction hash
|
|
id: ID!
|
|
# transaction index
|
|
txnIndex: BigInt!
|
|
# transaction log index
|
|
txnLogIndex: BigInt!
|
|
# from
|
|
from: Bytes!
|
|
# to
|
|
to: Bytes
|
|
# input
|
|
input: Bytes!
|
|
# block number
|
|
blockNumber: BigInt!
|
|
# timestamp
|
|
timestamp: BigInt!
|
|
# gas
|
|
blockGasUsed: BigInt!
|
|
#gas price
|
|
gasPrice: BigInt!
|
|
# gas limit
|
|
gasLimit: BigInt!
|
|
#value
|
|
value: BigInt!
|
|
}
|