aztec-nr - noir_aztec::public_checks

Function privately_check_timestamp

pub fn privately_check_timestamp(operation: u8, value: u64, context: &mut PrivateContext)

Asserts that the current timestamp in the enqueued public call enqueued by check_timestamp satisfies the operation with respect to the value. Preserves privacy by performing the check via the public checks contract. This conceals an address of the calling contract by setting context.msg_sender` to the public checks contract address.