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
Copy file name to clipboardExpand all lines: schema.graphql
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -893,12 +893,22 @@ type Provision @entity {
893
893
thawingPeriodPending: BigInt!
894
894
895
895
# Cuts for subgraph service. Percentage of rewards that the delegation pool receives
896
+
"Raw query fee cut. In Horizon this is amount of query fees that the delegation pool receives in PPM"
896
897
queryFeeCut: BigInt!
897
898
899
+
"Raw indexing fee cut. In Horizon this is amount of indexing fees that the delegation pool receives in PPM"
898
900
indexingFeeCut: BigInt!
899
901
902
+
"Raw indexing rewards cut. In Horizon this is amount of indexing rewards that the delegation pool receives in PPM"
900
903
indexingRewardsCut: BigInt!
901
904
905
+
"The percent of indexing rewards generated by the delegated stake that the Indexer keeps for itself"
906
+
indexingRewardEffectiveCut: BigDecimal!
907
+
"The percent of query rebate rewards generated by the delegated stake that the Indexer keeps for itself"
908
+
queryFeeEffectiveCut: BigDecimal!
909
+
"The percent of reward dilution delegators experience because of overdelegation. Overdelegated stake can't be used to generate rewards but still gets accounted while distributing the generated rewards. This causes dilution of the rewards for the rest of the pool."
910
+
overDelegationDilution: BigDecimal!
911
+
902
912
# Might want to add polymorphic handling of different fee cuts through a generic hashmap in the future
903
913
904
914
# Indexing rewards. Keeping the same naming from Indexer entity to make it easier to understand
@@ -924,6 +934,10 @@ type Provision @entity {
924
934
delegatorShares: BigInt!
925
935
"Exchange rate of of tokens received for each share"
926
936
delegationExchangeRate: BigDecimal!
937
+
"Ratio between the amount of the indexers own stake over the total usable stake."
938
+
ownStakeRatio: BigDecimal!
939
+
"Ratio between the amount of delegated stake over the total usable stake."
940
+
delegatedStakeRatio: BigDecimal!
927
941
928
942
"Service registry URL for the indexer"
929
943
url: String
@@ -1111,8 +1125,12 @@ Delegator stake for a single Indexer
1111
1125
typeDelegatedStake@entity {
1112
1126
"Concatenation of Delegator address and Indexer address"
1113
1127
id: ID!
1114
-
"Index the stake is delegated to"
1128
+
"Indexer the stake is delegated to"
1115
1129
indexer: Indexer!
1130
+
"DataService the stake is delegated to. Only for Horizon delegations"
1131
+
dataService: DataService
1132
+
"Provision the stake is delegated to. Only for Horizon delegations"
0 commit comments