Documentation Index
Fetch the complete documentation index at: https://cowswap-mintlify-docs-quality-audit-1774257282.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Introduction to ComposableCoW
ComposableCoW is the contract that implements programmatic orders (sometimes called conditional orders) on CoW Protocol. Programmatic orders execute automatically when predefined on-chain conditions are satisfied, functioning as smart contract-based trading strategies.
Primary Use Cases
The framework supports multiple order types:- TWAP: Distributes large trades across time intervals
- Good After Time: Activates orders after specific timestamps
- Stop Loss: Triggers sales when prices drop below oracle-determined thresholds
- Trade Above Threshold: Executes when token balances exceed minimums
- Perpetual Stable Swap: Maintains consistent token position ratios
Authorization Mechanisms
Two approaches are available:- Individual order creation via
ComposableCoW.create()for simpler scenarios - Merkle tree-based authorization for efficiently managing numerous programmatic orders with reduced on-chain storage requirements
Technical Infrastructure
Deployed Contract Addresses
All contracts are deployed at consistent addresses across multiple networks:| Contract | Address |
|---|---|
| ComposableCoW | 0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74 |
| ExtensibleFallbackHandler | 0x2f55e8b20D0B9FEFA187AA7d00B6Cbe563605bF5 |
| TWAP Handler | 0x6cF1e9cA41f7611dEf408122793c358a3d11E5a5 |