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
LHH/tSrIN6lX/kAOFZ9isFLhkwRrRfEiFIUS3qQIuYo=
Received
24.08.2019 11:38:36
Confirmation delay (full node)
6 minutes 35 seconds
Confirmation delay (light node)
9 minutes 55 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
YEQBG0t+1FJJ5qm/2fbLp4rZtCDREnjujMPx5tckvWI=
Parents
h3RKbJRYcIIdGQ+UhkGKbUDzErzeuIcYz8hr86WFbmI=
tp6OVCaDF0PuikGTgN8wqMdnR1WPKnnb3k5sHwLg+nU=
Messages
Definition
Address:
YC7FG2E4VLXC5AOOGSX4MLZGACVJZE2E
Definition:
[ "autonomous agent", { "init": "{ $aa_name = "AAAA"; // Dynamic Asset Names Autonomous Agent; $owner = "O7NYCFUL5XIJTYE3O4MKGMGMTN6ATQAJ"; // could withdraw the dust is calculable. $i = json_stringify(trigger.data); // all inputs; }", "messages": { "cases": [ { "if": "{ $i.create }", "init": "{ $list_name = $i.create; $list_count = 0; }", "messages": [ { "app": "state", "state": "{ var[$list_name] = trigger.address; //owner of the list; var[$list_name||"_count"] = $list_count ; }" } ] }, { "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_count||"_count"] +=1; var[$list_name||"_"||$new_entry] = var[$list_name||"_count"]; var[$list_name||"_"||var[$list_name||"_count"]] = $new_entry; }" } ] }, { "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; }" } ] }, { "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; }" } ] }, { "messages": [ { "app": "state", "state": "{ bounce ("default case"); }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
3,087
bytes
(353 headers, 2734 payload)
Level:
1022334
Witnessed level:
1022327
Last ball unit:
Z6MB+U74nGCCVZPD57qMFyEX0Ke4SRqJy36Zm2zt9o0=
Main chain index:
1021147
Latest included mc index:
1021146
Status:
stable/confirmed/final