Documentation ¶
Index ¶
- func NewMsgServerImpl(k Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAuthority(ctx sdk.Context) (authority string)
- func (k Keeper) GetSubspace(s string) (types.Subspace, bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *proposal.QueryParamsRequest) (*proposal.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params proposal.Params)
- func (k Keeper) Subspace(s string) types.Subspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the upgrade MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
Keeper of the global paramstore
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey sdk.StoreKey) Keeper
NewKeeper constructs a params keeper
func (Keeper) GetAuthority ¶
GetAuthority returns the module authority
func (Keeper) GetSubspace ¶
Get existing substore from keeper
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *proposal.QueryParamsRequest) (*proposal.QueryParamsResponse, error)
Params returns subspace params
Click to show internal directories.
Click to hide internal directories.