E32LSHD3WTDA74FH63XZLKXEZRKURZ7E
[
"autonomous agent",
{
"init": "{
$status_index = var['status.index'];
$address = trigger.address;
$data = trigger.data;
$unit = trigger.unit;
}",
"messages": {
"cases": [
{
"if": "{$data.status}",
"messages": [
{
"app": "state",
"state": "{
$next_index = $status_index + 1;
var['status.index'] = $next_index;
var['status.' || $next_index || '.unit'] = $unit;
var['status.' || $next_index || '.author'] = $address;
response['message'] = 'created status ' || $next_index;
response['status_id'] = $next_index;
}"
}
]
},
{
"if": "{$data.like AND var['status.' || $data.like || '.unit']}",
"messages": [
{
"app": "state",
"state": "{
var['status.' || $data.like || '.likes'] += 1;
response['message'] = 'voted for status ' || $data.like;
response['status_id'] = $data.like;
}"
}
]
}
]
}
}
]
- MCI: 1029294
- Not bounced
- Response: {
"responseVars": {
"message": "created status 3",
"status_id": 3
},
"error": "no messages after filtering"
}
- MCI: 1029289
- Not bounced
- Response: {
"responseVars": {
"message": "voted for status 1",
"status_id": 1
},
"error": "no messages after filtering"
}
- MCI: 1029271
- Not bounced
- Response: {
"responseVars": {
"message": "created status 2",
"status_id": 2
},
"error": "no messages after filtering"
}
- MCI: 1029268
- Not bounced
- Response: {
"responseVars": {
"message": "created status 1",
"status_id": 1
},
"error": "no messages after filtering"
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
28.08.2019 16:55:03
in
E32LSHD3WTDA74FH63XZLKXEZRKURZ7E
28.08.2019 16:53:47
in
E32LSHD3WTDA74FH63XZLKXEZRKURZ7E
28.08.2019 16:49:35
in
E32LSHD3WTDA74FH63XZLKXEZRKURZ7E
28.08.2019 16:49:14
in
E32LSHD3WTDA74FH63XZLKXEZRKURZ7E