Ether units are wei
, gwei
, ether
. Ether numbers without a postfix are assumed to be Wei
. Suffix of wei
, gwei
, ether
can be used to specify a subdenomination of ether.
- 1 wei = 1
- 1 gwei = 1e9
- 1 ether = 1e18
Time units include seconds
, minutes
, hours
, days
and weeks
. seconds
are the base unit, siffix can be applied to specify unit of time.
- 1 == 1 seconds
- 1 minutes == 60 seconds
- 1 hours == 60 minutes
- 1 days == 24 hours
- 1 weeks == 7 days
Ether and Time unit suffixes can not be applied to variables.