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
XGVKlQoL603Qr7swrui7PZQ7C/4rzJAPDZiFWGKKOXY=
Received
30.10.2020 10:27:31
Confirmation delay (full node)
4 minutes 11 seconds
Confirmation delay (light node)
6 minutes 27 seconds
Authors
C4KIJSUWVM7BGWTLXKX3K4PNRXV7OY4W
Children
9dKs5/egYczHku5M7bqnx+rNH8ZIRzRieclKud3XBZ8=
Parents
SEhEMPGfQ3aCMVA+a5HoiUH4+4tlOJeLFnDHPRo1dG0=
Messages
Definition
Address:
3OHMVA3T4N2FGGAGJC25S3TTVEDWH2B2
Definition:
[ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{\r \r $nom_AA = 'Transfers';\r $versio = '2';\r \r $unitat = 'base';\r \r $AA_PF = trigger.data.AA_PF;\r $adr__ = trigger.initial_address;\r $args = trigger.data;\r $qt = trigger.output[[asset=base]] - 10000; //bounce-fees \r \r $AA_Activacions = var[ $AA_PF ][ '_AA_Activacions' ];\r $interval_cicles = var[ $AA_PF ][ 'Interval_Cicles' ];\r \r $receptora = $args.receptora;\r \r // Comprovacions i valors vars diferents en funció de l'origen de la requesta\r if ( !! $args.accio ) {\r $accio = $args.accio;\r $emissora = $args.emissora;\r \r // Comprova q l'adreça de l'AA actuant és un agent autònom\r if ( ! is_aa( trigger.address ) ) { bounce ( $nom_AA || ': no AA' ); }\r \r // Comprova q l'adreça de l'AA actuant és operativa\r $adr_AA = var[ $AA_PF ][ '_AA_' || $args.accio ];\r if ( trigger.address != $adr_AA ) { bounce ( $nom_AA || ': AA no autoritzat' ); }\r \r } else { \r $accio = 'Transfers';\r $emissora = $adr__;\r \r // Comprova q adr receptora registrada com a activa\r $adr_recep_activa = var[ $AA_Activacions ][ 'activacio_' || $receptora ];\r if ( ! $adr_recep_activa ) { bounce ( $nom_AA || ': Adreça receptora no activa' ); }\r } \r }", "messages": [ { "app": "payment", "payload": { "asset": "{ $unitat }", "outputs": [ { "address": "{ $receptora }", "amount": "{ $qt }" } ] } }, { "app": "state", "state": "{\r \r // Registre Totals\r var[ 'total_' || $accio ] += $qt;\r var[ 'total_' || $accio || '_de_' || $emissora ] += $qt;\r var[ 'total_' || $accio || '_a_' || $receptora ] += $qt;\r var[ 'total_' || $accio || '_de_' || $emissora || '_a_' || $receptora ] += $qt;\r \r response[ 'Total ' || $accio ] = var[ 'total_' || $accio ];\r response[ 'Total ' || $accio || ' de ' || $emissora ] = var[ 'total_' || $accio || '_de_' || $emissora ];\r response[ 'Total ' || $accio || ' a ' || $receptora ] = var[ 'total_' || $accio || '_a_' || $receptora ];\r response[ 'Total ' || $accio || ' de ' || $emissora || ' a ' || $receptora ] = var[ 'total_' || $accio || '_de_' || $emissora || '_a_' || $receptora ];\r \r // Gestió Cicles\r if ( ! var[ 'cicle_actual' ] ) { \r $nou_cicle = 1; \r $nova_data = timestamp; \r $nova_data_cicle_anterior = 0;\r } else { \r $cicle_actual = var[ 'cicle_actual' ]; \r $data_cicle_actual = var[ 'data_cicle_actual' ]; \r $data_cicle_anterior = var[ 'data_cicle_anterior' ];\r if ( $interval_cicles < ( timestamp - $data_cicle_actual ) ) {\r $nou_cicle = $cicle_actual + 1;\r $nova_data = timestamp;\r $nova_data_cicle_anterior = $data_cicle_actual; \r } else {\r $nou_cicle = $cicle_actual;\r $nova_data = $data_cicle_actual;\r $nova_data_cicle_anterior = $data_cicle_anterior; \r }\r }\r var[ 'cicle_actual' ] = $nou_cicle;\r var[ 'data_cicle_actual' ] = $nova_data;\r var[ 'data_cicle_anterior' ] = $nova_data_cicle_anterior;\r \r response[ 'cicle actual' ] = $nou_cicle;\r response[ 'data cicle actual' ] = $nova_data;\r response[ 'data cicle anterior' ] = $nova_data_cicle_anterior;\r }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
3,959
bytes
(452 headers, 3507 payload)
Level:
1716080
Witnessed level:
1716073
Last ball unit:
AIsP8ryyFAEC1l2dSN1zU37VF2ULuihX1urvTd46aGc=
Main chain index:
1708532
Latest included mc index:
1708531
Status:
stable/confirmed/final