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
luSny8ddH8cdjLFnERQZrdDSTl6D4PDUh5/5fNElBgw=
Received
15.07.2021 10:27:35
Confirmation delay (full node)
5 minutes 59 seconds
Confirmation delay (light node)
8 minutes 37 seconds
Authors
XD7FVUM442NPIIMLRIT2FYWJEDQ4ILLJ
Children
a5NsbLoppzwY8kr8lF1RQDX5j6tvNgQ2uNtZ87Fvm/E=
Parents
O4pmj5bszuO/2/T47piIEJq8gxx0ZQh/b7iX5xwyy1E=
Messages
Definition
Address:
MWOX4AAN3D5HA3SCMSMQSYPKHNG3YWO5
Definition:
[ "autonomous agent", { "init": "{ $nom_AA = 'FOP'; $versio = '0.02'; //$_Registre = '5WVBJQHTEP54AEYUJGTQKWTXTXZSJQWA'; $_Registre = trigger.data._Registre; // * només x tests $adr__ = trigger.initial_address; $args = trigger.data; $unitat_entrant = trigger.output[[ asset != base ]].asset; // Retorna una dada del Registre $__dada = $refdada => data_feed[[ oracles = $_Registre, feed_name = $refdada, ifnone = 0 ]]; // $_Portal = $__dada( '_Portal' ); $_Portal = trigger.address; // * només x tests if ( $_Portal != trigger.address AND $__dada( '_Accions' ) != trigger.address ) bounce( 'Accés interdit' ); $id_estels = $__dada( 'Estels' ); $id_unitat_entrada = $unitat_entrant == 'none' ? 'base' : $unitat_entrant; $unitat_entrada = $id_unitat_entrada == 'base' ? 'Bytes' : $id_unitat_entrada == $id_estels ? 'Estels' : $__dada( 'geto_' || $id_unitat_entrada ); $unitat_sortida = $args.unitat_sortida; $sentit = $args.sentit; $total_entrades = $__dada( 'total_entrades_' || $unitat_entrada ) otherwise 0; $total_sortides = $__dada( 'total_sortides_' || $unitat_sortida ) otherwise 0; $registre = {}; $dades = {}; if ( $sentit == 'entrada' OR $sentit == 'ambdos' ) { $qt_entrada = trigger.output[[ asset = $id_unitat_entrada ]]; $nou_total_entrades = $total_entrades + $qt_entrada; $ord_entrada = $__dada( 'ordinal_entrada' ) + 1; $ref_entrada = 'entrada_' || $ord_entrada; $dades[ $ref_entrada || '_data' ] = timestamp; $dades[ $ref_entrada || '_emissora' ] = $adr__; $dades[ $ref_entrada || '_unitat' ] = $unitat_entrada; $dades[ 'total_entrades_' || $unitat_entrada ] = $nou_total_entrades; $dades[ 'ordinal_entrada' ] = $ord_entrada; } if ( $sentit == 'sortida' OR $sentit == 'ambdos' ) { $qt_sortida = $args.qt; $rebedora = $args.rebedora; $ord_sortida = $__dada( 'ordinal_sortida' ) + 1; $ref_sortida = 'sortida_' || $ord_sortida; $nou_total_sortides = $total_sortides + $qt_sortida; $dades[ $ref_sortida || '_data' ] = timestamp; $dades[ $ref_sortida || '_actuant' ] = $adr__; $dades[ $ref_sortida || '_rebedora' ] = $rebedora; $dades[ $ref_sortida || '_unitat' ] = $unitat_sortida; $dades[ 'total_sortides_' || $unitat_sortida ] = $nou_total_sortides; $dades[ 'ordinal_sortida' ] = $ord_sortida; } $registre.dades = $dades; }", "messages": [ { "if": "{ $sentit == 'sortida' OR $sentit == 'ambdos' }", "app": "payment", "payload": { "asset": "{ $args.id_unitat_sortida }", "outputs": [ { "address": "{ $rebedora }", "amount": "{ $qt_sortida }" } ] } }, { "app": "data", "payload": "{ $registre }" }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $_Registre }", "amount": "{ $__dada( 'Provisio' ) }" } ] } }, { "app": "state", "state": "{ if ( $sentit == 'entrada' OR $sentit == 'ambdos' ) { response[ $ref_entrada ] = $qt_entrada || ' ' || $unitat_entrada || ' de ' || $adr__; response[ 'Total entrades en ' || $unitat_entrada ] = $nou_total_entrades; if( $unitat_entrada == 'Bytes' ) response[ 'Total entrades en MBytes' ] = round ( $nou_total_entrades / 1e6 ); else if( $unitat_entrada != 'Estels' ) response[ 'Romanent en ' || $unitat_entrada ] = balance[ this_address ][ $args.id_unitat_entrada ]; } if ( $sentit == 'sortida' OR $sentit == 'ambdos' ) { response[ $ref_sortida ] = $qt_sortida || ' ' || $unitat_sortida || ' a ' || $rebedora; response[ 'Total sortides en ' || $unitat_sortida ] = $nou_total_sortides; } response[ 'Romanent en Bytes' ] = balance[ this_address ][ base ]; response[ 'Romanent en MBytes' ] = round( balance[ this_address ][ base ] / 1e6 ); response[ 'Romanent en Estels' ] = balance[ this_address ][ $id_estels ]; }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
5,236
bytes
(452 headers, 4784 payload)
Level:
2085429
Witnessed level:
2085422
Last ball unit:
8akxNNZ7PK4/00g+RNi4s3NML14lFJJXNQrU949+kXY=
Main chain index:
2077110
Latest included mc index:
2077109
Status:
stable/confirmed/final