Unit ID
d1mjmH71T675Lrb/g98UTRYvQ1KlhZeEwx6GD90fpaU=
Received
01.08.2019 16:16:34
Confirmation delay (full node)
1 minute 39 seconds
Confirmation delay (light node)
3 minutes 13 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $admin = 'JBGMJI7XSKLKNHZF26BUBWHVUZSDV3P5'; $f = 1000; $addr = trigger.address; $inp = trigger.output[[asset=base]]; }", "messages": { "cases": [ { "if": "{ $total = var[$addr] + $inp - $f; trigger.data.withdraw AND trigger.data.withdraw != 'all' }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$addr}", "amount": "{$total}" } ] } }, { "app": "state", "state": "{ var[$addr] = 0; response['message'] = 'withdrawn: ' || $total || ' bytes'; }" } ] }, { "if": "{ $admin == $addr AND trigger.data.withdraw AND trigger.data.withdraw == 'all' }", "messages": [ { "app": "definition", "payload": { "definition": [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{trigger.output[[asset=base]] - 9999}" } ] } } ] } ] } }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$addr}", "amount": "{$total}" } ] } } ] }, { "messages": [ { "app": "state", "state": "{ var[$addr] = var[$addr] + $inp; response['message'] = 'got: ' || $inp || ' bytes' ; }" } ] } ] } } ]
Technical information
Fees:
1,307 bytes
(353 headers, 954 payload)
Level:979089
Witnessed level:979081
Main chain index:977909
Latest included mc index:977908
Status:stable/confirmed/final