ZBL5HTYNLAJQJA5USG5O6OJDL5EG4CI2
[
"autonomous agent",
{
"init": "{
$nom_AA = 'Emissions';
//$_Registre = '5WVBJQHTEP54AEYUJGTQKWTXTXZSJQWA';
$_Registre = trigger.data._Registre; // * només x tests
$unitat = trigger.output[[ asset != base ]].asset;
$qt = trigger.output[[ asset = $unitat ]];
// Retorna una dada del Registre
$__dada = $refdada =>
data_feed[[ oracles = $_Registre, feed_name = $refdada, ifnone = '' ]];
//$_Portal = $__dada( '_Portal' );
$_Portal = trigger.address; // * només x tests
if ( $_Portal != trigger.address ) bounce ( 'Portal no reconegut' );
$args = trigger.data;
$proces = $args.proces;
}",
"messages": {
"cases": [
{
"if": "{ $proces == "emissio" }",
"messages": [
{
"app": "payment",
"payload": {
"asset": "{ $args.idgeto }",
"outputs": [
{
"address": "{ $args._FOP }",
"amount": "{ $args.total_emissio }"
}
]
}
}
]
},
{
"if": "{ $proces == 'configuracio' }",
"messages": [
{
"app": "state",
"state": "{
$refgeto = $args.refgeto;
$resp_unit = $args.resp_unit;
var[ 'refgeto_' || $resp_unit ] = $refgeto;
var[ $refgeto || '_id' ] = $resp_unit;
response[ 'Ref' ] = $refgeto;
response[ 'Id' ] = $resp_unit;
response[ 'Qt' ] = $qt;
response[ 'Unitat ' ] = $unitat;
}"
}
]
}
]
}
}
]
- MCI: 2039540
- Not bounced
- Response: {
"responseVars": {
"Ref": "geto_Geto_aa",
"Id": "X21I752pM5wQfa/kVhGAbbNQ6N0uKl5gc8uwOmQnoEc=",
"Qt": 1000000000,
"Unitat ": "X21I752pM5wQfa/kVhGAbbNQ6N0uKl5gc8uwOmQnoEc="
},
"info": "no messages after filtering"
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
18.06.2021 12:00:42
in
ZBL5HTYNLAJQJA5USG5O6OJDL5EG4CI2