IQQIRISJ4QO4UOUJJHJFKO3QXVDWRPV3
[
"autonomous agent",
{
"bounce_fees": {
"base": 10000
},
"init": "{
// forever constantes
$AA_NAME = "prova_01";
$AA_OWNER = "astraia";
$INSTRUCTIONS = "les instruccions operatives";
// input data
$i = trigger.data;
$campProva_01 = trigger.data.camp_01;
$campProva_02 = trigger.data.camp_02;
// AA initialization code here
if (!!$i.debug) { bounce ("variables you want to watch when you set 'debug' in preview mode of the wallet");}
if (!!$campProva_01) { bounce ("sense $campProva_01");}
}",
"messages": {
"cases": [
{
"if": "{ $test == true }",
"init": "{ // use case initialization code here }",
"messages": [
{
"app": "data",
"payload": {
"key1": "{"value1"}"
}
},
{
"app": "payment",
"payload": {
"asset": "{'base'}",
"outputs": [
{
"address": "{trigger.address}",
"amount": "{trigger.output[[asset=base]] - 1000}"
}
]
}
},
{
"app": "state",
"state": "{
if (!!$i.debug) { bounce ("Bounce the variable you want to watch"); }
}"
}
]
},
{
"messages": [
{
"app": "state",
"state": "{ bounce ($INSTRUCTIONS);}"
}
]
}
]
}
}
]
- MCI: 1235811
- Bounced
- Response: {
"error": "les instruccions operatives"
}
- MCI: 1235749
- Bounced
- Response: {
"error": "sense $campProva_01"
}
- MCI: 1235481
- Bounced
- Response: {
"error": "les instruccions operatives"
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
14.02.2020 16:52:19
in
IQQIRISJ4QO4UOUJJHJFKO3QXVDWRPV3
14.02.2020 16:09:11
in
IQQIRISJ4QO4UOUJJHJFKO3QXVDWRPV3
14.02.2020 11:41:03
in
IQQIRISJ4QO4UOUJJHJFKO3QXVDWRPV3