mirror of
https://github.com/Instadapp/compound-dsa-managers.git
synced 2024-07-29 21:48:19 +00:00
added comments in schema
This commit is contained in:
parent
e0e1996e9d
commit
48b8b717b0
|
@ -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!
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user