18 lines
376 B
Go
18 lines
376 B
Go
|
package keeper
|
||
|
|
||
|
import (
|
||
|
"colinear/x/colinear-core/types"
|
||
|
|
||
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||
|
)
|
||
|
|
||
|
// GetParams get all parameters as types.Params
|
||
|
func (k Keeper) GetParams(ctx sdk.Context) types.Params {
|
||
|
return types.NewParams()
|
||
|
}
|
||
|
|
||
|
// SetParams set the params
|
||
|
func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
|
||
|
k.paramstore.SetParamSet(ctx, ¶ms)
|
||
|
}
|