Unit ID
8LdtdFbzt+hp5JcSMatXG6o7tMv753rVeH8Cy0kx7uA=
Received
18.08.2019 20:46:57
Confirmation delay (full node)
34 minutes 55 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $loopaa = "XYK5Q3T57HEZO46ANT2ZLVDHZTM6DDD4"; $to_aa_price = 1000; $from_aa_price = 3000; $to_user_price = 1000; // rooting; $from_aa = (trigger.address == $loopaa); $from_user = !$from_aa; $user = ($from_aa) ? trigger.data.address : trigger.address; $count = var['count'] otherwise 0; }", "messages": { "cases": [ { "if": "{ $from_user }", "init": "{}", "messages": [ { "app": "data", "payload": { "input": "{trigger.data.input}", "address": "{$user}" } }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$loopaa}", "amount": "{$from_aa_price}" } ] } }, { "app": "state", "state": "{ var['count'] = $count +1; }" } ] }, { "init": "{}", "messages": [ { "app": "data", "payload": { "input": "{trigger.data.input}" } }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$user}", "amount": "{balance[base]-1000}" } ] } }, { "app": "state", "state": "{ var['count'] = false; }" } ] } ] } } ]
Technical information
Fees:
1,173 bytes
(353 headers, 820 payload)
Level:1008885
Witnessed level:1008878
Main chain index:1007703
Latest included mc index:1007702
Status:stable/confirmed/final