2GKWMYLJEHHFKZADSG336M73W57OOIP3
[
"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;
$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: 1895975
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "18619 bytes"
}
}
- MCI: 1895966
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "16510 bytes"
}
}
- MCI: 1895936
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "14692 bytes"
}
}
- MCI: 1895919
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "12453 bytes"
}
}
- MCI: 1895899
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "10340 bytes"
}
}
- MCI: 1895859
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "8446 bytes"
}
}
- MCI: 1895854
- Not bounced
- Response unit:
- Response: {
"responseVars": {
"Resultat": "Dades registrades",
"Romanent Registre": "6555 bytes"
}
}
- MCI: 1895820
- 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
03.03.2021 11:38:11
2GKWMYLJEHHFKZADSG336M73W57OOIP3
out
2GKWMYLJEHHFKZADSG336M73W57OOIP3
03.03.2021 11:38:11
in
2GKWMYLJEHHFKZADSG336M73W57OOIP3
03.03.2021 11:36:04
2GKWMYLJEHHFKZADSG336M73W57OOIP3
out
2GKWMYLJEHHFKZADSG336M73W57OOIP3
03.03.2021 11:36:04
in
2GKWMYLJEHHFKZADSG336M73W57OOIP3
03.03.2021 11:28:03
2GKWMYLJEHHFKZADSG336M73W57OOIP3
out
2GKWMYLJEHHFKZADSG336M73W57OOIP3