Unit ID
9DExh8WYFftPqpV0ukfdJMDUndyhK7LAzHm6Dj9uWjs=
Received
22.08.2019 15:09:25
Confirmation delay (full node)
5 minutes 14 seconds
Confirmation delay (light node)
7 minutes 58 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $aa_name = "DANAA"; // Dynamic Asset Names; $owner = "O7NYCFUL5XIJTYE3O4MKGMGMTN6ATQAJ"; // could withdraw the dust is calculable. $known_aa_issuer = "NZ3BSW3FWCZS6J2TQACDBYRXEATRFCEQ"; $asset_unit_id = trigger.data.unit_ID otherwise false; $asset_new_name = trigger.data.new_name otherwise false; $asset_author = trigger.address; //TODO normaly it should be the author of the unit that create the asset }", "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'"); }" } ] } ] } } ]
Technical information
Fees:
1,462 bytes
(353 headers, 1109 payload)
Level:1018835
Witnessed level:1018828
Main chain index:1017649
Latest included mc index:1017648
Status:stable/confirmed/final