2019-11-25 19:46:02 +00:00
|
|
|
package keeper
|
|
|
|
|
|
|
|
import (
|
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
|
|
"github.com/kava-labs/kava/x/auction/types"
|
|
|
|
)
|
|
|
|
|
|
|
|
// SetParams sets the auth module's parameters.
|
2020-01-07 17:17:27 +00:00
|
|
|
func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
|
2019-11-25 19:46:02 +00:00
|
|
|
k.paramSubspace.SetParamSet(ctx, ¶ms)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetParams gets the auth module's parameters.
|
2020-01-07 17:17:27 +00:00
|
|
|
func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) {
|
2019-11-25 19:46:02 +00:00
|
|
|
k.paramSubspace.GetParamSet(ctx, ¶ms)
|
|
|
|
return
|
2020-01-07 17:17:27 +00:00
|
|
|
}
|