Open Decisions & Pre-Mainnet Gates
Complete sign-off record of locked V1 parameters (OD-1 through OD-12) and remaining pre-mainnet external gates (EXT-1).
Every core V5.0 protocol parameter (OD-1 through OD-12) is signed off and enforced in Solidity, and the production AgentIdAdapter (EXT-1) is VERIFIED for BSC Mainnet (56). Only pre-broadcast operational gates (OD-1 live Chainlink proxy/heartbeat check, mainnet-fork testing against the SPACE ID .ai registry, private MEV-protected Guardian RPC provisioning, and role key separation) remain before mainnet deployment.
Locked V1 Protocol Decisions (OD-1 – OD-12)
| ID | Topic | Locked V1 Decision | Status |
|---|---|---|---|
| OD-1 | Price Market Oracle | Chainlink Data Feeds (AggregatorV3Interface) with 2-call historical bracketing, phaseId + 1 rollover, 2x heartbeat staleness cap, 24h voidIfStale grace. | Locked (Mainnet proxy/heartbeat = Pre-Deploy Gate) |
| OD-2 | Dispute Windows | Trend disputeWindow in [6h, 72h] (24h default); RAPID_VOID_WINDOW = 6h on Paused markets. | Locked |
| OD-3 | Dynamic & Opening Fees | Symmetric 100 -> 300 bps linear ramp (15m for 1h BTC, 30m for 4h/trend, ceilDiv); opening fee 250 -> 100 bps over 120s on price markets. | Locked |
| OD-4 | Price Tie Rule | endPrice >= startPrice resolves UP (0); endPrice < startPrice resolves DOWN (1). | Locked |
| OD-5 | Position & Min Trade Caps | MIN_TRADE_AMOUNT = 1 USDT (full exits exempt); maxPosition = min(1.5 * seed, 500 USDT). | Locked |
| OD-6 | Adaptive Seed Bounds | DEEP_SEED_THRESHOLD = 100 USDT; lean [15%, 85%], deep [10%, 90%]; hard floor R_MIN = 5 USDT. | Locked |
| OD-7 | Bond Formula | Symmetric clamp(max(1% * collateral, feeAcc), 10 USDT, 250 USDT) (BOND_BPS = 100). | Locked |
| OD-8 | Schedule & TWAP | BTC 1h cutoff 55m (twapWindow = 1800s); BTC 4h cutoff 3h45m (twapWindow = 3600s); 120s checkpoint interval, 64-slot ring. | Locked |
| OD-9 | Hard Timeouts | RAPID_VOID = 6h, dispute = 24h, FALLBACK = sourceTimeout/2, PAUSE_EXPIRY = 72h, ARBITER_TIMEOUT = 7d. | Locked |
| OD-10 | Vault Leaky Bucket | Rolling 7d maxOutflowPerWindow = 25% of Active Float; vaultBalance >= 2x Active Float. | Locked |
| OD-11 | Scope & Governance Trigger | Binary-First V1 (BinaryEngine); MultiEngine V1.1. Phase 0 Operator transitions to 2-of-3 Multisig + 48h timelock at $100k cumulative volume or 60 days. | Locked |
| OD-12 | Settlement Ledger | Internal vaultBalance & bondFree/bondLocked ledgers only in V1; traders settle 100% directly in BEP-20 USDT. | Locked |
Pre-Mainnet External Gates (EXT-1)
BSC Mainnet (56) Deployment Lock
DeployTestnet.s.sol hard-reverts on block.chainid == 56, and DeployMainnet.s.sol defaults to a non-broadcasting dry run unless CONFIRM_MAINNET_BROADCAST=true (plus explicit GOVERNANCE_ADDRESS) is supplied. BSC Mainnet remains locked until every pre-broadcast operational gate below is completed by the Operator:
- Official Agent ID Adapter (
EXT-1— VERIFIED): BSC Mainnet (56) uses the SPACE ID.aiERC-721 registry at0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F(balanceOf(account) > 0), implemented by immutablecontract/src/AgentIdAdapter.sol(354 Bruntime) and installed inAdapterRegistry's constructor list bycontract/script/DeployMainnet.s.sol. BSC Testnet (97) has no official registry and continues usingMockAgentIdAdapter. - Mainnet-Fork Registry Suite (
EXT-1Ops Gate): Run a BSC Mainnet (56) fork test suite against the live SPACE ID.airegistry (0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F) to confirm end-to-end gas (<= 50kperstaticcall) and return behavior before any broadcast. - Chainlink & USDT BscScan /
castVerification (OD-1): Confirmdecimals(),latestRoundData(), and official heartbeat on Chainlink BTC/USD proxy0x264990fbd0A4796A3E3d8E37C4d5F87a3aCa5Ebf, and confirm canonical BEP-20 USDT0x55d398326f99059fF775485246999027B3197955on BscScan. - MEV-Protected Private RPC (
EXT-1Ops Gate): Provision primary and fallback private BSC RPC endpoints exclusively for Guardianpause(). - Role Key Separation & Deep Invariant Run: Separate hardware/KMS signers for
GOV,KEEPER,GUARDIAN,RESOLVER, andARBITER, and executeworkflow_dispatchwithrun_deep_invariants=trueon the exact release commit.
Resolution, Disputes & TWAP Void
Chainlink 2-call historical bracketing, symmetric 1% bonds, single-round disputes, N-1 packed TWAP Void, and permissionless liveness timeouts.
11 Mandatory Invariants & Testing
Formal mathematical invariants (INV-1 through INV-11), 16+ adversarial attack tests, and stateful cross-market Foundry fuzzing.