aboutsummaryrefslogtreecommitdiffstats
path: root/std
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-08-19 22:49:50 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-08-19 23:03:14 +0800
commite25fcecaf4de63774b29ccabc456b4cbf38f8425 (patch)
tree3b9f9fe8f32391543ad20c3a18210d14e203d1de /std
parente91e945933eb66d8556b4af1fef657a5f86a7167 (diff)
downloaddexon-solidity-e25fcecaf4de63774b29ccabc456b4cbf38f8425.tar.gz
dexon-solidity-e25fcecaf4de63774b29ccabc456b4cbf38f8425.tar.zst
dexon-solidity-e25fcecaf4de63774b29ccabc456b4cbf38f8425.zip
Rename to StandardToken
Diffstat (limited to 'std')
-rw-r--r--std/StandardToken (renamed from std/ExampleToken)4
-rw-r--r--std/std2
2 files changed, 3 insertions, 3 deletions
diff --git a/std/ExampleToken b/std/StandardToken
index 6d617199..a83b599f 100644
--- a/std/ExampleToken
+++ b/std/StandardToken
@@ -1,12 +1,12 @@
import "./Token";
-contract ExampleToken is Token {
+contract StandardToken is Token {
uint256 tokenSupply;
mapping (address => uint256) balances;
mapping (address =>
mapping (address => uint256)) approvedTransfers;
- function ExampleToken(address _initialOwner, uint256 _supply) {
+ function StandardToken(address _initialOwner, uint256 _supply) {
tokenSupply = _supply;
balances[_initialOwner] = _supply;
}
diff --git a/std/std b/std/std
index 785dc1ce..d5ce157e 100644
--- a/std/std
+++ b/std/std
@@ -1,4 +1,4 @@
import "./owned";
import "./mortal";
import "./Token";
-import "./ExampleToken";
+import "./StandardToken";