Unit ID
zYA6EtGt8LpAANL5SdWa/cyLwMXhliPs+ddJPdRzYSA=
Received
29.05.2021 16:59:06
Confirmation delay (full node)
2 minutes 26 seconds
Confirmation delay (light node)
5 minutes 1 second
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $nom_AA = 'Consultes_Getons'; $args = trigger.data; $_Portal = $args._Portal; $refcons = $args.refcons; $__dada = $refval => { data_feed[[ oracles = $args._Registre, feed_name = $refval, ifnone = false ]] }; }", "messages": [ { "app": "state", "state": "{ response[ 'consulta' ] = $refcons; if ( $refcons == 'Dades_Geto' ) { $getons_provisionals = var[ $_Portal ][ 'getons_provisionals' ]; $refgeto = $args.nom ? 'geto_' || $args.nom : $__dada( 'refgeto_' || $args.idgeto ); if ( ! $__dada( $refgeto ) ) bounce( 'Getó desconegut' ); if ( ! $__dada( $refgeto || '__confirmant' ) ) bounce( 'Getó pendent de validació' ); if ( ! $__dada( $refgeto || '_id' ) ) bounce( "Getó pendent d'inscripció" ); $refs = [ 'id', 'estat', '_proposant', '_confirmant', '_FOP', 'aportacio', 'factor_conversio', 'taxa_conversio', 'derivacio', 'import_activacio', 'import_subscripcio', 'import_renovacio','cicles_diposit', 'activacions_restringides', 'subscripcions_restringides', 'recepcions_restringides', 'conversions_restringides', 'valors_esmenables', 'llistats_editables', 'bloqueig_possible', '_AUT_A', '_AUT_B', '_AUT_C' ]; $__resposta = $r => { response[ $r ] = $__dada( $refgeto || '_' || $r ); }; $resps = map( $refs, 23, $__resposta ); } if ( $refcons == 'Avis' ) { $refavis = 'avis_' || $refgeto || '_' || $args.adr; $temps_avis = $__dada( $refavis ); $avis_es_actual = $temps_avis + ( $__dada( 'Lapse' ) * 2 ) < timestamp; if ( $avis_es_actual ) { response[ 'Avís' ] = $__dada( $refavis || '_text' ); response[ 'Hora' ] = timestamp_to_string( $temps_avis, 'time' ); response[ 'Data' ] = timestamp_to_string( $temps_avis, 'date' ); response[ 'Rebot' ] = $__dada( $refavis || '_rebot' ); } else { response[ 'No hi ha cap avís per a' ] = $args.adr; } } if ( $refcons == 'Capacitacio' ) { $ref_capacitacio = 'capacitacio_' || $refgeto || '_' || $args.accio || '_' || $args.adr; response[ 'Capacitacio' ] = $__dada( $ref_capacitacio ); } }" } ] } ]
Technical information
Fees:
3,799 bytes
(452 headers, 3347 payload)
Level:2023310
Witnessed level:2023302
Main chain index:2015320
Latest included mc index:2015319
Status:stable/confirmed/final