pub type B160 = FixedBytes<20>;
👎Deprecated since 0.3.2: you likely want to use
Address
instead. B160
and Address
are different types, see this type’s documentation for more.Expand description
20-byte fixed byte-array type.
You’ll likely want to use Address
instead, as it is a different type
from FixedBytes<20>
, and implements methods useful for working with
Ethereum addresses.
If you are sure you want to use this type, and you don’t want the
deprecation warning, you can use aliases::B160
.
Aliased Type§
struct B160(pub [u8; 20]);
Fields§
§0: [u8; 20]