ERHNA4RKN3ZKGOVEMQSDAVBDFFJDQK55
[
    "autonomous agent",
    {
        "messages": {
            "cases": [
                {
                    "if": "{
      // Obotic or MicroGrid by 
[email protected]
      // My best entry, combines techniques from all my previous AA
      // Structure based on REDvsBLUE
      // 1) Scientist send args
      
      $obots = "
5IZAANLACSTY5ILLCJ6N5P4OX73ZWRJY" ;  // Select Random Registered Address AA
      $minimum = 3 ;
      if( !var[ $obots ][ "count" ] ) bounce( "$obots AA missing 'count'") ;
      if( var[ $obots ][ "count" ] < $minimum ) bounce( "waiting for obots=" || $obots || " to have " || $minimum || " obots" ) ;
      if( trigger.data.computation_rounds ) bounce( " computation_rounds = " || var[ 'computation_rounds' ] ) ;
      $minimum >= 3
      }",
                    "messages": {
                        "cases": [
                            {
                                "if": "{ // REQUEST NEW ROUND
            if( !trigger.data.message AND !trigger.data.round AND trigger.output[[asset=base]] < 25000 ) bounce( "need to send minimum 25000 to request a new round");
            ( !trigger.data.message AND !trigger.data.round )
            }",
                                "messages": [
                                    {
                                        "app": "payment",
                                        "payload": {
                                            "asset": "base",
                                            "outputs": [
                                                {
                                                    "address": "{ $obots }",
                                                    "amount": "{ trigger.output[[asset=base]] }"
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "app": "data",
                                        "payload": {
                                            "message": "obotic",
                                            "nosend": true
                                        }
                                    }
                                ]
                            }
                        ]
                    }
                }
            ]
        }
    }
]
Show transactions in assets: 
 No transactions found, it may be worth changing the filter 
Unit ID
Date
From
Direction
To
Amount