Unit ID
1kNjGo/yESg0ua3l7zn2INYbUiigG6ksM+7xlP6wL9E=
Received
13.09.2019 20:16:23
Confirmation delay (full node)
6 minutes 48 seconds
Confirmation delay (light node)
8 minutes 9 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ // forever constantes $AA_NAME = ""; $AA_OWNER = ""; // could withdraw the dust is calculable. $INSTRUCTIONS = "use ..."; $HOLAA = "PCSXT7BVVTWVX6233OTILWEIWHV4ZO5W"; // to store jury and entries lists $i = trigger.data; $id = $i.contest_name otherwise bounce ("Need the 'contest_name' ! "); }", "messages": { "cases": [ { "if": "{ !!$i.create and !!$i.contest_name and !!$i.entry_dead_line and !!$i.decision_dead_line}", "init": "{ if (!!$i.debug) bounce ("variables you want to watch when you set 'debug' in preview mode of the wallet"); }", "messages": [ { "app": "state", "state": "{ var[$id||"_price"] = trigger.output[[asset=base]].amount - 2000; var[$id||"_entry_dead_line"] = $i.entry_dead_line ; var[$id||"_decision_dead_line"] = $i.decision_dead_line ; }" } ] }, { "if": "{ $i.jury }", "init": "{ $list = $id||"_jury"; }", "messages": [ { "app": "data", "payload": { "list": "{ $list }", "add": "{ $i.jury }" } }, { "app": "payment", "payload": { "outputs": [ { "address": "{$HOLAA}", "amount": "{200}" } ] } }, { "app": "state", "state": "{ response['added jury'] = var[$HOLAA][$list||"_"||var[$HOLAA][$list||"_count"]];}" } ] }, { "messages": [ { "app": "state", "state": "{ bounce ($INSTRUCTIONS);}" } ] } ] } } ]
Technical information
Fees:
1,583 bytes
(353 headers, 1230 payload)
Level:1059155
Witnessed level:1059148
Main chain index:1057928
Latest included mc index:1057927
Status:stable/confirmed/final