mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 04:22:48 +03:00
ac98cf1075
sed -i'' -e '/^|/{x;/./{p;s/.*//;};x;};/ *\\/-.*\\*/{h;s/ //g;s/,[a-z]*//g;s/^[^a-z]*/[/;s/ *::.*$//;s/$/ .]/;s/*/ /g;x;s/\\*//g;}' urb/zod/**.{hoon,hook} Followed by manual fixes where e.g. the file didn't start with a core
22 lines
519 B
Plaintext
22 lines
519 B
Plaintext
:: this mark is used to receive a confirmed transaction
|
|
::
|
|
:::: /hoon/bit-accounts/mar
|
|
::
|
|
/? 310
|
|
/- bit-api
|
|
!:
|
|
[bit-api .]
|
|
|_ bit-accounts
|
|
::
|
|
++ grab :: converter arm
|
|
|%
|
|
++ noun bit-accounts :: clam from noun
|
|
++ json |= jon=^json ^- bit-accounts
|
|
~| jon
|
|
%- need %. jon
|
|
=> jo
|
|
=+ bal=(ot amount/so currency/(cu cass sa) ~)
|
|
(ot accounts/(ar (ot id/so name/so balance/bal ~)) ~)
|
|
--
|
|
--
|