package
1.0.15
Repository: https://github.com/netcloth/netcloth-chain.git
Documentation: pkg.go.dev

# Functions

Get the validator operator address from LastValidatorPowerKey.
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
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
validator.
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
gets the key for delegator bond with validator VALUE: staking/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 prefix for all unbonding delegations from a delegator.
gets the key for a redelegation VALUE: staking/RedelegationKey.
GetREDKeyFromValDstIndexKey rearranges the ValDstIndexKey to get the REDKey.
GetREDKeyFromValSrcIndexKey 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.
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: staking/UnbondingDelegation.
rearranges the ValIndexKey to get the UBDKey.
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 prefix for all unbonding delegations from a delegator.
gets the key for the validator with pubkey VALUE: validator operator address ([]byte).
gets the key for the validator with address VALUE: staking/Validator.
gets the prefix for all unbonding delegations from a delegator.
get the validator by power index.
return the delegation.
return the redelegation.
return the unbonding delegation.
return the redelegation.
return the delegation.
unmarshal the current staking params value from store key or panic.
unmarshal a redelegation from a store value.
unmarshal a unbonding delegation from a store value.
unmarshal a redelegation from a store value.
NewCommission returns an initialized validator commission.
NewCommissionRates returns an initialized validator commission rates.
NewCommission returns an initialized validator commission with a specified update time which should be the current block BFT time.
NewDelegation creates a new delegation object.
No description provided by the author
NewDescription returns a new Description with the provided values.
No description provided by the author
No description provided by the author
Default way to create validator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewParams creates a new Params instance.
NewPool creates a new Pool 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
NewRedelegation - create a new redelegation object.
NewRedelegation - create a new redelegation object.
No description provided by the author
No description provided by the author
NewUnbondingDelegation - create a new unbonding delegation object.
NewUnbondingDelegation - create a new unbonding delegation object.
NewValidator - initialize a new validator.
parse the validators operator address from power rank key.
Register concrete types on codec codec.
return the delegation.
unmarshal the current staking params value from store key.
unmarshal a redelegation from a store value.
unmarshal a unbonding delegation from a store value.
unmarshal a redelegation from a store value.

# Constants

names used as root for pool module accounts: - NotBondedPool -> "not_bonded_tokens_pool" - BondedPool -> "bonded_tokens_pool".
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
Default maximum entries in a UBD/RED pair.
Default maximum number of bonded validators.
Staking params default values.
Staking params default values.
DefaultUnbondingTime reflects three weeks in seconds as the default unbonding time.
constant used in flags to indicate that description field should not be updated.
nolint.
nolint.
TODO: Why can't we just have one string description which can be JSON by convention.
Staking params default values.
nolint.
ModuleName is the name of the staking module.
names used as root for pool module accounts: - NotBondedPool -> "not_bonded_tokens_pool" - BondedPool -> "bonded_tokens_pool".
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.
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.
StoreKey is the string store representation.
TStoreKey is the string transient store representation.

# Variables

Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
Default maximum lever.
key for a delegation.
Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
Staking module event types.
nolint - Keys for parameter access.
nolint - Keys for parameter access.
nolint - Keys for parameter access.
nolint - Keys for parameter access.
nolint - Keys for parameter access.
nolint - Keys for parameter access.
nolint - Keys for parameter access.
nolint - Keys for parameter access.
prefix for the total power.
prefix for each key to a validator index, for bonded validators.
generic sealed codec to be used throughout this module.
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 the timestamps in redelegations queue.
prefix for each key for an unbonding-delegation, by validator operator.
key for an unbonding-delegation.
prefix for the timestamps in unbonding queue.
prefix for the timestamps in validator queue.
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.

# Structs

No description provided by the author
No description provided by the author
Delegation represents the bond with tokens held by an account.
DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.
Description - description fields for a validator.
DVPair is struct that just has a delegator-validator pair with no other data.
DVVTriplet is struct that just has a delegator-validator-validator triplet with no other data.
GenesisState - all staking state that must be provided at genesis.
Last validator power, needed for validator set update logic.
MsgDelegate - struct for bonding transactions.
MsgCreateValidator - struct for bonding transactions.
MsgDelegate - struct for bonding transactions.
MsgEditValidator - struct for editing a validator.
MsgUndelegate - struct for unbonding transactions.
Params defines the high level settings for staking.
Pool - tracking bonded and not-bonded token supply of the bond denomination.
defines the params for the following queries: - 'custom/staking/delegation' - 'custom/staking/unbondingDelegation' - 'custom/staking/delegatorValidator'.
defines the params for the following queries: - 'custom/staking/delegatorDelegations' - 'custom/staking/delegatorUnbondingDelegations' - 'custom/staking/delegatorRedelegations' - 'custom/staking/delegatorValidators'.
defines the params for the following queries: - 'custom/staking/redelegation'.
defines the params for the following queries: - 'custom/staking/validator' - 'custom/staking/validatorDelegations' - 'custom/staking/validatorUnbondingDelegations' - 'custom/staking/validatorRedelegations'.
QueryValidatorsParams defines the params for the following queries: - 'custom/staking/validators'.
Redelegation contains the list of a particular delegator's redelegating bonds from a particular source validator to a particular destination validator.
RedelegationEntry - entry to a Redelegation.
RedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses.
RedelegationResponse is equivalent to a Redelegation except that its entries contain a balance in addition to shares which is more suitable for client responses.
UnbondingDelegation stores all of a single delegator's unbonding bonds for a single validator in an time-ordered list.
UnbondingDelegationEntry - entry to an UnbondingDelegation.
Validator defines the total amount of bond shares and their exchange rate to coins.

# Interfaces

AccountKeeper defines the expected account keeper (noalias).
DelegationSet expected properties for the set of all delegations for a particular (noalias).
DistributionKeeper expected distribution keeper (noalias).
StakingHooks event hooks for staking validator object (noalias).
SupplyKeeper defines the expected supply Keeper (noalias).
ValidatorSet expected properties for the set of all validators (noalias).

# Type aliases

No description provided by the author
DelegationResponses is a collection of DelegationResp.
Delegations is a collection of delegations.
combine multiple staking hooks, all hook functions are run in array sequence.
RedelegationResponses are a collection of RedelegationResp.
Redelegations are a collection of Redelegation.
UnbondingDelegations is a collection of UnbondingDelegation.
Validators is a collection of Validator.