You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Auxiliary entity used to batch update Subgraph entities when signalling on the deployment changes. ID replicates the deployment ID and adds a counter, to make it easy to reproduce."
529
529
id: ID!
530
530
@@ -545,7 +545,7 @@ deployment, while keeping the same endpoint. The metadata and label are stored o
545
545
is for the developer to provide a semantic version. This is different from the version, which is
546
546
just a counter than increases each time a new SubgraphVersion is created for a Subgraph.
547
547
"""
548
-
typeSubgraphVersion@entity {
548
+
typeSubgraphVersion@entity(immutable: false) {
549
549
"Concatenation of subgraph, subgraph deployment, and version ID"
550
550
id: ID!
551
551
"Subgraph of this version"
@@ -586,7 +586,7 @@ what to index. The entity stores relevant data for the SubgraphDeployment on how
586
586
staked on and signaled on in the contracts, as well as how it is performing in query fees. It is
587
587
related to a SubgraphVersion.
588
588
"""
589
-
typeSubgraphDeployment@entity {
589
+
typeSubgraphDeployment@entity(immutable: false) {
590
590
"Subgraph Deployment ID. The IPFS hash with Qm removed to fit into 32 bytes"
591
591
id: ID!
592
592
"IPFS hash of the subgraph manifest"
@@ -717,7 +717,7 @@ type SubgraphDeploymentManifest @entity(immutable:true) {
717
717
"""
718
718
Meta for the Indexer along with parameters and staking data
719
719
"""
720
-
typeIndexer@entity {
720
+
typeIndexer@entity(immutable: false) {
721
721
"Eth address of Indexer"
722
722
id: ID!
723
723
"Time this indexer was created"
@@ -844,7 +844,7 @@ type Indexer @entity {
844
844
stakingEfficiency: BigDecimal!
845
845
}
846
846
847
-
typePaymentSource@entity {
847
+
typePaymentSource@entity(immutable: false) {
848
848
"Address used on the payment"
849
849
id: ID!
850
850
@@ -867,7 +867,7 @@ type PaymentSource @entity {
867
867
graphNetwork: GraphNetwork! # to make a derived list on GraphNetwork
"Join ID of indexer address and PaymentSource address"
872
872
id: ID!
873
873
@@ -883,7 +883,7 @@ type IndexerQueryFeePaymentAggregation @entity {
883
883
paymentSource: PaymentSource!
884
884
}
885
885
886
-
typeHorizonOperator@entity {
886
+
typeHorizonOperator@entity(immutable: false) {
887
887
"Joint address of all 3 parties involved (Operator, Indexer, DataService)"
888
888
id: ID!
889
889
@@ -907,7 +907,7 @@ type HorizonOperator @entity {
907
907
908
908
Once the Stage 2 subgraph is implemented, the Provision entity will have to be more generic, and particular data service fields will need to be restructured.
909
909
"""
910
-
typeProvision@entity {
910
+
typeProvision@entity(immutable: false) {
911
911
"Join ID of indexer address (service provider) and DataService address"
912
912
id: ID!
913
913
@@ -1010,7 +1010,7 @@ enum ThawRequestType {
1010
1010
Delegation
1011
1011
}
1012
1012
1013
-
typeThawRequest@entity {
1013
+
typeThawRequest@entity(immutable: false) {
1014
1014
id: ID!
1015
1015
1016
1016
type: ThawRequestType!
@@ -1037,7 +1037,7 @@ type ThawRequest @entity {
1037
1037
"""
1038
1038
A state channel Allocation representing a single Indexer/Provision-SubgraphDeployment stake
1039
1039
"""
1040
-
typeAllocation@entity {
1040
+
typeAllocation@entity(immutable: false) {
1041
1041
"Channel Address"
1042
1042
id: ID!
1043
1043
"Indexer of this allocation"
@@ -1125,7 +1125,7 @@ type Allocation @entity {
1125
1125
annualizedReturn: BigDecimal!
1126
1126
}
1127
1127
1128
-
typePoiSubmission@entity {
1128
+
typePoiSubmission@entity(immutable: true) {
1129
1129
id: ID!
1130
1130
1131
1131
allocation: Allocation!
@@ -1137,7 +1137,7 @@ type PoiSubmission @entity {
1137
1137
presentedAtTimestamp: Int!
1138
1138
}
1139
1139
1140
-
typePublicPoiSubmission@entity {
1140
+
typePublicPoiSubmission@entity(immutable: true) {
1141
1141
id: ID!
1142
1142
1143
1143
allocation: Allocation!
@@ -1161,7 +1161,7 @@ enum AllocationStatus {
1161
1161
[DEPRECATED] Global pool of query fees for closed state channels. Each Epoch has a single pool,
1162
1162
hence why they share the same IDs.
1163
1163
"""
1164
-
typePool@entity {
1164
+
typePool@entity(immutable: false) {
1165
1165
"Epoch number of the pool"
1166
1166
id: ID!
1167
1167
"Total effective allocation tokens from all allocations closed in this epoch"
@@ -1179,7 +1179,7 @@ type Pool @entity {
1179
1179
"""
1180
1180
Delegator with all their delegated stakes towards Indexers
1181
1181
"""
1182
-
typeDelegator@entity {
1182
+
typeDelegator@entity(immutable: false) {
1183
1183
"Delegator address"
1184
1184
id: ID!
1185
1185
"Graph account of the delegator"
@@ -1207,7 +1207,7 @@ type Delegator @entity {
1207
1207
"""
1208
1208
Delegator stake for a single Indexer
1209
1209
"""
1210
-
typeDelegatedStake@entity {
1210
+
typeDelegatedStake@entity(immutable: false) {
1211
1211
"Concatenation of Delegator address and Indexer address"
1212
1212
id: ID!
1213
1213
"Indexer the stake is delegated to"
@@ -1257,7 +1257,7 @@ type DelegatedStake @entity {
1257
1257
"""
1258
1258
Curator with all Signals and metrics
1259
1259
"""
1260
-
typeCurator@entity {
1260
+
typeCurator@entity(immutable: false) {
1261
1261
"Eth address of the Curator"
1262
1262
id: ID!
1263
1263
"Time this curator was created"
@@ -1323,7 +1323,7 @@ type Curator @entity {
1323
1323
"""
1324
1324
Curator Signal for a single SubgraphDeployment
1325
1325
"""
1326
-
typeSignal@entity {
1326
+
typeSignal@entity(immutable: false) {
1327
1327
"Eth address + subgraph deployment ID"
1328
1328
id: ID!
1329
1329
"Eth address of the curator"
@@ -1362,7 +1362,7 @@ type Signal @entity {
1362
1362
"""
1363
1363
Curator Name Signal for a single Subgraph
1364
1364
"""
1365
-
typeNameSignal@entity {
1365
+
typeNameSignal@entity(immutable: false) {
1366
1366
"Eth address + subgraph ID"
1367
1367
id: ID!
1368
1368
"Eth address of the curator"
@@ -1427,7 +1427,7 @@ type NameSignal @entity {
1427
1427
"""
1428
1428
Auxiliary entity to be able to batch update NameSignal entities
0 commit comments