Type Definition evm_coder::types::Bytes4

source ·
pub type Bytes4 = [u8; 4];

Trait Implementations§

source§

impl AbiRead for Bytes4

source§

fn abi_read(reader: &mut AbiReader<'_>) -> Result<Bytes4>

Read item from current position, advanding decoder Read more
source§

impl AbiType for Bytes4

source§

const SIGNATURE: SignatureUnit = _

Signature for Ethereum ABI.
source§

fn is_dynamic() -> bool

Is type dynamic sized.
source§

fn size() -> usize

Size for type aligned to ABI_ALIGNMENT.
source§

fn as_str() -> &'static str

Signature as str.
source§

impl CanBePlacedInVec for Bytes4