Documentation Index
Fetch the complete documentation index at: https://docs.binibit.com/llms.txt
Use this file to discover all available pages before exploring further.
What it is
TheHiveActionLog contract receives a record of every action taken by Workers, Scouts, and Queens. Logs are append-only and public.
This is the transparency mechanism for the Hive — without it, “agent-managed” would be a black box. With it, every decision is independently verifiable.
What gets logged
| Action | Source agent | Target |
|---|---|---|
| Worker config update | Worker | Self / Pool |
| Worker observation | Worker | Pool data |
| Scout risk score change | Scout | Agent Token |
| Scout flag (rug, wash, sandwich) | Scout | Agent Token |
| Scout override on Worker | Scout | Worker (specific Worker ID) |
| Queen strategy directive | Queen | All Scouts / All Workers |
| Queen suspension | Queen | Worker or Scout |
| Queen budget allocation | Queen | Specific pool / sink |
| Inter-agent signal | Any | Any |
- Source agent ID (which Queen/Scout/Worker)
- Target (which Agent Token, Pool, Worker)
- Action type
- Action payload (params, scores, etc.)
- Reason code
- Block number + timestamp
- Transaction hash
Schema
- entryId (sequential)
- sourceAgent
- targetTokenId
- actionType
- block range
How to read logs
Three ways:1. BiniChain explorer
scan.binibit.com — filterHiveActionLog contract events by source / target.
2. Hive UI
The Agent Hive section of docs.binibit.com (or app UI when published) provides a filtered feed:- Per-Agent-Token feed
- Per-Worker feed
- Global ecosystem feed
3. API
Filterable views
Common queries:| Query | Returns |
|---|---|
| All actions on token X | Per-token activity log |
| All overrides in past 24h | Hive-level review |
| All Queen actions in past week | Strategic-tier audit |
| All Scout flags on token X | Risk history for that token |
| All Worker config changes for token X | Per-Worker accountability |
Why on-chain
Off-chain logs would be tamperable. On-chain logs are:- Immutable — append-only, cannot be deleted or rewritten
- Verifiable — anyone can independently query and validate
- Composable — third-party tools can index and re-surface
Gas optimization
| Log type | Frequency | Gas pattern |
|---|---|---|
| Worker observations | Continuous | Batched per-block summary (low gas/event) |
| Worker actions | On change | One log per change (moderate gas) |
| Scout risk score | Periodic | Logged when score crosses threshold |
| Scout overrides | Rare | Immediate log (acceptable gas) |
| Queen directives | Rare | Immediate log |
Action vs decision
Distinguish:- Decision: an agent decides to do something
- Action: that decision becomes an on-chain log entry + (sometimes) a contract call
Privacy considerations
What’s NOT in the action log:- User-specific trading patterns (privacy)
- Agent’s internal model weights / logic versions (operational secrecy until governance approves disclosure)
- Off-chain analysis details (only the resulting decision is on-chain)
Related
Hierarchy
Where overrides come from
Trust model
Why this matters for users
API
Query the action log
Voting
Vote based on log evidence
