Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAllWhichIs(ctx sdk.Context) (list []types.WhichIs)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetWhichIs(ctx sdk.Context, did string) (val types.WhichIs, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveWhichIs(ctx sdk.Context, did string)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetWhichIs(ctx sdk.Context, whichIs types.WhichIs)
- func (k Keeper) WhichIs(c context.Context, req *types.QueryWhichIsRequest) (*types.QueryWhichIsResponse, error)
- func (k Keeper) WhichIsAll(c context.Context, req *types.QueryAllWhichIsRequest) (*types.QueryAllWhichIsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, capabilityKeeper types.CapabilityKeeper, mintKeeper types.MintKeeper, ) *Keeper
func (Keeper) GetAllWhichIs ¶
GetAllWhichIs returns all whichIs
func (Keeper) GetWhichIs ¶
GetWhichIs returns a whichIs from its did
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveWhichIs ¶
RemoveWhichIs removes a whichIs from the store
func (Keeper) SetWhichIs ¶
SetWhichIs set a specific whichIs in the store from its did
func (Keeper) WhichIs ¶
func (k Keeper) WhichIs(c context.Context, req *types.QueryWhichIsRequest) (*types.QueryWhichIsResponse, error)
func (Keeper) WhichIsAll ¶
func (k Keeper) WhichIsAll(c context.Context, req *types.QueryAllWhichIsRequest) (*types.QueryAllWhichIsResponse, error)
Click to show internal directories.
Click to hide internal directories.