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§
- Allowed
Token - Allowed
Token Swap Config - Config
File Relayer EvmPolicy - Config
File Relayer Solana Policy - Config
File Relayer Solana Swap Config - Config
File Relayer Stellar Policy - Delete
Pending Transactions Response - Response for delete pending transactions operation
- EvmPolicy
Response - EVM policy response model for OpenAPI documentation
- Jupiter
Swap Options - Jupiter swap options
- Network
Policy Response - Network policy response models for OpenAPI documentation
- Relayer
- Core relayer domain model
- Relayer
EvmPolicy - EVM-specific relayer policy configuration
- Relayer
File Config - Relayer
Response - Relayer response model for API endpoints
- Relayer
Solana Policy - Solana-specific relayer policy configuration
- Relayer
Solana Swap Config - Solana swap policy configuration
- Relayer
Stellar Policy - Stellar-specific relayer policy configuration
- Relayers
File Config - RpcConfig
- Configuration for an RPC endpoint.
- Solana
Allowed Tokens Policy - Configuration for allowed token handling on Solana
- Solana
Allowed Tokens Swap Config - Solana token swap configuration
- Solana
Policy Response - Solana policy response model for OpenAPI documentation
- Stellar
Policy Response - Stellar policy response model for OpenAPI documentation
Enums§
- Config
File Relayer Network Policy - Config
File Relayer Solana Swap Strategy - Config
File Solana FeePayment Strategy - Relayer
Network Policy - Network-specific policy for relayers
- Relayer
Network Policy Response - Policy types for responses - these don’t include network_type tags since the network_type is already available at the top level of RelayerResponse
- Relayer
Network Type - Network type enum for relayers
- Relayer
Status - Relayer status with runtime information
- Relayer
Validation Error - Validation errors for relayers
- RpcConfig
Error - Solana
FeePayment Strategy - Solana fee payment strategy
- Solana
Swap Strategy - Solana swap strategy