Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper *Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Acknowledgement(goCtx context.Context, msg *channeltypes.MsgAcknowledgement) (*channeltypes.MsgAcknowledgementResponse, error)
- func (k Keeper) ChannelCloseConfirm(goCtx context.Context, msg *channeltypes.MsgChannelCloseConfirm) (*channeltypes.MsgChannelCloseConfirmResponse, error)
- func (k Keeper) ChannelCloseInit(goCtx context.Context, msg *channeltypes.MsgChannelCloseInit) (*channeltypes.MsgChannelCloseInitResponse, error)
- func (k Keeper) ChannelOpenAck(goCtx context.Context, msg *channeltypes.MsgChannelOpenAck) (*channeltypes.MsgChannelOpenAckResponse, error)
- func (k Keeper) ChannelOpenConfirm(goCtx context.Context, msg *channeltypes.MsgChannelOpenConfirm) (*channeltypes.MsgChannelOpenConfirmResponse, error)
- func (k Keeper) ChannelOpenInit(goCtx context.Context, msg *channeltypes.MsgChannelOpenInit) (*channeltypes.MsgChannelOpenInitResponse, error)
- func (k Keeper) ChannelOpenTry(goCtx context.Context, msg *channeltypes.MsgChannelOpenTry) (*channeltypes.MsgChannelOpenTryResponse, error)
- func (k Keeper) ConnectionOpenAck(goCtx context.Context, msg *connectiontypes.MsgConnectionOpenAck) (*connectiontypes.MsgConnectionOpenAckResponse, error)
- func (k Keeper) ConnectionOpenConfirm(goCtx context.Context, msg *connectiontypes.MsgConnectionOpenConfirm) (*connectiontypes.MsgConnectionOpenConfirmResponse, error)
- func (k Keeper) ConnectionOpenInit(goCtx context.Context, msg *connectiontypes.MsgConnectionOpenInit) (*connectiontypes.MsgConnectionOpenInitResponse, error)
- func (k Keeper) ConnectionOpenTry(goCtx context.Context, msg *connectiontypes.MsgConnectionOpenTry) (*connectiontypes.MsgConnectionOpenTryResponse, error)
- func (k Keeper) CreateClient(goCtx context.Context, msg *clienttypes.MsgCreateClient) (*clienttypes.MsgCreateClientResponse, error)
- func (k Keeper) CreateClientValidate(ctx sdk.Context, clientState exported.ClientState, ...) error
- func (k Keeper) GetAllIRCRequest(ctx sdk.Context) (list []types.IRCRequest)
- func (k Keeper) GetIRCRequest(ctx sdk.Context, reqId uint64) (val types.IRCRequest, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) IRCRequest(goCtx context.Context, req *types.QueryGetIRCRequestRequest) (*types.QueryGetIRCRequestResponse, error)
- func (k Keeper) IRCRequestAll(goCtx context.Context, req *types.QueryAllIRCRequestRequest) (*types.QueryAllIRCRequestResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RecvPacket(goCtx context.Context, msg *channeltypes.MsgRecvPacket) (*channeltypes.MsgRecvPacketResponse, error)
- func (k Keeper) RemoveIRCRequest(ctx sdk.Context, reqId uint64)
- func (k Keeper) SetIRCRequest(ctx sdk.Context, ircRequest types.IRCRequest)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SubmitMisbehaviour(goCtx context.Context, msg *clienttypes.MsgSubmitMisbehaviour) (*clienttypes.MsgSubmitMisbehaviourResponse, error)
- func (k Keeper) SubmitMisbehaviourValidate(ctx sdk.Context, misbehaviour exported.Misbehaviour) error
- func (k Keeper) Timeout(goCtx context.Context, msg *channeltypes.MsgTimeout) (*channeltypes.MsgTimeoutResponse, error)
- func (k Keeper) TimeoutOnClose(goCtx context.Context, msg *channeltypes.MsgTimeoutOnClose) (*channeltypes.MsgTimeoutOnCloseResponse, error)
- func (k Keeper) UpdateClient(goCtx context.Context, msg *clienttypes.MsgUpdateClient) (*clienttypes.MsgUpdateClientResponse, error)
- func (k Keeper) UpdateClientValidate(ctx sdk.Context, clientID string, header exported.Header) error
- func (k Keeper) UpgradeClient(goCtx context.Context, msg *clienttypes.MsgUpgradeClient) (*clienttypes.MsgUpgradeClientResponse, error)
- func (k Keeper) UpgradeClientValidate(ctx sdk.Context, clientID string, upgradedClient exported.ClientState, ...) 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, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, bankKeeper types.BankKeeper, ibcKeeper types.IBCKeeper, rollappKeeper types.RollappKeeper, ) *Keeper
func (Keeper) Acknowledgement ¶
func (k Keeper) Acknowledgement(goCtx context.Context, msg *channeltypes.MsgAcknowledgement) (*channeltypes.MsgAcknowledgementResponse, error)
Acknowledgement defines a rpc handler method for MsgAcknowledgement.
func (Keeper) ChannelCloseConfirm ¶
func (k Keeper) ChannelCloseConfirm(goCtx context.Context, msg *channeltypes.MsgChannelCloseConfirm) (*channeltypes.MsgChannelCloseConfirmResponse, error)
ChannelCloseConfirm defines a rpc handler method for MsgChannelCloseConfirm.
func (Keeper) ChannelCloseInit ¶
func (k Keeper) ChannelCloseInit(goCtx context.Context, msg *channeltypes.MsgChannelCloseInit) (*channeltypes.MsgChannelCloseInitResponse, error)
ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.
func (Keeper) ChannelOpenAck ¶
func (k Keeper) ChannelOpenAck(goCtx context.Context, msg *channeltypes.MsgChannelOpenAck) (*channeltypes.MsgChannelOpenAckResponse, error)
ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. ChannelOpenAck will perform 04-channel checks, route to the application callback, and write an OpenAck channel into state upon successful execution.
func (Keeper) ChannelOpenConfirm ¶
func (k Keeper) ChannelOpenConfirm(goCtx context.Context, msg *channeltypes.MsgChannelOpenConfirm) (*channeltypes.MsgChannelOpenConfirmResponse, error)
ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. ChannelOpenConfirm will perform 04-channel checks, route to the application callback, and write an OpenConfirm channel into state upon successful execution.
func (Keeper) ChannelOpenInit ¶
func (k Keeper) ChannelOpenInit(goCtx context.Context, msg *channeltypes.MsgChannelOpenInit) (*channeltypes.MsgChannelOpenInitResponse, error)
ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. ChannelOpenInit will perform 04-channel checks, route to the application callback, and write an OpenInit channel into state upon successful execution.
func (Keeper) ChannelOpenTry ¶
func (k Keeper) ChannelOpenTry(goCtx context.Context, msg *channeltypes.MsgChannelOpenTry) (*channeltypes.MsgChannelOpenTryResponse, error)
ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. ChannelOpenTry will perform 04-channel checks, route to the application callback, and write an OpenTry channel into state upon successful execution.
func (Keeper) ConnectionOpenAck ¶
func (k Keeper) ConnectionOpenAck(goCtx context.Context, msg *connectiontypes.MsgConnectionOpenAck) (*connectiontypes.MsgConnectionOpenAckResponse, error)
ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.
func (Keeper) ConnectionOpenConfirm ¶
func (k Keeper) ConnectionOpenConfirm(goCtx context.Context, msg *connectiontypes.MsgConnectionOpenConfirm) (*connectiontypes.MsgConnectionOpenConfirmResponse, error)
ConnectionOpenConfirm defines a rpc handler method for MsgConnectionOpenConfirm.
func (Keeper) ConnectionOpenInit ¶
func (k Keeper) ConnectionOpenInit(goCtx context.Context, msg *connectiontypes.MsgConnectionOpenInit) (*connectiontypes.MsgConnectionOpenInitResponse, error)
ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.
func (Keeper) ConnectionOpenTry ¶
func (k Keeper) ConnectionOpenTry(goCtx context.Context, msg *connectiontypes.MsgConnectionOpenTry) (*connectiontypes.MsgConnectionOpenTryResponse, error)
ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.
func (Keeper) CreateClient ¶
func (k Keeper) CreateClient(goCtx context.Context, msg *clienttypes.MsgCreateClient) (*clienttypes.MsgCreateClientResponse, error)
CreateClient defines a rpc handler method for MsgCreateClient.
func (Keeper) CreateClientValidate ¶
func (k Keeper) CreateClientValidate( ctx sdk.Context, clientState exported.ClientState, consensusState exported.ConsensusState, ) error
func (Keeper) GetAllIRCRequest ¶
func (k Keeper) GetAllIRCRequest(ctx sdk.Context) (list []types.IRCRequest)
GetAllIRCRequest returns all ircRequest
func (Keeper) GetIRCRequest ¶
GetIRCRequest returns a ircRequest from its index
func (Keeper) IRCRequest ¶
func (k Keeper) IRCRequest(goCtx context.Context, req *types.QueryGetIRCRequestRequest) (*types.QueryGetIRCRequestResponse, error)
func (Keeper) IRCRequestAll ¶
func (k Keeper) IRCRequestAll(goCtx context.Context, req *types.QueryAllIRCRequestRequest) (*types.QueryAllIRCRequestResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RecvPacket ¶
func (k Keeper) RecvPacket(goCtx context.Context, msg *channeltypes.MsgRecvPacket) (*channeltypes.MsgRecvPacketResponse, error)
RecvPacket defines a rpc handler method for MsgRecvPacket.
func (Keeper) RemoveIRCRequest ¶
RemoveIRCRequest removes a ircRequest from the store
func (Keeper) SetIRCRequest ¶
func (k Keeper) SetIRCRequest(ctx sdk.Context, ircRequest types.IRCRequest)
SetIRCRequest set a specific ircRequest in the store from its index
func (Keeper) SubmitMisbehaviour ¶
func (k Keeper) SubmitMisbehaviour(goCtx context.Context, msg *clienttypes.MsgSubmitMisbehaviour) (*clienttypes.MsgSubmitMisbehaviourResponse, error)
SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.
func (Keeper) SubmitMisbehaviourValidate ¶
func (Keeper) Timeout ¶
func (k Keeper) Timeout(goCtx context.Context, msg *channeltypes.MsgTimeout) (*channeltypes.MsgTimeoutResponse, error)
Timeout defines a rpc handler method for MsgTimeout.
func (Keeper) TimeoutOnClose ¶
func (k Keeper) TimeoutOnClose(goCtx context.Context, msg *channeltypes.MsgTimeoutOnClose) (*channeltypes.MsgTimeoutOnCloseResponse, error)
TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.
func (Keeper) UpdateClient ¶
func (k Keeper) UpdateClient(goCtx context.Context, msg *clienttypes.MsgUpdateClient) (*clienttypes.MsgUpdateClientResponse, error)
UpdateClient defines a rpc handler method for MsgUpdateClient.
func (Keeper) UpdateClientValidate ¶
func (Keeper) UpgradeClient ¶
func (k Keeper) UpgradeClient(goCtx context.Context, msg *clienttypes.MsgUpgradeClient) (*clienttypes.MsgUpgradeClientResponse, error)
UpgradeClient defines a rpc handler method for MsgUpgradeClient.
func (Keeper) UpgradeClientValidate ¶
func (k Keeper) UpgradeClientValidate( ctx sdk.Context, clientID string, upgradedClient exported.ClientState, upgradedConsState exported.ConsensusState, proofUpgradeClient, proofUpgradeConsState []byte, ) error