docs reorganization
This commit is contained in:
parent
c66ded7646
commit
55cc086f55
|
@ -1,3 +1,5 @@
|
||||||
|
//TODO update .rst
|
||||||
|
|
||||||
# Staking Module
|
# Staking Module
|
||||||
|
|
||||||
## Overview
|
## Overview
|
|
@ -2,15 +2,13 @@
|
||||||
## State
|
## State
|
||||||
|
|
||||||
The staking module persists the following information to the store:
|
The staking module persists the following information to the store:
|
||||||
* `GlobalState`, a struct describing the global pools, inflation, and
|
* `Params`, a struct describing the global pools, inflation, and fees
|
||||||
fees
|
* `Pool`, a struct describing the global pools, inflation, and fees
|
||||||
* `ValidatorValidators: <pubkey | shares> => <validator>`, a map of all validators (including current validators) in the store,
|
* `ValidatorValidators: <pubkey | shares> => <validator>`, a map of all validators (including current validators) in the store,
|
||||||
indexed by their public key and shares in the global pool.
|
indexed by their public key and shares in the global pool.
|
||||||
* `DelegatorBonds: < delegator-address | validator-pubkey > => <delegator-bond>`. a map of all delegations by a delegator to a validator,
|
* `DelegatorBonds: < delegator-address | validator-pubkey > => <delegator-bond>`. a map of all delegations by a delegator to a validator,
|
||||||
indexed by delegator address and validator pubkey.
|
indexed by delegator address and validator pubkey.
|
||||||
public key
|
public key
|
||||||
* `UnbondQueue`, the queue of unbonding delegations
|
|
||||||
* `RedelegateQueue`, the queue of re-delegations
|
|
||||||
|
|
||||||
### Global State
|
### Global State
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue