Documentation
¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAllMorseClaimableAccounts(ctx context.Context) (list []types.MorseClaimableAccount)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetMorseClaimableAccount(ctx context.Context, address string) (morseClaimableAccount types.MorseClaimableAccount, found bool)
- func (k Keeper) GetParams(ctx context.Context) (params types.Params)
- func (k Keeper) ImportFromMorseAccountState(ctx context.Context, morseAccountState *types.MorseAccountState)
- func (k Keeper) Logger() log.Logger
- func (k Keeper) MorseClaimableAccount(ctx context.Context, req *types.QueryGetMorseClaimableAccountRequest) (*types.QueryGetMorseClaimableAccountResponse, error)
- func (k Keeper) MorseClaimableAccountAll(ctx context.Context, req *types.QueryAllMorseClaimableAccountRequest) (*types.QueryAllMorseClaimableAccountResponse, error)
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveMorseClaimableAccount(ctx context.Context, address string)
- func (k Keeper) SetMorseClaimableAccount(ctx context.Context, morseClaimableAccount types.MorseClaimableAccount)
- 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, ) Keeper
func (Keeper) GetAllMorseClaimableAccounts ¶
func (k Keeper) GetAllMorseClaimableAccounts(ctx context.Context) (list []types.MorseClaimableAccount)
GetAllMorseClaimableAccounts returns all morseClaimableAccount
func (Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (Keeper) GetMorseClaimableAccount ¶
func (k Keeper) GetMorseClaimableAccount( ctx context.Context, address string, ) (morseClaimableAccount types.MorseClaimableAccount, found bool)
GetMorseClaimableAccount returns a morseClaimableAccount from its index
func (Keeper) ImportFromMorseAccountState ¶
func (k Keeper) ImportFromMorseAccountState( ctx context.Context, morseAccountState *types.MorseAccountState, )
ImportFromMorseAccountState imports the MorseClaimableAccounts from the given MorseAccountState.
func (Keeper) MorseClaimableAccount ¶
func (k Keeper) MorseClaimableAccount( ctx context.Context, req *types.QueryGetMorseClaimableAccountRequest, ) (*types.QueryGetMorseClaimableAccountResponse, error)
MorseClaimableAccount returns a MorseClaimableAccount by its hex-encoded Morse address.
func (Keeper) MorseClaimableAccountAll ¶
func (k Keeper) MorseClaimableAccountAll( ctx context.Context, req *types.QueryAllMorseClaimableAccountRequest, ) (*types.QueryAllMorseClaimableAccountResponse, error)
MorseClaimableAccountAll returns all MorseClaimableAccounts created as a result of MsgImportMorseClaimableAccounts.
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveMorseClaimableAccount ¶
RemoveMorseClaimableAccount removes a morseClaimableAccount from the store
func (Keeper) SetMorseClaimableAccount ¶
func (k Keeper) SetMorseClaimableAccount(ctx context.Context, morseClaimableAccount types.MorseClaimableAccount)
SetMorseClaimableAccount set a specific morseClaimableAccount in the store from its index