Definition: [
"autonomous agent",
{
"init": "{
$aa = "DVOQEUO6KHSZYXPIBZ6G3IVQRJDDTKFF";
}",
"messages": {
"cases": [
{
"if": "{ trigger.data.fe }",
"init": "{
// check
}",
"messages": [
{
"app": "data",
"payload": {
"unit_id": "{"seeJqjp5Aj4jqtxeqeyfkV1L+ShPy3lyqRANaxCcGhc="}",
"short_name": "{"monkey ball(s) "||number_from_seed(timestamp,0,10000)}",
"name": "{'monkey ball(s) by heymonkey'}",
"ticker": "{'oo'}",
"decimals": "{0}",
"description": "{'monkey ball(s) by heymonkey and that s all'}"
}
},
{
"app": "payment",
"payload": {
"asset": "{'base'}",
"outputs": [
{
"address": "{$aa}",
"amount": "{trigger.output[[asset=base]] - 1000}"
}
]
}
},
{
"app": "state",
"state": "{
}"
}
]
},
{
"if": "{ trigger.data.me }",
"init": "{
// check
}",
"messages": [
{
"app": "data",
"payload": {
"unit_id": "{"seeJqjp5Aj4jqtxeqeyfkV1L+ShPy3lyqRANaxCcGhc="}",
"short_name": "{"monkey ball(s) "||number_from_seed(timestamp,0,10000)}",
"ticker": "{'oo'}",
"decimals": "{0}"
}
},
{
"app": "payment",
"payload": {
"asset": "{'base'}",
"outputs": [
{
"address": "{$aa}",
"amount": "{trigger.output[[asset=base]] - 1000}"
}
]
}
},
{
"app": "state",
"state": "{
}"
}
]
},
{
"messages": [
{
"app": "state",
"state": "{
}"
}
]
}
]
}
}
]