pub fn strip_bytecode_placeholders(bytecode: &BytecodeObject) -> Option<Bytes>
Expand description
Strips all $xxx$ placeholders from the bytecode if it’s an unlinked bytecode. by replacing them with 20 zero bytes. This is useful for matching bytecodes to a contract source, and for the source map, in which the actual address of the placeholder isn’t important.