2020-03-10 22:29:16 +00:00
|
|
|
package committee
|
|
|
|
|
2020-04-28 15:36:06 +00:00
|
|
|
// DO NOT EDIT - generated by aliasgen tool (github.com/rhuairahrighairidh/aliasgen)
|
|
|
|
|
2020-03-10 22:29:16 +00:00
|
|
|
import (
|
2020-03-23 14:32:50 +00:00
|
|
|
"github.com/kava-labs/kava/x/committee/client"
|
2020-03-10 22:29:16 +00:00
|
|
|
"github.com/kava-labs/kava/x/committee/keeper"
|
|
|
|
"github.com/kava-labs/kava/x/committee/types"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2020-03-27 20:28:51 +00:00
|
|
|
AttributeKeyCommitteeID = types.AttributeKeyCommitteeID
|
|
|
|
AttributeKeyProposalCloseStatus = types.AttributeKeyProposalCloseStatus
|
|
|
|
AttributeKeyProposalID = types.AttributeKeyProposalID
|
2020-05-07 20:58:39 +00:00
|
|
|
AttributeKeyVoter = types.AttributeKeyVoter
|
2020-03-27 20:28:51 +00:00
|
|
|
AttributeValueCategory = types.AttributeValueCategory
|
|
|
|
AttributeValueProposalFailed = types.AttributeValueProposalFailed
|
|
|
|
AttributeValueProposalPassed = types.AttributeValueProposalPassed
|
|
|
|
AttributeValueProposalTimeout = types.AttributeValueProposalTimeout
|
|
|
|
DefaultNextProposalID = types.DefaultNextProposalID
|
|
|
|
DefaultParamspace = types.DefaultParamspace
|
|
|
|
EventTypeProposalClose = types.EventTypeProposalClose
|
|
|
|
EventTypeProposalSubmit = types.EventTypeProposalSubmit
|
|
|
|
EventTypeProposalVote = types.EventTypeProposalVote
|
|
|
|
MaxCommitteeDescriptionLength = types.MaxCommitteeDescriptionLength
|
|
|
|
ModuleName = types.ModuleName
|
|
|
|
ProposalTypeCommitteeChange = types.ProposalTypeCommitteeChange
|
|
|
|
ProposalTypeCommitteeDelete = types.ProposalTypeCommitteeDelete
|
|
|
|
QuerierRoute = types.QuerierRoute
|
|
|
|
QueryCommittee = types.QueryCommittee
|
|
|
|
QueryCommittees = types.QueryCommittees
|
2020-10-01 19:22:26 +00:00
|
|
|
QueryNextProposalID = types.QueryNextProposalID
|
2020-03-27 20:28:51 +00:00
|
|
|
QueryProposal = types.QueryProposal
|
|
|
|
QueryProposals = types.QueryProposals
|
2020-10-01 19:22:26 +00:00
|
|
|
QueryRawParams = types.QueryRawParams
|
2020-03-27 20:28:51 +00:00
|
|
|
QueryTally = types.QueryTally
|
|
|
|
QueryVote = types.QueryVote
|
|
|
|
QueryVotes = types.QueryVotes
|
|
|
|
RouterKey = types.RouterKey
|
|
|
|
StoreKey = types.StoreKey
|
|
|
|
TypeMsgSubmitProposal = types.TypeMsgSubmitProposal
|
|
|
|
TypeMsgVote = types.TypeMsgVote
|
2020-03-10 22:29:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
// function aliases
|
2020-04-28 00:26:00 +00:00
|
|
|
NewKeeper = keeper.NewKeeper
|
|
|
|
NewQuerier = keeper.NewQuerier
|
2020-05-04 21:17:20 +00:00
|
|
|
RegisterInvariants = keeper.RegisterInvariants
|
|
|
|
ValidCommitteesInvariant = keeper.ValidCommitteesInvariant
|
|
|
|
ValidProposalsInvariant = keeper.ValidProposalsInvariant
|
|
|
|
ValidVotesInvariant = keeper.ValidVotesInvariant
|
2020-04-28 00:26:00 +00:00
|
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
|
|
GetKeyFromID = types.GetKeyFromID
|
|
|
|
GetVoteKey = types.GetVoteKey
|
2020-10-01 19:22:26 +00:00
|
|
|
NewAllowedCollateralParam = types.NewAllowedCollateralParam
|
2020-04-28 00:26:00 +00:00
|
|
|
NewCommittee = types.NewCommittee
|
|
|
|
NewCommitteeChangeProposal = types.NewCommitteeChangeProposal
|
|
|
|
NewCommitteeDeleteProposal = types.NewCommitteeDeleteProposal
|
|
|
|
NewGenesisState = types.NewGenesisState
|
|
|
|
NewMsgSubmitProposal = types.NewMsgSubmitProposal
|
|
|
|
NewMsgVote = types.NewMsgVote
|
|
|
|
NewProposal = types.NewProposal
|
|
|
|
NewQueryCommitteeParams = types.NewQueryCommitteeParams
|
|
|
|
NewQueryProposalParams = types.NewQueryProposalParams
|
2020-10-01 19:22:26 +00:00
|
|
|
NewQueryRawParamsParams = types.NewQueryRawParamsParams
|
2020-04-28 00:26:00 +00:00
|
|
|
NewQueryVoteParams = types.NewQueryVoteParams
|
2020-05-15 19:25:49 +00:00
|
|
|
NewVote = types.NewVote
|
2020-04-28 00:26:00 +00:00
|
|
|
RegisterCodec = types.RegisterCodec
|
|
|
|
RegisterPermissionTypeCodec = types.RegisterPermissionTypeCodec
|
|
|
|
RegisterProposalTypeCodec = types.RegisterProposalTypeCodec
|
|
|
|
Uint64FromBytes = types.Uint64FromBytes
|
2020-03-10 22:29:16 +00:00
|
|
|
|
|
|
|
// variable aliases
|
2020-04-27 18:19:05 +00:00
|
|
|
ProposalHandler = client.ProposalHandler
|
|
|
|
CommitteeKeyPrefix = types.CommitteeKeyPrefix
|
|
|
|
ErrInvalidCommittee = types.ErrInvalidCommittee
|
|
|
|
ErrInvalidGenesis = types.ErrInvalidGenesis
|
|
|
|
ErrInvalidPubProposal = types.ErrInvalidPubProposal
|
|
|
|
ErrNoProposalHandlerExists = types.ErrNoProposalHandlerExists
|
|
|
|
ErrProposalExpired = types.ErrProposalExpired
|
|
|
|
ErrUnknownCommittee = types.ErrUnknownCommittee
|
|
|
|
ErrUnknownProposal = types.ErrUnknownProposal
|
2020-10-01 19:22:26 +00:00
|
|
|
ErrUnknownSubspace = types.ErrUnknownSubspace
|
2020-04-27 18:19:05 +00:00
|
|
|
ErrUnknownVote = types.ErrUnknownVote
|
|
|
|
ModuleCdc = types.ModuleCdc
|
|
|
|
NextProposalIDKey = types.NextProposalIDKey
|
|
|
|
ProposalKeyPrefix = types.ProposalKeyPrefix
|
|
|
|
VoteKeyPrefix = types.VoteKeyPrefix
|
2020-03-10 22:29:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type (
|
2020-05-15 19:25:49 +00:00
|
|
|
Keeper = keeper.Keeper
|
|
|
|
AllowedAssetParam = types.AllowedAssetParam
|
|
|
|
AllowedAssetParams = types.AllowedAssetParams
|
|
|
|
AllowedCollateralParam = types.AllowedCollateralParam
|
|
|
|
AllowedCollateralParams = types.AllowedCollateralParams
|
|
|
|
AllowedDebtParam = types.AllowedDebtParam
|
|
|
|
AllowedMarket = types.AllowedMarket
|
|
|
|
AllowedMarkets = types.AllowedMarkets
|
|
|
|
AllowedParam = types.AllowedParam
|
|
|
|
AllowedParams = types.AllowedParams
|
|
|
|
Committee = types.Committee
|
|
|
|
CommitteeChangeProposal = types.CommitteeChangeProposal
|
|
|
|
CommitteeDeleteProposal = types.CommitteeDeleteProposal
|
|
|
|
GenesisState = types.GenesisState
|
|
|
|
GodPermission = types.GodPermission
|
|
|
|
MsgSubmitProposal = types.MsgSubmitProposal
|
|
|
|
MsgVote = types.MsgVote
|
|
|
|
ParamKeeper = types.ParamKeeper
|
|
|
|
Permission = types.Permission
|
|
|
|
Proposal = types.Proposal
|
|
|
|
PubProposal = types.PubProposal
|
|
|
|
QueryCommitteeParams = types.QueryCommitteeParams
|
|
|
|
QueryProposalParams = types.QueryProposalParams
|
2020-10-01 19:22:26 +00:00
|
|
|
QueryRawParamsParams = types.QueryRawParamsParams
|
2020-05-15 19:25:49 +00:00
|
|
|
QueryVoteParams = types.QueryVoteParams
|
|
|
|
SimpleParamChangePermission = types.SimpleParamChangePermission
|
|
|
|
SoftwareUpgradePermission = types.SoftwareUpgradePermission
|
|
|
|
SubParamChangePermission = types.SubParamChangePermission
|
|
|
|
TextPermission = types.TextPermission
|
|
|
|
Vote = types.Vote
|
2020-03-10 22:29:16 +00:00
|
|
|
)
|