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
Ak0O9pthn535e6OXavuxBYIYJI6/26aub+WNIXseqvU=
Received
09.07.2021 15:33:54
Confirmation delay (full node)
4 minutes 9 seconds
Confirmation delay (light node)
8 minutes 43 seconds
Authors
XD7FVUM442NPIIMLRIT2FYWJEDQ4ILLJ
Children
aRChnl9P99ek9+h/1oNcw82qfwZ2ywwQaq0nWE2aN+o=
Parents
3jZZW6LLjvaDiyhys4WfIucch/gh5blH2Y7TMK+Lt3E=
Messages
Definition
Address:
IAMSB4MSVCBYIXAFEHLZVIW63W3OVF4Y
Definition:
[ "autonomous agent", { "init": "{ $nom_AA = 'FOP'; $versio = '0.01'; //$_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 = 0 ]]; $adr__ = trigger.address; $args = trigger.data; $unitat_entrant = trigger.output[[ asset != base ]].asset; $unitat = ! $unitat_entrant ? 'base' : $unitat_entrant; //$qt = trigger.output[[ asset = $unitat ]]; $qt = 2221; // $_Portal = $__dada( '_Portal' ); $_Portal = trigger.address; // * només x tests if ( $_Portal != trigger.address AND $__dada( '_Accions' ) != trigger.address ) bounce( 'Accés interdit' ); $sentit = $args.sentit; $ord_moviment = $__dada( 'ordinal_' || $sentit ) + 1; $ref_moviment = $sentit || '_' || $ord_moviment; $unitat_entrada = $unitat; $unitat_sortida = $args.unitat; $total_entrades = $__dada( 'total_entrades_' || $unitat_entrada ); $total_sortides = $__dada( 'total_sortides_' || $unitat_sortida ); $registre = {}; $dades = {}; $dades[ $ref_moviment || '_data' ] = timestamp; if ( $sentit == 'entrada' ) { $dades[ $ref_moviment || '_qt' ] = $qt; $dades[ $ref_moviment || '_unitat' ] = $unitat_entrada; $nou_total_entrades = $total_entrades + $qt; $dades[ $ref_moviment || '_emissora' ] = $adr__; $dades[ 'total_entrades_' || $unitat_entrada ] = $nou_total_entrades; } if ( $sentit == 'sortida' ) { $qt_sortida = $args.qt; $rebedora = $args.rebedora; $dades[ $ref_moviment || '_qt' ] = $qt_sortida; $dades[ $ref_moviment || '_unitat' ] = $unitat_sortida; $nou_total_sortides = $total_sortides + $qt_sortida; $dades[ $ref_moviment || '_rebedora' ] = $rebedora; $dades[ 'total_sortides_' || $unitat_sortida ] = $nou_total_sortides; } $dades[ 'ordinal_' || $sentit ] = $ord_moviment; $registre.dades = $dades; }", "messages": [ { "if": "{ $sentit == 'sortida' }", "app": "payment", "payload": { "asset": "{ $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": "{ response[ 'Ref moviment' ] = $ref_moviment; if ( $sentit == 'entrada' ) { response[ 'Emissora' ] = $adr__; response[ 'Qt' ] = $qt; response[ 'Unitat' ] = $unitat_entrada; } if ( $sentit == 'sortida' ) { response[ 'Rebedora' ] = $rebedora; response[ 'Qt' ] = $qt_sortida; response[ 'Unitat' ] = $unitat_sortida; } $unitat_moviment = $unitat_sortida otherwise $unitat_entrada; response[ 'Total entrades en ' || $unitat_moviment ] = $nou_total_entrades otherwise $total_entrades; response[ 'Total sortides en ' || $unitat_moviment ] = $nou_total_sortides otherwise $total_sortides; /* $romanent = balance[ this_address ][ $unitat_moviment ]; response[ 'Romanent en ' || $unitat_moviment ] = $romanent; response[ 'Romanent correcte ?' ] = $romanent == $total_entrades - $total_sortides ? 'SÍ' : 'NO'; */ response[ 'unitat_moviment' ] = $unitat_moviment; response[ 'unitat_sortida' ] = $unitat_sortida; response[ 'unitat_entrada' ] = $unitat_entrada; }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
4,798
bytes
(452 headers, 4346 payload)
Level:
2073806
Witnessed level:
2073798
Last ball unit:
DnJHPq5u70MBK6I87gGXwMrOQZCCBiI2Lps1xuK/TqY=
Main chain index:
2065666
Latest included mc index:
2065665
Status:
stable/confirmed/final