2019-11-25 19:46:02 +00:00
|
|
|
package keeper
|
|
|
|
|
|
|
|
import (
|
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
2020-04-30 14:13:31 +00:00
|
|
|
|
2024-05-01 03:17:24 +00:00
|
|
|
"github.com/0glabs/0g-chain/x/auction/types"
|
2019-11-25 19:46:02 +00:00
|
|
|
)
|
|
|
|
|
2020-01-12 15:12:22 +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)
|
|
|
|
}
|
|
|
|
|
2020-01-12 15:12:22 +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-12 15:12:22 +00:00
|
|
|
}
|