mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-03 04:40:50 +03:00
mall: add lib/skeleton
This commit is contained in:
parent
43e02c25e4
commit
4ef1278cfa
51
pkg/arvo/lib/skeleton.hoon
Normal file
51
pkg/arvo/lib/skeleton.hoon
Normal file
@ -0,0 +1,51 @@
|
||||
:: Similar to default-agent except crashes everywhere
|
||||
^- agent:mall
|
||||
|_ bowl:mall
|
||||
++ on-init
|
||||
^- (quip card:agent:mall agent:mall)
|
||||
!!
|
||||
::
|
||||
++ on-save
|
||||
^- vase
|
||||
!!
|
||||
::
|
||||
++ on-load
|
||||
|~ old-state=vase
|
||||
^- (quip card:agent:mall agent:mall)
|
||||
!!
|
||||
::
|
||||
++ on-poke
|
||||
|~ in-poke-data=cage
|
||||
^- (quip card:agent:mall agent:mall)
|
||||
!!
|
||||
::
|
||||
++ on-watch
|
||||
|~ path
|
||||
^- (quip card:agent:mall agent:mall)
|
||||
!!
|
||||
::
|
||||
++ on-leave
|
||||
|~ path
|
||||
^- (quip card:agent:mall agent:mall)
|
||||
!!
|
||||
::
|
||||
++ on-peek
|
||||
|~ path
|
||||
^- (unit (unit cage))
|
||||
!!
|
||||
::
|
||||
++ on-agent
|
||||
|~ [wire gift:agent:mall]
|
||||
^- (quip card:agent:mall agent:mall)
|
||||
!!
|
||||
::
|
||||
++ on-arvo
|
||||
|~ [wire =sign-arvo]
|
||||
^- (quip card:agent:mall agent:mall)
|
||||
!!
|
||||
::
|
||||
++ on-fail
|
||||
|~ [term tang]
|
||||
^- (quip card:agent:mall agent:mall)
|
||||
!!
|
||||
--
|
Loading…
Reference in New Issue
Block a user