Unit ID
9WtzKSkB1IaPaVD5ktTvVjaMwXFe4m8jMCjrojrtV0Q=
Received
02.03.2021 17:55:53
Confirmation delay (full node)
4 minutes 28 seconds
Confirmation delay (light node)
6 minutes 45 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 ] - 20000 : 0; }", "messages": [ { "app": "data_feed", "payload": "{ $args }" }, { "if": "{ $qt_retorn > 100000000 }", "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'; }" } ] } ]
Technical information
Fees:
1,787 bytes
(452 headers, 1335 payload)
Level:1902411
Witnessed level:1902404
Main chain index:1894447
Latest included mc index:1894446
Status:stable/confirmed/final