Unit ID
d5g0ju0R6dFyKj2MO0ZxhyJrLeyEi/G1Wg+ojZSbdGc=
Received
02.09.2021 10:12:12
Confirmation delay (full node)
2 minutes 2 seconds
Confirmation delay (light node)
4 minutes 38 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $_Registre = 'MGIC6DY2L6I4F5MEB3LSBGUCSTNLIJTV'; // 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:2299442
Witnessed level:2299435
Main chain index:2287453
Latest included mc index:2287452
Status:stable/confirmed/final