diff --git a/subgraphs/mainnet/schema.graphql b/subgraphs/mainnet/schema.graphql index e41dfec..4493308 100644 --- a/subgraphs/mainnet/schema.graphql +++ b/subgraphs/mainnet/schema.graphql @@ -15,6 +15,7 @@ type StakeData @entity { authorizer: Bytes! "Staked T token total amount" stakedAmount: BigInt! + claimed: BigInt! delegatee: StakeDelegation stakeHistory: [StakeHistory!] @derivedFrom(field: "stake") authorizations: [AppAuthorization!] @derivedFrom(field: "stake") @@ -115,6 +116,12 @@ type DAOMetric @entity { stakedTotal: BigInt! } +"Total amount of staking rewards claimed by the stakes" +type ClaimedRewards @entity { + id: ID! + claimedRewards: BigInt! +} + "TACoOperator represents the TACo operator's info of a staking provider" type TACoOperator @entity { "ID is the staking provider address"