Unit ID
K0yGCfe7KwqyYmsdNMNKkQ/S0JY7JdBmeLyFHwWlbLw=
Received
26.07.2021 12:30:31
Confirmation delay (full node)
4 minutes 18 seconds
Confirmation delay (light node)
6 minutes 47 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $nom_AA = 'Emissions'; //$_Registre = '5WVBJQHTEP54AEYUJGTQKWTXTXZSJQWA'; $_Registre = trigger.data._Registre; // * només x tests $unitat = trigger.output[[ asset != base ]].asset; $qt = trigger.output[[ asset = $unitat ]]; // Retorna una dada del Registre $__dada = $refdada => data_feed[[ oracles = $_Registre, feed_name = $refdada, ifnone = '' ]]; //$_Portal = $__dada( '_Portal' ); $_Portal = trigger.address; // * només x tests if ( $_Portal != trigger.address AND $__dada( '_Implementacions' ) != trigger.address ) bounce( 'Accés interdit' ); $args = trigger.data; $proces = $args.proces; $idgeto = $args.idgeto; }", "messages": { "cases": [ { "if": "{ $proces == "emissio" }", "messages": [ { "app": "data", "payload": "{ $args }" }, { "app": "payment", "payload": { "asset": "{ $idgeto }", "outputs": [ { "address": "{ $args._FOP }", "amount": "{ $args.total_emissio }" } ] } }, { "app": "state", "state": "{ response[ 'Romanent en ' || $args.geto ] = balance[ $idgeto ]; response[ 'Romanent en bytes' ] = balance[ base ] || ' bytes'; }" } ] }, { "if": "{ $proces == 'configuracio' }", "messages": [ { "app": "state", "state": "{ $geto = $args.geto; $resp_unit = $args.resp_unit; var[ 'geto_' || $resp_unit ] = $geto; var[ $geto || '_id' ] = $resp_unit; response[ 'Ref' ] = $geto; response[ 'Id' ] = $resp_unit; response[ 'Qt' ] = $qt; response[ 'Unitat ' ] = $unitat; }" } ] } ] } } ]
Technical information
Fees:
2,581 bytes
(452 headers, 2129 payload)
Level:2128245
Witnessed level:2128238
Main chain index:2119256
Latest included mc index:2119255
Status:stable/confirmed/final