Trait ethers_core::abi::AbiEncode
source · pub trait AbiEncode {
fn encode(self) -> Vec<u8> ⓘ;
fn encode_hex(self) -> String
where
Self: Sized,
{ ... }
}
Expand description
Trait for ABI encoding
Required Methods§
Provided Methods§
sourcefn encode_hex(self) -> Stringwhere
Self: Sized,
fn encode_hex(self) -> Stringwhere
Self: Sized,
Returns the encoded value as hex string, with a 0x
prefix