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
tZfwTsiLlf073bLszeLKMHNS6/jQp+DIclRQFRSWpRc=
Received
15.08.2021 16:46:34
Confirmation delay (full node)
8 minutes 12 seconds
Confirmation delay (light node)
9 minutes 40 seconds
Authors
XD7FVUM442NPIIMLRIT2FYWJEDQ4ILLJ
Children
UKDXiTYffwZeGjPI2LHkjH9Qz654eIXduwUPJhIVSJE=
Parents
FNnnT+O0iHKHEOkkzukTH3c13wCAafpbFFRpKOxU5Do=
Messages
Definition
Address:
AXN3QBOKPC2AP7UNMAMKK6WAZL45GEPE
Definition:
[ "autonomous agent", { "init": "{ $nom_AA = 'FOP_Geto'; $versio = '0.01'; $geto = 'Geto_ee'; $id_geto = 'Tvx24iDhcQC15LjsOIAQDXSaLlOth7o1oroE1XzD8RM='; //$_Registre = '5WVBJQHTEP54AEYUJGTQKWTXTXZSJQWA'; $_Registre = trigger.data._Registre; // * només x tests $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 ]]; // $_Portal = $__dada( '_Portal' ); $_Portal = trigger.address; // * només x tests if ( $_Portal != trigger.address AND $__dada( '_Accions' ) != trigger.address ) bounce( 'Accés interdit' ); bounce( 'sentit ' || $args.sentit || ' unitat ' || $unitat ); $sentit = $args.sentit; $total_entrades = $__dada( 'total_entrades_' || $geto ) otherwise 0; $total_sortides = $__dada( 'total_sortides_' || $geto ) otherwise 0; $provisio = $unitat == 'none'; $idgeto_registrada = $__dada( $geto || '_id' ) otherwise ''; if( $idgeto_registrada != $unitat AND ! $provisio ) bounce( 'Unitat desconeguda' ); $estat_geto = $__dada( $geto || '_estat' ) otherwise ''; if( $estat_geto != 'operatiu' ) bounce( 'Getó no operatiu' ); $registre = {}; $dades = {}; if ( $sentit == 'entrada' ) { $qt_entrada = $provisio ? 0 : trigger.output[[ asset = $unitat ]]; $nou_total_entrades = $total_entrades + $qt_entrada; $ord_entrada_actual = $__dada( 'ordinal_entrada_' || $geto ) otherwise 0; $ord_entrada = $ord_entrada_actual + 1; $ref_entrada = 'entrada_' || $geto || '_' || $ord_entrada; $dades[ $ref_entrada || '_data' ] = timestamp; $dades[ $ref_entrada || '_qt' ] = $qt_entrada; $dades[ $ref_entrada || '_emissora' ] = $args.emissora otherwise $adr__; $dades[ 'total_entrades_' || $geto ] = $nou_total_entrades; $dades[ 'ordinal_entrada_' || $geto ] = $ord_entrada; } if ( $sentit == 'sortida' ) { $qt_sortida = $args.qt; $rebedora = $args.rebedora; $ord_sortida_actual = $__dada( 'ordinal_sortida_' || $geto ) otherwise 0; $ord_sortida = $ord_sortida_actual + 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[ 'total_sortides_' || $geto ] = $nou_total_sortides; $dades[ 'ordinal_sortida_' || $geto ] = $ord_sortida; } $registre.dades = $dades; $registre.geto = $geto; }", "messages": [ { "app": "data", "payload": "{ $registre }" }, { "if": "{ ! $provisio }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $_Registre }", "amount": "{ $__dada( 'Provisio' ) }" } ] } }, { "if": "{ $sentit == 'sortida' AND ! $provisio }", "app": "payment", "payload": { "asset": "{ $unitat }", "outputs": [ { "address": "{ $rebedora }", "amount": "{ $qt_sortida }" } ] } }, { "if": "{ ! $provisio }", "app": "state", "state": "{ if ( $sentit == 'entrada' ) { response[ $ref_entrada ] = $qt_entrada || ' ' || $geto || ' de ' || $adr__; response[ 'Total entrades en ' || $geto ] = $nou_total_entrades; } if ( $sentit == 'sortida') { response[ $ref_sortida ] = $qt_sortida || ' ' || $geto || ' a ' || $rebedora; response[ 'Total sortides en ' || $geto ] = $nou_total_sortides; } }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
4,780
bytes
(452 headers, 4328 payload)
Level:
2201757
Witnessed level:
2201725
Last ball unit:
GSOGqrvwYKymlTzTV/Cz1rF/xjEkxnSnVGbDSHB/APg=
Main chain index:
2191724
Latest included mc index:
2191723
Status:
stable/confirmed/final