anychain_ethereum/format.rs
1use anychain_core::Format;
2
3use core::fmt;
4
5/// Represents the format of a Ethereum address
6#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
7pub enum EthereumFormat {
8 Standard,
9}
10
11impl Format for EthereumFormat {}
12
13impl fmt::Display for EthereumFormat {
14 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
15 write!(f, "Standard")
16 }
17}