Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2024 Changes in this version + const DefaultCodespace + const DefaultParamspace + const ModuleName + const RouterKey + const StoreKey + const TStoreKey + const UpgradeRouterKey + var DefaultParams = types.DefaultParams + var ModuleCdc *codec.Codec + var NewKeyTable = sdkparams.NewKeyTable + var NewParamChange = sdkparams.NewParamChange + var NewParamSetPair = sdkparams.NewParamSetPair + func NewParamChangeProposalHandler(k *Keeper) govtypes.Handler + func NewQuerier(keeper Keeper) sdk.Querier + func NewUpgradeProposalHandler(k *Keeper) govtypes.Handler + func RegisterCodec(cdc *codec.Codec) + func ValidateGenesis(data GenesisState) error + type AppModule struct + func NewAppModule(keeper Keeper) AppModule + func (AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) + func (AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate + func (AppModule) GenerateGenesisState(simState *module.SimulationState) + func (AppModule) NewHandler() sdk.Handler + func (AppModule) ProposalContents(_ module.SimulationState) []sim.WeightedProposalContent + func (AppModule) QuerierRoute() string + func (AppModule) RandomizedParams(r *rand.Rand) []sim.ParamChange + func (AppModule) RegisterInvariants(ir sdk.InvariantRegistry) + func (AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) + func (AppModule) Route() string + func (am AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage + func (am AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate + func (am AppModule) NewQuerierHandler() sdk.Querier + func (am AppModule) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation + type AppModuleBasic struct + func (AppModuleBasic) DefaultGenesis() json.RawMessage + func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) GetTxCmd(_ *codec.Codec) *cobra.Command + func (AppModuleBasic) Name() string + func (AppModuleBasic) RegisterCodec(cdc *codec.Codec) + func (AppModuleBasic) RegisterRESTRoutes(_ context.CLIContext, _ *mux.Router) + func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error + type BankKeeper interface + GetCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type GenesisState struct + Params types.Params + func DefaultGenesisState() GenesisState + type GovKeeper interface + InsertWaitingProposalQueue func(ctx sdk.Context, blockHeight, proposalID uint64) + RemoveFromWaitingProposalQueue func(ctx sdk.Context, blockHeight, proposalID uint64) + type Keeper struct + func NewKeeper(cdc *codec.Codec, key *sdk.KVStoreKey, tkey *sdk.TransientStoreKey, ...) (k Keeper) + func (k *Keeper) RegisterSignal(handler func()) + func (keeper *Keeper) ApplyEffectiveUpgrade(ctx sdk.Context) error + func (keeper *Keeper) ClaimReadyForUpgrade(name string, cb func(types.UpgradeInfo)) + func (keeper *Keeper) GetEffectiveUpgradeInfo(ctx sdk.Context, name string) (types.UpgradeInfo, error) + func (keeper *Keeper) SetBankKeeper(ck BankKeeper) + func (keeper *Keeper) SetGovKeeper(gk GovKeeper) + func (keeper *Keeper) SetParams(ctx sdk.Context, params types.Params) + func (keeper *Keeper) SetStakingKeeper(sk StakingKeeper) + func (keeper Keeper) AfterDepositPeriodPassed(ctx sdk.Context, proposal govtypes.Proposal) + func (keeper Keeper) AfterSubmitProposalHandler(ctx sdk.Context, proposal govtypes.Proposal) + func (keeper Keeper) CheckMsgSubmitProposal(ctx sdk.Context, msg govtypes.MsgSubmitProposal) sdk.Error + func (keeper Keeper) GetBlockConfig(ctx sdk.Context) *sdk.BlockConfig + func (keeper Keeper) GetGasConfig(ctx sdk.Context) *stypes.GasConfig + func (keeper Keeper) GetMaxDepositPeriod(ctx sdk.Context, content govtypes.Content) (maxDepositPeriod time.Duration) + func (keeper Keeper) GetMinDeposit(ctx sdk.Context, content govtypes.Content) (minDeposit sdk.SysCoins) + func (keeper Keeper) GetParams(ctx sdk.Context) types.Params + func (keeper Keeper) GetVotingPeriod(ctx sdk.Context, content govtypes.Content) (votingPeriod time.Duration) + func (keeper Keeper) RejectedHandler(ctx sdk.Context, content govtypes.Content) + func (keeper Keeper) VoteHandler(ctx sdk.Context, proposal govtypes.Proposal, vote govtypes.Vote) (string, sdk.Error) + type KeyTable = sdkparams.KeyTable + type ParamChange = sdkparams.ParamChange + type ParamSet = sdkparams.ParamSet + type ParamSetPair = sdkparams.ParamSetPair + type ParamSetPairs = sdkparams.ParamSetPairs + type ParameterChangeProposal = types.ParameterChangeProposal + type StakingKeeper interface + IsValidator func(ctx sdk.Context, addr sdk.AccAddress) bool + type Subspace = sdkparams.Subspace