Unit ID
4g+uJObs8twUPv2RuXrof42fc7+G5tuMUQjvX1c4EsU=
Received
18.06.2021 14:59:24
Confirmation delay (full node)
4 minutes 45 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.nom_geto ] = 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,619 bytes
(452 headers, 2167 payload)
Level:2047638
Witnessed level:2047631
Main chain index:2039645
Latest included mc index:2039644
Status:stable/confirmed/final