diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2019-04-24 13:34:19 +0800 |
---|---|---|
committer | Hsuan Lee <boczeratul@gmail.com> | 2019-04-24 13:34:19 +0800 |
commit | 5b760cdcbe2724338b6ae53366eeb353bd5638c0 (patch) | |
tree | d6d62c4b75e1cb8c5615475a2aa19074035d8bc5 | |
parent | ea04ea354794ceca0425cc27751ad6c305c98aa6 (diff) | |
download | dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.gz dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.bz2 dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.lz dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.xz dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.tar.zst dexon-wiki-5b760cdcbe2724338b6ae53366eeb353bd5638c0.zip |
Add more hint to time constants
-rw-r--r-- | API.md | 1 | ||||
-rw-r--r-- | Migrate-from-Ethereum.md | 2 | ||||
-rw-r--r-- | websocket-api.md | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -0,0 +1 @@ +# API diff --git a/Migrate-from-Ethereum.md b/Migrate-from-Ethereum.md index 1732343..832dfbc 100644 --- a/Migrate-from-Ethereum.md +++ b/Migrate-from-Ethereum.md @@ -22,7 +22,7 @@ contract Time { ``` calling `getNow()` of the contract returns a time in `milliseconds` in DEXON, while in Ethereum, a time in `seconds` is returned. -Also, the time constants in DEXON's Solidity is also change accordingly. +Also, the time constants in DEXON's Solidity is also change accordingly (**dsolidity >0.5.3**). - `1 second` yields `1000` - `1 minute` yields `60000` - `1 hour` yields `3600000` diff --git a/websocket-api.md b/websocket-api.md new file mode 100644 index 0000000..a6e1a03 --- /dev/null +++ b/websocket-api.md @@ -0,0 +1 @@ +# WebSocket API |