0g-chain/x/auction/keeper/params.go

16 lines
347 B
Go
Raw Normal View History

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"
)
func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
2019-11-25 19:46:02 +00:00
k.paramSubspace.SetParamSet(ctx, &params)
}
func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) {
2019-11-25 19:46:02 +00:00
k.paramSubspace.GetParamSet(ctx, &params)
return
}