Expand description
§Models Module
Contains core data structures and type definitions for the relayer service.
Re-exports§
pub use relayer::SolanaAllowedTokensPolicy;
pub use relayer::SolanaFeePaymentStrategy;
pub use relayer::SolanaSwapStrategy;
pub use relayer::*;
pub use signer::*;
pub use types::*;
Modules§
- common_
codes - evm
- openzeppelin_
codes - relayer
- Relayer domain model and business logic.
- signer
- Core signer domain model and business logic.
- types
Structs§
- ApiResponse
- AppState
- Represents the application state, holding various repositories and services required for the application’s operation.
- Encoded
Serialized Transaction - EvmNetwork
- EvmTransaction
Data - EvmTransaction
Data Signature - EvmTransaction
Request - EvmTransaction
Response - FeeEstimate
Request Params - FeeEstimate
Result - GetFeatures
Enabled Request Params - GetFeatures
Enabled Result - GetSupported
Tokens Item - GetSupported
Tokens Request Params - GetSupported
Tokens Result - Json
RpcError - JSON-RPC 2.0 Error structure.
- Json
RpcRequest - JSON-RPC 2.0 Request structure.
- Json
RpcResponse - JSON-RPC 2.0 Response structure.
- Network
Repo Model - Network repository model representing a network configuration stored in the repository.
- Notification
- Notification model used by both config file and API
- Notification
Config - Configuration file representation of a notification
- Notification
Configs - Collection of notification configurations
- Notification
Create Request - Request structure for creating a new notification
- Notification
Repo Model - Notification
Response - Response structure for notification API endpoints
- Notification
Update Request - Request structure for updating an existing notification
- Open
Zeppelin Error Codes - Custom OpenZeppelin error codes for extended JSON-RPC functionality.
- Pagination
Meta - Pagination
Query - Plugin
Call Request - Plugin
Model - Prepare
Transaction Request Params - Prepare
Transaction Result - Relayer
Disabled Payload - RpcError
Codes - JSON-RPC 2.0 error codes as defined in the specification.
- Secret
String - Sign
AndSend Transaction Request Params - Sign
AndSend Transaction Result - Sign
Transaction Request Params - Sign
Transaction Result - Solana
DexPayload - Solana
Network - Solana
Transaction Data - Solana
Transaction Request - Solana
Transaction Response - Stellar
Network - Stellar
Transaction Data - Stellar
Transaction Request - Stellar
Transaction Response - Transaction
Failure Payload - Transaction
Repo Model - Transaction
Update Request - Transfer
Transaction Request Params - Transfer
Transaction Result - Webhook
Notification - Webhook
Response
Enums§
- Address
- Address
Error - ApiError
- Asset
Spec - Auth
Spec - Authorization specification for Soroban operations
- Contract
Source - Represents the source for contract creation
- EvmRpc
Request - EvmRpc
Result - Host
Function Spec - Represents different host function specifications
- Json
RpcId - Represents a JSON-RPC 2.0 ID value.
According to the spec, the ID can be a String or Number.
When used in
Option<JsonRpcId>
: Some(id) = actual ID, None = explicit null. - Memo
Spec - Network
Config Data - Network configuration data enum that can hold different network types.
- Network
Error - Network
RpcRequest - Network
RpcResult - Network
Transaction Data - Network
Transaction Request - Notification
Type - Notification type enum used by both config file and API
- Notification
Validation Error - Common validation errors for notifications
- Operation
Spec - Plain
OrEnv Value - Plain
OrEnv Value Error - Relayer
Error - Repository
Error - Signer
Error - Signer
Factory Error - Solana
Encoding Error - Solana
RpcMethod - Solana
RpcRequest - Solana
RpcResult - Solana
Transaction Status - Solana
Webhook RpcPayload - Stellar
Provider Error - Stellar
RpcRequest - Stellar
RpcResult - Stellar
Validation Error - Specific errors that can occur during Stellar transaction validation
- Transaction
Error - Transaction
Input - Represents different input types for Stellar transactions
- Transaction
Response - Transaction
Status - Wasm
Source - Represents different ways to provide WASM code
- Webhook
Payload
Traits§
Functions§
- convert_
to_ internal_ rpc_ request - Converts a raw JSON-RPC request to the internal NetworkRpcRequest format.
- produce_
relayer_ disabled_ payload - produce_
solana_ dex_ webhook_ payload - produce_
solana_ rpc_ webhook_ payload - Produces a notification payload for a Solana RPC webhook event
- produce_
transaction_ update_ notification_ payload - validate_
plain_ or_ env_ value
Type Aliases§
- Decorated
Signature - Default
AppState - Thin
Data AppState - type alias for the app state wrapped in a ThinData to avoid clippy warnings