Module relayer

Source
Expand description

Relayer domain model and business logic.

This module provides the central Relayer type that represents relayers throughout the relayer system, including:

  • Domain Model: Core Relayer struct with validation and configuration
  • Business Logic: Update operations and validation rules
  • Error Handling: Comprehensive validation error types
  • Interoperability: Conversions between API, config, and repository representations

The relayer model supports multiple network types (EVM, Solana, Stellar) with network-specific policies and configurations.

Re-exports§

pub use request::*;
pub use repository::*;

Modules§

repository
request
Request models for relayer API endpoints.

Structs§

AllowedToken
AllowedTokenSwapConfig
ConfigFileRelayerEvmPolicy
ConfigFileRelayerSolanaPolicy
ConfigFileRelayerSolanaSwapConfig
ConfigFileRelayerStellarPolicy
DeletePendingTransactionsResponse
Response for delete pending transactions operation
EvmPolicyResponse
EVM policy response model for OpenAPI documentation
JupiterSwapOptions
Jupiter swap options
NetworkPolicyResponse
Network policy response models for OpenAPI documentation
Relayer
Core relayer domain model
RelayerEvmPolicy
EVM-specific relayer policy configuration
RelayerFileConfig
RelayerResponse
Relayer response model for API endpoints
RelayerSolanaPolicy
Solana-specific relayer policy configuration
RelayerSolanaSwapConfig
Solana swap policy configuration
RelayerStellarPolicy
Stellar-specific relayer policy configuration
RelayersFileConfig
RpcConfig
Configuration for an RPC endpoint.
SolanaAllowedTokensPolicy
Configuration for allowed token handling on Solana
SolanaAllowedTokensSwapConfig
Solana token swap configuration
SolanaPolicyResponse
Solana policy response model for OpenAPI documentation
StellarPolicyResponse
Stellar policy response model for OpenAPI documentation

Enums§

ConfigFileRelayerNetworkPolicy
ConfigFileRelayerSolanaSwapStrategy
ConfigFileSolanaFeePaymentStrategy
RelayerNetworkPolicy
Network-specific policy for relayers
RelayerNetworkPolicyResponse
Policy types for responses - these don’t include network_type tags since the network_type is already available at the top level of RelayerResponse
RelayerNetworkType
Network type enum for relayers
RelayerStatus
Relayer status with runtime information
RelayerValidationError
Validation errors for relayers
RpcConfigError
SolanaFeePaymentStrategy
Solana fee payment strategy
SolanaSwapStrategy
Solana swap strategy