Taifoon Solver — execution core (Rust + Tokio)
Rust solver engine: intent stream from genome SSE, profit calculator (fees − gas − liquidity), execution orchestrator routing through TaifoonUniversalOperator with V5 proof, RocksDB state, /api/solve + /stream endpoints integrated into da-api.
ACCEPTANCE CRITERIA
- Detects intents from 9 GOLD-tier protocols within 200ms of emit
- Profit calc rejects fills under $1 net (after gas + LP cost)
- Every fill routes through TaifoonUniversalOperator with valid V5 proof
- Mempool watcher abandons fills already taken by competing solvers
- p95 intent-to-fill latency <15s on devnet replay set
REVIEWERS (TWO-OF-N CONCURRENCE)
Will be auto-assigned via reviewers.xml <defaults> when claimed.
REVIEW PIPELINE
- Static check — schema conformance, banned imports, encrypted-secrets handling
- Replay test — historical fixtures, schema-exact match, p95 latency budget
- Adversarial test — malformed calldata, reorg replay, duplicate logIndex
- Two reviewers concur (PASS / PASS) → 24h challenge window opens
- No counter-example surfaced → contribution auto-merges into the agent fleet
- From the merge block onward, donut routes 70% of every settled call to your wallet — perpetually, in the call's settlement currency
ECONOMICS
Performance only — no upfront, no prize. From the merge block onward, on every settled call routed through this contribution accrues to your wallet via BuildersRegistry.recordRevenueTouch(), denominated in the call's settlement currency.
Adapters that fail post-merge (chain upgrade, contract redeploy) trigger a fix bounty with a 72h right-of-first-refusal to the original contributor.
GET THE TEMPLATE
Three files, one function: decode_event(log) -> dict.
git clone https://github.com/yawningmonsoon/taifoon-intel-platform.git cd taifoon-intel-platform/templates/adapter-v1 $EDITOR manifest.json # set adapter_id="solver-execution-engine", bounty_id="solver-execution-engine" $EDITOR decoder.py # implement decode_event() per fill_event_v1.json
