Documentation Index
Fetch the complete documentation index at: https://cowswap-mintlify-seo-audit-1777280932.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Contract Verification
This guide explains how to verify CoW Protocol smart contracts on various block explorers, including Etherscan-based platforms and Tenderly.Etherscan-Based Verification
Supported Explorers
| Network | Explorer |
|---|---|
| Ethereum | Etherscan |
| Gnosis Chain | Gnosisscan |
| Arbitrum | Arbiscan |
| Optimism | Optimistic Etherscan |
| Polygon | Polygonscan |
| BSC | BscScan |
| Base | Basescan |
| Avalanche | Snowtrace |
Batch Verification
Verify all deployed contracts at once:Individual Contract Verification
Certain contracts require constructor arguments for manual verification. The VaultRelayer requires the Balancer Vault address:The Balancer Vault address
0xBA12222222228d8Ba445958a75a0704d566BF2C8 is consistent across all networks.Tenderly Verification
Tenderly provides advanced debugging and monitoring capabilities.Setup
Verify Contracts
CI/CD Integration
Example GitHub Actions workflow:Troubleshooting
| Issue | Solution |
|---|---|
| Already verified | Contract may already be verified on the explorer |
| Missing constructor arguments | Provide correct constructor args with --constructor-args |
| Invalid API key | Check API key validity and network match |
| Unsupported network | Verify that the explorer supports the target network |
Best Practices
- Verify contracts immediately after deployment
- Maintain deployment artifacts in version control
- Document constructor arguments thoroughly
- Test verification scripts before mainnet use
- Verify across multiple explorers for redundancy