Crate mesc

Source
Expand description

MESC is a way for all of the tools on a system to share an rpc config

Modules§

directory
directory matching chain_id’s to network names
load
load module
metadata
metadata
network_names
Default mapping between chain_id’s and network names
overrides
overrides module
query
queries module
write
write module

Structs§

ChainId
ChainId is a string representation of an integer chain id
DefaultEndpointQuery
DefaultEndpointQuery
Endpoint
Endpoint
EndpointNameQuery
EndpointNameQuery
EndpointNetworkQuery
EndpointNetworkQuery
EndpointQuery
EndpointQuery
GlobalMetadataQuery
GlobalMetadataQuery
MescQuery
MescQuery
MultiEndpointQuery
Multi Endpoint Query
Profile
Profile
RpcConfig
RpcConfig
UserInputQuery
UserInputQuery

Enums§

ConfigMode
ConfigMode
EndpointQueryFields
EndpointQueryFields
EndpointQueryType
EndpointQueryType
MescError
Errors related to MESC operations.
MescQueryFields
MescQueryFields
MescQueryType
MescQueryType

Traits§

TryIntoChainId
use custom trait instead of TryInto so that Error type is always the same

Functions§

find_endpoints
find endpoints
get_default_endpoint
get default endpoint
get_endpoint_by_name
get endpoint by name
get_endpoint_by_network
get endpoint by network
get_endpoint_by_query
parse user query
get_global_metadata
get global metadata
is_mesc_enabled
check whether mesc is enabled