1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
use anychain_core::Network;

pub mod ethereum;
pub use self::ethereum::*;

pub mod goerli;
pub use self::goerli::*;

pub mod ethereum_classic;
pub use self::ethereum_classic::*;

pub mod kotti;
pub use self::kotti::*;

pub mod polygon;
pub use self::polygon::*;

pub mod mumbai;
pub use self::mumbai::*;

pub mod avalanche;
pub use self::avalanche::*;

pub mod avalanche_testnet;
pub use self::avalanche_testnet::*;

pub mod arbitrum;
pub use self::arbitrum::*;

pub mod arbitrum_goerli;
pub use self::arbitrum_goerli::*;

pub mod optimism;
pub use self::optimism::*;

pub mod optimism_goerli;
pub use self::optimism_goerli::*;

pub mod base;
pub use self::base::*;

pub mod base_goerli;
pub use self::base_goerli::*;

pub mod huobi_eco;
pub use self::huobi_eco::*;

pub mod huobi_eco_testnet;
pub use self::huobi_eco_testnet::*;

pub mod binance_smart_chain;
pub use self::binance_smart_chain::*;

pub mod binance_smart_chain_testnet;
pub use self::binance_smart_chain_testnet::*;

pub mod okex;
pub use self::okex::*;

pub mod okex_testnet;
pub use self::okex_testnet::*;

/// The interface for an Ethereum network.
pub trait EthereumNetwork: Network {
    const CHAIN_ID: u32;
    const NETWORK_ID: u32;
}