Unit ID
UHv7sG/hB4rrw6zMXVq/IuG6jOtNdWxrs63tu1AOzn0=
Received
02.02.2021 10:17:28
Confirmation delay (full node)
4 minutes 12 seconds
Confirmation delay (light node)
7 minutes 11 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $nom_AA = 'Validacions'; $darrera_versio = '0000000000'; //$_Portal_original = '0000000000'; $_Portal_original = trigger.address; //Hauria de ser fix amb adr darrer Portal $_Portal_actual = var[ 'nou_portal' ] otherwise $_Portal_original; if ( $_Portal_actual != trigger.address ) { $_Portal = substring( var[ $_Portal_actual ][ 'versions' ], 0, 32 ); if( $_Portal != trigger.address ) { bounce ( 'Portal no reconegut' ); } } else { $_Portal = $_Portal_actual; } // Principals $args = trigger.data; $adr__ = trigger.initial_address; $idgeto = trigger.output[[ asset != base ]].asset; $qt = trigger.output[[ asset = $idgeto ]]; $proces = $args.proces; $idprop = $args.idprop; // Processos // Temporalment, per als TESTS!!!............................... if ( $proces == 'validacio_directa_TEST' ) { $validacio_aprovada = true; } }", "messages": [ { "if": "{ $validacio_aprovada }", "app": "data_feed", "payload": { "{ 'validacio_' || $idprop }": "{ timestamp }" } }, { "app": "state", "state": "{ response[ 'Procés' ] = $proces; response[ 'Proposta' ] = $idprop; // -- Nou Portal if ( $_Portal != $_Portal_actual ) { var[ 'anterior_portal' ] = var[ 'nou_portal' ]; var[ 'nou_portal' ] = $_Portal; response[ 'Nou portal' ] = $_Portal; } }" } ] } ]
Technical information
Fees:
2,242 bytes
(452 headers, 1790 payload)
Level:1870466
Witnessed level:1870458
Main chain index:1862555
Latest included mc index:1862554
Status:stable/confirmed/final