Unit ID
zV6UT7nbW5NAsOVxhGvsOOuTbE1O3OZHy2tQvo2hVqk=
Received
01.09.2021 16:39:14
Confirmation delay (full node)
9 minutes 57 seconds
Confirmation delay (light node)
13 minutes 11 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $_Registre = 'SSFZKAWP3D7ZX72GQU5H2R6JLZWGSMS7'; // 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:2298716
Witnessed level:2298707
Main chain index:2286727
Latest included mc index:2286726
Status:stable/confirmed/final