File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/subgraph-service/contracts/libraries Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ library IndexingAgreement {
31
31
IndexingAgreementVersion version;
32
32
}
33
33
34
+ /**
35
+ * @notice Wrapper for Indexing Agreement and Collector Agreement Data
36
+ * @dev This struct is used to encapsulate the state of an indexing agreement
37
+ * @param agreement The indexing agreement state
38
+ * @param collectorAgreement The collector agreement data
39
+ */
34
40
struct AgreementWrapper {
35
41
State agreement;
36
42
IRecurringCollector.AgreementData collectorAgreement;
@@ -84,6 +90,9 @@ library IndexingAgreement {
84
90
* @notice Storage manager for indexing agreements
85
91
* @dev This struct holds the state of indexing agreements and their terms.
86
92
* It is used to manage the lifecycle of indexing agreements in the subgraph service.
93
+ * @param agreements Mapping of agreement IDs to their states
94
+ * @param termsV1 Mapping of agreement IDs to their terms for version 1 agreements
95
+ * @param allocationToActiveAgreementId Mapping of allocation IDs to their active agreement IDs
87
96
* @custom:storage-location erc7201:graphprotocol.subgraph-service.storage.StorageManager.IndexingAgreement
88
97
*/
89
98
struct StorageManager {
You can’t perform that action at this time.
0 commit comments