cosmos-sdk/x/mint/alias.go
Marko bef3689245
linter: enable nolintlint (#6162)
* nolintlint enable

* remove space

* fix tests

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-05-08 08:46:12 +00:00

49 lines
1.5 KiB
Go

package mint
import (
"github.com/cosmos/cosmos-sdk/x/mint/keeper"
"github.com/cosmos/cosmos-sdk/x/mint/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
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
)