2019-05-20 06:13:32 -07:00
|
|
|
// nolint
|
|
|
|
// autogenerated code using github.com/rigelrozanski/multitool
|
|
|
|
// aliases generated for the following subdirectories:
|
|
|
|
// ALIASGEN: github.com/cosmos/cosmos-sdk/x/gov/types
|
2019-04-30 09:31:38 -07:00
|
|
|
package gov
|
|
|
|
|
2019-05-20 06:13:32 -07:00
|
|
|
import (
|
|
|
|
"github.com/cosmos/cosmos-sdk/x/gov/types"
|
2019-04-30 09:31:38 -07:00
|
|
|
)
|
|
|
|
|
2019-05-20 06:13:32 -07:00
|
|
|
const (
|
|
|
|
MaxDescriptionLength = types.MaxDescriptionLength
|
|
|
|
MaxTitleLength = types.MaxTitleLength
|
|
|
|
DefaultCodespace = types.DefaultCodespace
|
|
|
|
CodeUnknownProposal = types.CodeUnknownProposal
|
|
|
|
CodeInactiveProposal = types.CodeInactiveProposal
|
|
|
|
CodeAlreadyActiveProposal = types.CodeAlreadyActiveProposal
|
|
|
|
CodeAlreadyFinishedProposal = types.CodeAlreadyFinishedProposal
|
|
|
|
CodeAddressNotStaked = types.CodeAddressNotStaked
|
|
|
|
CodeInvalidContent = types.CodeInvalidContent
|
|
|
|
CodeInvalidProposalType = types.CodeInvalidProposalType
|
|
|
|
CodeInvalidVote = types.CodeInvalidVote
|
|
|
|
CodeInvalidGenesis = types.CodeInvalidGenesis
|
|
|
|
CodeInvalidProposalStatus = types.CodeInvalidProposalStatus
|
|
|
|
CodeProposalHandlerNotExists = types.CodeProposalHandlerNotExists
|
|
|
|
ModuleName = types.ModuleName
|
|
|
|
StoreKey = types.StoreKey
|
|
|
|
RouterKey = types.RouterKey
|
|
|
|
QuerierRoute = types.QuerierRoute
|
|
|
|
DefaultParamspace = types.DefaultParamspace
|
|
|
|
TypeMsgDeposit = types.TypeMsgDeposit
|
|
|
|
TypeMsgVote = types.TypeMsgVote
|
|
|
|
TypeMsgSubmitProposal = types.TypeMsgSubmitProposal
|
|
|
|
StatusNil = types.StatusNil
|
|
|
|
StatusDepositPeriod = types.StatusDepositPeriod
|
|
|
|
StatusVotingPeriod = types.StatusVotingPeriod
|
|
|
|
StatusPassed = types.StatusPassed
|
|
|
|
StatusRejected = types.StatusRejected
|
|
|
|
StatusFailed = types.StatusFailed
|
|
|
|
ProposalTypeText = types.ProposalTypeText
|
|
|
|
ProposalTypeSoftwareUpgrade = types.ProposalTypeSoftwareUpgrade
|
2019-06-05 16:26:17 -07:00
|
|
|
QueryParams = types.QueryParams
|
|
|
|
QueryProposals = types.QueryProposals
|
|
|
|
QueryProposal = types.QueryProposal
|
|
|
|
QueryDeposits = types.QueryDeposits
|
|
|
|
QueryDeposit = types.QueryDeposit
|
|
|
|
QueryVotes = types.QueryVotes
|
|
|
|
QueryVote = types.QueryVote
|
|
|
|
QueryTally = types.QueryTally
|
|
|
|
ParamDeposit = types.ParamDeposit
|
|
|
|
ParamVoting = types.ParamVoting
|
|
|
|
ParamTallying = types.ParamTallying
|
2019-05-20 06:13:32 -07:00
|
|
|
OptionEmpty = types.OptionEmpty
|
|
|
|
OptionYes = types.OptionYes
|
|
|
|
OptionAbstain = types.OptionAbstain
|
|
|
|
OptionNo = types.OptionNo
|
|
|
|
OptionNoWithVeto = types.OptionNoWithVeto
|
2019-04-30 09:31:38 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2019-05-20 06:13:32 -07:00
|
|
|
// functions aliases
|
2019-06-04 11:38:11 -07:00
|
|
|
RegisterCodec = types.RegisterCodec
|
|
|
|
RegisterProposalTypeCodec = types.RegisterProposalTypeCodec
|
|
|
|
ValidateAbstract = types.ValidateAbstract
|
|
|
|
NewDeposit = types.NewDeposit
|
|
|
|
ErrUnknownProposal = types.ErrUnknownProposal
|
|
|
|
ErrInactiveProposal = types.ErrInactiveProposal
|
|
|
|
ErrAlreadyActiveProposal = types.ErrAlreadyActiveProposal
|
|
|
|
ErrAlreadyFinishedProposal = types.ErrAlreadyFinishedProposal
|
|
|
|
ErrAddressNotStaked = types.ErrAddressNotStaked
|
|
|
|
ErrInvalidProposalContent = types.ErrInvalidProposalContent
|
|
|
|
ErrInvalidProposalType = types.ErrInvalidProposalType
|
|
|
|
ErrInvalidVote = types.ErrInvalidVote
|
|
|
|
ErrInvalidGenesis = types.ErrInvalidGenesis
|
|
|
|
ErrNoProposalHandlerExists = types.ErrNoProposalHandlerExists
|
|
|
|
ProposalKey = types.ProposalKey
|
|
|
|
ActiveProposalByTimeKey = types.ActiveProposalByTimeKey
|
|
|
|
ActiveProposalQueueKey = types.ActiveProposalQueueKey
|
|
|
|
InactiveProposalByTimeKey = types.InactiveProposalByTimeKey
|
|
|
|
InactiveProposalQueueKey = types.InactiveProposalQueueKey
|
|
|
|
DepositsKey = types.DepositsKey
|
|
|
|
DepositKey = types.DepositKey
|
|
|
|
VotesKey = types.VotesKey
|
|
|
|
VoteKey = types.VoteKey
|
|
|
|
SplitProposalKey = types.SplitProposalKey
|
|
|
|
SplitActiveProposalQueueKey = types.SplitActiveProposalQueueKey
|
|
|
|
SplitInactiveProposalQueueKey = types.SplitInactiveProposalQueueKey
|
|
|
|
SplitKeyDeposit = types.SplitKeyDeposit
|
|
|
|
SplitKeyVote = types.SplitKeyVote
|
|
|
|
NewMsgSubmitProposal = types.NewMsgSubmitProposal
|
|
|
|
NewMsgDeposit = types.NewMsgDeposit
|
|
|
|
NewMsgVote = types.NewMsgVote
|
2019-06-05 16:26:17 -07:00
|
|
|
ParamKeyTable = types.ParamKeyTable
|
|
|
|
NewDepositParams = types.NewDepositParams
|
|
|
|
NewTallyParams = types.NewTallyParams
|
|
|
|
NewVotingParams = types.NewVotingParams
|
|
|
|
NewParams = types.NewParams
|
2019-06-04 11:38:11 -07:00
|
|
|
NewProposal = types.NewProposal
|
|
|
|
ProposalStatusFromString = types.ProposalStatusFromString
|
|
|
|
ValidProposalStatus = types.ValidProposalStatus
|
|
|
|
NewTallyResult = types.NewTallyResult
|
|
|
|
NewTallyResultFromMap = types.NewTallyResultFromMap
|
|
|
|
EmptyTallyResult = types.EmptyTallyResult
|
|
|
|
NewTextProposal = types.NewTextProposal
|
|
|
|
NewSoftwareUpgradeProposal = types.NewSoftwareUpgradeProposal
|
|
|
|
RegisterProposalType = types.RegisterProposalType
|
|
|
|
ContentFromProposalType = types.ContentFromProposalType
|
|
|
|
IsValidProposalType = types.IsValidProposalType
|
|
|
|
ProposalHandler = types.ProposalHandler
|
2019-06-05 16:26:17 -07:00
|
|
|
NewQueryProposalParams = types.NewQueryProposalParams
|
|
|
|
NewQueryDepositParams = types.NewQueryDepositParams
|
|
|
|
NewQueryVoteParams = types.NewQueryVoteParams
|
|
|
|
NewQueryProposalsParams = types.NewQueryProposalsParams
|
2019-06-04 11:38:11 -07:00
|
|
|
NewVote = types.NewVote
|
|
|
|
VoteOptionFromString = types.VoteOptionFromString
|
|
|
|
ValidVoteOption = types.ValidVoteOption
|
2019-05-20 06:13:32 -07:00
|
|
|
|
|
|
|
// variable aliases
|
|
|
|
ModuleCdc = types.ModuleCdc
|
2019-06-04 11:38:11 -07:00
|
|
|
ProposalsKeyPrefix = types.ProposalsKeyPrefix
|
|
|
|
ActiveProposalQueuePrefix = types.ActiveProposalQueuePrefix
|
|
|
|
InactiveProposalQueuePrefix = types.InactiveProposalQueuePrefix
|
|
|
|
ProposalIDKey = types.ProposalIDKey
|
|
|
|
DepositsKeyPrefix = types.DepositsKeyPrefix
|
|
|
|
VotesKeyPrefix = types.VotesKeyPrefix
|
2019-06-05 16:26:17 -07:00
|
|
|
ParamStoreKeyDepositParams = types.ParamStoreKeyDepositParams
|
|
|
|
ParamStoreKeyVotingParams = types.ParamStoreKeyVotingParams
|
|
|
|
ParamStoreKeyTallyParams = types.ParamStoreKeyTallyParams
|
2019-05-20 06:13:32 -07:00
|
|
|
)
|
2019-04-30 09:31:38 -07:00
|
|
|
|
2019-05-20 06:13:32 -07:00
|
|
|
type (
|
|
|
|
Content = types.Content
|
|
|
|
Handler = types.Handler
|
|
|
|
Deposit = types.Deposit
|
|
|
|
Deposits = types.Deposits
|
|
|
|
MsgSubmitProposal = types.MsgSubmitProposal
|
|
|
|
MsgDeposit = types.MsgDeposit
|
|
|
|
MsgVote = types.MsgVote
|
2019-06-05 16:26:17 -07:00
|
|
|
DepositParams = types.DepositParams
|
|
|
|
TallyParams = types.TallyParams
|
|
|
|
VotingParams = types.VotingParams
|
|
|
|
Params = types.Params
|
2019-05-20 06:13:32 -07:00
|
|
|
Proposal = types.Proposal
|
|
|
|
Proposals = types.Proposals
|
|
|
|
ProposalQueue = types.ProposalQueue
|
|
|
|
ProposalStatus = types.ProposalStatus
|
|
|
|
TallyResult = types.TallyResult
|
|
|
|
TextProposal = types.TextProposal
|
|
|
|
SoftwareUpgradeProposal = types.SoftwareUpgradeProposal
|
2019-06-05 16:26:17 -07:00
|
|
|
QueryProposalParams = types.QueryProposalParams
|
|
|
|
QueryDepositParams = types.QueryDepositParams
|
|
|
|
QueryVoteParams = types.QueryVoteParams
|
|
|
|
QueryProposalsParams = types.QueryProposalsParams
|
2019-05-20 06:13:32 -07:00
|
|
|
Vote = types.Vote
|
|
|
|
Votes = types.Votes
|
|
|
|
VoteOption = types.VoteOption
|
2019-04-30 09:31:38 -07:00
|
|
|
)
|