2024-02-16 06:40:42 +00:00
|
|
|
package keeper
|
|
|
|
|
|
|
|
import (
|
2024-04-01 09:57:26 +00:00
|
|
|
registrytypes "git.vdb.to/cerc-io/laconicd/x/registry"
|
2024-02-16 06:40:42 +00:00
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
|
|
)
|
|
|
|
|
|
|
|
// GetParams - Get all parameters as types.Params.
|
|
|
|
func (k Keeper) GetParams(ctx sdk.Context) (*registrytypes.Params, error) {
|
|
|
|
params, err := k.Params.Get(ctx)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
|
|
|
return ¶ms, nil
|
|
|
|
}
|