2019-12-04 03:41:29 +03:00
|
|
|
:: Print useful diagnostic information
|
|
|
|
::
|
2019-11-14 06:02:39 +03:00
|
|
|
:- %say
|
|
|
|
|= [[now=time * bec=beak] ~ ~]
|
|
|
|
=* our p.bec
|
|
|
|
=/ sponsor (sein:title our now our)
|
|
|
|
:- %noun
|
|
|
|
=<
|
|
|
|
:~
|
|
|
|
[%base-hash .^(@uv %cz (pathify ~.base ~))]
|
|
|
|
[%home-hash .^(@uv %cz (pathify ~.home ~))]
|
|
|
|
::
|
|
|
|
(info %our our)
|
|
|
|
(info %sponsor sponsor)
|
|
|
|
(info %dopzod ~dopzod)
|
|
|
|
::
|
|
|
|
["Compare lifes and rifts to values here:"]
|
|
|
|
["https://etherscan.io/address/azimuth.eth#readContract"]
|
|
|
|
[" life - getKeyRevisionNumber"]
|
|
|
|
[" rift - getContinuityNumber"]
|
|
|
|
==
|
|
|
|
|%
|
|
|
|
++ pathify
|
|
|
|
|= [a=@ta b=(unit ship)]
|
|
|
|
^- path
|
|
|
|
=/ o=@ta (scot %p our)
|
|
|
|
=/ n=@ta (scot %da now)
|
|
|
|
?~ b ~[o a n]
|
2019-12-01 04:04:18 +03:00
|
|
|
~[o a n (scot %p u.b)]
|
2019-11-14 06:02:39 +03:00
|
|
|
::
|
|
|
|
++ info
|
|
|
|
|= [=term =ship]
|
2019-12-01 04:04:18 +03:00
|
|
|
:: unitized life and rift
|
|
|
|
=/ lyfe .^((unit @ud) %j (pathify ~.lyfe `ship))
|
|
|
|
=/ ryft .^((unit @ud) %j (pathify ~.ryft `ship))
|
2019-11-14 06:02:39 +03:00
|
|
|
:* term
|
|
|
|
ship=ship
|
|
|
|
point=(crip (slag 2 (scow %ui ship)))
|
2019-12-01 04:04:18 +03:00
|
|
|
:: report as units
|
|
|
|
life=lyfe
|
|
|
|
rift=ryft
|
2019-11-14 06:02:39 +03:00
|
|
|
==
|
|
|
|
--
|