Unit ID
QXpFOki02o5TGsv4VbAboXo+2tva6twZpwFbDOJ3VOc=
Received
06.05.2021 22:10:50
Confirmation delay (full node)
7 minutes 23 seconds
Confirmation delay (light node)
13 minutes 0 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": 547567411, "tokens2": 440000000000 } } ] }, { "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:7643528
Witnessed level:7643520
Main chain index:7329407
Latest included mc index:7329406
Status:stable/confirmed/final