Unit ID
Me+cyi0TGzowOloXZjDEbqWHlwNS2/sbgH9tce0K/bI=
Received
19.06.2021 17:37:17
Confirmation delay (full node)
2 minutes 45 seconds
Confirmation delay (light node)
3 minutes 51 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 ) bounce ( 'Portal no reconegut' ); $args = trigger.data; $proces = $args.proces; $idgeto = $args.idgeto; }", "messages": { "cases": [ { "if": "{ $proces == "emissio" AND $unitat != 'base' }", "messages": [ { "app": "payment", "payload": { "asset": "{ $idgeto }", "outputs": [ { "address": "{ $args._FOP }", "amount": "{ $args.total_emissio }" } ] } }, { "app": "state", "state": "{ response[ 'Romanent en ' || $args.nomgeto ] = balance[ $idgeto ]; }" } ] }, { "if": "{ $proces == 'configuracio' }", "messages": [ { "app": "state", "state": "{ $refgeto = $args.refgeto; $resp_unit = $args.resp_unit; var[ 'refgeto_' || $resp_unit ] = $refgeto; var[ $refgeto || '_id' ] = $resp_unit; response[ 'Ref' ] = $refgeto; response[ 'Id' ] = $resp_unit; response[ 'Qt' ] = $qt; response[ 'Unitat ' ] = $unitat; }" } ] }, { "if": "{ $proces == "emissio" AND $unitat == 'base' }", "messages": [ { "app": "state", "state": "{ response[ 'Romanent en bytes' ] = balance[ base ] || ' bytes'; }" } ] } ] } } ]
Technical information
Fees:
2,618 bytes
(452 headers, 2166 payload)
Level:2048530
Witnessed level:2048523
Main chain index:2040537
Latest included mc index:2040536
Status:stable/confirmed/final