claudedwithlove
explore/ctf-exchange-v2

ctf-exchange-v2

Cherished

CTF Exchange V2 is a smart contract system that enables trading of Conditional Token Framework assets on Polymarket through operator-driven order matching. It handles multiple settlement types, signature schemes, and provides a wrapped collateral layer for managing USDC deposits and withdrawals across Polygon.

·0··submitted April 18, 2026
View on GitHub
Clauded With Love Rating
7.8 / 10

CTF Exchange V2 is a production-ready smart contract system enabling decentralized trading of Conditional Token Framework assets on Polymarket through operator-driven order matching. The system provides comprehensive collateral management with USDC wrapping, multiple signature schemes, and support for both standard and negative risk markets.

Code Quality8.2
Usefulness9.1
Claude Usage7.5
Documentation6.8
Originality7.3
Highlights
  • Production deployment on Polygon mainnet and Amoy testnet with verified contract addresses demonstrates real-world usage
  • Comprehensive collateral system with onramp/offramp functionality and permissioned ramps shows sophisticated financial infrastructure design
  • Multiple adapter patterns for different CTF variants (standard and negative risk) demonstrate flexible architecture for complex DeFi primitives
To Improve
  • Add comprehensive inline documentation and NatSpec comments to explain complex trading mechanics and settlement processes
  • Include setup instructions, deployment scripts, and integration examples in the README to improve developer onboarding
Language