added comments in schema

This commit is contained in:
Richa-iitr 2022-09-05 00:11:45 +05:30
parent e0e1996e9d
commit 48b8b717b0

View File

@ -1,15 +1,24 @@
type Owner @entity {
# address of the owner.
id: ID!
# address of the owner.
address: Bytes!
# lists of all enabled and disabled managers.
manager: [Manager!]! @derivedFrom(field: "owner")
}
type Manager @entity {
# manager address + "#" + owner address.
id: ID!
# address of the manager.
address: Bytes!
# owner of the manager.
owner: Owner!
# whether the manager is enabled or disabled by the owner.
isAllowed: Boolean!
# whether the manager is DSA or not.
isDSA: Boolean!
# transction details of the transaction when manager enabled or disabled.
transactionData: TransactionData!
}