Unit ID
BEeynV64DCwYVpWwPDxC727psM5oBM6T7YwPInNj5T8=
Received
05.03.2021 08:08:17
Confirmation delay (full node)
4 minutes 24 seconds
Confirmation delay (light node)
7 minutes 25 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'; $__fes = $ref => { if ( !! $ref ) { var[ $ref ] = $args[ $ref ]; response[ $ref ] = $args[ $ref ]; } }; $m = map( keys( $args ), 50, $__fes ); response[ 'Romanent Registre' ] = balance[ base ] || ' bytes'; if ( $qt_retorn > $retorn_minim ) response[ 'Transferits a Portal' ] = $qt_retorn || ' bytes'; }" } ] } ]
Technical information
Fees:
2,129 bytes
(452 headers, 1677 payload)
Level:1906815
Witnessed level:1906808
Main chain index:1898851
Latest included mc index:1898850
Status:stable/confirmed/final