Unit ID
374g9cy2kQLb9DzyHfA7pNoIEPbiY0PZIbOCFm3mnks=
Received
27.03.2021 19:32:34
Confirmation delay (full node)
9 minutes 53 seconds
Confirmation delay (light node)
21 minutes 44 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $OSTABLE_DEP_ADDR = 'VUYA4EB73SORHN4AUHK7GSM7MSBXNBVN'; $STABLE_ASSET = var[$OSTABLE_DEP_ADDR]['asset']; $OWNER_ADDR = 'QF3NOVWHY2ZBVZZ2QHCUW7IPYXKLGIGG'; $OGBIGB = 'L553WBVMGVOGK2CFPHDF4XJR74JBYHQG'; $OGBGBYTE = 'NKWC7MJO366YB3VNW33A4EQFUZCAE7WC'; $CURVEIGB = 'UH6SNZMZKHWMRM7IQZGFPD5PQULZZSBI'; }", "messages": { "cases": [ { "if": "{(!trigger.data.action AND trigger.address == $OWNER_ADDR) OR var['index']}", "init": "{ $ind = var['index'] otherwise 0; $end = $ind == 1; }", "messages": [ { "if": "{!$end}", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$OGBGBYTE}" } ] } }, { "if": "{!$end}", "app": "data", "payload": { "to_aa": "{$OGBIGB}", "to": "{this_address}" } }, { "if": "{$end}", "app": "payment", "payload": { "asset": "{$STABLE_ASSET}", "outputs": [ { "address": "{$CURVEIGB}" } ] } }, { "if": "{$end}", "app": "data", "payload": { "to": "{trigger.initial_address}" } }, { "app": "state", "state": "{ if($end) var['index'] = $ind + 1; else var['index'] = false; }" } ] }, { "if": "{trigger.address != $OWNER_ADDR}", "messages": [ { "app": "state", "state": "{ response['message'] = 'received'; }" } ] }, { "if": "{trigger.data.action == 'withdraw'}", "messages": [ { "app": "payment", "payload": { "asset": "{trigger.data.asset otherwise 'base'}", "outputs": [ { "address": "{trigger.address}" } ] } } ] } ] } } ]
Technical information
Fees:
2,172 bytes
(451 headers, 1721 payload)
Level:7520176
Witnessed level:7520157
Main chain index:7206470
Latest included mc index:7206469
Status:stable/confirmed/final