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
CH8h9zoEOlJ0OOGLpt4A2Og+e8cRmkuNPBFi11sqBXE=
Received
13.09.2019 20:03:01
Confirmation delay (full node)
4 minutes 43 seconds
Confirmation delay (light node)
7 minutes 2 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
ab8J7qmQgCC9geRizhSomTW4qTzXFqwrfyalA5EcEOU=
Parents
UIkUjeOvB4JMXkROESL7BW7oLY0sOeYgbImGGltAqkI=
Messages
Definition
Address:
PCSXT7BVVTWVX6233OTILWEIWHV4ZO5W
Definition:
[ "autonomous agent", { "init": "{ $AA_NAME= "AAAA"; // Dynamic Asset Names Autonomous Agent; $AA_OWNER = "O7NYCFUL5XIJTYE3O4MKGMGMTN6ATQAJ"; // could withdraw the dust is calculable. $i = trigger.data; $l = $i.list; if (!$l) bounce ("Need 'list = <list_name>'!"); $l_owner = var[$l||"_owner"] otherwise trigger.address; $l_count = var[$l||"_count"] otherwise 0; $l_public_mode = var[$l||"_public_mode"] otherwise $i.public; }", "messages": { "cases": [ { "if": "{ $i.add }", "init": "{ if (!$l_public_mode) if (trigger.address != $l_owner) bounce ("You don't own this private list"); $e = $i.add; }", "messages": [ { "app": "state", "state": "{ var[$l||"_owner"] = $l_owner; var[$l||"_count"] = $l_count + 1; var[$l||"_public_mode"] = $l_public_mode; var[$l||"_"||$e] = var[$l||"_count"]; var[$l||"_"||var[$l||"_count"]] = $e; response['message']= $e||" added ^^."; }" } ] }, { "if": "{ $i.delete }", "init": "{ $l = $i.delete; if (!(var[$l])) bounce ("'"||$i.list_name||"' did not exist at the first place!"); if (trigger.address != var[$l]) bounce ("Must be owner to delete the list"); if (var[$l||"_count"] > 0) bounce ("List must be empty to be deleted, use 'remove_last' as much as needed"); }", "messages": [ { "app": "state", "state": "{ var[$l] = false; var[$l||"_count"] = false; response['message']= $l||" delete ^^."; }" } ] }, { "if": "{ $i.remove_last }", "init": "{ $l = $i.remove_last; if (!(var[$l])) bounce ("'"||$i.list_name||"' did not exist !"); if (trigger.address != var[$l]) bounce ("Must be owner to remove last entry of the list"); if (var[$l||"_count"] == 0) bounce ("List is empty!"); }", "messages": [ { "app": "state", "state": "{ // get last entry $last_entry = var[$l||"_"||var[$l||"_count"]]; // remove it var[$l||"_"||$last_entry] = false; var[$l||"_"||var[$l||"_count"]] = false; var[$l||"_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:
2,550
bytes
(353 headers, 2197 payload)
Level:
1059126
Witnessed level:
1059119
Last ball unit:
bFE81INL9IadeEyY6kV4ltiRQhGYDRb1ObRF6BoWCcc=
Main chain index:
1057899
Latest included mc index:
1057898
Status:
stable/confirmed/final