Documentation
¶
Index ¶
- func NewProviderProposalHandler(k keeper.Keeper) govtypes.Handler
- type AppModule
- func (AppModule) BeginBlock(sdk.Context, abci.RequestBeginBlock)
- func (AppModule) ConsensusVersion() uint64
- func (am AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
- func (AppModule) ExportGenesis(sdk.Context, codec.JSONCodec) json.RawMessage
- func (AppModule) InitGenesis(sdk.Context, codec.JSONCodec, json.RawMessage) []abci.ValidatorUpdate
- func (AppModule) LegacyQuerierHandler(*codec.LegacyAmino) func(ctx sdk.Context, path []string, req abci.RequestQuery) ([]byte, error)
- func (am AppModule) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (AppModule) OnChanCloseConfirm(ctx sdk.Context, portID string, channelID string) error
- func (AppModule) OnChanCloseInit(ctx sdk.Context, portID string, channelID string) error
- func (AppModule) OnChanOpenAck(ctx sdk.Context, portID string, channelID string, counterpartyChannelID string, ...) error
- func (am AppModule) OnChanOpenConfirm(ctx sdk.Context, portID string, channelID string) error
- func (AppModule) OnChanOpenInit(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (string, error)
- func (am AppModule) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (version string, err error)
- func (am AppModule) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) exported.Acknowledgement
- func (AppModule) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
- func (AppModule) QuerierRoute() string
- func (AppModule) RegisterInvariants(sdk.InvariantRegistry)
- func (am AppModule) RegisterServices(cfg module.Configurator)
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis(codec.JSONCodec) json.RawMessage
- func (AppModuleBasic) GetQueryCmd() *cobra.Command
- func (AppModuleBasic) GetTxCmd() *cobra.Command
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterGRPCGatewayRoutes(client.Context, *runtime.ServeMux)
- func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (AppModuleBasic) RegisterLegacyAminoCodec(*codec.LegacyAmino)
- func (AppModuleBasic) ValidateGenesis(codec.JSONCodec, client.TxEncodingConfig, json.RawMessage) error
- type IBCTransferMiddleware
- func (im IBCTransferMiddleware) GetAppVersion(ctx sdk.Context, portID string, channelID string) (string, bool)
- func (im IBCTransferMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (im IBCTransferMiddleware) OnChanCloseConfirm(ctx sdk.Context, portID string, channelID string) error
- func (im IBCTransferMiddleware) OnChanCloseInit(ctx sdk.Context, portID string, channelID string) error
- func (im IBCTransferMiddleware) OnChanOpenAck(ctx sdk.Context, portID string, channelID string, counterpartyChannelID string, ...) error
- func (im IBCTransferMiddleware) OnChanOpenConfirm(ctx sdk.Context, portID string, channelID string) error
- func (im IBCTransferMiddleware) OnChanOpenInit(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (string, error)
- func (im IBCTransferMiddleware) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (version string, err error)
- func (im IBCTransferMiddleware) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) exported.Acknowledgement
- func (im IBCTransferMiddleware) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
- func (im IBCTransferMiddleware) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, ...) (sequence uint64, err error)
- func (IBCTransferMiddleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func (AppModule) BeginBlock ¶
func (AppModule) BeginBlock(sdk.Context, abci.RequestBeginBlock)
BeginBlock implements module.BeginBlockAppModule
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements module.AppModule
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock implements module.EndBlockAppModule
func (AppModule) ExportGenesis ¶
ExportGenesis implements module.AppModule
func (AppModule) InitGenesis ¶
func (AppModule) InitGenesis(sdk.Context, codec.JSONCodec, json.RawMessage) []abci.ValidatorUpdate
InitGenesis implements module.AppModule
func (AppModule) LegacyQuerierHandler ¶
func (AppModule) LegacyQuerierHandler(*codec.LegacyAmino) func(ctx sdk.Context, path []string, req abci.RequestQuery) ([]byte, error)
LegacyQuerierHandler implements module.AppModule
func (AppModule) OnAcknowledgementPacket ¶
func (am AppModule) OnAcknowledgementPacket( ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress, ) error
OnAcknowledgementPacket implements types.IBCModule
func (AppModule) OnChanCloseConfirm ¶
OnChanCloseConfirm implements types.IBCModule
func (AppModule) OnChanCloseInit ¶
OnChanCloseInit implements types.IBCModule
func (AppModule) OnChanOpenAck ¶
func (AppModule) OnChanOpenAck( ctx sdk.Context, portID string, channelID string, counterpartyChannelID string, counterpartyVersion string, ) error
OnChanOpenAck implements types.IBCModule
func (AppModule) OnChanOpenConfirm ¶
OnChanOpenConfirm implements types.IBCModule
func (AppModule) OnChanOpenInit ¶
func (AppModule) OnChanOpenInit( ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID string, channelID string, channelCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version string, ) (string, error)
OnChanOpenInit implements types.IBCModule
func (AppModule) OnChanOpenTry ¶
func (am AppModule) OnChanOpenTry( ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID string, channelID string, channelCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, counterpartyVersion string, ) (version string, err error)
OnChanOpenTry implements types.IBCModule
func (AppModule) OnRecvPacket ¶
func (am AppModule) OnRecvPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) exported.Acknowledgement
OnRecvPacket implements types.IBCModule
func (AppModule) OnTimeoutPacket ¶
func (AppModule) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
OnTimeoutPacket implements types.IBCModule
func (AppModule) QuerierRoute ¶
QuerierRoute implements module.AppModule
func (AppModule) RegisterInvariants ¶
func (AppModule) RegisterInvariants(sdk.InvariantRegistry)
RegisterInvariants implements module.AppModule
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(cfg module.Configurator)
RegisterServices implements module.AppModule
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis(codec.JSONCodec) json.RawMessage
DefaultGenesis implements module.AppModuleBasic
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd() *cobra.Command
GetQueryCmd implements module.AppModuleBasic
func (AppModuleBasic) GetTxCmd ¶
func (AppModuleBasic) GetTxCmd() *cobra.Command
GetTxCmd implements module.AppModuleBasic
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name implements module.AppModuleBasic
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (AppModuleBasic) RegisterGRPCGatewayRoutes(client.Context, *runtime.ServeMux)
RegisterGRPCGatewayRoutes implements module.AppModuleBasic
func (AppModuleBasic) RegisterInterfaces ¶
func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces implements module.AppModuleBasic
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (AppModuleBasic) RegisterLegacyAminoCodec(*codec.LegacyAmino)
RegisterLegacyAminoCodec implements module.AppModuleBasic
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(codec.JSONCodec, client.TxEncodingConfig, json.RawMessage) error
ValidateGenesis implements module.AppModuleBasic
type IBCTransferMiddleware ¶
type IBCTransferMiddleware struct {
// contains filtered or unexported fields
}
Middleware just warp IBCTransferModule
func NewIBCMiddleware ¶
func NewIBCMiddleware(k *keeper.Keeper, app porttypes.IBCModule) IBCTransferMiddleware
func (IBCTransferMiddleware) GetAppVersion ¶
func (im IBCTransferMiddleware) GetAppVersion(ctx sdk.Context, portID string, channelID string) (string, bool)
GetAppVersion implements types.Middleware
func (IBCTransferMiddleware) OnAcknowledgementPacket ¶
func (im IBCTransferMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress) error
OnAcknowledgementPacket implements types.Middleware
func (IBCTransferMiddleware) OnChanCloseConfirm ¶
func (im IBCTransferMiddleware) OnChanCloseConfirm(ctx sdk.Context, portID string, channelID string) error
OnChanCloseConfirm implements types.Middleware
func (IBCTransferMiddleware) OnChanCloseInit ¶
func (im IBCTransferMiddleware) OnChanCloseInit(ctx sdk.Context, portID string, channelID string) error
OnChanCloseInit implements types.Middleware
func (IBCTransferMiddleware) OnChanOpenAck ¶
func (im IBCTransferMiddleware) OnChanOpenAck(ctx sdk.Context, portID string, channelID string, counterpartyChannelID string, counterpartyVersion string) error
OnChanOpenAck implements types.Middleware
func (IBCTransferMiddleware) OnChanOpenConfirm ¶
func (im IBCTransferMiddleware) OnChanOpenConfirm(ctx sdk.Context, portID string, channelID string) error
OnChanOpenConfirm implements types.Middleware
func (IBCTransferMiddleware) OnChanOpenInit ¶
func (im IBCTransferMiddleware) OnChanOpenInit(ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID string, channelID string, channelCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version string) (string, error)
OnChanOpenInit implements types.Middleware
func (IBCTransferMiddleware) OnChanOpenTry ¶
func (im IBCTransferMiddleware) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID string, channelID string, channelCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, counterpartyVersion string) (version string, err error)
OnChanOpenTry implements types.Middleware
func (IBCTransferMiddleware) OnRecvPacket ¶
func (im IBCTransferMiddleware) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) exported.Acknowledgement
OnRecvPacket implements types.Middleware
func (IBCTransferMiddleware) OnTimeoutPacket ¶
func (im IBCTransferMiddleware) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
OnTimeoutPacket implements types.Middleware
func (IBCTransferMiddleware) SendPacket ¶
func (im IBCTransferMiddleware) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, sourceChannel string, timeoutHeight clienttypes.Height, timeoutTimestamp uint64, data []byte) (sequence uint64, err error)
SendPacket implements types.Middleware
func (IBCTransferMiddleware) WriteAcknowledgement ¶
func (IBCTransferMiddleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ack exported.Acknowledgement) error
WriteAcknowledgement implements types.Middleware