Jürgen Eckel ba8cd80ee3
added DER module
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2025-05-20 16:53:53 +02:00

17 lines
392 B
Go

package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/planetmint/planetmint-go/x/der/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, &params)
}