> For the complete documentation index, see [llms.txt](https://azco.gitbook.io/whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://azco.gitbook.io/whitepaper/zone-bots.md). Agents can also search and read this documentation through its [MCP server](https://azco.gitbook.io/whitepaper/~gitbook/mcp).

# Zone Bots

The bot zone is a 3-step balance mixing and hiding obfuscation technique. In this new technique, the user delegates actions to robotic accounts that will only obey calls from their creator.&#x20;

## <mark style="color:purple;">MODE OF USE</mark>

<mark style="color:blue;">This Function Is In Charge Of Creating 23 Accounts Which Will Be Linked To The Address Of Their Creator And Will Not Respond To Any Other Address, These Accounts Will Be The One That Interacts By The User, They Will Mix And Hide Their Balance</mark>

```
function CreateBots() public { FictitiousAccount[23] storage bots = fictitiousAccounts[msg.sender];
for (uint256 i = 0; i < 23; i++) {
    bots[i] = FictitiousAccount(true, msg.sender);
}
emit BotsCreated(msg.sender, getFictitiousAccountAddresses(msg.sender));
}
```

<mark style="color:yellow;">This Function Is In Charge Of Transferring The Balance To The 23 Bots Accounts So That They Are Distributed Mixed And Hidden The User'S Balance Can Be Called At Any Time Since It Does Not Have Any Type Of Lock</mark>

```
   function TransfersBots(uint256 amount) public { 
   require(amount > 0, "Amount must be greater than zero"); 
   require(balanceOf(msg.sender) >= amount, "Insufficient balance");
     _transfer(msg.sender, address(this), amount);

    
    address[] memory bots = getFictitiousAccountAddresses(msg.sender);
    uint256 amountPerBot = amount / 23;
    uint256 remainder = amount % 23; 
    for (uint256 i = 0; i < 23; i++) {
        uint256 botAmount = amountPerBot;
        if (remainder > 0) {
            botAmount += 1; 
            remainder--;
        }
        botBalances[msg.sender][bots[i]] += botAmount;
    }
    emit FundsDeposited(msg.sender, amount);
}
```

<mark style="color:blue;">This Function Is In Charge Of Receiving The Balance That Was Sent To The Bots Accounts The User Will Receive The Total Of Their Balance In Their Main Account And No One Will Be Able To Know Its Origin Due To The Mixing Process Used By The Bots</mark>

````markdown
### Claiming Balances from Bot Accounts

To claim the distributed balance from the bot accounts back to the user's main account, a function named `ClaimBalancesBots` needs to be implemented. This function should iterate through the 23 bot accounts, calculate the total balance stored across them, and transfer this total balance back to the user's main account. It is crucial to ensure that only the rightful owner can claim the balances to prevent unauthorized access.

#### Implementation Steps:

1. **Verify Ownership**: Ensure that the caller of the function is the rightful owner of the bot accounts' balances.
2. **Calculate Total Balance**: Iterate through the bot accounts, summing up the balances stored in each.
3. **Transfer Balances**: Transfer the total calculated balance from the bot accounts back to the user's main account.
4. **Reset Bot Balances**: After a successful transfer, reset the balances of the bot accounts to zero to prevent double claiming.

#### Code Snippet:

```solidity
function ClaimBalancesBots() public {
    uint256 totalBalance = 0;
    address[] memory bots = getFictitiousAccountAddresses(msg.sender);
    for(uint256 i = 0; i < 23; i++) {
        totalBalance += botBalances[msg.sender][bots[i]];
        botBalances[msg.sender][bots[i]] = 0;
    }
    // Transfer total balance back to the user's main account
    _transfer(address(this), msg.sender, totalBalance);
    emit FundsClaimed(msg.sender, totalBalance);
}
````

This function, along with `TransfersBots`, forms a system that allows users to distribute and later claim their balances through a network of bot accounts, enhancing privacy and security.

```


```

#### <mark style="color:red;">Caution: Strict Account Limit and Transfer Process</mark>

<mark style="color:red;">When utilizing the</mark> <mark style="color:red;"></mark><mark style="color:red;">`ClaimBalancesBots`</mark> <mark style="color:red;"></mark><mark style="color:red;">and</mark> <mark style="color:red;"></mark><mark style="color:red;">`TransfersBots`</mark> <mark style="color:red;"></mark><mark style="color:red;">functions within this system, it is imperative to adhere to a strict limit of 23 bot accounts. Creating more than this specified number can lead to unpredictable behavior and potentially compromise the security and functionality of the balance distribution and claim processes.</mark>

<mark style="color:red;">Additionally, users must follow the designed procedure for sending and claiming balances without modifications. Attempting to transfer balance in multiple stages or altering the intended operation could negate the privacy and security advantages provided by this system. Stick to the recommended single-stage process for both depositing and withdrawing to ensure the system functions as intended.</mark>
