Unit ID
mhI/vgeDxgM33TTCRYYfCuKGUk6/fgvQAmBMYGIkv2w=
Received
04.11.2020 19:08:09
Confirmation delay (full node)
3 minutes 20 seconds
Confirmation delay (light node)
5 minutes 19 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $nom_AA = 'Portal'; $versio = '1'; $AUT_0 = 'C4KIJSUWVM7BGWTLXKX3K4PNRXV7OY4W'; $adr__ = trigger.address; $args = trigger.data; $qt = trigger.output[[asset=base]] - 10000; //bounce-fees $AUT_A = var[ '_AUT_A' ]; $AUT_B = var[ '_AUT_B' ]; $AUT_C = var[ '_AUT_C' ]; if ( !! $args.esmena ) { if ( $adr__ != $AUT_0 ) { if ( ! $AUT_A OR $adr__ != $AUT_A ) { if ( ! $AUT_B OR $adr__ != $AUT_B ) { if ( ! $AUT_C OR $adr__ != $AUT_C ) { bounce ( 'No autoritzada' ); } } } } $ref = $args.ref; $val = $args.val; if ( ! $ref ) { bounce ( $nom_AA || ': Cal proporcionar el valor de: ref' ); } if ( ! $val ) { bounce ( $nom_AA || ': Cal proporcionar el valor de: val' ); } } else { $AA_PF = var[ '_AA_PF' ]; $_AA_Acces = var[ '_AA_Acces' ]; $args.AA_PF = $AA_PF; $unitat = var[ $AA_PF ][ 'unitat' ]; } }", "messages": [ { "app": "data", "payload": "{ $args }" }, { "if": "{ ! $args.esmena }", "app": "payment", "payload": { "asset": "{ $unitat }", "outputs": [ { "address": "{ $_AA_Acces }", "amount": "{ $qt }" } ] } }, { "app": "state", "state": "{ response['ref'] = $ref; response['val'] = $val; var[ $ref ] = $val; }" } ] } ]
Technical information
Fees:
2,255 bytes
(452 headers, 1803 payload)
Level:1727708
Witnessed level:1727701
Main chain index:1720120
Latest included mc index:1720119
Status:stable/confirmed/final