Unit ID
kmsFzwpzH4vhGjcBSMF+elgtTHpd0pdkf51b2cYMkr0=
Received
04.03.2021 17:24:49
Confirmation delay (full node)
4 minutes 27 seconds
Confirmation delay (light node)
6 minutes 42 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 = var[ 'portal_actual' ] otherwise $_Portal_original; if ( $_Portal_actual != trigger.address ) bounce ( 'Portal no reconegut' ); $args = trigger.data; $retorn_minim = 10000; $qt_retorn = balance[ base ] > 20000 ? balance[ base ] - 10000 : 0; }", "messages": [ { "if": "{ $qt_retorn > $retorn_minim }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $_Portal_actual }", "amount": "{ $qt_retorn }" } ] } }, { "app": "state", "state": "{ response[ 'Registre' ] = 'Dades desades'; $__definidors = $r => { if ( !! $r ) var[ $r ] = $args[ $r ]; response[ $r ] = $args[ $r ]; }; $m = map( keys( $args ), 25, $__definidors ); response[ 'Romanent Registre' ] = balance[ base ] || ' bytes'; if ( $qt_retorn > $retorn_minim ) response[ 'Transferits a Portal' ] = $qt_retorn || ' bytes'; }" } ] } ]
Technical information
Fees:
2,079 bytes
(452 headers, 1627 payload)
Level:1906005
Witnessed level:1905998
Main chain index:1898041
Latest included mc index:1898040
Status:stable/confirmed/final