Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllApplications(ctx context.Context, req *types.QueryAllApplicationsRequest) (*types.QueryAllApplicationsResponse, error)
- func (k Keeper) Application(ctx context.Context, req *types.QueryGetApplicationRequest) (*types.QueryGetApplicationResponse, error)
- func (k Keeper) GetAllApplications(ctx context.Context) (apps []types.Application)
- func (k Keeper) GetApplication(ctx context.Context, appAddr string) (app types.Application, found bool)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx context.Context) (params types.Params)
- func (k Keeper) Logger() log.Logger
- func (k Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveApplication(ctx context.Context, appAddr string)
- func (k Keeper) SetApplication(ctx context.Context, application types.Application)
- func (k Keeper) SetParams(ctx context.Context, params types.Params) 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, storeService store.KVStoreService, logger log.Logger, authority string, bankKeeper types.BankKeeper, accountKeeper types.AccountKeeper, gatewayKeeper types.GatewayKeeper, ) Keeper
func (Keeper) AllApplications ¶
func (k Keeper) AllApplications(ctx context.Context, req *types.QueryAllApplicationsRequest) (*types.QueryAllApplicationsResponse, error)
func (Keeper) Application ¶
func (k Keeper) Application(ctx context.Context, req *types.QueryGetApplicationRequest) (*types.QueryGetApplicationResponse, error)
func (Keeper) GetAllApplications ¶
func (k Keeper) GetAllApplications(ctx context.Context) (apps []types.Application)
GetAllApplications returns all application
func (Keeper) GetApplication ¶
func (k Keeper) GetApplication( ctx context.Context, appAddr string, ) (app types.Application, found bool)
GetApplication returns a application from its index
func (Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (Keeper) Params ¶
func (k Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveApplication ¶
RemoveApplication removes a application from the store
func (Keeper) SetApplication ¶
func (k Keeper) SetApplication(ctx context.Context, application types.Application)
SetApplication set a specific application in the store from its index
Click to show internal directories.
Click to hide internal directories.