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
lyiU/KDLf2tsgdOfpkatKGiNRqNevuVIZahhLjvgsRE=
Received
30.10.2020 18:09:29
Confirmation delay (full node)
3 minutes 32 seconds
Confirmation delay (light node)
6 minutes 57 seconds
Authors
C4KIJSUWVM7BGWTLXKX3K4PNRXV7OY4W
Children
heUx56353rv4RP7jB4BVQTGYlghAsTrWV59C7hmguk8=
Parents
L9T3h9pkPIL+SHAF3NprsY87niWGjBmaIV0dpyDm4lE=
Messages
Definition
Address:
Y5F55ETEAVWO2XU325POCUCU7TTSX57Y
Definition:
[ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{\r \r $nom_AA = 'Renovacions';\r $versio = '3';\r \r $AA_PF = trigger.data.AA_PF;\r $adr__ = trigger.initial_address;\r $qt = trigger.output[[asset=base]] - 10000; //bounce-fees \r \r $unitat = var[ $AA_PF ][ 'unitat' ];\r $AA_Transfers = var[ $AA_PF ][ '_AA_Transfers' ];\r $AA_Subscripcions = var[ $AA_PF ][ '_AA_Subscripcions' ];\r $adr_FOP = var[ $AA_PF ][ '_FOP' ];\r $import_renovacio = var[ $AA_PF ][ 'Import_Renovacio' ]; \r \r // Comprova q adr subscrita\r $adr__subscrita = var[ $AA_Subscripcions ][ 'subscripcio_' || $adr__ ];\r if ( ! $adr__subscrita ) { bounce ( $nom_AA || ': Adreça no subscrita' ); }\r \r // Comprova q cicle renovat per adr__ no és inferior a l'actual\r $subscripcio = var[ $AA_Subscripcions ][ 'subscripcio_' || $adr__ ];\r $cicle_subscripcio = $subscripcio['cicle'];\r \r $cicle_actual = var[ $AA_Transfers ][ 'cicle_actual'];\r $cicle_renovat = var[ 'cicle_' || $adr__ ];\r \r if ( $cicle_actual > $cicle_subscripcio){\r if ( $cicle_renovat AND $cicle_actual == $cicle_renovat ) \r { bounce ( $nom_AA || ': Cicle ja renovat' ); }\r }\r \r // Comprova q la qt és superior a l'import de renovació\r if ( $import_renovacio > $qt ) \r { bounce ( $nom_AA || ": L'import de la renovació és de " || $import_renovacio ); }\r \r }", "messages": [ { "app": "data", "payload": { "AA_PF": "{ $AA_PF }", "emissora": "{ $adr__ }", "receptora": "{ $adr_FOP }", "accio": "{ $nom_AA }" } }, { "app": "payment", "payload": { "asset": "{ $unitat }", "outputs": [ { "address": "{ $AA_Transfers }", "amount": "{ $qt }" } ] } }, { "app": "state", "state": "{\r var[ 'cicle_' || $adr__ ] = $cicle_actual;\r response[ 'Resultat: ' ] = \r "Renovació de la subscripció de per al cicle " || $cicle_actual || " de l'adr " || $adr__; \r }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,561
bytes
(452 headers, 2109 payload)
Level:
1716756
Witnessed level:
1716749
Last ball unit:
MkH7QwndJMUAQgxpOsEEOdGpSjCyPQYI81JHGmRg5EM=
Main chain index:
1709208
Latest included mc index:
1709207
Status:
stable/confirmed/final