mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
9137506a15
@ -122,7 +122,7 @@ get the idea - the compiler figures that out for you.
|
||||
.. index:: mapping
|
||||
|
||||
The next line, `mapping (address => uint) public balances;` also
|
||||
creates a public state variable, but it of a more complex datatype.
|
||||
creates a public state variable, but it is a more complex datatype.
|
||||
The type maps addresses to unsigned integers.
|
||||
Mappings can be seen as hashtables which are
|
||||
virtually initialized such that every possible key exists and is mapped to a
|
||||
|
@ -199,7 +199,7 @@ activate themselves.
|
||||
contract SimpleAuction {
|
||||
// Parameters of the auction. Times are either
|
||||
// absolute unix timestamps (seconds since 1970-01-01)
|
||||
// ore time periods in seconds.
|
||||
// or time periods in seconds.
|
||||
address public beneficiary;
|
||||
uint public auctionStart;
|
||||
uint public biddingTime;
|
||||
|
Loading…
Reference in New Issue
Block a user