Unit ID
1khp8RexklqWwPZ2Rbcx6ruictglo3wNEFT3WO/fIds=
Received
06.05.2021 21:10:27
Confirmation delay (full node)
5 minutes 19 seconds
Confirmation delay (light node)
10 minutes 2 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ if(trigger.output[[asset!=base]].asset != 'none'){ $asset = trigger.output[[asset!=base]].asset; if($asset and $asset == 'ambiguous') bounce('Only 1 asset per tx'); } $curveAA = 'TGEKFP4PFQT43CGUNZSM4GHRMNBWPAVE'; $deAA = 'U4PO3WLTKGOVAPZD42HMIQJ6Z52PR3HH'; $myaddr = 'QF3NOVWHY2ZBVZZ2QHCUW7IPYXKLGIGG'; if(trigger.initial_address != $myaddr) bounce(''); }", "messages": { "cases": [ { "if": "{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": "{$deAA}", "amount": 400000000000 } ] } } ] }, { "if": "{trigger.address == $deAA AND !var['sfass']}", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$curveAA}", "amount": 400000000000 } ] } }, { "app": "state", "state": "{ var['sfass'] = $asset; }" } ] }, { "if": "{trigger.address == $curveAA and !var['igb']}", "messages": [ { "app": "payment", "payload": { "asset": "{var['sfass']}", "outputs": [ { "address": "{$deAA}" } ] } }, { "app": "state", "state": "{ var['igb'] = $asset; }" } ] }, { "if": "{trigger.address == $deAA}", "messages": [ { "app": "data", "payload": { "to": "{trigger.initial_address}" } }, { "app": "payment", "payload": { "asset": "{var['igb']}", "outputs": [ { "address": "{$curveAA}" } ] } }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.initial_address}", "amount": "{balance[base]-10000}" } ] } } ] } ] } } ]
Technical information
Fees:
2,239 bytes
(451 headers, 1788 payload)
Level:7643321
Witnessed level:7643308
Main chain index:7329200
Latest included mc index:7329199
Status:stable/confirmed/final