Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAllToken(ctx sdk.Context) (list []types.Token)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetToken(ctx sdk.Context, symbol string) (val types.Token, found bool)
- func (k Keeper) IsAddressAuthorizedToSend(ctx sdk.Context, symbol string, address sdk.AccAddress) (authorized 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) RemoveToken(ctx sdk.Context, symbol string)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetToken(ctx sdk.Context, token types.Token)
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, bankKeeper types.BankKeeper, ) *Keeper
func (Keeper) GetAllToken ¶
GetAllToken returns all token
func (Keeper) IsAddressAuthorizedToSend ¶
func (Keeper) Params ¶ added in v0.0.4
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveToken ¶
RemoveToken removes a token from the store
Click to show internal directories.
Click to hide internal directories.