azimuth: add sponsorship scry

This commit is contained in:
yosoyubik 2021-11-10 18:39:43 +01:00
parent 4727b49b89
commit da739d6e87
2 changed files with 12 additions and 0 deletions

View File

@ -185,6 +185,7 @@
[%x %nas ~] ``noun+!>(nas.state)
[%x %dns ~] ``noun+!>(dns.nas.state)
[%x %own ~] ``noun+!>(own.state)
[%x %spo ~] ``noun+!>(spo.state)
[%x %refresh ~] ``atom+!>(refresh)
[%x %point @ ~] ``noun+(point i.t.t.path)
==

View File

@ -782,6 +782,16 @@
(scot %da now.bowl)
/own/noun
==
:: +canonical-sponsors: current azimuth sponsorship
::
++ canonical-sponsors
.^ sponsors
%gx
(scot %p our.bowl)
%azimuth
(scot %da now.bowl)
/spo/noun
==
:: +predicted-state
::
:: derives predicted state from applying pending & sending txs to
@ -792,6 +802,7 @@
^- (quip update _state)
=: pre nas
own canonical-owners
spo canonical-sponsors
==
|^
=^ [nes=_sending updates-1=(list update)] state