Skip to content

@assertions:timestamp!

The block timestamp at assertion time (not at script build time).

Returns: number

@assertions:timestamp!
load assertions
set $vesting 0x0102030405060708090a0b0c0d0e0f1011121314
# Seconds until unlock, computed at assertion time
assertions:assert @num!($vesting::{unlockTime()(uint256)} - @timestamp!) > 86400