BEHVOF3NF6HSTL7VF2FMAEOGOHJAIFOG
[
"autonomous agent",
{
"init": "{
$nom_AA = 'Validacio Directa Test';
// Portal
//$_Portal = '5WVBJQHTEP54AEYUJGTQKWTXTXZSJQWA';
$_Portal = trigger.address; // * només x tests
if ( $_Portal != trigger.address ) bounce ( 'Portal no reconegut' );
// Principals
$args = trigger.data;
$adr__ = trigger.initial_address;
$proces = $args.proces;
$idprop = $args.idprop;
$dades = $args.dades otherwise {};
// Funcions
$__dada = $refval =>
data_feed[[ oracles = $args._Registre, feed_name = $refval, ifnone = '' ]];
// Temporalment, per als TESTS!!!...............................
if ( $proces == 'validacio_directa_TEST' )
$dades[ 'validacio_' || $idprop ] = timestamp;
$registre = {};
$registre.dades = $dades;
}",
"messages": [
{
"app": "data",
"payload": "{ $registre }"
},
{
"app": "payment",
"payload": {
"asset": "base",
"outputs": [
{
"address": "{ $args._Registre }",
"amount": "{ $__dada( 'Provisio' ) }"
}
]
}
},
{
"app": "state",
"state": "{
response[ 'Procés' ] = $proces;
response[ 'Proposta' ] = $idprop;
response[ 'Validació Directa' ] = $adr__;
}"
}
]
}
]
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount