Implement query spo-stake-distribution
#854
+215
−0
Merged