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
lblT0jZCH2ZMl0/vkjVmgLyPaYr5ieJUfKQMQ90JlCU=
Received
28.05.2021 16:05:09
Confirmation delay (full node)
4 minutes 45 seconds
Confirmation delay (light node)
7 minutes 0 seconds
Authors
XD7FVUM442NPIIMLRIT2FYWJEDQ4ILLJ
Children
x0cxbKjSOZvaI277ThbeQll9wsljpNHpjQbAIUbify8=
Parents
O5CMuhanHRHYzORuf7o6wyA5bFq/e3Voews8DJUV91g=
Messages
Definition
Address:
7UDECMMUT5VJRIQUYVO2H52KKXELPWYI
Definition:
[ "autonomous agent", { "init": "{\r $nom_AA = 'Getons';\r // Portal\r //$_Portal = '5WVBJQHTEP54AEYUJGTQKWTXTXZSJQWA';\r $_Portal = trigger.address; //Hauria de ser fix amb adr Portal original \r if ( $_Portal != trigger.address ) bounce ( 'Portal no reconegut' );\r \r // Principals\r $args = trigger.data;\r $adr__ = trigger.initial_address;\r $idgeto = trigger.output[[ asset != base ]].asset;\r $dades = $args.dades otherwise {};\r \r $__dada = $refval => {\r data_feed[[ oracles = $args._Registre, feed_name = $refval, ifnone = false ]]\r };\r \r // Abreviacions\r $proces = $args.proces;\r $operacio = $args.operacio;\r $idprop = $args.idprop;\r $nougeto = $args.nougeto;\r $ref = $args.ref;\r $val = $args.val;\r \r // Si no s'ha lliurat l'argument especificat bota l'accés\r $__arg = $arg =>\r $args[ $arg ] otherwise \r bounce( "Cal proporcionar el valor de: " || $arg );\r \r $ref_geto = $__arg( 'ref_geto' );\r \r // El getó ha de constar com a operatiu\r if ( ! $__dada( $ref_geto ) OR $__dada( $ref_geto || '_estat' ) != 'operatiu' )\r bounce( 'Getó inexistent o no operatiu' );\r \r // Només les admins...\r $_admin = $__dada( $ref_geto || '_admin' ) otherwise '';\r $_AUT_B = $__dada( $ref_geto || '_AUT_B' ) otherwise '';\r $_AUT_C = $__dada( $ref_geto || '_AUT_C' ) otherwise '';\r if ( $_admin != $adr__ AND $_AUT_B != $adr__ AND $_AUT_C != $adr__ )\r bounce ( 'No autoritzada per administrar el getó' );\r \r if ( $proces == 'esmena_geto' ) {\r if ( $operacio == 'proposta' ) {\r $dades[ $idprop ] = timestamp;\r $dades[ $idprop || '_proposant' ] = $adr__;\r $dades[ $idprop || '_refgeto' ] = $ref_geto;\r $dades[ $idprop || '_ref' ] = $__arg( '_ref' );\r $dades[ $idprop || '_val' ] = $__arg( '_val' );\r }\r if ( $operacio == 'confirmacio' ) {\r $refg = $__dada( $idprop || '_refgeto' );\r $dades[ $refg || '_ref' ] = $__dada( $idprop || '_ref' );\r $dades[ $refg || '_val' ] = $__dada( $idprop || '_val' );\r }\r }\r \r if ( $proces == 'capacitacio' ) {\r if ( ! $__dada( $ref_geto || '_' || $__arg( 'accio' ) || 'ns_restringides') )\r bounce( 'Acció no restringible per a aquest getó' );\r \r if ( $operacio == 'proposta' ) {\r $dades[ $idprop ] = timestamp;\r $dades[ $idprop || '_capacitadora' ] = $adr__;\r $dades[ $idprop || '_geto' ] = $ref_geto;\r $dades[ $idprop || '_accio' ] = $__arg( 'accio' );\r $dades[ $idprop || '_capacitada' ] = $__arg( 'adr' );\r $dades[ $idprop || '_estat' ] = $__arg( 'estat' );\r }\r if ( $operacio == 'confirmacio' ) {\r $get = $__dada( $idprop || '_refgeto' );\r $acc = $__dada( $idprop || '_accio' );\r $adr = $__dada( $idprop || '_capacitada' );\r $ref_capacitacio = 'capacitacio_' || $get || '_' || $acc || '_' || $adr;\r $dades[ $ref_capacitacio ] = $__dada( $idprop || '_estat' );\r }\r }\r \r if ( $proces == 'avis' ) {\r $rebot =\r $__dada( $ref_geto || '_bloqueig_possible' ) ?\r $__arg( 'rebot' ) :\r false;\r \r if ( $operacio == 'proposta' ) {\r $dades[ $idprop ] = timestamp;\r $dades[ $idprop || '_redactora' ] = $adr__;\r $dades[ $idprop || '_geto' ] = $ref_geto;\r $dades[ $idprop || '_destinataria' ] = $__arg( 'adr' );\r $dades[ $idprop || '_rebot' ] = $__arg( 'rebot' );\r $dades[ $idprop || '_text' ] = $__arg( 'text' );\r }\r if ( $operacio == 'confirmacio' ) {\r $get = $__dada( $idprop || '_refgeto' );\r $adr = $__dada( $idprop || '_destinataria' );\r $ref_avis = 'avis_' || $get || '_' || $adr;\r $dades[ $ref_avis ] = timestamp;\r $dades[ $ref_avis || '_rebot' ] = $__dada( $idprop || '_rebot' );\r $dades[ $ref_avis || '_capacitada' ] = $__dada( $idprop || '_text' );\r }\r }\r \r $registre = {};\r $registre.dades = $dades;\r }", "messages": [ { "app": "data", "payload": "{ $registre }" }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $args._Registre }", "amount": "{ $__dada( 'Provisio' ) }" } ] } }, { "app": "state", "state": "{\r response[ 'Romanent Getons' ] = balance[ base ] || ' bytes';\r response[ 'proces' ] = $proces;\r response[ 'operacio' ] = $operacio;\r }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
5,776
bytes
(452 headers, 5324 payload)
Level:
2021998
Witnessed level:
2021990
Last ball unit:
QPw37IDWAHM2fOoUux8Ey5VcScmqLZlWxKYYKP1uhw0=
Main chain index:
2014008
Latest included mc index:
2014007
Status:
stable/confirmed/final