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
+GaljOW0J6/EzClDAwqmB9GgMlb+g5fl7KTCmY+Hpiw=
Received
03.09.2021 09:44:22
Confirmation delay (full node)
2 minutes 56 seconds
Confirmation delay (light node)
4 minutes 4 seconds
Authors
XD7FVUM442NPIIMLRIT2FYWJEDQ4ILLJ
Children
FGoE4zL5fktMf7xOY9bl2fybQBysbmr8dPAG7+/Aidw=
Parents
fsk+gf6h4L1oZYACZU4ZbsAiiSB6xP9ceo9z9sOTttY=
Messages
Definition
Address:
3MABFQFNXDW3YJVCP4XHJ53YPYMYISPZ
Definition:
[ "autonomous agent", { "init": "{ $_Registre = '7CXXRXE4ZWAKCTE7O6TYHBCSXFTDOZ4D'; $adr__ = trigger.initial_address; $args = trigger.data; $unitat = trigger.output[[ asset != base ]].asset; // Retorna una dada del Registre $__dada = $refdada => data_feed [[ oracles = $_Registre, feed_name = $refdada, ifnone = 0 ]]; $sentit = $args.sentit; $id_unitat = $unitat == 'none' ? 'base' : $unitat; $unitat_entrada = $id_unitat == 'base' ? 'Bytes' : $id_unitat == $__dada( 'Estels' ) ? 'Estels' : $__dada( 'geto_' || $id_unitat ); if ( var[ 'dotacio_' || $unitat_entrada ] != 'feta' AND $sentit == 'entrada' AND ( $unitat_entrada == 'Bytes' OR $unitat_entrada == 'Estels' ) ) $dotacio_inicial = true; if ( ! $dotacio_inicial AND $__dada( '_Portal' ) != trigger.address AND $__dada( '_Accions' ) != trigger.address ) bounce( 'Accés interdit' ); $total_entrades = $__dada( 'total_entrades_' || $unitat_entrada ); $unitat_sortida = $args.unitat_sortida; $total_sortides = $__dada( 'total_sortides_' || $unitat_sortida ); $registre = {}; $dades = {}; if ( $sentit == 'entrada' OR $sentit == 'ambdos' ) { $qt_entrada = trigger.output[[ asset = $id_unitat ]]; $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 || '_qt' ] = $qt_entrada; $dades[ $ref_entrada || '_emissora' ] = $args.emissora otherwise $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 || '_qt' ] = $qt_sortida; $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": [ { "app": "data", "payload": "{ $registre }" }, { "if": "{ $sentit == 'entrada' OR ( !! $qt_sortida AND $unitat_sortida != 'Bytes' ) }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $_Registre }", "amount": "{ $__dada( 'Provisio' ) }" } ] } }, { "if": "{ !! $qt_sortida AND $unitat_sortida == 'Bytes' }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $rebedora }", "amount": "{ $qt_sortida }" }, { "address": "{ $_Registre }", "amount": "{ $__dada( 'Provisio' ) }" } ] } }, { "if": "{ !! $qt_sortida AND $unitat_sortida != 'Bytes' }", "app": "payment", "payload": { "asset": "{ $args.id_unitat_sortida }", "outputs": [ { "address": "{ $rebedora }", "amount": "{ $qt_sortida }" } ] } }, { "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 ); } if ( $sentit == 'sortida' OR $sentit == 'ambdos' ) { response[ $ref_sortida ] = $qt_sortida || ' ' || $unitat_sortida || ' a ' || $rebedora; response[ 'Total sortides en ' || $unitat_sortida ] = $nou_total_sortides; } if ( $dotacio_inicial ) var[ 'dotacio_' || $unitat_entrada ] = 'feta'; }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
4,567
bytes
(452 headers, 4115 payload)
Level:
2300315
Witnessed level:
2300308
Last ball unit:
d4ysQEwx6hlRassQRazd6N37nkSmhYQfOblsHabG868=
Main chain index:
2288326
Latest included mc index:
2288325
Status:
stable/confirmed/final