Function ethers_solc::utils::library_hash[][src]

pub fn library_hash(name: impl AsRef<[u8]>) -> [u8; 17]
Expand description

Returns the library placeholder for the given name The placeholder is a 34 character prefix of the hex encoding of the keccak256 hash of the fully qualified library name.

See also https://docs.soliditylang.org/en/develop/using-the-compiler.html#library-linking