Skip to main content

has_metadata_hash

Function has_metadata_hash 

Source
pub fn has_metadata_hash(bytecode: &[u8]) -> bool
Expand description

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.