Documentation ¶
Index ¶
- Variables
- func NewHandler(k keeper.Keeper) sdk.Handler
- type AppModule
- func (a AppModule) BeginBlock(s sdk.Context, block abci.RequestBeginBlock)
- func (a AppModule) EndBlock(s sdk.Context, block abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (a AppModule) InitGenesis(s sdk.Context, message json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) NewHandler() sdk.Handler
- func (a AppModule) NewQuerierHandler() sdk.Querier
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(cfg module.Configurator)
- func (a AppModule) RegisterTask() upgrade.HeightTask
- func (a AppModule) Route() string
- type AppModuleBasic
- func (b AppModuleBasic) DefaultGenesis() json.RawMessage
- func (b AppModuleBasic) GetQueryCmd(codec *codec.Codec) *cobra.Command
- func (b AppModuleBasic) GetQueryCmdV2(cdc *codec.CodecProxy, reg anytypes.InterfaceRegistry) *cobra.Command
- func (b AppModuleBasic) GetTxCmd(codec *codec.Codec) *cobra.Command
- func (b AppModuleBasic) GetTxCmdV2(cdc *codec.CodecProxy, reg anytypes.InterfaceRegistry) *cobra.Command
- func (AppModuleBasic) Name() string
- func (b AppModuleBasic) RegisterCodec(codec *codec.Codec)
- func (b AppModuleBasic) RegisterGRPCGatewayRoutes(ctx cliCtx.CLIContext, mux *runtime.ServeMux)
- func (b AppModuleBasic) RegisterInterfaces(registry anytypes.InterfaceRegistry)
- func (b AppModuleBasic) RegisterRESTRoutes(context cliCtx.CLIContext, router *mux.Router)
- func (b AppModuleBasic) RegisterRouterForGRPC(cliCtx cliCtx.CLIContext, r *mux.Router)
- func (b AppModuleBasic) ValidateGenesis(message json.RawMessage) error
- type IBCMiddleware
- func (im IBCMiddleware) GetAppVersion(ctx sdk.Context, portID, channelID string) (string, bool)
- func (im IBCMiddleware) NegotiateAppVersion(ctx sdk.Context, order channeltypes.Order, connectionID string, portID string, ...) (version string, err error)
- func (im IBCMiddleware) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (im IBCMiddleware) OnChanCloseConfirm(ctx sdk.Context, portID, channelID string) error
- func (im IBCMiddleware) OnChanCloseInit(ctx sdk.Context, portID, channelID string) error
- func (im IBCMiddleware) OnChanOpenAck(ctx sdk.Context, portID, channelID string, counterpartyChannelID string, ...) error
- func (im IBCMiddleware) OnChanOpenConfirm(ctx sdk.Context, portID, 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, ...) (string, 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, packet exported.PacketI) error
- func (im IBCMiddleware) WriteAcknowledgement(ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ...) error
Constants ¶
This section is empty.
Variables ¶
var (
ModuleCdc = types.ModuleCdc
)
Functions ¶
Types ¶
type AppModule ¶
type AppModule struct { *common.Veneus3BaseUpgradeModule AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func (AppModule) BeginBlock ¶
func (a AppModule) BeginBlock(s sdk.Context, block abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(s sdk.Context, block abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (a AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(s sdk.Context, message json.RawMessage) []abci.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) QuerierRoute ¶
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(cfg module.Configurator)
func (AppModule) RegisterTask ¶
func (a AppModule) RegisterTask() upgrade.HeightTask
type AppModuleBasic ¶
type AppModuleBasic struct{}
AppModuleBasic is the 29-fee AppModuleBasic
func (AppModuleBasic) DefaultGenesis ¶
func (b AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (b AppModuleBasic) GetQueryCmd(codec *codec.Codec) *cobra.Command
func (AppModuleBasic) GetQueryCmdV2 ¶
func (b AppModuleBasic) GetQueryCmdV2(cdc *codec.CodecProxy, reg anytypes.InterfaceRegistry) *cobra.Command
func (AppModuleBasic) GetTxCmd ¶
func (b AppModuleBasic) GetTxCmd(codec *codec.Codec) *cobra.Command
func (AppModuleBasic) GetTxCmdV2 ¶
func (b AppModuleBasic) GetTxCmdV2(cdc *codec.CodecProxy, reg anytypes.InterfaceRegistry) *cobra.Command
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name implements AppModuleBasic interface
func (AppModuleBasic) RegisterCodec ¶
func (b AppModuleBasic) RegisterCodec(codec *codec.Codec)
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (b AppModuleBasic) RegisterGRPCGatewayRoutes(ctx cliCtx.CLIContext, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (b AppModuleBasic) RegisterInterfaces(registry anytypes.InterfaceRegistry)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (b AppModuleBasic) RegisterRESTRoutes(context cliCtx.CLIContext, router *mux.Router)
func (AppModuleBasic) RegisterRouterForGRPC ¶
func (b AppModuleBasic) RegisterRouterForGRPC(cliCtx cliCtx.CLIContext, r *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (b AppModuleBasic) ValidateGenesis(message json.RawMessage) error
type IBCMiddleware ¶
type IBCMiddleware struct {
// contains filtered or unexported fields
}
IBCMiddleware implements the ICS26 callbacks for the fee middleware given the fee keeper and the underlying application.
func NewIBCMiddleware ¶
func NewIBCMiddleware(app porttypes.IBCModule, k keeper.Keeper) IBCMiddleware
NewIBCMiddleware creates a new IBCMiddlware given the keeper and underlying application
func (IBCMiddleware) GetAppVersion ¶
GetAppVersion returns the application version of the underlying application
func (IBCMiddleware) NegotiateAppVersion ¶
func (im IBCMiddleware) NegotiateAppVersion(ctx sdk.Context, order channeltypes.Order, connectionID string, portID string, counterparty channeltypes.Counterparty, proposedVersion string) (version string, err error)
func (IBCMiddleware) OnAcknowledgementPacket ¶
func (im IBCMiddleware) OnAcknowledgementPacket( ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress, ) error
OnAcknowledgementPacket implements the IBCMiddleware interface If fees are not enabled, this callback will default to the ibc-core packet callback
func (IBCMiddleware) OnChanCloseConfirm ¶
func (im IBCMiddleware) OnChanCloseConfirm( ctx sdk.Context, portID, channelID string, ) error
OnChanCloseConfirm implements the IBCMiddleware interface
func (IBCMiddleware) OnChanCloseInit ¶
func (im IBCMiddleware) OnChanCloseInit( ctx sdk.Context, portID, channelID string, ) error
OnChanCloseInit implements the IBCMiddleware interface
func (IBCMiddleware) OnChanOpenAck ¶
func (im IBCMiddleware) OnChanOpenAck( ctx sdk.Context, portID, channelID string, counterpartyChannelID string, counterpartyVersion string, ) error
OnChanOpenAck implements the IBCMiddleware interface
func (IBCMiddleware) OnChanOpenConfirm ¶
func (im IBCMiddleware) OnChanOpenConfirm( ctx sdk.Context, portID, channelID string, ) error
OnChanOpenConfirm implements the IBCMiddleware interface
func (IBCMiddleware) OnChanOpenInit ¶
func (im IBCMiddleware) OnChanOpenInit( ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID string, channelID string, chanCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version string, ) (string, error)
OnChanOpenInit implements the IBCMiddleware interface
func (IBCMiddleware) OnChanOpenTry ¶
func (im IBCMiddleware) OnChanOpenTry( ctx sdk.Context, order channeltypes.Order, connectionHops []string, portID, channelID string, chanCap *capabilitytypes.Capability, counterparty channeltypes.Counterparty, version string, counterpartyVersion string, ) (string, error)
OnChanOpenTry implements the IBCMiddleware interface If the channel is not fee enabled the underlying application version will be returned If the channel is fee enabled we merge the underlying application version with the ics29 version
func (IBCMiddleware) OnRecvPacket ¶
func (im IBCMiddleware) OnRecvPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) exported.Acknowledgement
OnRecvPacket implements the IBCMiddleware interface. If fees are not enabled, this callback will default to the ibc-core packet callback
func (IBCMiddleware) OnTimeoutPacket ¶
func (im IBCMiddleware) OnTimeoutPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) error
OnTimeoutPacket implements the IBCMiddleware interface If fees are not enabled, this callback will default to the ibc-core packet callback
func (IBCMiddleware) SendPacket ¶
func (im IBCMiddleware) SendPacket( ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ) error
SendPacket implements the ICS4 Wrapper interface
func (IBCMiddleware) WriteAcknowledgement ¶
func (im IBCMiddleware) WriteAcknowledgement( ctx sdk.Context, chanCap *capabilitytypes.Capability, packet exported.PacketI, ack exported.Acknowledgement, ) error
WriteAcknowledgement implements the ICS4 Wrapper interface