mirror of
https://github.com/status-im/codex-contracts-eth.git
synced 2025-02-07 14:13:28 +00:00
7 lines
230 B
JavaScript
7 lines
230 B
JavaScript
const now = () => Math.round(Date.now() / 1000)
|
|
const hours = (amount) => amount * minutes(60)
|
|
const minutes = (amount) => amount * seconds(60)
|
|
const seconds = (amount) => amount
|
|
|
|
module.exports = { now, hours, minutes, seconds }
|