package
0.0.0-20200713213332-2984094c852f
Repository: https://github.com/pokt-network/posmint.git
Documentation: pkg.go.dev
# Functions
Removes the prefix bytes from a key to expose true address.
get raw genesis raw message for testing.
DefaultParams returns a default set of parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
generates pubkey relation key used to get the pubkey from the address.
extract the address from a validator signing info key.
generates the key for validator signing information by consensus addr.
generates the key for missing val who missed block through consensus addr.
generates the prefix key for missing val who missed block through consensus addr.
generates the key for unstaking validators by the unstakingtime.
generates the key for the validator with address.
generates the award key for a validator in the current state.
No description provided by the author
generates the key for a validator in the staking set.
generates the key for a validator in the prevState state.
MUST return the amino encoded version of this validator.
unmarshal the current pos params value from store key or panic.
MUST decode the validator from the bytes.
No description provided by the author
NewPool creates a new Tokens instance used for queries.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewValidator - initialize a new validator.
parse the validators address from power rank key.
Register concrete types on codec.
unmarshal the current pos params value from store key.
unmarshal the validator.
# Constants
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
POS params default values.
No description provided by the author
POS params default values.
POS params default values.
POS params default values.
POS params default values.
POS params default values.
POS params default values.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
pos module event types.
No description provided by the author
QuerierRoute is the querier route for the staking module.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
query endpoints supported by the staking Querier.
RouterKey is the msg router key for the staking module.
names used as root for pool module accounts: - StakingPool -> "staked_tokens_pool".
StoreKey is the string store representation.
# Variables
Prefix for address-pubkey relation used in slashing.
prefix for each key to a validator.
prefix for awarding validators.
prefix for awarding validators.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
forever.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
nolint - PublicKeys for parameter access.
generic sealed codec to be used throughout this module.
todo add fee map #142.
prefix for the total power of the prevState state.
prefix for the key to the validators of the prevState state.
key for the proposer address used for rewards.
prefix for each key to a staked validator index, sorted by power.
prefix for unstaked validators // todo remove.
prefix for unstaking validator.
Prefix for missed block bit array used in slashing.
Prefix for signing info used in slashing.
# Structs
GenesisState - all staking state that must be provided at genesis.
MissedBlock.
---------------------------------------------------------------------------------------------------------------------- MsgBeginUnstake - struct for unstaking transaciton.
MsgSend structure for sending coins.
---------------------------------------------------------------------------------------------------------------------- MsgStake - struct for staking transactions.
---------------------------------------------------------------------------------------------------------------------- MsgUnjail - struct for unjailing jailed validator.
Params defines the high level settings for pos module.
No description provided by the author
PrevState validator power, needed for validator set update logic.
No description provided by the author
QuerySigningInfoParams defines the params for the following queries: - 'custom/slashing/signingInfo'.
QuerySigningInfosParams defines the params for the following queries: - 'custom/slashing/signingInfos'.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Signing info for a validator.
# Interfaces
AuthKeeper defines the expected supply Keeper (noalias).
POSHooks event hooks for staking validator object (noalias).
ValidatorSet expected properties for the set of all validators (noalias) todo this is here so other modules can conform to this interface.
# Type aliases
No description provided by the author
No description provided by the author
Tokens - tracking staked token supply.
Validators is a collection of Validator.