Documentation ¶
Index ¶
- type AppModule
- func (AppModule) BeginBlock(sdk.Context, abci.RequestBeginBlock)
- func (AppModule) ConsensusVersion() uint64
- func (AppModule) EndBlock(sdk.Context, 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 (AppModule) QuerierRoute() string
- func (AppModule) RegisterInvariants(sdk.InvariantRegistry)
- func (am AppModule) RegisterServices(cfg module.Configurator)
- func (AppModule) Route() sdk.Route
- 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(clientCtx client.Context, mux *runtime.ServeMux)
- func (AppModuleBasic) RegisterInterfaces(reg codectypes.InterfaceRegistry)
- func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (AppModuleBasic) ValidateGenesis(codec.JSONCodec, client.TxEncodingConfig, json.RawMessage) error
- type IBCMiddleware
- func (im IBCMiddleware) GetAppVersion(ctx sdk.Context, portID string, channelID string) (string, bool)
- func (im IBCMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (im IBCMiddleware) OnChanCloseConfirm(ctx sdk.Context, portID string, channelID string) error
- func (im IBCMiddleware) OnChanCloseInit(ctx sdk.Context, portID string, channelID string) error
- func (im IBCMiddleware) OnChanOpenAck(ctx sdk.Context, portID string, channelID string, counterpartyChannelID string, ...) error
- func (im IBCMiddleware) OnChanOpenConfirm(ctx sdk.Context, portID string, channelID string) error
- func (im IBCMiddleware) OnChanOpenInit(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (string, error)
- func (im IBCMiddleware) OnChanOpenTry(ctx sdk.Context, order channeltypes.Order, connectionHops []string, ...) (version string, err error)
- func (im IBCMiddleware) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) exported.Acknowledgement
- func (im IBCMiddleware) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
- func (im IBCMiddleware) SendPacket(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, ...) (sequence uint64, err error)
- func (IBCMiddleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ...) error
- type IBCModule
- func (im IBCModule) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (IBCModule) OnChanCloseConfirm(sdk.Context, string, string) error
- func (IBCModule) OnChanCloseInit(sdk.Context, string, string) error
- func (IBCModule) OnChanOpenAck(sdk.Context, string, string, string, string) error
- func (IBCModule) OnChanOpenConfirm(sdk.Context, string, string) error
- func (IBCModule) OnChanOpenInit(sdk.Context, channeltypes.Order, []string, string, string, ...) (string, error)
- func (IBCModule) OnChanOpenTry(sdk.Context, channeltypes.Order, []string, string, string, ...) (version string, err error)
- func (IBCModule) OnRecvPacket(sdk.Context, channeltypes.Packet, sdk.AccAddress) exported.Acknowledgement
- func (IBCModule) OnTimeoutPacket(sdk.Context, channeltypes.Packet, sdk.AccAddress) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
NewAppModule creates and returns a new interStaking AppModule
func (AppModule) BeginBlock ¶
func (AppModule) BeginBlock(sdk.Context, abci.RequestBeginBlock)
BeginBlock implements module.BeginBlockAppModule
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements module.EndBlockAppModule
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(sdk.Context, abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock implements module.EndBlockAppModule
func (AppModule) ExportGenesis ¶
ExportGenesis implements module.EndBlockAppModule
func (AppModule) InitGenesis ¶
func (AppModule) InitGenesis(sdk.Context, codec.JSONCodec, json.RawMessage) []abci.ValidatorUpdate
InitGenesis implements module.EndBlockAppModule
func (AppModule) LegacyQuerierHandler ¶
func (AppModule) LegacyQuerierHandler(*codec.LegacyAmino) func(ctx sdk.Context, path []string, req abci.RequestQuery) ([]byte, error)
LegacyQuerierHandler implements module.EndBlockAppModule
func (AppModule) QuerierRoute ¶
QuerierRoute implements module.EndBlockAppModule
func (AppModule) RegisterInvariants ¶
func (AppModule) RegisterInvariants(sdk.InvariantRegistry)
RegisterInvariants implements module.EndBlockAppModule
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(cfg module.Configurator)
RegisterServices implements module.EndBlockAppModule
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
func NewAppModuleBasic ¶
func NewAppModuleBasic(cdc codec.Codec) AppModuleBasic
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(clientCtx client.Context, mux *runtime.ServeMux)
RegisterGRPCGatewayRoutes implements module.AppModuleBasic
func (AppModuleBasic) RegisterInterfaces ¶
func (AppModuleBasic) RegisterInterfaces(reg codectypes.InterfaceRegistry)
RegisterInterfaces implements module.AppModuleBasic
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec implements module.AppModuleBasic
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(codec.JSONCodec, client.TxEncodingConfig, json.RawMessage) error
ValidateGenesis implements module.AppModuleBasic
type IBCMiddleware ¶
type IBCMiddleware struct {
// contains filtered or unexported fields
}
func NewIBCMiddleware ¶
func NewIBCMiddleware(k keeper.Keeper, app porttypes.IBCModule) IBCMiddleware
func (IBCMiddleware) GetAppVersion ¶
func (im IBCMiddleware) GetAppVersion(ctx sdk.Context, portID string, channelID string) (string, bool)
GetAppVersion implements types.Middleware
func (IBCMiddleware) OnAcknowledgementPacket ¶
func (im IBCMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress) error
OnAcknowledgementPacket implements types.Middleware
func (IBCMiddleware) OnChanCloseConfirm ¶
OnChanCloseConfirm implements types.Middleware
func (IBCMiddleware) OnChanCloseInit ¶
OnChanCloseInit implements types.Middleware
func (IBCMiddleware) OnChanOpenAck ¶
func (im IBCMiddleware) OnChanOpenAck(ctx sdk.Context, portID string, channelID string, counterpartyChannelID string, counterpartyVersion string) error
OnChanOpenAck implements types.Middleware
func (IBCMiddleware) OnChanOpenConfirm ¶
OnChanOpenConfirm implements types.Middleware
func (IBCMiddleware) OnChanOpenInit ¶
func (im IBCMiddleware) 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 (IBCMiddleware) OnChanOpenTry ¶
func (im IBCMiddleware) 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 (IBCMiddleware) OnRecvPacket ¶
func (im IBCMiddleware) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) exported.Acknowledgement
OnRecvPacket implements types.Middleware
func (IBCMiddleware) OnTimeoutPacket ¶
func (im IBCMiddleware) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
OnTimeoutPacket implements types.Middleware
func (IBCMiddleware) SendPacket ¶
func (im IBCMiddleware) 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 (IBCMiddleware) WriteAcknowledgement ¶
func (IBCMiddleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ack exported.Acknowledgement) error
WriteAcknowledgement implements types.Middleware
type IBCModule ¶
type IBCModule struct {
// contains filtered or unexported fields
}
/ IBCModule implements the ICS26 interface for interchain accounts controller chains
func (IBCModule) OnAcknowledgementPacket ¶
func (im IBCModule) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress) error
OnAcknowledgementPacket implements types.IBCModule
func (IBCModule) OnChanCloseConfirm ¶
OnChanCloseConfirm implements types.IBCModule
func (IBCModule) OnChanCloseInit ¶
OnChanCloseInit implements types.IBCModule
func (IBCModule) OnChanOpenAck ¶
OnChanOpenAck implements types.IBCModule
func (IBCModule) OnChanOpenConfirm ¶
OnChanOpenConfirm implements types.IBCModule
func (IBCModule) OnChanOpenInit ¶
func (IBCModule) OnChanOpenInit(sdk.Context, channeltypes.Order, []string, string, string, *capabilitytypes.Capability, channeltypes.Counterparty, string) (string, error)
OnChanOpenInit implements types.IBCModule
func (IBCModule) OnChanOpenTry ¶
func (IBCModule) OnChanOpenTry(sdk.Context, channeltypes.Order, []string, string, string, *capabilitytypes.Capability, channeltypes.Counterparty, string) (version string, err error)
OnChanOpenTry implements types.IBCModule
func (IBCModule) OnRecvPacket ¶
func (IBCModule) OnRecvPacket(sdk.Context, channeltypes.Packet, sdk.AccAddress) exported.Acknowledgement
OnRecvPacket implements types.IBCModule
func (IBCModule) OnTimeoutPacket ¶
func (IBCModule) OnTimeoutPacket(sdk.Context, channeltypes.Packet, sdk.AccAddress) error
OnTimeoutPacket implements types.IBCModule