coordinator

package
v0.0.0-...-3a28d7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProviderProposalHandler

func NewProviderProposalHandler(k keeper.Keeper) govtypes.Handler

Types

type AppModule

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

func NewAppModule

func NewAppModule(cdc codec.Codec, keeper keeper.Keeper) AppModule

func (AppModule) BeginBlock

BeginBlock implements module.BeginBlockAppModule

func (AppModule) ConsensusVersion

func (AppModule) ConsensusVersion() uint64

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

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

func (AppModule) OnChanCloseConfirm(ctx sdk.Context, portID string, channelID string) error

OnChanCloseConfirm implements types.IBCModule

func (AppModule) OnChanCloseInit

func (AppModule) OnChanCloseInit(ctx sdk.Context, portID string, channelID string) error

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

func (am AppModule) OnChanOpenConfirm(ctx sdk.Context, portID string, channelID string) error

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

func (AppModule) QuerierRoute() string

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

ValidateGenesis implements module.AppModuleBasic

type IBCTransferMiddleware

type IBCTransferMiddleware struct {
	// contains filtered or unexported fields
}

Middleware just warp IBCTransferModule

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

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

Directories

Path Synopsis
client
cli
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL