keep track of globalStakeByStatus + tests

This commit is contained in:
Michael Zhu
2019-09-12 15:36:37 -07:00
parent 549697dc47
commit f7462c9f2b
5 changed files with 178 additions and 103 deletions

View File

@@ -86,6 +86,9 @@ export interface StakeBalances {
activeStakeBalance: StakeBalance;
inactiveStakeBalance: StakeBalance;
delegatedStakeBalance: StakeBalance;
globalActiveStakeBalance: StakeBalance;
globalInactiveStakeBalance: StakeBalance;
globalDelegatedStakeBalance: StakeBalance;
delegatedStakeByPool: StakeBalanceByPool;
totalDelegatedStakeByPool: StakeBalanceByPool;
}