Skip to main content

timestamp

Function timestamp 

pub fn timestamp<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: Host + ?Sized,
Expand description

Implements the TIMESTAMP instruction.

Pushes the current block’s timestamp onto the stack.