Support adopt()

This commit is contained in:
Fang 2019-06-27 01:51:20 +02:00
parent 566ebb5306
commit 1c8e1245bf
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -74,6 +74,7 @@
[%set-spawn-proxy who=ship proxy=address]
[%transfer-ship who=ship to=address]
[%set-transfer-proxy who=ship proxy=address]
[%adopt who=ship]
==
::
:: monadic structures
@ -462,6 +463,7 @@
%set-spawn-proxy (set-spawn-proxy:dat +.call)
%transfer-ship (transfer-ship:dat +.call)
%set-transfer-proxy (set-transfer-proxy:dat +.call)
%adopt (adopt:dat +.call)
==
::
++ deed
@ -689,6 +691,7 @@
++ set-dns-domains (enc set-dns-domains:cal)
++ upgrade-to (enc upgrade-to:cal)
++ transfer-ownership (enc transfer-ownership:cal)
++ adopt (enc adopt:cal)
++ register-linear (enc register-linear:cal)
++ register-conditional (enc register-conditional:cal)
++ deposit (enc deposit:cal)
@ -793,6 +796,13 @@
:~ [%address to]
==
::
++ adopt
|= who=ship
^- call-data
:- 'adopt(uint32)'
:~ [%uint `@`who]
==
::
::
++ register-linear
|= $: to=address