Versions in this module Expand all Collapse all v0 v0.23.1 Jul 27, 2018 Changes in this version + const CodeInternal + const CodeInvalidDelegation + const CodeInvalidInput + const CodeInvalidValidator + const CodeUnauthorized + const CodeUnknownRequest + const CodeValidatorJailed + const DefaultCodespace + var ActionBeginRedelegation = tags.ActionBeginRedelegation + var ActionBeginUnbonding = tags.ActionBeginUnbonding + var ActionCompleteRedelegation = tags.ActionCompleteRedelegation + var ActionCompleteUnbonding = tags.ActionCompleteUnbonding + var ActionCreateValidator = tags.ActionCreateValidator + var ActionDelegate = tags.ActionDelegate + var ActionEditValidator = tags.ActionEditValidator + var DefaultGenesisState = types.DefaultGenesisState + var DefaultParams = types.DefaultParams + var DelegationKey = keeper.DelegationKey + var ErrBadDelegationAmount = types.ErrBadDelegationAmount + var ErrBadDelegatorAddr = types.ErrBadDelegatorAddr + var ErrBadDenom = types.ErrBadDenom + var ErrBadRedelegationDst = types.ErrBadRedelegationDst + var ErrBadRemoveValidator = types.ErrBadRemoveValidator + var ErrBadSharesAmount = types.ErrBadSharesAmount + var ErrBadSharesPercent = types.ErrBadSharesPercent + var ErrBothShareMsgsGiven = types.ErrBothShareMsgsGiven + var ErrCommissionHuge = types.ErrCommissionHuge + var ErrCommissionNegative = types.ErrCommissionNegative + var ErrDelegationValidatorEmpty = types.ErrDelegationValidatorEmpty + var ErrDescriptionLength = types.ErrDescriptionLength + var ErrInsufficientShares = types.ErrInsufficientShares + var ErrMissingSignature = types.ErrMissingSignature + var ErrNeitherShareMsgsGiven = types.ErrNeitherShareMsgsGiven + var ErrNilDelegatorAddr = types.ErrNilDelegatorAddr + var ErrNilValidatorAddr = types.ErrNilValidatorAddr + var ErrNoDelegation = types.ErrNoDelegation + var ErrNoDelegatorForAddress = types.ErrNoDelegatorForAddress + var ErrNoRedelegation = types.ErrNoRedelegation + var ErrNoUnbondingDelegation = types.ErrNoUnbondingDelegation + var ErrNoValidatorFound = types.ErrNoValidatorFound + var ErrNotEnoughDelegationShares = types.ErrNotEnoughDelegationShares + var ErrNotMature = types.ErrNotMature + var ErrValidatorOwnerExists = types.ErrValidatorOwnerExists + var ErrValidatorPubKeyExists = types.ErrValidatorPubKeyExists + var ErrValidatorRevoked = types.ErrValidatorRevoked + var GetDelegationKey = keeper.GetDelegationKey + var GetDelegationsKey = keeper.GetDelegationsKey + var GetREDByValDstIndexKey = keeper.GetREDByValDstIndexKey + var GetREDByValSrcIndexKey = keeper.GetREDByValSrcIndexKey + var GetREDKey = keeper.GetREDKey + var GetREDsByDelToValDstIndexKey = keeper.GetREDsByDelToValDstIndexKey + var GetREDsFromValSrcIndexKey = keeper.GetREDsFromValSrcIndexKey + var GetREDsKey = keeper.GetREDsKey + var GetREDsToValDstIndexKey = keeper.GetREDsToValDstIndexKey + var GetTendermintUpdatesKey = keeper.GetTendermintUpdatesKey + var GetUBDByValIndexKey = keeper.GetUBDByValIndexKey + var GetUBDKey = keeper.GetUBDKey + var GetUBDsByValIndexKey = keeper.GetUBDsByValIndexKey + var GetUBDsKey = keeper.GetUBDsKey + var GetValidatorByPubKeyIndexKey = keeper.GetValidatorByPubKeyIndexKey + var GetValidatorKey = keeper.GetValidatorKey + var GetValidatorsBondedIndexKey = keeper.GetValidatorsBondedIndexKey + var GetValidatorsByPowerIndexKey = keeper.GetValidatorsByPowerIndexKey + var InitialPool = types.InitialPool + var IntraTxCounterKey = keeper.IntraTxCounterKey + var NewDescription = types.NewDescription + var NewGenesisState = types.NewGenesisState + var NewKeeper = keeper.NewKeeper + var NewMsgBeginRedelegate = types.NewMsgBeginRedelegate + var NewMsgBeginUnbonding = types.NewMsgBeginUnbonding + var NewMsgCompleteRedelegate = types.NewMsgCompleteRedelegate + var NewMsgCompleteUnbonding = types.NewMsgCompleteUnbonding + var NewMsgCreateValidator = types.NewMsgCreateValidator + var NewMsgCreateValidatorOnBehalfOf = types.NewMsgCreateValidatorOnBehalfOf + var NewMsgDelegate = types.NewMsgDelegate + var NewMsgEditValidator = types.NewMsgEditValidator + var NewValidator = types.NewValidator + var ParamKey = keeper.ParamKey + var PoolKey = keeper.PoolKey + var RegisterWire = types.RegisterWire + var TagAction = tags.Action + var TagDelegator = tags.Delegator + var TagDstValidator = tags.DstValidator + var TagIdentity = tags.Identity + var TagMoniker = tags.Moniker + var TagSrcValidator = tags.SrcValidator + var TendermintUpdatesKey = keeper.TendermintUpdatesKey + var ValidatorCliffIndexKey = keeper.ValidatorCliffIndexKey + var ValidatorPowerCliffKey = keeper.ValidatorPowerCliffKey + var ValidatorsBondedIndexKey = keeper.ValidatorsBondedIndexKey + var ValidatorsByPowerIndexKey = keeper.ValidatorsByPowerIndexKey + var ValidatorsByPubKeyIndexKey = keeper.ValidatorsByPubKeyIndexKey + var ValidatorsKey = keeper.ValidatorsKey + func EndBlocker(ctx sdk.Context, k keeper.Keeper) (ValidatorUpdates []abci.Validator) + func InitGenesis(ctx sdk.Context, keeper Keeper, data types.GenesisState) error + func NewHandler(k keeper.Keeper) sdk.Handler + func WriteGenesis(ctx sdk.Context, keeper Keeper) types.GenesisState + func WriteValidators(ctx sdk.Context, keeper Keeper) (vals []tmtypes.GenesisValidator) + type BechValidator = types.BechValidator + type Delegation = types.Delegation + type Description = types.Description + type GenesisState = types.GenesisState + type Keeper = keeper.Keeper + type MsgBeginRedelegate = types.MsgBeginRedelegate + type MsgBeginUnbonding = types.MsgBeginUnbonding + type MsgCompleteRedelegate = types.MsgCompleteRedelegate + type MsgCompleteUnbonding = types.MsgCompleteUnbonding + type MsgCreateValidator = types.MsgCreateValidator + type MsgDelegate = types.MsgDelegate + type MsgEditValidator = types.MsgEditValidator + type Params = types.Params + type Pool = types.Pool + type Redelegation = types.Redelegation + type UnbondingDelegation = types.UnbondingDelegation + type Validator = types.Validator