func NewKeeper(cdc *codec.Codec, ak types.AccountKeeper, key sdk.StoreKey, paramstore types.ParamSubspace) Keeper {
	keeper := Keeper{
		storeKey:   key,
		cdc:        cdc,
		ak:         ak,
		paramstore: paramstore.WithKeyTable(types.ParamKeyTable()),
	}
	return keeper
}
NewKeeper creates a credit keeper
package keeper
import (
	"fmt"
	"github.com/cosmos/cosmos-sdk/codec"
	sdk "github.com/cosmos/cosmos-sdk/types"
	sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
	"github.com/mesg-foundation/engine/x/credit/internal/types"
	"github.com/tendermint/tendermint/libs/log"
)
type Keeper struct {
	storeKey   sdk.StoreKey
	cdc        *codec.Codec
	ak         types.AccountKeeper
	paramstore types.ParamSubspace
}