mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
FAQ: remove create example (already explained elsewhere
This commit is contained in:
parent
fcba4d927c
commit
c6e7475f05
@ -539,16 +539,6 @@ Use the constructor. Anything inside it will be executed when the contract is fi
|
|||||||
|
|
||||||
See `replicator.sol <https://github.com/fivedogit/solidity-baby-steps/blob/master/contracts/50_replicator.sol>`_.
|
See `replicator.sol <https://github.com/fivedogit/solidity-baby-steps/blob/master/contracts/50_replicator.sol>`_.
|
||||||
|
|
||||||
Can a contract create another contract?
|
|
||||||
=======================================
|
|
||||||
|
|
||||||
Yes, see `replicator.sol <https://github.com/fivedogit/solidity-baby-steps/blob/master/contracts/50_replicator.sol>`_.
|
|
||||||
|
|
||||||
Note that the full code of the created contract has to be included in the creator contract.
|
|
||||||
This also means that cyclic creations are not possible (because the contract would have
|
|
||||||
to contain its own code) - at least not in a general way.
|
|
||||||
|
|
||||||
|
|
||||||
How do you create 2-dimensional arrays?
|
How do you create 2-dimensional arrays?
|
||||||
=======================================
|
=======================================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user