mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update introduction-to-smart-contracts.rst
This commit is contained in:
parent
dc154b4e56
commit
dfac04d139
@ -119,8 +119,8 @@ 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.
|
||||
The function will look something like this::
|
||||
Without this keyword, other contracts have no way to access the variable,
|
||||
but raw implementation would look something like this::
|
||||
|
||||
function minter() returns (address) { return minter; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user