anychain_ethereum/network/
mod.rs

1use anychain_core::Network;
2
3pub mod ethereum;
4pub use self::ethereum::*;
5
6pub mod goerli;
7pub use self::goerli::*;
8
9pub mod sepolia;
10pub use self::sepolia::*;
11
12pub mod ethereum_classic;
13pub use self::ethereum_classic::*;
14
15pub mod kotti;
16pub use self::kotti::*;
17
18pub mod polygon;
19pub use self::polygon::*;
20
21pub mod mumbai;
22pub use self::mumbai::*;
23
24pub mod amoy;
25pub use self::amoy::*;
26
27pub mod avalanche;
28pub use self::avalanche::*;
29
30pub mod avalanche_testnet;
31pub use self::avalanche_testnet::*;
32
33pub mod arbitrum;
34pub use self::arbitrum::*;
35
36pub mod arbitrum_goerli;
37pub use self::arbitrum_goerli::*;
38
39pub mod optimism;
40pub use self::optimism::*;
41
42pub mod optimism_goerli;
43pub use self::optimism_goerli::*;
44
45pub mod base;
46pub use self::base::*;
47
48pub mod base_goerli;
49pub use self::base_goerli::*;
50
51pub mod huobi_eco;
52pub use self::huobi_eco::*;
53
54pub mod huobi_eco_testnet;
55pub use self::huobi_eco_testnet::*;
56
57pub mod binance_smart_chain;
58pub use self::binance_smart_chain::*;
59
60pub mod binance_smart_chain_testnet;
61pub use self::binance_smart_chain_testnet::*;
62
63pub mod okex;
64pub use self::okex::*;
65
66pub mod okex_testnet;
67pub use self::okex_testnet::*;
68
69pub mod opbnb;
70pub use self::opbnb::*;
71
72pub mod opbnb_testnet;
73pub use self::opbnb_testnet::*;
74
75/// The interface for an Ethereum network.
76pub trait EthereumNetwork: Network {
77    const CHAIN_ID: u32;
78    const NETWORK_ID: u32;
79}