2022-04-05 07:09:27 +00:00
|
|
|
package keeper
|
|
|
|
|
|
|
|
import (
|
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
|
|
|
2022-09-07 06:36:11 +00:00
|
|
|
"github.com/cerc-io/laconicd/x/auction/types"
|
2022-04-05 07:09:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// GetParams - Get all parameteras as types.Params.
|
|
|
|
func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) {
|
|
|
|
k.paramSubspace.GetParamSet(ctx, ¶ms)
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetParams - set the params.
|
|
|
|
func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
|
|
|
|
k.paramSubspace.SetParamSet(ctx, ¶ms)
|
|
|
|
}
|