Skip to content

Latest commit

 

History

History
54 lines (24 loc) · 1.29 KB

timestamp.md

File metadata and controls

54 lines (24 loc) · 1.29 KB

Module 0x3::timestamp

Resource TimestampPlaceholder

Just using to get module signer

struct TimestampPlaceholder has key

Constants

const ErrorUnsupportedChain: u64 = 1;

Function fast_forward_seconds_for_local

Fast forwards the clock by the given number of seconds, but only if the chain is in local mode.

public entry fun fast_forward_seconds_for_local(timestamp_seconds: u64)