typeshiv0.1.0

tour · rules · lesson 17 of 25

wen

Programs can read the clock. wen!(ts) fails before ts: the desk isn't open yet, dev is on vacation (error 0x4). hodl!(ts) does the same.

touch_grass!(deadline) fails after deadline. Both compare against the chain's unix timestamp.

your move: the desk opens but never closes. Under the wen! line, add touch_grass!(per_my_last_email!(desk.closes_at));.

loading the compiler…
lib.shi⌘↵ to check
loading the compiler…