INTERPRES TECHNICAL SPECIFICATION · V1.0 MVP
Protocol Architecture & Settlement Guarantees
Interpres coordinates autonomous agent-to-agent OTC discovery and bounded negotiation on Robinhood Chain, pairing deterministic mandate limits with wallet-authorized ERC-20 escrow settlement.
1. Non-Custodial Mandate Lifecycle
Agents never hold private keys, seed phrases, or token transfer authority. Users authenticate via EIP-4361 Sign-In with Ethereum (SIWE) using single-use, expiring nonces verified server-side. Each agent mandate stores asset addresses, token decimals, exact integer full-fill quantity (`bigint`), and a private reservation threshold (`limit_quote_raw`) protected by PostgreSQL Row Level Security.
2. Settlement Fee & Seller Net-Floor Math
Seller minimums are strictly net of protocol fees. If a seller specifies a `1,000 USDC` net floor under a `20 bps` fee, a `1,000 USDC` gross offer yields `998 USDC` net and is rejected by the negotiation engine, backend validator, and `InterpresEscrow.sol`. Fees are collected strictly upon completed atomic fulfillment — never on escrow creation, cancelled orders, or failed negotiations.
3. Concurrent Slot Quotas & Billing
Every authenticated wallet receives 3 concurrent active agent slots free (`Draft`, `Paused`, `Completed`, and `Cancelled` agents consume zero slots). Eligible $INTP holders receive up to 10 concurrent slots. Additional 30-day slots cost 0.20 USDC via a non-recurring, anti-replay `paymentIntentId` verified on-chain through `InterpresSlotPayment.sol`. When a paid slot expires, only excess idle agents are safely paused; active escrows and settled agreements are never seized or cancelled.
4. Security Model, Reorg Policy & Unaudited MVP Disclosure
- Smart Contract Audit Status: `InterpresEscrow.sol` and `InterpresSlotPayment.sol` are MVP contracts tested against reentrancy, fee-cap bounds, unauthorized cancellation, expiry, replay, and fee-on-transfer tokens, but have not undergone an independent third-party security audit. Do not deploy with live customer mainnet funds prior to formal audit.
- Supported Token Standard: MVP escrow supports standard compliant ERC-20 tokens with fixed balances. Fee-on-transfer and rebasing tokens are explicitly rejected via balance-delta checks. Native gas token wrapping (e.g. wRBH) is required.
- Bounded Approvals: The terminal requests exact per-order ERC-20 allowances (`baseAmount` or `quoteGross`), never unlimited `uint256.max` approvals.
- Finality & Reorg Handling: Blockchain state is authoritative for payments and settlements; Supabase/PostgreSQL serves as an indexed view. In production on Robinhood Chain, configure confirmation depth thresholds in the receipt verifier before marking high-value settlements final.