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 { | type Owner @entity { | ||||||
|  |   # address of the owner. | ||||||
|   id: ID! |   id: ID! | ||||||
|  |   # address of the owner. | ||||||
|   address: Bytes! |   address: Bytes! | ||||||
|  |   # lists of all enabled and disabled managers. | ||||||
|   manager: [Manager!]! @derivedFrom(field: "owner") |   manager: [Manager!]! @derivedFrom(field: "owner") | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| type Manager @entity { | type Manager @entity { | ||||||
|  |   # manager address + "#" + owner address. | ||||||
|   id: ID! |   id: ID! | ||||||
|  |   # address of the manager. | ||||||
|   address: Bytes! |   address: Bytes! | ||||||
|  |   # owner of the manager. | ||||||
|   owner: Owner! |   owner: Owner! | ||||||
|  |   # whether the manager is enabled or disabled by the owner. | ||||||
|   isAllowed: Boolean! |   isAllowed: Boolean! | ||||||
|  |   # whether the manager is DSA or not. | ||||||
|   isDSA: Boolean! |   isDSA: Boolean! | ||||||
|  |   # transction details of the transaction when manager enabled or disabled.  | ||||||
|   transactionData: TransactionData! |   transactionData: TransactionData! | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Richa-iitr
						Richa-iitr