Documentation
¶
Index ¶
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, state *types.GenesisState)
- func NewHandler(k keeper.Keeper) sdk.Handler
- func NewProposalHandler(k keeper.Keeper) govtypes.Handler
- func ValidateAssetChannelParams(ctx sdk.Context, keeper keeper.Keeper, order ibcchanneltypes.Order, ...) error
- type AppModule
- func (a AppModule) BeginBlock(_ sdk.Context, _ abcitypes.RequestBeginBlock)
- func (a AppModule) ConsensusVersion() uint64
- func (a AppModule) EndBlock(_ sdk.Context, _ abcitypes.RequestEndBlock) []abcitypes.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage
- func (a AppModule) GenerateGenesisState(_ *module.SimulationState)
- func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, message json.RawMessage) []abcitypes.ValidatorUpdate
- func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
- func (a AppModule) NegotiateAppVersion(ctx sdk.Context, order ibcchanneltypes.Order, connectionID string, ...) (version string, err error)
- func (a AppModule) OnAcknowledgementPacket(ctx sdk.Context, packet ibcchanneltypes.Packet, acknowledgement []byte, ...) error
- func (a AppModule) OnChanCloseConfirm(_ sdk.Context, _, _ string) error
- func (a AppModule) OnChanCloseInit(_ sdk.Context, _, _ string) error
- func (a AppModule) OnChanOpenAck(ctx sdk.Context, _, _, counterpartyVersion string) error
- func (a AppModule) OnChanOpenConfirm(_ sdk.Context, _, _ string) error
- func (a AppModule) OnChanOpenInit(ctx sdk.Context, order ibcchanneltypes.Order, _ []string, ...) error
- func (a AppModule) OnChanOpenTry(ctx sdk.Context, order ibcchanneltypes.Order, _ []string, ...) error
- func (a AppModule) OnRecvPacket(ctx sdk.Context, packet ibcchanneltypes.Packet, _ sdk.AccAddress) ibcexported.Acknowledgement
- func (a AppModule) OnTimeoutPacket(ctx sdk.Context, packet ibcchanneltypes.Packet, relayer sdk.AccAddress) error
- func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalContent
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RandomizedParams(_ *rand.Rand) []simulation.ParamChange
- func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(configurator module.Configurator)
- func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
- func (a AppModule) Route() sdk.Route
- func (a AppModule) WeightedOperations(_ module.SimulationState) []simulation.WeightedOperation
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (a AppModuleBasic) GetQueryCmd() *cobra.Command
- func (a AppModuleBasic) GetTxCmd() *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
- func (a AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, message json.RawMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportGenesis ¶
func InitGenesis ¶
Types ¶
type AppModule ¶
type AppModule struct {
AppModuleBasic
// contains filtered or unexported fields
}
func (AppModule) BeginBlock ¶
func (a AppModule) BeginBlock(_ sdk.Context, _ abcitypes.RequestBeginBlock)
func (AppModule) ConsensusVersion ¶
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(_ sdk.Context, _ abcitypes.RequestEndBlock) []abcitypes.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (AppModule) GenerateGenesisState ¶
func (a AppModule) GenerateGenesisState(_ *module.SimulationState)
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, message json.RawMessage) []abcitypes.ValidatorUpdate
func (AppModule) LegacyQuerierHandler ¶
func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
func (AppModule) NegotiateAppVersion ¶ added in v0.1.0
func (a AppModule) NegotiateAppVersion(ctx sdk.Context, order ibcchanneltypes.Order, connectionID string, portID string, counterparty ibcchanneltypes.Counterparty, proposedVersion string) (version string, err error)
func (AppModule) OnAcknowledgementPacket ¶
func (a AppModule) OnAcknowledgementPacket(ctx sdk.Context, packet ibcchanneltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress) error
func (AppModule) OnChanCloseConfirm ¶
func (AppModule) OnChanCloseInit ¶
func (AppModule) OnChanOpenAck ¶
func (AppModule) OnChanOpenConfirm ¶
func (AppModule) OnChanOpenInit ¶
func (a AppModule) OnChanOpenInit( ctx sdk.Context, order ibcchanneltypes.Order, _ []string, portID, channelID string, capability *capabilitytypes.Capability, _ ibcchanneltypes.Counterparty, channelVersion string, ) error
func (AppModule) OnChanOpenTry ¶
func (a AppModule) OnChanOpenTry( ctx sdk.Context, order ibcchanneltypes.Order, _ []string, portID, channelID string, capability *capabilitytypes.Capability, _ ibcchanneltypes.Counterparty, channelVersion, counterpartyVersion string, ) error
func (AppModule) OnRecvPacket ¶
func (a AppModule) OnRecvPacket( ctx sdk.Context, packet ibcchanneltypes.Packet, _ sdk.AccAddress, ) ibcexported.Acknowledgement
func (AppModule) OnTimeoutPacket ¶
func (a AppModule) OnTimeoutPacket(ctx sdk.Context, packet ibcchanneltypes.Packet, relayer sdk.AccAddress) error
func (AppModule) ProposalContents ¶
func (a AppModule) ProposalContents(_ module.SimulationState) []simulation.WeightedProposalContent
func (AppModule) QuerierRoute ¶
func (AppModule) RandomizedParams ¶
func (a AppModule) RandomizedParams(_ *rand.Rand) []simulation.ParamChange
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(configurator module.Configurator)
func (AppModule) RegisterStoreDecoder ¶
func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
func (AppModule) WeightedOperations ¶
func (a AppModule) WeightedOperations(_ module.SimulationState) []simulation.WeightedOperation
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
func NewAppModuleBasic ¶
func NewAppModuleBasic(cdc codec.BinaryCodec) AppModuleBasic
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (a AppModuleBasic) GetQueryCmd() *cobra.Command
func (AppModuleBasic) GetTxCmd ¶
func (a AppModuleBasic) GetTxCmd() *cobra.Command
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (a AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (a AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, message json.RawMessage) error
Click to show internal directories.
Click to hide internal directories.