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?

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.