KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS
[
"autonomous agent",
{
"init": "{
$nom_AA = 'Registre';
$versio = '02';
//$_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;
$retorn_minim = 10000;
$qt_retorn =
balance[ base ] > 20000 ?
balance[ base ] - 10000 :
0;
}",
"messages": [
{
"app": "data_feed",
"payload": "{ $args }"
},
{
"if": "{ $qt_retorn > $retorn_minim }",
"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';
if ( $qt_retorn > $retorn_minim )
response[ 'Transferits a Portal' ] = $qt_retorn || ' bytes';
}"
}
]
}
]
- MCI: 1897548
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "18500 bytes"
}
}
- MCI: 1897485
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "16682 bytes"
}
}
- MCI: 1897443
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "14443 bytes"
}
}
- MCI: 1897396
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "12330 bytes"
}
}
- MCI: 1897359
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "10340 bytes"
}
}
- MCI: 1896739
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "8446 bytes"
}
}
- MCI: 1896735
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "6555 bytes"
}
}
- MCI: 1896712
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "5000 bytes"
}
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
04.03.2021 10:05:47
KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS
out
KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS
04.03.2021 10:05:47
in
KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS
04.03.2021 09:42:28
KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS
out
KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS
04.03.2021 09:42:28
in
KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS
04.03.2021 09:29:14
KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS
out
KVGVAKPSDGEYEMQ7CSHO3ECZ46YPSEXS