Unit ID
NryE7B5IrgY+0WTtkc0csnjEI+9Dvvl1E4JnB48ATrg=
Received
04.08.2019 21:51:47
Confirmation delay (full node)
6 minutes 21 seconds
Confirmation delay (light node)
7 minutes 3 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $admin = 'JBGMJI7XSKLKNHZF26BUBWHVUZSDV3P5'; $f = 1000; $addr_init = trigger.address; $inp = trigger.output[[asset=base]]; }", "messages": { "cases": [ { "if": "{ $total = var[$addr_init] + $inp - $f; trigger.data.withdraw AND trigger.data.withdraw != 'all' }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$addr_init}", "amount": "{$total}" } ] } }, { "app": "state", "state": "{ var[$addr_init] = 0; response['message'] = 'withdrawn: ' || $total || ' bytes'; }" } ] }, { "if": "{ $admin == $addr_init AND trigger.data.withdraw AND trigger.data.withdraw == 'all' }", "messages": [ { "app": "definition", "payload": { "definition": [ "autonomous agent", { "messages": [ { "init": "{ $init="{trigger.address}"; }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{"{trigger.address}"}", "amount": "{"{trigger.output[[asset=base]] - 1000}"}" } ] } } ] } ] } } ] }, { "messages": [ { "app": "state", "state": "{ var[$addr_init] = var[$addr_init] + $inp; response['message'] = 'got: ' || $inp || ' bytes' ; }" } ] } ] } } ]
Technical information
Fees:
1,374 bytes
(353 headers, 1021 payload)
Level:986143
Witnessed level:986135
Main chain index:984963
Latest included mc index:984962
Status:stable/confirmed/final