- Assert error if time is not passed {{time}} timestamp.
- Transaction silently passes if the current time is passed {{time}} timestamp.
# Check time in past
$ cleos push action eosio.time checktime '["2022-09-07T00:00:00.000"]' -p eosio.time
# //=> transaction passes
# Check time in future
$ cleos push action eosio.time checktime '["2030-01-01T00:00:00.000"]' -p eosio.time
# //=> transaction fails# using Antelope CDT
$ cdt-cpp eosio.time.cpp
# using Blanc++
$ blanc++ eosio.time.cppCDT
$ git clone https://github.com/eosnetworkfoundation/eosio.time.git
$ cd eosio.time
$ cdt-cpp eosio.time.cpp
$ shasum -a 256 eosio.time.wasm
f7d64016a473a3f43047c19932d3df42506e7973918751cc39d863c1fb6234d0 eosio.time.wasmEOS Mainnet
$ cleos -u https://eos.api.eosnation.io get code eosio.time
code hash: f7d64016a473a3f43047c19932d3df42506e7973918751cc39d863c1fb6234d0