Type Alias reth::core::primitives::alloy_primitives::aliases::Selector

pub type Selector = FixedBytes<4>;
Expand description

Solidity contract functions are addressed using the first four bytes of the Keccak-256 hash of their signature.

Aliased Type§

struct Selector(pub [u8; 4]);

Fields§

§0: [u8; 4]

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes