Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllGateways(ctx context.Context, req *types.QueryAllGatewaysRequest) (*types.QueryAllGatewaysResponse, error)
- func (k Keeper) Gateway(ctx context.Context, req *types.QueryGetGatewayRequest) (*types.QueryGetGatewayResponse, error)
- func (k Keeper) GetAllGateways(ctx context.Context) (gateways []types.Gateway)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetGateway(ctx context.Context, address string) (gateway types.Gateway, found bool)
- 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) RemoveGateway(ctx context.Context, address string)
- func (k Keeper) SetGateway(ctx context.Context, gateway types.Gateway)
- 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, ) Keeper
func (Keeper) AllGateways ¶
func (k Keeper) AllGateways(ctx context.Context, req *types.QueryAllGatewaysRequest) (*types.QueryAllGatewaysResponse, error)
func (Keeper) Gateway ¶
func (k Keeper) Gateway(ctx context.Context, req *types.QueryGetGatewayRequest) (*types.QueryGetGatewayResponse, error)
func (Keeper) GetAllGateways ¶
GetAllGateways returns all gateway
func (Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (Keeper) GetGateway ¶
func (k Keeper) GetGateway( ctx context.Context, address string, ) (gateway types.Gateway, found bool)
GetGateway returns a gateway from its index
func (Keeper) Params ¶
func (k Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveGateway ¶
RemoveGateway removes a gateway from the store
func (Keeper) SetGateway ¶
SetGateway set a specific gateway in the store from its index
Click to show internal directories.
Click to hide internal directories.