Open federicobond opened 7 years ago
The child contract code is copied every time the Solidity compiler finds a new MyContract expression [1]. If you need to instantiate your contract in more than one location, write an internal helper function and proxy the construction through that.
new MyContract
[1]: May change with newer versions of Solidity.
The child contract code is copied every time the Solidity compiler finds a
new MyContract
expression [1]. If you need to instantiate your contract in more than one location, write an internal helper function and proxy the construction through that.[1]: May change with newer versions of Solidity.