18 lines
375 B
Go
18 lines
375 B
Go
|
package keeper
|
||
|
|
||
|
import (
|
||
|
"colinear/x/colinearcore/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)
|
||
|
}
|