pub type TotalValueLocked<T: Config> = StorageValue<_GeneratedPrefixForStorageTotalValueLocked<T>, BalanceOf<T>, ValueQuery>;
Expand description

The sum of funds across all pools.

This might be lower but never higher than the sum of total_balance of all PoolMembers because calling pool_withdraw_unbonded might decrease the total stake of the pool’s bonded_account without adjusting the pallet-internal UnbondingPool’s.

Storage type is [StorageValue] with value type BalanceOf < T >.

Aliased Type§

struct TotalValueLocked<T: Config>(/* private fields */);