pub fn has_metadata_hash(bytecode: &[u8]) -> bool
Returns whether the CBOR metadata at the end of the bytecode contains a metadata hash (ipfs, bzzr0 or bzzr1), which commits to the contract’s sources and compiler settings.
ipfs
bzzr0
bzzr1