cosmos-sdk/x/mint/alias.go

52 lines
1.5 KiB
Go

package mint
// nolint
import (
"github.com/cosmos/cosmos-sdk/x/mint/internal/keeper"
"github.com/cosmos/cosmos-sdk/x/mint/internal/types"
)
const (
ModuleName = types.ModuleName
DefaultParamspace = types.DefaultParamspace
StoreKey = types.StoreKey
QuerierRoute = types.QuerierRoute
QueryParameters = types.QueryParameters
QueryInflation = types.QueryInflation
QueryAnnualProvisions = types.QueryAnnualProvisions
)
var (
// functions aliases
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
NewGenesisState = types.NewGenesisState
DefaultGenesisState = types.DefaultGenesisState
ValidateGenesis = types.ValidateGenesis
NewMinter = types.NewMinter
InitialMinter = types.InitialMinter
DefaultInitialMinter = types.DefaultInitialMinter
ValidateMinter = types.ValidateMinter
ParamKeyTable = types.ParamKeyTable
NewParams = types.NewParams
DefaultParams = types.DefaultParams
// variable aliases
ModuleCdc = types.ModuleCdc
MinterKey = types.MinterKey
KeyMintDenom = types.KeyMintDenom
KeyInflationRateChange = types.KeyInflationRateChange
KeyInflationMax = types.KeyInflationMax
KeyInflationMin = types.KeyInflationMin
KeyGoalBonded = types.KeyGoalBonded
KeyBlocksPerYear = types.KeyBlocksPerYear
)
type (
Keeper = keeper.Keeper
GenesisState = types.GenesisState
Minter = types.Minter
Params = types.Params
)