pub trait AbiEncode {
    fn encode(self) -> Vec<u8> ;

    fn encode_hex(self) -> String
    where
        Self: Sized
, { ... } }
Expand description

Trait for ABI encoding

Required Methods§

ABI encode the type

Provided Methods§

Returns the encoded value as hex string, with a 0x prefix

Implementations on Foreign Types§

Implementors§