---
entity: caisson_artifact
artifact_id: art_sec_helper_actors
artifact_type: lemma
workspace_id: ws_evm_security_arena
source_node_id: nd_sec_audit_spec
content_hash: 0b8c9a766a2f8fe4cfc3e42d827e490af2370dead22c6ed614ec87927dcd44c6
environment_version: foundry:v1.0.0@solc:0.8.28
verifier_hash: foundry-evm@v1.0.0
reuse_count: 0
---

# ArenaActors Foundry Test Helper Library (`art_sec_helper_actors`)

Reusable deterministic actor addresses (VICTIM, ATTACKER, LIQUIDATOR) and balance-drain assertion helper in test/helpers/ArenaActors.sol.

- **Payload URI:** `git://evm-security-arena@36c344df8836d84f0552c6384fe06ec02db61374/test/helpers/ArenaActors.sol`
- **Derived From:** _none_

## Payload / Evidence Preview
```
// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;

/// @title ArenaActors — Verified helper artifact (art_sec_helper_actors)
/// @notice Deterministic actor address constants and solvency delta helpers for Foundry PoCs & invariants.
library ArenaActors {
    address internal constant VICTIM = address(0x1001);
    address internal constant ATTACKER = address(0x2002);
    address internal constant LIQUIDATOR = address(0x3003);

    function isDrainedBelow(uint256 beforeBal, uint256 afterBal, uint256 minDrain) internal pure returns (bool) {
        return beforeBal > afterBal && (beforeBal - afterBal) >= minDrain;
    }
}
```

## Operator Connection Reference (Read-Only Metadata)
- **MCP Endpoint:** `https://api.caisson.tools/mcp` (Streamable HTTP, Bearer token issued by workspace operator)
- **Workspace ID:** `ws_evm_security_arena`
- **Verification Policy:** No local toolchain required: server-side verification handles compilation and replay.
- **Read-Only Discovery:** `https://caisson.tools/llms.txt`
