Commit 6ba1b058 authored by Eugene Koinov's avatar Eugene Koinov
Browse files

docs

parent dafc1892
......@@ -37,13 +37,24 @@ Now you can read variables from Vestign contract. Please choose function from li
Following functions will provide you with complete set of information:
getAmount(address) -> amount of EMRX granted to you.
getAmount(address) -> amount of EMRX granted to you (To calculate number of EMRX tokens please divide this number to 100000000).
getAvailable(address) -> amount of EMRX available for withdrawal (To calculate number of EMRX tokens please divide this number to 100000000).
getPeriod(address) -> Number of days in your Vesting period
getReleasePeriods(address) -> Number of releases during the period. 1000 EMRX tokens vested for 100 days with 50 release periods means 10 EMRX will be available for withdrawal each 2 days.
getReleasePeriods(address) -> Number of releases during the period.
```
1000 EMRX tokens (100000000000 in terams for getAmount and getAvailable) vested for 100 days with 50 release periods means 20 EMRX will be available for withdrawal each 2 days.
````
getCurrentPeriod(address) - > current period
```
For example above current period equal to 10 means you can withdraw 200 EMRX.
```
getStartTime(address) -> start of vesting period in Seconds from 1 Jan 1970 (UNIX timestamp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment