Unit ID
HSRlUduGVGUlYHgs9bmorWyvJZaGGWvc3WW6jlsAmCw=
Received
02.03.2021 18:50:33
Confirmation delay (full node)
3 minutes 11 seconds
Confirmation delay (light node)
5 minutes 2 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $nom_AA = 'Registre'; $versio = '01'; //$_Portal_original = '0000000000'; $_Portal_original = trigger.address; //Hauria de ser fix amb adr darrer Portal $_Portal_actual = data_feed[[ oracles = this_address, feed_name = 'portal_actual', ifnone = false ]] otherwise $_Portal_original; if ( $_Portal_actual != trigger.address ) { bounce ( 'Portal no reconegut' ); } $args = trigger.data; $qt_retorn = balance[ base ] > 20000 ? balance[ base ] - 10000 : 0; }", "messages": [ { "app": "data_feed", "payload": "{ $args }" }, { "if": "{ $qt_retorn > 10000 }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $_Portal_actual }", "amount": "{ $qt_retorn }" } ] } }, { "app": "state", "state": "{ response[ 'Resultat' ] = 'Dades registrades'; response[ 'Romanent Registre' ] = balance[ base ] || ' bytes'; response[ 'Transferits a Portal' ] = $qt_retorn || ' bytes'; }" } ] } ]
Technical information
Fees:
1,860 bytes
(452 headers, 1408 payload)
Level:1902591
Witnessed level:1902584
Main chain index:1894627
Latest included mc index:1894626
Status:stable/confirmed/final