Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + const BondedPoolName + const DefaultParamspace + const ModuleName + const NotBondedPoolName + const QuerierRoute + const QueryParameters + const RouterKey + const StoreKey + const TStoreKey + var DefaultDposParams = types.DefaultDposParams + var DefaultGenesisState = types.DefaultGenesisState + var DefaultParams = types.DefaultParams + var DelegatorAddSharesInvariant = keeper.DelegatorAddSharesInvariant + var ErrBadDenom = types.ErrBadDenom + var ErrCheckSignerFail = errors.New("check signer fail") + var ErrNoValidatorFound = types.ErrNoValidatorFound + var ErrValidatorOwnerExists = types.ErrValidatorOwnerExists + var ErrValidatorPubKeyExists = types.ErrValidatorPubKeyExists + var ErrValidatorPubKeyTypeNotSupported = types.ErrValidatorPubKeyTypeNotSupported + var GetValidatorsByPowerIndexKey = types.GetValidatorsByPowerIndexKey + var ModuleCdc = types.ModuleCdc + var NewCommission = types.NewCommission + var NewCommissionRates = types.NewCommissionRates + var NewDescription = types.NewDescription + var NewGenesisState = types.NewGenesisState + var NewKeeper = keeper.NewKeeper + var NewMsgAddShares = types.NewMsgAddShares + var NewMsgBindProxy = types.NewMsgBindProxy + var NewMsgCreateValidator = types.NewMsgCreateValidator + var NewMsgDeposit = types.NewMsgDeposit + var NewMsgDestroyValidator = types.NewMsgDestroyValidator + var NewMsgEditValidator = types.NewMsgEditValidator + var NewMsgEditValidatorCommissionRate = types.NewMsgEditValidatorCommissionRate + var NewMsgRegProxy = types.NewMsgRegProxy + var NewMsgUnbindProxy = types.NewMsgUnbindProxy + var NewMsgWithdraw = types.NewMsgWithdraw + var NewMultiStakingHooks = types.NewMultiStakingHooks + var NewQuerier = keeper.NewQuerier + var NewValidator = types.NewValidator + var RegisterCodec = types.RegisterCodec + var ValidatorsKey = types.ValidatorsKey + func BeginBlocker(ctx sdk.Context, k Keeper) + func ConvertAddSharesMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error) + func ConvertDepositMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error) + func ConvertWithdrawMsg(data []byte, signers []sdk.AccAddress) (sdk.Msg, error) + func DPoSValidatorsUpdate(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate + func EndBlocker(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate + func ExportGenesis(ctx sdk.Context, keeper Keeper) types.GenesisState + func GetLatestGenesisValidator(ctx sdk.Context, keeper Keeper) (vals []tmtypes.GenesisValidator) + func InitGenesis(ctx sdk.Context, keeper Keeper, accountKeeper types.AccountKeeper, ...) (res []abci.ValidatorUpdate) + func NewHandler(k keeper.Keeper) sdk.Handler + func NewProposalHandler(k *Keeper) govTypes.Handler + func PoAValidatorsUpdate(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate + func RegisterConvert() + func StringInSlice(a string, list []string) bool + func ValidateGenesis(data types.GenesisState) error + type AppModule struct + func NewAppModule(keeper Keeper, accKeeper types.AccountKeeper, supplyKeeper types.SupplyKeeper) AppModule + func (AppModule) GenerateGenesisState(simState *module.SimulationState) + func (AppModule) QuerierRoute() string + func (AppModule) RandomizedParams(r *rand.Rand) []sim.ParamChange + func (AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) + func (AppModule) Route() string + func (am AppModule) BeginBlock(ctx sdk.Context, b abci.RequestBeginBlock) + func (am AppModule) CommitFilter() *cosmost.StoreFilter + func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate + func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage + func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate + func (am AppModule) ModuleName() string + func (am AppModule) NewHandler() sdk.Handler + func (am AppModule) NewQuerierHandler() sdk.Querier + func (am AppModule) ProposalContents(simState module.SimulationState) []sim.WeightedProposalContent + func (am AppModule) PruneFilter() *cosmost.StoreFilter + func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry) + func (am AppModule) RegisterParam() params.ParamSet + func (am AppModule) RegisterServices(cfg module.Configurator) + func (am AppModule) RegisterTask() upgrade.HeightTask + func (am AppModule) UpgradeHeight() int64 + func (am AppModule) VersionFilter() *cosmost.VersionFilter + func (am AppModule) WeightedOperations(_ module.SimulationState) []sim.WeightedOperation + type AppModuleBasic struct + func (AppModuleBasic) BuildCreateValidatorMsg(cliCtx context.CLIContext, txBldr authtypes.TxBuilder) (authtypes.TxBuilder, sdk.Msg, error) + func (AppModuleBasic) CreateValidatorMsgHelpers(ipDefault string) (fs *flag.FlagSet, nodeIDFlag, pubkeyFlag, amountFlag, defaultsDesc string) + func (AppModuleBasic) DefaultGenesis() json.RawMessage + func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) Name() string + func (AppModuleBasic) PrepareFlagsForTxCreateValidator(config *cfg.Config, nodeID, chainID string, valPubKey crypto.PubKey) + func (AppModuleBasic) RegisterCodec(cdc *codec.Codec) + func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router) + func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error + func (am AppModuleBasic) GetQueryCmdV2(cdc *codec.CodecProxy, reg anytypes.InterfaceRegistry) *cobra.Command + func (am AppModuleBasic) GetTxCmdV2(cdc *codec.CodecProxy, reg anytypes.InterfaceRegistry) *cobra.Command + func (am AppModuleBasic) RegisterGRPCGatewayRoutes(cliContext clictx.CLIContext, serveMux *runtime.ServeMux) + func (am AppModuleBasic) RegisterInterfaces(registry anytypes.InterfaceRegistry) + func (am AppModuleBasic) RegisterRouterForGRPC(cliCtx clictx.CLIContext, r *mux.Router) + type Delegator = types.Delegator + type Description = types.Description + type GenesisState = types.GenesisState + type Keeper = keeper.Keeper + type ProxyDelegatorKeyExported = types.ProxyDelegatorKeyExported + type SharesResponses = types.SharesResponses + type UndelegationInfo = types.UndelegationInfo + type Validator = types.Validator + type ValidatorExport = types.ValidatorExported + type ValidatorI = exported.ValidatorI + type Validators = types.Validators