summaryrefslogtreecommitdiffhomepage
path: root/solidity.html.markdown
diff options
context:
space:
mode:
authorshooter <shooter.hero@gmail.com>2018-12-25 15:05:13 +0800
committershooter <shooter.hero@gmail.com>2018-12-25 15:08:20 +0800
commit84f9aa47fce4e2ac0b2b22d5077426fe1162b027 (patch)
tree432bb5013c6c18a638a6af213cad089b413799c0 /solidity.html.markdown
parent484e1325ef5c1cda1298b82c64252405e57d6a98 (diff)
update chinese version content
Diffstat (limited to 'solidity.html.markdown')
-rw-r--r--solidity.html.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown
index d3f70623..d215180d 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -5,6 +5,7 @@ contributors:
- ["Nemil Dalal", "https://www.nemil.com"]
- ["Joseph Chow", ""]
- ["Bhoomtawath Plinsut", "https://github.com/varshard"]
+ - ["Shooter", "https://github.com/liushooter"]
---
Solidity lets you program on [Ethereum](https://www.ethereum.org/), a
@@ -237,7 +238,7 @@ uint x[][5]; // arr with 5 dynamic array elements (opp order of most languages)
// Dictionaries (any type to any other type)
mapping (string => uint) public balances;
balances["charles"] = 1;
-// balances["ada"] is 0, all non-set key values return zeroes
+// balances["ada"] result is 0, all non-set key values return zeroes
// 'public' allows following from another contract
contractName.balances("charles"); // returns 1
// 'public' created a getter (but not setter) like the following: