Wick: a market maker that pays for its own brain

Wick: a market maker that pays for its own brain An architecture diagram generated by Archify. Taker · Any wallet · Architecture component Taker Any wallet Wick swap page · wick Worker, /api/status · Architecture component Wick swap page wick Worker, /api/status AquaAggregatorHook · Uniswap v4, Base · Architecture component AquaAggregatorHook Uniswap v4, Base Other agent · Pays per quote · Architecture component Other agent Pays per quote wick-quotes · x402, 0.01 USDC · Architecture component wick-quotes x402, 0.01 USDC AquaSwapVMRouter · Aqua, SwapVM v1.0.2 · Base: onchain enforcement AquaSwapVMRouter Aqua, SwapVM v1.0.2 AgentQuoteBoardV2 · ExtructionV2, TWAP band · Base: onchain enforcement AgentQuoteBoardV2 ExtructionV2, TWAP band Worker cron · Every 5 min, budget tiers · Architecture component Worker cron Every 5 min, budget tiers 0G Private Computer · verify_tee, request ids · Architecture component 0G Private Computer verify_tee, request ids Uniswap v3 pool · W0G/USDC, 600 s TWAP · Architecture component Uniswap v3 pool W0G/USDC, 600 s TWAP Chainlink CCIP · Base to 0G chain · Architecture component Chainlink CCIP Base to 0G chain 0G Payment Layer · withdraw, depositFor · Architecture component 0G Payment Layer withdraw, depositFor swap v4 swap swap(order) swap(order) opcode 0x20 X-PAYMENT reads quote postPair decision TWAP, fee swap W0G W0G on 0G pays inference Base: onchain enforcement Legend Frontend Backend Database Cloud Security Message bus External

Trust boundaries

  • • Model picks spread, skew, maxAmountIn and TTL
  • • Code centres both rates on the 600 s TWAP
  • • Chain enforces epoch, nonce, 800 bps band, 900 s TTL

Budget tiers

  • • NORMAL 0gm-1.0-35b-a3b with verify_tee, 25 bps move
  • • LOW qwen3.7-flash, 100 bps move, 60 bps floor
  • • CRITICAL stops inference, PAUSED stops posting

Fee loop

  • • Fill fees swap to W0G on Uniswap v3
  • • CCIP to 0G, withdraw, depositFor
  • • x402 quotes add 0.01 USDC each