EEQRVPVMVQWQIRUYGAVVKHDGPLVU77UK
[
"autonomous agent",
{
"init": "{
$aa_name = "DANAA"; // Dynamic Asset Names;
$owner = "
O7NYCFUL5XIJTYE3O4MKGMGMTN6ATQAJ"; // could withdraw the dust is calculable.
$asset_unit_id = trigger.data.unit_ID otherwise false;
$asset_new_name = trigger.data.new_name otherwise false;
$asset_author = trigger.address;
}",
"messages": {
"cases": [
{
"if": "{ $asset_unit_id and $asset_new_name }",
"init": "{
// check
if (var[$asset_unit_id])
if (trigger.address != var[$asset_unit_id||"_author"])
bounce ("Already registered and not by you!");
}",
"messages": [
{
"app": "state",
"state": "{
var[$asset_unit_id||"_name"] = $asset_new_name;
var[$asset_unit_id||"_author"] = $asset_author;
}"
}
]
},
{
"messages": [
{
"app": "state",
"state": "{
bounce ("Specify a 'unit_id' and a 'new_name'");
}"
}
]
}
]
}
}
]
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount