Unit ID
+OQudNltti7/TcxAH+LRpmM71pDWDWigpY/eM/RIve0=
Received
29.10.2022 14:43:15
Confirmation delay (full node)
3 minutes 42 seconds
Confirmation delay (light node)
4 minutes 47 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $_Registre = 'GQONBV53I6ESRIOFIDPXANNUM64F47O3'; // Retorna el valor d'una entrada del _Registre $__dada = $refdada => data_feed [[ oracles = $_Registre, feed_name = $refdada, ifnone = 0 ]]; if ( $__dada( '_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._Capsa }", "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": "{ $unitat = trigger.output[[ asset != base ]].asset; $qt = trigger.output[[ asset = $unitat ]]; $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,101 bytes
(452 headers, 1649 payload)
Level:2882525
Witnessed level:2882518
Main chain index:2858245
Latest included mc index:2858244
Status:stable/confirmed/final