Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRelayerAdapter ¶ added in v2.2.0
func NewRelayerAdapter(r types.Relayer, e RelayerExt) loop.Relayer
NewRelayerAdapter returns a loop.Relayer adapted from a types.Relayer and RelayerExt. Unlike NewRelayerServerAdapter which is used to adapt non-LOOPP relayers, this is used to adapt LOOPP-based relayer which are then server over GRPC (by the relayerServer).
func NewRelayerServerAdapter ¶ added in v2.6.0
func NewRelayerServerAdapter(r types.Relayer, e RelayerExt) loop.Relayer
NewRelayerServerAdapter returns a loop.Relayer adapted from a types.Relayer and RelayerExt. Unlike NewRelayerAdapter, this behaves like the loop `RelayerServer` and dispatches calls to `NewPluginProvider` according to the passed in `RelayArgs.ProviderType`. This should only be used to adapt relayers not running via GRPC in a LOOPP.
nolint:staticcheck // SA1019
Types ¶
type ID ¶ added in v2.5.0
ID uniquely identifies a relayer by network and chain id
func (*ID) UnmarshalString ¶ added in v2.5.0
type RelayerExt ¶ added in v2.2.0
type RelayerExt interface { types.ChainService ID() string }
RelayerExt is a subset of loop.Relayer for adapting types.Relayer, typically with a Chain. See [relayerAdapter].