Skip to main content

timestamp

Function timestamp 

Source
pub fn timestamp<IT: ITy, H: Host + ?Sized>(
    context: InstructionContext<'_, H, IT>,
) -> InstructionExecResult
Expand description

Implements the TIMESTAMP instruction.

Pushes the current block’s timestamp onto the stack.