1

When it comes to bytecode solc has three types of outputs:

--bin                Binary of the contracts in hex.
--bin-runtime        Binary of the runtime part of the contracts in hex.
--clone-bin          Binary of the clone contracts in hex.

The first two are clear and were explained in detail here, but I can't find anything about clone-bin. What is it for?

Ivan
  • 277
  • 2
  • 10

1 Answers1

2

I think it's the same as --bin but for a cloned contract. a cloned contract is a clone created based on another contract's bytecode. checkout this clone factory : https://github.com/optionality/clone-factory to get an idea.

Badr Bellaj
  • 18,780
  • 4
  • 58
  • 75