package
0.2.3
Repository: https://github.com/sharering/shareledger.git
Documentation: pkg.go.dev

# Functions

gets the key for delegator bond with validator VALUE: stake/types.Delegation.
gets the prefix for a delegator for all validators.
get the bonded validator index key for an operator address.
gets the index-key for a redelegation, stored by destination-validator-index VALUE: none (key rearrangement used).
gets the index-key for a redelegation, stored by source-validator-index VALUE: none (key rearrangement used).
gets the key for a redelegation VALUE: stake/types.RedelegationKey.
rearranges the ValDstIndexKey to get the REDKey.
rearranges the ValSrcIndexKey to get the REDKey.
gets the prefix keyspace for all redelegations redelegating towards a destination validator from a particular delegator.
gets the prefix keyspace for all redelegations redelegating away from a source validator.
gets the prefix keyspace for redelegations from a delegator.
gets the prefix keyspace for all redelegations redelegating towards a destination validator.
No description provided by the author
gets the index-key for an unbonding delegation, stored by validator-index VALUE: none (key rearrangement used).
gets the key for an unbonding delegation by delegator and validator addr VALUE: stake/types.UnbondingDelegation.
gets the prefix keyspace for the indexes of unbonding delegations for a validator.
gets the prefix for all unbonding delegations from a delegator.
gets the key for the validator with pubkey VALUE: validator operator address ([]byte).
No description provided by the author
gets the key for the validator with address VALUE: stake/types.Validator.
get the validator by power index.
No description provided by the author

# Constants

No description provided by the author

# Variables

key for a delegation.
key for intra-block tx index.
prefix for the total power.
prefix for each key to a validator index, for bonded validators.
key for parameters relating to staking.
key for the staking pools.
prefix for each key for an redelegation, by destination validator operator.
prefix for each key for an redelegation, by source validator operator.
key for a redelegation.
prefix for each key for an unbonding-delegation, by validator operator.
key for an unbonding-delegation.
prefix for each key for validator distribution information.
prefix for each key to a validator index, for bonded validators.
prefix for each key to a validator index, by pubkey.
prefix for each key to a validator index, sorted by power.
prefix for each key to a validator.
prefix for mapping from TDM address to Shareledger address.

# Structs

No description provided by the author