Unit ID
p7AR5T6F48AllOl0TsGcUY8nEEn4bF9hfxXKCyDlitU=
Received
26.10.2019 22:35:06
Confirmation delay (full node)
1 minute 35 seconds
Confirmation delay (light node)
3 minutes 14 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $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": "{ $total = balance[base] - $f; trigger.data.withdraw AND trigger.data.withdraw == 'all' }", "messages": [ { "app": "definition", "payload": { "definition": [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "messages": [ { "{'if'}": "{trigger.address}", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{trigger.output[[asset=base]] - 1000}" } ] } } ] } ] } } ] }, { "messages": [ { "app": "state", "state": "{ var[$addr] = var[$addr] + $inp; response['message'] = 'got: ' || $inp || ' bytes' ; }" } ] } ] } } ]
Technical information
Fees:
1,494 bytes
(353 headers, 1141 payload)
Level:1124269
Witnessed level:1124261
Main chain index:1123026
Latest included mc index:1123025
Status:stable/confirmed/final