EthereumCommonwealth / etherwallet

Ethereum Classic blockchain interaction web tool.
https://ethereumproject.github.io/etherwallet/
BSD 4-Clause "Original" or "Old" License
14 stars 17 forks source link

staker() time #296

Closed j-chimienti closed 4 years ago

j-chimienti commented 5 years ago
screen shot 2018-11-07 at 4 10 26 pm

seems staker().time returning current time, not staking time

Dexaran commented 5 years ago

staker.time returns the timestamp of the last action of a given staker address.

It seems that everything is fine with my address 0x01000b5fe61411c466b70631d7ff070187179bbf

The timestamp 1540732910 is 10/28/2018

Last TX timestamp is also 10/28/2018: https://explorer-testnet.callisto.network/tx/0xb4f49807155490ce54bda08e9490b362e16d178f16dbad913ea79c4e796836e9

epochconverter

Dexaran commented 5 years ago

We need to subtract the returned amount from now.timestamp to know how long a staker is staking.

j-chimienti commented 5 years ago

Address 0x01000b5fe61411c466b70631d7ff070187179bbf

is showing correct info

screen shot 2018-11-08 at 6 42 38 am screen shot 2018-11-08 at 6 52 37 am

Addr 0x024d8a6a6613ed0bd35b80ab9096e07fbf898443

Explorer missing txs and showing last timestamp at 2018-11-02 08:12

https://explorer-testnet.callisto.network/addr/0x024d8a6a6613ed0bd35b80ab9096e07fbf898443

screen shot 2018-11-08 at 6 43 07 am screen shot 2018-11-08 at 6 46 17 am

Staker Time: '2018-11-8 06:44:56'

I haven't made any txs on this date

Dexaran commented 4 years ago

The issue is resolved.