OSRSO7S36UOK6WCGTJZUQ2HWIUITQJIH
[
"autonomous agent",
{
"init": "{
$_Registre = '6UDN6TJX7AM3CTT6RSBVWW6K57WAKX4U';
// Retorna el valor d'una entrada del _Registre
$__dada = $refdada =>
data_feed [[
oracles = $_Registre,
feed_name = $refdada,
ifnone = 0
]];
if ( $__dada( '_Portal' ) != trigger.address
AND $__dada( '_Implementacions' ) != trigger.address )
bounce( 'Accés interdit' );
$args = trigger.data;
$proces = $args.proces;
$idgeto = $args.idgeto;
$_Capsa = $__dada( '_Capsa' );
}",
"messages": {
"cases": [
{
"if": "{ $proces == "emissio" }",
"messages": [
{
"app": "data",
"payload": "{ $args }"
},
{
"app": "payment",
"payload": {
"asset": "{ $idgeto }",
"outputs": [
{
"address": "{ $_Capsa }",
"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": "{
$unitat = trigger.output[[ asset != base ]].asset;
$qt = trigger.output[[ asset = $unitat ]];
$geto = $args.geto;
$unit_ID = $args.unit_ID;
var[ 'geto_' || $unit_ID ] = $geto;
var[ $geto || '_id' ] = $unit_ID;
response[ 'Ref' ] = $geto;
response[ 'Id' ] = $unit_ID;
response[ 'Qt' ] = $qt;
response[ 'Unitat ' ] = $unitat;
}"
}
]
}
]
}
}
]
- MCI: 2950658
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Romanent en Geto_A": 1000000000,
"Romanent en bytes": "122876 bytes"
}
}
- MCI: 2950386
- Not bounced
- Response: {
"responseVars": {
"Ref": "Geto_A",
"Id": "fz5r3mihzYSg9vSeCYpV9m2dMHdcpcsN8q61vBQdEmo=",
"Qt": 1000000000,
"Unitat ": "fz5r3mihzYSg9vSeCYpV9m2dMHdcpcsN8q61vBQdEmo="
},
"info": "no messages after filtering"
}
- MCI: 2946516
- Not bounced
- Response: {
"responseVars": {
"Ref": "Getests",
"Id": "CXP8a5nDSwQp5oD3kUfYihAgYXeGnHjsrWGqZgfTfLE=",
"Qt": 1000000000,
"Unitat ": "CXP8a5nDSwQp5oD3kUfYihAgYXeGnHjsrWGqZgfTfLE="
},
"info": "no messages after filtering"
}
- MCI: 2944791
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Romanent en Getets": 999000000,
"Romanent en bytes": "118438 bytes"
}
}
- MCI: 2944681
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Romanent en Getets": 1000000000,
"Romanent en bytes": "60000 bytes"
}
}
- MCI: 2944491
- Not bounced
- Response: {
"responseVars": {
"Ref": "Getets",
"Id": "TY3R4GhdYFFZp4/TYY+pRvJKp2JApoZz4K/TOJoNeG0=",
"Qt": 1000000000,
"Unitat ": "TY3R4GhdYFFZp4/TYY+pRvJKp2JApoZz4K/TOJoNeG0="
},
"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
06.02.2023 19:58:31
OSRSO7S36UOK6WCGTJZUQ2HWIUITQJIH
out
06.02.2023 19:58:31
in
OSRSO7S36UOK6WCGTJZUQ2HWIUITQJIH
06.02.2023 18:10:28
in
OSRSO7S36UOK6WCGTJZUQ2HWIUITQJIH
06.02.2023 12:33:05
in
OSRSO7S36UOK6WCGTJZUQ2HWIUITQJIH
05.02.2023 19:14:29
OSRSO7S36UOK6WCGTJZUQ2HWIUITQJIH
out