ZRMOHMQXXUBOIG3RD357GUSI6XEVJ3NM
[
"autonomous agent",
{
"messages": {
"cases": [
{
"if": "{
// RED vs BLUE the contentious game by
[email protected]
// usage
// 1) setup two "choose address AA" and replace below $red and $blue addresses
$red = "
DC5B5ET3JWJLEMYTUQP4FPOEHAWNA2H5";
$blue = "
DC5B5ET3JWJLEMYTUQP4FPOEHAWNA2H5";
$minimum = 3;
if( !var[ $red ][ "count" ] AND !var[ $blue ][ "count" ]) bounce( "choose address AA not yet setup");
if( var[ $red ][ "count" ] < $minimum OR var[ $blue ][ "count" ] < $minimum ) bounce( "waiting for red=" || $red || " or blue=" || $blue || " sides to have " || $minimum || " players" );
if( trigger.data.needle ) bounce( "Round " || var[ 'round' ] || " Red = " || var[ 'red' ] || " vs Blue = " || var[ 'blue' ] );
$minimum
}",
"messages": {
"cases": [
{
"if": "{
if( trigger.output[[ asset=base ]] < 24000 ) bounce( "need to send 23000 to request a new round");
!trigger.data.message
}",
"messages": [
{
"app": "payment",
"payload": {
"asset": "base",
"outputs": [
{
"address": "{$red}",
"amount": 12000
},
{
"address": "{$blue}",
"amount": 12000
}
]
}
},
{
"app": "data",
"payload": {
"message": "choosen"
}
}
]
}
]
}
}
]
}
}
]
- MCI: 1034513
- Bounced
- Response unit:
- Response: {
"error": "one of secondary AAs bounced with error: need to send 23000 to request a new round"
}
Show transactions in assets:
No transactions found, it may be worth changing the filter
Unit ID
Date
From
Direction
To
Amount
31.08.2019 05:52:45
ZRMOHMQXXUBOIG3RD357GUSI6XEVJ3NM
out
31.08.2019 05:52:45
in
ZRMOHMQXXUBOIG3RD357GUSI6XEVJ3NM