Module webb_relayer::handler
source · [−]Expand description
A module containing a collection of executable routines.
Structs
Representation for IP address response
A wrapper type around [I256] that implements a correct way for Serialize and Deserialize.
Enums
Enumerates the supported commands for chain specific relayers
Enumerates the command responses
Enumerates the supported protocols for relaying transactions
Enumerates the network status response of the relayer
Enumerates the withdraw status response of the relayer
Functions
Sets up a websocket connection.
Calculates the fee for a given transaction
Handles the command prompts for EVM and Substrate chains
Handler for EVM commands
Handles the ip address response
Handles leaf data requests for evm
Handles leaf data requests for substrate
Handles relayer configuration requests
Handles the socket address response
Handler for Substrate commands
Sets up a websocket channels for message sending.
A helper function to extract the error code and the reason from EVM errors.
Type Definitions
Type alias for mpsc::Sender
The command type for EVM txes
The command type for Substrate pallet txes