Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + const DefaultParamspace + const ModuleName + const ProposalTypeText + const QueryParams + const RouterKey + const StatusDepositPeriod + const StatusFailed + const StatusNil + const StatusPassed + const StatusRejected + const StatusVotingPeriod + const StoreKey + var ActiveProposalByTimeKey = types.ActiveProposalByTimeKey + var ActiveProposalQueueKey = types.ActiveProposalQueueKey + var ActiveProposalQueuePrefix = types.ActiveProposalQueuePrefix + var ContentFromProposalType = types.ContentFromProposalType + var DepositKey = types.DepositKey + var DepositsKeyPrefix = types.DepositsKeyPrefix + var EmptyTallyResult = types.EmptyTallyResult + var ErrInvalidGenesis = types.ErrInvalidGenesis + var ErrInvalidHeight = types.ErrInvalidHeight + var ErrInvalidProposalContent = types.ErrInvalidProposalContent + var ErrInvalidProposalType = types.ErrInvalidProposalType + var ErrInvalidProposer = types.ErrInvalidProposer + var ErrNoProposalHandlerExists = types.ErrNoProposalHandlerExists + var InactiveProposalByTimeKey = types.InactiveProposalByTimeKey + var InactiveProposalQueueKey = types.InactiveProposalQueueKey + var InactiveProposalQueuePrefix = types.InactiveProposalQueuePrefix + var IsValidProposalType = types.IsValidProposalType + var ModuleCdc = types.ModuleCdc + var NewDepositParams = types.NewDepositParams + var NewKeeper = keeper.NewKeeper + var NewMsgDeposit = types.NewMsgDeposit + var NewMsgSubmitProposal = types.NewMsgSubmitProposal + var NewMsgVote = types.NewMsgVote + var NewParams = types.NewParams + var NewQuerier = keeper.NewQuerier + var NewQueryDepositParams = types.NewQueryDepositParams + var NewQueryProposalParams = types.NewQueryProposalParams + var NewQueryProposalsParams = types.NewQueryProposalsParams + var NewQueryVoteParams = types.NewQueryVoteParams + var NewRouter = keeper.NewRouter + var NewTallyParams = types.NewTallyParams + var NewTallyResultFromMap = types.NewTallyResultFromMap + var NewTextProposal = types.NewTextProposal + var NewVotingParams = types.NewVotingParams + var ParamKeyTable = types.ParamKeyTable + var ParamStoreKeyDepositParams = types.ParamStoreKeyDepositParams + var ParamStoreKeyTallyParams = types.ParamStoreKeyTallyParams + var ParamStoreKeyVotingParams = types.ParamStoreKeyVotingParams + var ProposalHandler = types.ProposalHandler + var ProposalIDKey = types.ProposalIDKey + var ProposalKey = types.ProposalKey + var ProposalsKeyPrefix = types.ProposalsKeyPrefix + var RegisterCodec = types.RegisterCodec + var RegisterProposalType = types.RegisterProposalType + var RegisterProposalTypeCodec = types.RegisterProposalTypeCodec + var VoteKey = types.VoteKey + var VotesKeyPrefix = types.VotesKeyPrefix + func EndBlocker(ctx sdk.Context, k keeper.Keeper) + func InitGenesis(ctx sdk.Context, k keeper.Keeper, supplyKeeper keeper.SupplyKeeper, ...) + func ModuleAccountInvariant(keeper keeper.Keeper) sdk.Invariant + func NewHandler(keeper Keeper) sdk.Handler + func RegisterInvariants(ir sdk.InvariantRegistry, keeper keeper.Keeper) + func ValidateGenesis(data GenesisState) error + type AppModule struct + func NewAppModule(keeper Keeper, supplyKeeper keeper.SupplyKeeper) AppModule + func (AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) + func (AppModule) GenerateGenesisState(simState *module.SimulationState) + func (AppModule) Name() string + func (AppModule) ProposalContents(_ module.SimulationState) []sim.WeightedProposalContent + 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) 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) NewHandler() sdk.Handler + func (am AppModule) NewQuerierHandler() sdk.Querier + func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry) + func (am AppModule) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation + type AppModuleBasic struct + func NewAppModuleBasic(proposalHandlers ...client.ProposalHandler) AppModuleBasic + func (AppModuleBasic) DefaultGenesis() json.RawMessage + func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) Name() string + func (AppModuleBasic) RegisterCodec(cdc *codec.Codec) + func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error + func (a AppModuleBasic) GetQueryCmdV2(cdc *codec.CodecProxy, reg anytypes.InterfaceRegistry) *cobra.Command + func (a AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command + func (a AppModuleBasic) GetTxCmdV2(cdc *codec.CodecProxy, reg anytypes.InterfaceRegistry) *cobra.Command + func (a AppModuleBasic) RegisterGRPCGatewayRoutes(cliContext context.CLIContext, serveMux *runtime.ServeMux) + func (a AppModuleBasic) RegisterInterfaces(registry anytypes.InterfaceRegistry) + func (a AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router) + func (a AppModuleBasic) RegisterRouterForGRPC(cliCtx context.CLIContext, r *mux.Router) + type Content = types.Content + type Deposit = types.Deposit + type DepositParams = types.DepositParams + type Deposits = types.Deposits + type GenesisState struct + DepositParams DepositParams + Deposits Deposits + Proposals []Proposal + StartingProposalID uint64 + TallyParams TallyParams + Votes Votes + VotingParams VotingParams + WaitingProposals map[string]uint64 + func DefaultGenesisState() GenesisState + func ExportGenesis(ctx sdk.Context, k keeper.Keeper) GenesisState + func (data GenesisState) Equal(data2 GenesisState) bool + func (data GenesisState) IsEmpty() bool + type Handler = types.Handler + type Keeper = keeper.Keeper + type MsgDeposit = types.MsgDeposit + type MsgSubmitProposal = types.MsgSubmitProposal + type MsgVote = types.MsgVote + type Params = types.Params + type Proposal = types.Proposal + type ProposalStatus = types.ProposalStatus + type Proposals = types.Proposals + type TallyParams = types.TallyParams + type TallyResult = types.TallyResult + type Vote = types.Vote + type Votes = types.Votes + type VotingParams = types.VotingParams