7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB
[
"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 =
data_feed[[ oracles = this_address, feed_name = 'portal_actual', ifnone = false ]]
otherwise $_Portal_original;
if ( $_Portal_actual != trigger.address )
{ bounce ( 'Portal no reconegut' ); }
$args = trigger.data;
$qt_retorn =
balance[ base ] > 20000 ?
balance[ base ] - 10000 :
0;
}",
"messages": [
{
"app": "data_feed",
"payload": "{ $args }"
},
{
"if": "{ $qt_retorn > 10000 }",
"app": "payment",
"payload": {
"asset": "base",
"outputs": [
{
"address": "{ $_Portal_actual }",
"amount": "{ $qt_retorn }"
}
]
}
},
{
"app": "state",
"state": "{
response[ 'Resultat' ] = 'Dades registrades';
response[ 'Romanent Registre' ] = balance[ base ] || ' bytes';
response[ 'Transferits a Portal' ] = $qt_retorn || ' bytes';
}"
}
]
}
]
- MCI: 1894970
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "18875 bytes",
"Transferits a Portal": "0 bytes"
}
}
- MCI: 1894937
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "16752 bytes",
"Transferits a Portal": "0 bytes"
}
}
- MCI: 1894893
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "12514 bytes",
"Transferits a Portal": "0 bytes"
}
}
- MCI: 1894858
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "10340 bytes",
"Transferits a Portal": "0 bytes"
}
}
- MCI: 1894830
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "8446 bytes",
"Transferits a Portal": "0 bytes"
}
}
- MCI: 1894811
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "6555 bytes",
"Transferits a Portal": "0 bytes"
}
}
- MCI: 1894753
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "5000 bytes",
"Transferits a Portal": "0 bytes"
}
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
02.03.2021 20:29:45
7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB
out
7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB
02.03.2021 20:29:45
in
7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB
02.03.2021 20:19:46
7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB
out
7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB
02.03.2021 20:19:46
in
7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB
02.03.2021 20:08:06
7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB
out
7PSY72VWJ4YCKKOG3N5ANWRYBEAHXLZB