MCPcopy Create free account
hub / github.com/circlefin/arc-node / currentTimestamp

Function currentTimestamp

scripts/genesis/types.ts:33–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32// currentTimestamp returns the current unix timestamp, minus one second to ensure it's in the past.
33export const currentTimestamp = () => BigInt(new Date().getTime()) / 1000n - 1n
34
35export const schemaAllocConfig = z
36 .object({

Callers 2

buildFunction · 0.90
buildFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected