0g-chain/x/kavadist/alias.go
Kevin Davis fc85052522
add community multi-spend proposal (#915)
* feat: add community multi-spend proposal type

* feat: add handler for community multi-spend proposals

* chore: register new community multi-spend proposal

* feat: define client for community multi-spend proposal

* fix typos in example cli json

* fix: register now proposal type with module codec

* fix: register community multi-spend proposal with gov router, not committee

* fix: define kavadist keeper before referencing it

* nit: include deposit in example proposal

* nit: update comment

* nit: fix error codes

* nit: update comments
2021-06-02 11:03:25 -06:00

70 lines
3.1 KiB
Go

// nolint
// autogenerated code using github.com/rigelrozanski/multitool
// aliases generated for the following subdirectories:
// ALIASGEN: github.com/kava-labs/kava/x/kavadist/types
// ALIASGEN: github.com/kava-labs/kava/x/kavadist/keeper
// ALIASGEN: github.com/kava-labs/kava/x/kavadist/client
package kavadist
import (
"github.com/kava-labs/kava/x/kavadist/client"
"github.com/kava-labs/kava/x/kavadist/keeper"
"github.com/kava-labs/kava/x/kavadist/types"
)
const (
EventTypeKavaDist = types.EventTypeKavaDist
AttributeKeyInflation = types.AttributeKeyInflation
AttributeKeyStatus = types.AttributeKeyStatus
AttributeValueInactive = types.AttributeValueInactive
ModuleName = types.ModuleName
StoreKey = types.StoreKey
RouterKey = types.RouterKey
QuerierRoute = types.QuerierRoute
DefaultParamspace = types.DefaultParamspace
KavaDistMacc = types.KavaDistMacc
ProposalTypeCommunityPoolMultiSpend = types.ProposalTypeCommunityPoolMultiSpend
QueryGetParams = types.QueryGetParams
QueryGetBalance = types.QueryGetBalance
)
var (
// functions aliases
RegisterCodec = types.RegisterCodec
NewGenesisState = types.NewGenesisState
DefaultGenesisState = types.DefaultGenesisState
NewPeriod = types.NewPeriod
NewParams = types.NewParams
DefaultParams = types.DefaultParams
ParamKeyTable = types.ParamKeyTable
NewCommunityPoolMultiSpendProposal = types.NewCommunityPoolMultiSpendProposal
NewKeeper = keeper.NewKeeper
HandleCommunityPoolMultiSpendProposal = keeper.HandleCommunityPoolMultiSpendProposal
NewQuerier = keeper.NewQuerier
// variable aliases
ModuleCdc = types.ModuleCdc
ErrInvalidProposalAmount = types.ErrInvalidProposalAmount
ErrEmptyProposalRecipient = types.ErrEmptyProposalRecipient
CurrentDistPeriodKey = types.CurrentDistPeriodKey
PreviousBlockTimeKey = types.PreviousBlockTimeKey
KeyActive = types.KeyActive
KeyPeriods = types.KeyPeriods
DefaultActive = types.DefaultActive
DefaultPeriods = types.DefaultPeriods
DefaultPreviousBlockTime = types.DefaultPreviousBlockTime
GovDenom = types.GovDenom
ProposalHandler = client.ProposalHandler
)
type (
GenesisState = types.GenesisState
Params = types.Params
Period = types.Period
Periods = types.Periods
CommunityPoolMultiSpendProposal = types.CommunityPoolMultiSpendProposal
MultiSpendRecipient = types.MultiSpendRecipient
MultiSpendRecipients = types.MultiSpendRecipients
Keeper = keeper.Keeper
)