alloy_primitives::aliases

Type Alias U256

Source
pub type U256 = Uint<256, 4>;
Expand description

256-bit unsigned integer type, consisting of 4, 64-bit limbs.

Aliased Type§

struct U256 { /* private fields */ }

Trait Implementations§

Source§

impl From<FixedBytes<32>> for U256

Source§

fn from(value: B256) -> Self

Converts a fixed byte array into a fixed-width unsigned integer by interpreting the bytes as big-endian.

Source§

impl From<ParseUnits> for U256

Source§

fn from(value: ParseUnits) -> Self

Converts to this type from the input type.