pub trait ToEtherHex {
// Required methods
fn to_eth_hex(&self) -> String;
fn to_eth_value_hex(&self) -> String;
}
Expand description
Implement this trait to support serialize type
to ethereum hex string, “0x…”
pub trait ToEtherHex {
// Required methods
fn to_eth_hex(&self) -> String;
fn to_eth_value_hex(&self) -> String;
}
Implement this trait to support serialize type
to ethereum hex string, “0x…”