aboutsummaryrefslogtreecommitdiffstats
path: root/std/service
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-08-17 03:10:40 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-08-19 22:34:50 +0800
commitbf430709d531bdc066a13f1b638f7fb8c63caf67 (patch)
tree974fcae1f886db0e9e3662e2f063451344e926de /std/service
parente00f802f725e284af453d70a48d450a4d5c9925e (diff)
downloaddexon-solidity-bf430709d531bdc066a13f1b638f7fb8c63caf67.tar
dexon-solidity-bf430709d531bdc066a13f1b638f7fb8c63caf67.tar.gz
dexon-solidity-bf430709d531bdc066a13f1b638f7fb8c63caf67.tar.bz2
dexon-solidity-bf430709d531bdc066a13f1b638f7fb8c63caf67.tar.lz
dexon-solidity-bf430709d531bdc066a13f1b638f7fb8c63caf67.tar.xz
dexon-solidity-bf430709d531bdc066a13f1b638f7fb8c63caf67.tar.zst
dexon-solidity-bf430709d531bdc066a13f1b638f7fb8c63caf67.zip
Add back standard contracts
Diffstat (limited to 'std/service')
-rw-r--r--std/service8
1 files changed, 8 insertions, 0 deletions
diff --git a/std/service b/std/service
new file mode 100644
index 00000000..31ef8da7
--- /dev/null
+++ b/std/service
@@ -0,0 +1,8 @@
+import "Config";
+import "configUser";
+
+contract service is configUser {
+ function service(uint _n) {
+ Config(configAddr()).register(_n, this);
+ }
+}