diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-16 06:04:01 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-19 21:02:50 +0800 |
commit | 5f89e1a2ac14535c8e245a0823303b046a963b65 (patch) | |
tree | 5fdfbee6f2b968419afb87241b9b1b7cc59b464e /docs/contracts.rst | |
parent | f8795afc707b51e48939b86504ec84a41f464dc7 (diff) | |
download | dexon-solidity-5f89e1a2ac14535c8e245a0823303b046a963b65.tar dexon-solidity-5f89e1a2ac14535c8e245a0823303b046a963b65.tar.gz dexon-solidity-5f89e1a2ac14535c8e245a0823303b046a963b65.tar.bz2 dexon-solidity-5f89e1a2ac14535c8e245a0823303b046a963b65.tar.lz dexon-solidity-5f89e1a2ac14535c8e245a0823303b046a963b65.tar.xz dexon-solidity-5f89e1a2ac14535c8e245a0823303b046a963b65.tar.zst dexon-solidity-5f89e1a2ac14535c8e245a0823303b046a963b65.zip |
Merge the constructor sections
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r-- | docs/contracts.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index 2fa161d8..7f8ace44 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -20,6 +20,9 @@ Contracts can be created "from outside" or from Solidity contracts. When a contract is created, its constructor (a function with the same name as the contract) is executed once. +A constructor is optional. Only one constructor is allowed and this means +overloading is not supported. + From ``web3.js``, i.e. the JavaScript API, this is done as follows:: |