⚠ INTERNAL — Operator UX mock · Design preview of V2 development path · demo-wired ≠ production-live · back to dev guide
Polygon · pUSD 10
📓 Developer Guide 📋 Reason Codes 📈 Shadow Mode
JD John Doe · Admin

Wallet Flow Classifier

intel.wallet-flow-classifier
Intelligence planned Spec started frozen

Score on-chain wallets on historical edge over a long window — emitted as a feature, never as a copy-trade signal.

What it does

Score on-chain wallets on historical edge over a long window — emitted as a feature, never as a copy-trade signal.

Pipeline placement

runs after: — Wallet Flow Classifier runs before: —

Applies to:

Why it matters

If this failsConsequence
Wallet behaviour treated as a copy-trade signalNaively echoing 'smart money' wallets is the textbook way to lose money — the apparent edge is survivor bias, the real wallets front-run, and the implementation amounts to copy-trading. Emitting a feature with explicit non-trigger guidance prevents that misuse.
Worked example
Setup: A strategy author wires a new feature: `if any wallet in top_50_pnl placed an order in the last 60s, mirror it`. They run it for a week.
Without bot: Three of those wallets are MEV bots that front-run the public mempool. The strategy posts orders 800 ms after them and pays the spread the wallets just collected. Net effect: the strategy is the exit liquidity for the wallets it is trying to follow.
With bot: Wallet Flow Classifier emits `{wallet: 0xab.., score: 0.72, primary_trigger_allowed: false, window: '180d'}`. The strategy must consume the score as a feature blended with its own thesis — not as a primary trigger — and no copy-trade behaviour is permitted by contract.
Strategies build their own wallet scorers, inconsistentlyWithout a shared classifier, every strategy author writes a slightly different version. The library ends up with three inconsistent scores, none of them auditable.
No long-window context for short-term flowsA wallet's 24-hour activity is meaningless without its multi-month history. Centralising the long-window score gives all consumers the same baseline and prevents recency-driven misclassifications.
Compliance unable to flag suspicious counterpartiesSanctions and abuse reviews need a structured score per wallet. The classifier provides one consistent input that ComplianceGate and Governance can both read.

Inputs

Polymarket inputs

InputSourceRequiredUse
CTFExchangeV2 OrderFilled events from Polygon on-chainonchainrequiredPrimary source of wallet fill data for flow classification.
Historical wallet fill patternsdataoptionalSupplement recent fills with historical context for better classification accuracy.

Internal inputs

InputSourceRequiredUse
KillSwitch active flagKillSwitchrequiredSuppress all emissions when KillSwitch is active.

Authority

What this bot is permitted to do

Read-only

State

Readiness

Spec started

Status

planned

Class

Signal Service

Default mode

shadow_only

Developer owner

Polytraders core

Capital impact

Indirect

Reason codes emitted

CodeSeverityMeaningAction
WALLETFLOWCLASSIFIER_LARGE_FLOWINFOWallet classified as institutional based on pUSD volume exceeding institutional_threshold.Emit ObservationReport with flow_label=institutional; strategies may treat as high-signal.
WALLETFLOWCLASSIFIER_ARBITRAGE_PATTERNWARNWallet fill pattern matches arbitrage heuristic (multi-market simultaneous fills).Emit ObservationReport with flow_label=arbitrage; strategies apply reduced directional weight.
STALE_DATAWARNRPC provider unresponsive; on-chain fills may be stale.Skip classification for this block; alert on-call if persists.
KILL_SWITCH_ACTIVEHARD_REJECTKillSwitch active; all WalletFlowClassifier emissions suppressed.Continue classification internally; suppress ObservationReport emissions.

Used by

Reverse index — strategies that currently reference intel.wallet-flow-classifier. If you change this bot's authority or reason codes, these strategies must re-pass shadow.

StrategyStateActivity
NBA H2H — moneyline market-makedemo-wiredlast triggered 32m ago
US Elections — sentiment fadedemo-wiredlast triggered 39m ago
BTC weekly — close-aware quotesdemo-wiredlast triggered 46m ago

Showing 3 of 3 · demo-wired ≠ production-live

Why this matters

Intelligence bots does NOT propose, veto, sign, or execute any trade. Understanding the authority boundary prevents misuse and makes promotion-gate reviews faster and more reliable. View raw spec JSON →
Polytraders Operator UX Mock · INTERNAL · demo-wired ≠ production-live · the plan · reason codes · shadow-mode pipeline
⚙ Page Configuration
Current page settings
Loading configuration…