Documentation ¶
Index ¶
- func AssetSendRestriction(k Keeper) banktypes.SendRestrictionFn
- 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) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetToken(ctx sdk.Context, token types.Token)
- func (k Keeper) SetTransferRestrictionFn()
- func (k Keeper) Token(c context.Context, req *types.QueryTokenRequest) (*types.QueryTokenResponse, error)
- func (k Keeper) Tokens(c context.Context, req *types.QueryTokensRequest) (*types.QueryTokensResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetSendRestriction ¶ added in v0.8.0
func AssetSendRestriction(k Keeper) banktypes.SendRestrictionFn
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 storetypes.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) SetTransferRestrictionFn ¶ added in v0.8.0
func (k Keeper) SetTransferRestrictionFn()
SetTransferRestrictionFn Set genereric Authorization Send Transfer Restriction
func (Keeper) Token ¶
func (k Keeper) Token(c context.Context, req *types.QueryTokenRequest) (*types.QueryTokenResponse, error)
func (Keeper) Tokens ¶ added in v0.6.0
func (k Keeper) Tokens(c context.Context, req *types.QueryTokensRequest) (*types.QueryTokensResponse, error)
Click to show internal directories.
Click to hide internal directories.