Transfers view
UTXO view
Obyte.org
Unit Legend
- not on main chain, not stable
- main chain, not stable
- bad unit
- not on main chain, stable/confirmed/final
- main chain, stable/confirmed/final
- not on main chain, selected
- main chain, selected
Close
Close
Unit ID
qou0C4N6wCqDrTcnQZcIDjS0Bm2pbxL7dvnNtKQTWtg=
Received
27.07.2021 10:19:22
Confirmation delay (full node)
3 minutes 55 seconds
Authors
XD7FVUM442NPIIMLRIT2FYWJEDQ4ILLJ
Children
uNzI/X1NfprwfAAciRHKicEOquBs01mw5RmDakW+Z7Y=
Parents
WrhcnWCBEa4AluU4gitN9mql3gGyKw/X+eg0amE/PWQ=
Messages
Definition
Address:
EUNSFMDCU6FYIAZ6CYVAAGYY34CERXCA
Definition:
[ "autonomous agent", { "init": "{ $nom_AA = 'Avisos'; //$_Registre = '5WVBJQHTEP54AEYUJGTQKWTXTXZSJQWA'; $_Registre = trigger.data._Registre; // * només x tests // Retorna una dada del Registre $__dada = $refdada => data_feed[[ oracles = $_Registre, feed_name = $refdada, ifnone = '' ]]; //$_Portal = $__dada( '_Portal' ); $_Portal = trigger.address; // * només x tests if ( $_Portal != trigger.address AND $__dada( '_Getons' ) != trigger.address ) bounce( 'Accés interdit' ); // Arguments i dades rebudes $args = trigger.data; $adr__ = trigger.initial_address; $dades = $args.dades otherwise {}; // Abreviacions $proces = $args.proces; $ref = $args.ref; $val = $args.val; // Si no s'ha lliurat l'argument especificat bota l'accés $__arg = $arg => $args[ $arg ] otherwise bounce( "Cal proporcionar el valor de: " || $arg ); $geto = $__arg( 'geto' ); $destinataria = $__arg( 'adr' ); // La destinataria ha de constar com activa per a Estels i per al getó if ( ! $__dada( 'activacio_' || $geto || '_' || $destinataria ) OR ! $__dada( 'activacio_Estels_' || $destinataria ) ) bounce( "Destinatària no activa" ); if ( $proces == 'avis_estels' OR $proces == 'avis_geto' ) { $ordinal_avis_actual = $__dada( 'ordinal_avis' ) otherwise 0; $ord_avis = $ordinal_avis_actual + 1; $ref_avis = $proces || '_' || $geto || '_' || $destinataria; $dades[ $ref_avis ] = $ord_avis; $dades[ $ord_avis || '_data' ] = timestamp; $dades[ $ord_avis || '_rebot' ] = 'inactiu'; $dades[ $ord_avis || '_text' ] = $__arg( 'text' ); $dades[ 'ordinal_avis' ] = $ord_avis; } if ( $proces == 'bloqueig_estels' OR $proces == 'bloqueig_geto' ) { $operacio = $args.operacio; $idprop = $args.idprop; $nova_idprop = $args.nova_idprop; $rebot = $__arg( 'rebot' ); $ordinal_bloqueig_actual = $__dada( 'ordinal_bloqueig' ) otherwise 0; $ord_bloqueig = $ordinal_bloqueig_actual + 1; $geto_bloqueig = $__dada( $idprop || '_geto' ) otherwise $geto; $text_bloqueig = $__dada( $idprop || '_text' ) otherwise $__arg( 'text' ); $destinataria_bloqueig = $__dada( $idprop || '_destinataria' ) otherwise $destinataria; $bloqueig_possible = $geto == 'Estels' OR $__dada( $geto || '_bloqueig_possible' ) > 1; if ( ! $bloqueig_possible ) bounce( 'Aquest getó no ho permet'); if ( $operacio == 'proposta' ) { $dades[ $nova_idprop || '_geto' ] = $geto; $dades[ $nova_idprop || '_destinataria' ] = $destinataria; $dades[ $nova_idprop || '_text' ] = $__arg( 'text' ); } if ( $operacio == 'confirmacio' OR $operacio == 'drecera' ) { $ref_bloqueig = $proces || '_' || $geto_bloqueig || '_' || $destinataria_bloqueig; $dades[ $ref_bloqueig ] = $ord_bloqueig; $dades[ $ord_bloqueig || '_data' ] = timestamp; $dades[ $ord_bloqueig || '_text' ] = $text_bloqueig; $dades[ $ord_bloqueig || '_destinataria' ] = $destinataria_bloqueig; $dades[ 'ordinal_bloqueig' ] = $ord_bloqueig; } } if ( $proces == 'desbloqueig_estels' OR $proces == 'desbloqueig_geto' ) { $operacio = $args.operacio; $idprop = $args.idprop; $nova_idprop = $args.nova_idprop; $ordinal_desbloqueig_actual = $__dada( 'ordinal_desbloqueig' ) otherwise 0; $ord_desbloqueig = $ordinal_desbloqueig_actual + 1; $ref_bloqueig = $__dada( $idprop || '_bloqueig' ) otherwise $args.ref_bloqueig; $ref_desbloqueig = 'desbloqueig_' || $ref_bloqueig; $bloqueig_possible = $geto == 'Estels' OR $__dada( $geto || '_bloqueig_possible' ) > 1; if ( ! $bloqueig_possible ) bounce( 'Aquest getó no ho permet'); if ( $operacio == 'proposta' ) $dades[ $nova_idprop || '_bloqueig' ] = $ref_bloqueig; if ( $operacio == 'confirmacio' OR $operacio == 'drecera' ) { $dades[ $ref_desbloqueig ] = $ord_desbloqueig; $dades[ $ord_desbloqueig || '_data' ] = timestamp; $dades[ 'ordinal_desbloqueig' ] = $ord_desbloqueig; } } $registre = {}; $registre.dades = $dades; }", "messages": [ { "app": "data", "payload": "{ $registre }" }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $args._Registre }", "amount": "{ $__dada( 'Provisio' ) }" } ] } }, { "app": "state", "state": "{ response[ 'proces' ] = $proces; response[ 'operacio' ] = $operacio; }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
5,876
bytes
(452 headers, 5424 payload)
Level:
2133240
Witnessed level:
2133233
Last ball unit:
c92IEjWX6xgffd59K2/3+TiTdkMT3t/hlprkJb9qP4o=
Main chain index:
2124173
Latest included mc index:
2124172
Status:
stable/confirmed/final