SUVWLKWWEI2D5GJSNJTA2V6QVCXTYYIS
[
"autonomous agent",
{
"bounce_fees": {
"base": 10000
},
"messages": {
"cases": [
{
"if": "{ trigger.data.action == 'deploy' }",
"init": "{
$base = 'I6NZZIIMLZQMKGNEGELSCVA5WEHC2GEG';
require(trigger.data.unlock_date, "unlock_date required");
$ud_ts = parse_date(trigger.data.unlock_date);
require($ud_ts, "invalid unlock_date");
$ud = timestamp_to_string($ud_ts, 'date');
$owner = trigger.address;
// statt 'null' -> leerer String ist falsy
$name = trigger.data.name OTHERWISE '';
$params = { owner: $owner, unlock_date: $ud };
if ($name) $params.name = $name;
$def = ["autonomous agent", { base_aa: $base, params: $params }];
$new_aa = chash160($def);
}",
"messages": [
{
"app": "definition",
"payload": {
"definition": "{ $def }"
}
},
{
"app": "state",
"state": "{
response['message'] = 'instance deployed';
response['new_aa'] = $new_aa;
response['owner'] = $owner;
response['unlock_date'] = $ud;
if ($name) response['name'] = $name;
}"
}
]
},
{
"messages": [
{
"app": "state",
"state": "{ response['error'] = 'send action=deploy & unlock_date'; }"
}
]
}
]
}
}
]
- MCI: 11498711
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"message": "instance deployed",
"new_aa": "SLV7DZ6LGNDFCSTZLGMGVN5APBYRGPLZ",
"owner": "TH22XC6RYLFUJALRKNE3ZHF5Q7WA5RI6",
"unlock_date": "2025-08-17",
"name": "test"
}
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
17.08.2025 09:46:58
SUVWLKWWEI2D5GJSNJTA2V6QVCXTYYIS
out
SUVWLKWWEI2D5GJSNJTA2V6QVCXTYYIS
17.08.2025 09:46:58
in
SUVWLKWWEI2D5GJSNJTA2V6QVCXTYYIS