2E2NNNTTHAB5KEFPERRWXCMQQUFADY3W
[
"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
AND $__dada( '_Implementacions' ) != trigger.address )
bounce( 'Accés interdit' );
$args = trigger.data;
$proces = $args.proces;
$idgeto = $args.idgeto;
}",
"messages": {
"cases": [
{
"if": "{ $proces == "emissio" }",
"messages": [
{
"app": "data",
"payload": "{ $args }"
},
{
"app": "payment",
"payload": {
"asset": "{ $idgeto }",
"outputs": [
{
"address": "{ $args._FOP }",
"amount": "{ $args.total_emissio }"
}
]
}
},
{
"app": "state",
"state": "{
response[ 'Romanent en ' || $args.geto ] = balance[ $idgeto ];
response[ 'Romanent en bytes' ] = balance[ base ] || ' bytes';
}"
}
]
},
{
"if": "{ $proces == 'configuracio' }",
"messages": [
{
"app": "state",
"state": "{
$geto = $args.geto;
$resp_unit = $args.resp_unit;
var[ 'geto_' || $resp_unit ] = $geto;
var[ $geto || '_id' ] = $resp_unit;
response[ 'Ref' ] = $geto;
response[ 'Id' ] = $resp_unit;
response[ 'Qt' ] = $qt;
response[ 'Unitat ' ] = $unitat;
}"
}
]
}
]
}
}
]
- MCI: 2124364
- Not bounced
- Response: {
"responseVars": {
"Ref": "Geto_dd",
"Id": "6G77OVVVRXKkf0+6+dwJWX0QSIwaS2dqp0dQu05QNTw=",
"Qt": 1000000000,
"Unitat ": "6G77OVVVRXKkf0+6+dwJWX0QSIwaS2dqp0dQu05QNTw="
},
"info": "no messages after filtering"
}
- MCI: 2124228
- Not bounced
- Response: {
"responseVars": {
"Ref": "Geto_cc",
"Id": "9ButiqCJ3+NEhZgwsVFLUeMDdhXMIGZcCS05O8Mmshg=",
"Qt": 1000000000,
"Unitat ": "9ButiqCJ3+NEhZgwsVFLUeMDdhXMIGZcCS05O8Mmshg="
},
"info": "no messages after filtering"
}
- MCI: 2121798
- Not bounced
- Response: {
"responseVars": {
"Ref": "Geto_bb",
"Id": "2J16tNboC8jhdiTXMx4dmSt/JjpxGI1xRd7EOF1IRkI=",
"Qt": 1000000000,
"Unitat ": "2J16tNboC8jhdiTXMx4dmSt/JjpxGI1xRd7EOF1IRkI="
},
"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
27.07.2021 11:18:31
in
2E2NNNTTHAB5KEFPERRWXCMQQUFADY3W
27.07.2021 10:32:56
in
2E2NNNTTHAB5KEFPERRWXCMQQUFADY3W
26.07.2021 15:24:39
in
2E2NNNTTHAB5KEFPERRWXCMQQUFADY3W