Unit ID
Txky2Js6ZyKM9ZiZdobW/sIunJ8GdDW+Qj7PviCUMmo=
Received
06.05.2021 22:16:45
Confirmation delay (full node)
5 minutes 11 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ if(trigger.output[[asset!=base]].asset != 'none'){ $asset = trigger.output[[asset!=base]].asset; } $curveAA = 'UH6SNZMZKHWMRM7IQZGFPD5PQULZZSBI'; $igb = '/H3aURJJslUMAADH2Pl0lAramRAxkNslUVus1Zm0x3s='; $myaddr = 'QF3NOVWHY2ZBVZZ2QHCUW7IPYXKLGIGG'; if(trigger.initial_address != $myaddr) bounce(''); }", "messages": { "cases": [ { "if": "{exists(trigger.data.action) and trigger.data.action == 'withdraw'}", "messages": [ { "app": "payment", "payload": { "asset": "{trigger.data.asset otherwise 'base'}", "outputs": [ { "address": "{trigger.address}" } ] } } ] }, { "if": "{trigger.address == $myaddr}", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$curveAA}", "amount": "{balance[base]-10000}" } ] } }, { "app": "data", "payload": { "tokens1": 506340426, "tokens2": 404000000000 } } ] }, { "if": "{trigger.address == $curveAA AND !var['sfass']}", "messages": [ { "app": "payment", "payload": { "asset": "{$igb}", "outputs": [ { "address": "{$curveAA}" } ] } }, { "app": "state", "state": "{ var['sfass'] = $igb; }" } ] }, { "if": "{trigger.address == $curveAA}", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$myaddr}" } ] } }, { "app": "state", "state": "{ response['message'] = 'ou yes'; }" } ] } ] } } ]
Technical information
Fees:
1,994 bytes
(451 headers, 1543 payload)
Level:7643541
Witnessed level:7643530
Main chain index:7329420
Latest included mc index:7329419
Status:stable/confirmed/final