Transfers view
UTXO view
Obyte.org
Unit Legend
- not on main chain, not stable
- main chain, not stable
- bad unit
- not on main chain, stable/confirmed/final
- main chain, stable/confirmed/final
- not on main chain, selected
- main chain, selected
Close
Close
Unit ID
L1Syzyysha8rv55yi8TLmJByBm+8EmqVusrSXThcURE=
Received
24.08.2019 12:25:28
Confirmation delay (full node)
2 minutes 21 seconds
Confirmation delay (light node)
4 minutes 7 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
DkvTTf1+HAyEOKK/PNsq1bzPId+m0XtdCyrmJRlhP8A=
Parents
0YSF6kl1QuDjqgOi9OBqayh3Rsy5cY0grfUZg8OqjRs=
Messages
Definition
Address:
HMUOXQZPTS2PMM4ORPBXWZQSJGAQ4IVH
Definition:
[ "autonomous agent", { "init": "{ $aa_name = "AAAA"; // Dynamic Asset Names Autonomous Agent; $owner = "O7NYCFUL5XIJTYE3O4MKGMGMTN6ATQAJ"; // could withdraw the dust is calculable. $j = json_stringify(trigger.data); // all inputs; $i = json_parse($j); }", "messages": { "cases": [ { "if": "{ $i.create }", "init": "{ $list_name = $i.create; }", "messages": [ { "app": "state", "state": "{ var[$list_name] = trigger.address; //owner of the list; var[$list_name||"_count"] = 0 ; var[$list_name||"_pointer"] = 0 ; response['message'] = $list_name||" created ^^."; }" } ] }, { "if": "{ $i.add }", "init": "{ $list_name = $i.list_name; if (!$list_name) bounce ("Need 'list_name'!"); if (!(var[$list_name])) bounce ("'"||$list_name||"' do not exist!"); $new_entry = $i.add; }", "messages": [ { "app": "state", "state": "{ var[$list_name||"_count"] +=1; var[$list_name||"_"||$new_entry] = var[$list_name||"_count"]; var[$list_name||"_"||var[$list_name||"_count"]] = $new_entry; response['message']= $new_entry||" added ^^."; }" } ] }, { "if": "{ $i.delete }", "init": "{ $list_name = $i.delete; if (!(var[$list_name])) bounce ("'"||$i.list_name||"' did not exist at the first place!"); if (trigger.address != var[$list_name]) bounce ("Must be ownner to delete"); if (var[$list_name||"_count"] > 0) bounce ("List must be empty to be deleted, use 'remove_last' as much as needed"); }", "messages": [ { "app": "state", "state": "{ var[$list_name] = false; var[$list_name||"_count"] = false; var[$list_name||"_pointer"] = false; response['message']= $list_name||" delete ^^."; }" } ] }, { "if": "{ $i.remove_last }", "init": "{ $list_name = $i.remove_last; if (!(var[$list_name])) bounce ("'"||$i.list_name||"' did not exist !"); if (trigger.address != var[$list_name]) bounce ("Must be ownner to remove last entry of the list"); if (var[$list_name||"_count"] == 0) bounce ("List is empty!"); }", "messages": [ { "app": "state", "state": "{ // get last entry $last_entry = var[$list_name||"_"||var[$list_name||"_count"]]; // remove it var[$list_name||"_"||$last_entry] = false; var[$list_name||"_"||var[$list_name||"_count"]] = false; var[$list_name||"_count"] -= 1; response['message']= $last_entry||" removed ^^."; }" } ] }, { "messages": [ { "app": "state", "state": "{ bounce ("default case"); }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
3,543
bytes
(353 headers, 3190 payload)
Level:
1022480
Witnessed level:
1022473
Last ball unit:
cZo8H+7elAYc1kzCIOGTHZYtkW1U6fGTNjOxjFIKrQU=
Main chain index:
1021293
Latest included mc index:
1021292
Status:
stable/confirmed/final