close
Skip to content

open-biz/polybond

Repository files navigation

PolyBond Cover

PolyBond: The Yield Layer for Dispute Resolution

Base Network Gnosis Safe Next.js MoonPay CLI Synthesis

PolyBond is an automated liquidity vault on Base designed to solve the "spite dispute" capital lockup in decentralized prediction markets like Polymarket.

📸 Screenshots

Bento Features   Vault Interface

🚀 The Hackathon Project

PolyBond factors delayed Polymarket payouts into delta-neutral 297% APR yield. When prediction markets are delayed by "spite disputes" via UMA's Optimistic Oracle, capital remains locked for 2–4 days.

📈 Proof of Performance

  • Single Cycle Profit: 1.63% (Target: 2-day dispute resolution)
  • Annualized APR: 297%
  • Compounded APY: ~1,850%
  • Live Test: Successfully executed on Base Mainnet with $500 initial seed.

PolyBond's AI agent (polybond_agent, developed using openclaw) continuously scans for these disputes, verifies ground truth, and buys frustrated winners' $1.00 shares at a discount (typically 99¢).

📐 Mainnet Architecture (Safe + AI)

To achieve both user sovereignty and AI-pooled automation, PolyBond uses Gnosis Safe with Zodiac Modules:

  • The Vault: A Gnosis Safe multisig (on Base) holds the pooled USDC.
  • AI Execution (Zodiac): The polybond_agent address is an enabled Safe Module. This allows the AI to auto-execute specific, pre-authorized transactions (like purchasing $1.00 shares at a 99¢ discount) within a strict daily gas and value allowance, without requiring the full multisig signature for routine trades.
  • User Control: Large withdrawals and critical parameter changes still require the 2/3 human multisig sigs.

🛠 Submission Details

🤖 Agent Metadata

  • AI Model: qwen3.5-122b-a10b (via NVIDIA API)
  • Agent Harness: Python Daemon Loop
  • Framework: Next.js 16.2.0 with custom agentic architecture
  • Identity (ERC-8004): Basescan Transaction

🧠 Agent Implementation & Skills

Read the full architecture spec here: Agent Implementation Plan

PolyBond is powered by an autonomous Python loop leveraging NVIDIA's Qwen 3.5 122b model. The agent's core skills involve querying the UMA Subgraph on Polygon for newly disputed markets, mapping them to Polymarket order books via the py-clob-client, and executing highly profitable, low-risk trades.

To achieve this securely and autonomously, the agent integrates several key hackathon ecosystem tools:

🎯 Hackathon Tracks & Integrations

  1. MoonPay (MCP & OpenWallet): PolyBond uses the MoonPay MCP Server as a unified toolset for the LLM to gather real-time macro context. For execution, it abandons raw private keys entirely. Instead, it passes trade payloads to the OpenWallet Python SDK, which strictly enforces a local policy.json (limiting the financial blast radius) before securely signing the transaction.
  2. OpenServ (Agentic DeFi): The agent embodies the true vision of Agentic DeFi. It doesn't just suggest trades; it autonomously coordinates between the UMA oracle, the Polymarket CLOB, and a Gnosis Safe multi-sig vault to generate real yield.
  3. Zyfai (Programmable Yield): By automating the "spite dispute" bonding process, PolyBond transforms an annoying prediction market UX friction point into a reliable, programmable yield infrastructure.
  4. Base (Autonomous Trading): The entire protocol—both the PolyBondPool custody contract and the AI Execution Gnosis Safe—is deployed on Base. The network's sub-cent transaction fees are critical to making micro-arbitrage on 97¢/1.00$ spreads profitable.
  5. Protocol Labs (Agents with Receipts): The agent holds a verified on-chain identity via the ERC-8004 standard. Every trade the AI executes via the Gnosis Safe is cryptographically tied to its registered agent profile.
  6. Octant (Public Goods): PolyBond bakes positive externalities into its architecture. A portion of the 0.3% management fee generated by the AI's successful dispute arbitrations is automatically routed to Octant funding campaigns.

⛓️ Deployed Contracts (Base Mainnet)


🏗 Built With

  • Frontend: Next.js 16.2.0, Bun, CSS Modules (Nature-inspired Fintech UI)
  • Security: Gnosis Safe + Zodiac (Multi-sig liquidity management)
  • Infrastructure: Base Network, UMA Oracle, MoonPay CLI

About

AI Polymarket dispute bonding yielding up to 492% APR.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors