diff options
-rw-r--r-- | docs/introduction-to-smart-contracts.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/introduction-to-smart-contracts.rst b/docs/introduction-to-smart-contracts.rst index 1af2014c..d022004e 100644 --- a/docs/introduction-to-smart-contracts.rst +++ b/docs/introduction-to-smart-contracts.rst @@ -118,9 +118,11 @@ that is publicly accessible. The ``address`` type is a 160-bit value that does not allow any arithmetic operations. It is suitable for storing addresses of contracts or keypairs belonging to external persons. The keyword ``public`` automatically generates a function that -allows you to access the current value of the state variable. -Without this keyword, other contracts have no way to access the variable, - but raw implementation would look something like this:: +allows you to access the current value of the state variable +from outside of the contract. +Without this keyword, other contracts have no way to access the variable. +The code of the function generated by the compiler is roughly equivalent +to the following:: function minter() returns (address) { return minter; } |