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
ZHy8Xm9KX4K7XZf7FfjT6vT1CIFB6nRuh0TALB+/GrA=
Received
25.11.2020 19:49:59
Confirmation delay (full node)
6 minutes 2 seconds
Confirmation delay (light node)
10 minutes 18 seconds
Authors
C4KIJSUWVM7BGWTLXKX3K4PNRXV7OY4W
Children
VqSBWV8Pam4Pfmu/QOcvYNJLZqVMQy1HKDDlzbZ2LZk=
Parents
DjJaI3RtpABxq0wpj1ZPDgRQNsPjLjodk36i6Y3p2ss=
Messages
Definition
Address:
RCKXH2HY2VKXJ5FNSSBH3U3B2KKJ5BYF
Definition:
[ "autonomous agent", { "init": "{ $nom_AA = 'Portal'; $versio = '0.5'; $AUT_0 = 'C4KIJSUWVM7BGWTLXKX3K4PNRXV7OY4W'; $adr__ = trigger.address; $args = trigger.data; $__bota = $txt => bounce ( $nom_AA || ' >>> ' || $txt ); $__autoritzada = ( $x ) => { $aut = var[ '_AUT_' || $x ]; $aut AND $aut == $adr__ }; if ( ! $args ) { $__bota( ': Cal proporcionar-ne els arguments' ); } if ( !! $args.ref ) { if ( ! $args.val ) { $__bota( ': Cal proporcionar el valor de "val"' ); } if ( $adr__ != $AUT_0 AND ! $__autoritzada( 'A' ) AND ! $__autoritzada( 'B' ) AND ! $__autoritzada( 'C' ) ) { $__bota( 'No autoritzada' ); } } // Si existeix una var d'estat amb un valor diferent, es tracta com a proposta // Es tracta com a confirmació si ja ha estat desada abans com a proposta // per un AUT diferent a l'actuant i ha transcorregut el lapse de temps establert if ( !! var[ $args.ref ] AND var[ $args.ref ] != $args.val AND $adr__ != $AUT_0 ) { $proposta = var[ 'proposta_' || $args.ref ]; if ( !! $proposta AND $proposta.val == $args.val ) { if ( $proposta.proposant == $adr__ ) { $__bota( 'Ja hi consta la teva proposta' ); } if ( timestamp - $proposta.temps > var[ 'lapse_confirmacio' ] ) { $__bota( 'Encara no es pot confirmar la proposta' ); } $acc = 'confirmacio'; } else { $acc = 'proposta'; } } $args._Operatius = var[ '_Operatius' ]; $args._Getons = var[ '_Getons' ]; $args._FRO = var[ '_FRO' ]; $args._FOP = var[ '_FOP' ]; $args._FDIP = var[ '_FDIP' ]; $args.id_Estels = var[ 'id_Estels' ]; $args.interval_Cicles = var[ 'interval_Cicles' ]; $args.geto = trigger.output[[ asset != base ]].asset; $args.qt = trigger.output[[ asset = $args.geto ]]; }", "messages": [ { "app": "data", "payload": "{ $args }" }, { "if": "{ ! $args.ref }", "app": "payment", "payload": { "asset": "{ $args.geto }", "outputs": [ { "address": "{ var[ '_AA_Acces' ] }", "amount": "{ $args.qt }" } ] } }, { "if": "{ !! $args.ref }", "app": "state", "state": "{ if ( $acc == 'confirmacio' ) { var[ $args.ref ] = $args.val; response[ 'ref' ] = $args.ref; response[ 'val' ] = $args.val; } if ( $acc == 'proposta' ) { var[ 'proposta_' || $args.ref ] = { val: $args.val, proposant: $adr__, temps: timestamp, }; response[ 'proposta ref' ] = $args.ref; response[ 'proposta val' ] = $args.val; response[ 'data mínima per a la confirmació'] = timestamp_to_string( timestamp + var[ 'lapse_confirmacio' ] , 'datetime' ); } }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
3,320
bytes
(452 headers, 2868 payload)
Level:
1776160
Witnessed level:
1776153
Last ball unit:
ZHc5/vm8d53xFO6EBIdWjDCWfeKqNeja1idFXdWrssA=
Main chain index:
1768377
Latest included mc index:
1768376
Status:
stable/confirmed/final