Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 Changes in this version + func SortAddresses(addrs []sdk.AccAddress) + func SortByteArrays(src [][]byte) [][]byte v0.1.1 Nov 25, 2021 Changes in this version + const DefaultParamspace + const DefaultPeriod + const MaxDescriptionLength + const MaxTitleLength + const ModuleName + const OptionAbstain + const OptionEmpty + const OptionNo + const OptionNoWithVeto + const OptionYes + const ParamDeposit + const ParamTallying + const ParamVoting + const ProposalTypeText + const QuerierRoute + const QueryDeposit + const QueryDeposits + const QueryParams + const QueryProposal + const QueryProposals + const QueryTally + const QueryVote + const QueryVotes + const RouterKey + const StatusDepositPeriod + const StatusFailed + const StatusNil + const StatusPassed + const StatusRejected + const StatusVotingPeriod + const StoreKey + const TypeMsgDeposit + const TypeMsgSubmitProposal + const TypeMsgVote + var ActiveProposalByTimeKey = types.ActiveProposalByTimeKey + var ActiveProposalQueueKey = types.ActiveProposalQueueKey + var ActiveProposalQueuePrefix = types.ActiveProposalQueuePrefix + var AllInvariants = keeper.AllInvariants + var ContentFromProposalType = types.ContentFromProposalType + var DefaultGenesisState = types.DefaultGenesisState + var DepositKey = types.DepositKey + var DepositsKey = types.DepositsKey + var DepositsKeyPrefix = types.DepositsKeyPrefix + var EmptyTallyResult = types.EmptyTallyResult + var ErrAlreadyActiveProposal = types.ErrAlreadyActiveProposal + var ErrInactiveProposal = types.ErrInactiveProposal + var ErrInvalidGenesis = types.ErrInvalidGenesis + var ErrInvalidProposalContent = types.ErrInvalidProposalContent + var ErrInvalidProposalType = types.ErrInvalidProposalType + var ErrInvalidVote = types.ErrInvalidVote + var ErrNoProposalHandlerExists = types.ErrNoProposalHandlerExists + var ErrUnknownProposal = types.ErrUnknownProposal + var GetProposalIDBytes = types.GetProposalIDBytes + var GetProposalIDFromBytes = types.GetProposalIDFromBytes + var InactiveProposalByTimeKey = types.InactiveProposalByTimeKey + var InactiveProposalQueueKey = types.InactiveProposalQueueKey + var InactiveProposalQueuePrefix = types.InactiveProposalQueuePrefix + var IsValidProposalType = types.IsValidProposalType + var ModuleAccountInvariant = keeper.ModuleAccountInvariant + var ModuleCdc = types.ModuleCdc + var NewDeposit = types.NewDeposit + var NewDepositParams = types.NewDepositParams + var NewGenesisState = types.NewGenesisState + var NewKeeper = keeper.NewKeeper + var NewMsgDeposit = types.NewMsgDeposit + var NewMsgSubmitProposal = types.NewMsgSubmitProposal + var NewMsgVote = types.NewMsgVote + var NewParams = types.NewParams + var NewProposal = types.NewProposal + var NewQuerier = keeper.NewQuerier + var NewQueryDepositParams = types.NewQueryDepositParams + var NewQueryProposalParams = types.NewQueryProposalParams + var NewQueryProposalsParams = types.NewQueryProposalsParams + var NewQueryVoteParams = types.NewQueryVoteParams + var NewRouter = types.NewRouter + var NewTallyParams = types.NewTallyParams + var NewTallyResult = types.NewTallyResult + var NewTallyResultFromMap = types.NewTallyResultFromMap + var NewTextProposal = types.NewTextProposal + var NewValidatorGovInfo = types.NewValidatorGovInfo + var NewVote = types.NewVote + 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 ProposalStatusFromString = types.ProposalStatusFromString + var ProposalsKeyPrefix = types.ProposalsKeyPrefix + var RegisterCodec = types.RegisterCodec + var RegisterInvariants = keeper.RegisterInvariants + var RegisterProposalType = types.RegisterProposalType + var RegisterProposalTypeCodec = types.RegisterProposalTypeCodec + var SplitActiveProposalQueueKey = types.SplitActiveProposalQueueKey + var SplitInactiveProposalQueueKey = types.SplitInactiveProposalQueueKey + var SplitKeyDeposit = types.SplitKeyDeposit + var SplitKeyVote = types.SplitKeyVote + var SplitProposalKey = types.SplitProposalKey + var ValidProposalStatus = types.ValidProposalStatus + var ValidVoteOption = types.ValidVoteOption + var ValidateAbstract = types.ValidateAbstract + var ValidateGenesis = types.ValidateGenesis + var VoteKey = types.VoteKey + var VoteOptionFromString = types.VoteOptionFromString + var VotesKey = types.VotesKey + var VotesKeyPrefix = types.VotesKeyPrefix + func EndBlocker(ctx sdk.Context, keeper Keeper) + func InitGenesis(ctx sdk.Context, ak types.AccountKeeper, bk types.BankKeeper, k Keeper, ...) + func NewHandler(keeper Keeper) sdk.Handler + type AppModule struct + func NewAppModule(cdc codec.Marshaler, keeper Keeper, ak types.AccountKeeper, ...) AppModule + func (AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) + func (AppModule) GenerateGenesisState(simState *module.SimulationState) + func (AppModule) Name() string + func (AppModule) ProposalContents(simState module.SimulationState) []simtypes.WeightedProposalContent + func (AppModule) QuerierRoute() string + func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange + func (AppModule) Route() string + func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate + func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONMarshaler) json.RawMessage + func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, 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) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) + func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation + type AppModuleBasic struct + func NewAppModuleBasic(proposalHandlers ...client.ProposalHandler) AppModuleBasic + func (AppModuleBasic) DefaultGenesis(cdc codec.JSONMarshaler) json.RawMessage + func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command + func (AppModuleBasic) Name() string + func (AppModuleBasic) RegisterCodec(cdc *codec.Codec) + func (AppModuleBasic) ValidateGenesis(cdc codec.JSONMarshaler, bz json.RawMessage) error + func (a AppModuleBasic) GetTxCmd(ctx context.CLIContext) *cobra.Command + func (a AppModuleBasic) RegisterInterfaceTypes(registry codectypes.InterfaceRegistry) + func (a AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router) + type Content = types.Content + type Deposit = types.Deposit + type DepositParams = types.DepositParams + type Deposits = types.Deposits + type GenesisState = types.GenesisState + func ExportGenesis(ctx sdk.Context, k Keeper) GenesisState + type Handler = types.Handler + type Keeper = keeper.Keeper + type MsgDeposit = types.MsgDeposit + type MsgSubmitProposal = types.MsgSubmitProposal + type MsgSubmitProposalI = types.MsgSubmitProposalI + type MsgVote = types.MsgVote + type Params = types.Params + type Proposal = types.Proposal + type ProposalQueue = types.ProposalQueue + type ProposalStatus = types.ProposalStatus + type Proposals = types.Proposals + type QueryDepositParams = types.QueryDepositParams + type QueryProposalParams = types.QueryProposalParams + type QueryProposalsParams = types.QueryProposalsParams + type QueryVoteParams = types.QueryVoteParams + type TallyParams = types.TallyParams + type TallyResult = types.TallyResult + type TextProposal = types.TextProposal + type ValidatorGovInfo = types.ValidatorGovInfo + type Vote = types.Vote + type VoteOption = types.VoteOption + type Votes = types.Votes + type VotingParams = types.VotingParams