Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetAppVersion(ctx sdk.Context, portID string, channelID string) (string, bool)
- func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, ...) (sequence uint64, err error)
- func (k Keeper) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper defines the middleware keeper.
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, msgServiceRouter *baseapp.MsgServiceRouter, ics4Wrapper porttypes.ICS4Wrapper, ) Keeper
NewKeeper creates a new Keeper instance.
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis exports the middlewares state.
func (Keeper) GetAppVersion ¶
GetAppVersion wraps IBC ChannelKeeper's GetAppVersion function.
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState)
InitGenesis initializes the middlewares state from a specified GenesisState.
func (Keeper) SendPacket ¶
func (k Keeper) SendPacket( ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, sourceChannel string, timeoutHeight clienttypes.Height, timeoutTimestamp uint64, data []byte, ) (sequence uint64, err error)
SendPacket wraps IBC ChannelKeeper's SendPacket function.
func (Keeper) WriteAcknowledgement ¶
func (k Keeper) WriteAcknowledgement( ctx sdk.Context, chanCap *capabilitytypes.Capability, packet ibcexported.PacketI, acknowledgement ibcexported.Acknowledgement, ) error
WriteAcknowledgement wraps IBC ChannelKeeper's WriteAcknowledgement function.
Click to show internal directories.
Click to hide internal directories.