Unit ID
m9RWIky2DQ5U9CqkNx2u8NybyAWc8G+PPfAN9sg7GE0=
Received
04.11.2022 10:55:38
Confirmation delay (full node)
2 minutes 42 seconds
Confirmation delay (light node)
4 minutes 0 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $_Registre = 'JIMS7566DFWHTSQYU5UUWEZDBRWV3QTN'; // 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; $_Capsa = $__dada( '_Capsa' ); }", "messages": { "cases": [ { "if": "{ $proces == "emissio" }", "messages": [ { "app": "data", "payload": "{ $args }" }, { "app": "payment", "payload": { "asset": "{ $idgeto }", "outputs": [ { "address": "{ $_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,129 bytes
(452 headers, 1677 payload)
Level:2887322
Witnessed level:2887315
Main chain index:2863042
Latest included mc index:2863041
Status:stable/confirmed/final