alloy_primitives::aliases

Type Alias Selector

Source
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]