cow.constants
Documentation for eth_defi.cow.constants Python module.
CowSwap related addresses and constants.
Module Attributes
Assume the same across all chains |
|
Where do we need to approve tokens to trade via CowSwap |
|
CowSwap has API endpoint per chain |
|
CowSwap explorer URLs per chain id |
- COWSWAP_SETTLEMENT = '0x9008D19f58AAbD9eD0D60971565AA8510560ab41'
Assume the same across all chains
- COWSWAP_VAULT_RELAYER = '0xC92E8bdf79f0507f65a392b0ab4667716BFE0110'
Where do we need to approve tokens to trade via CowSwap
- COWSWAP_API_ENDPOINTS = {0: 'https://api.cow.fi/sepolia', 1: 'https://api.cow.fi/mainnet', 100: 'https://api.cow.fi/xdai', 137: 'https://api.cow.fi/polygon', 8453: 'https://api.cow.fi/base', 42161: 'https://api.cow.fi/arbitrum_one', 43114: 'https://api.cow.fi/avalanche'}
CowSwap has API endpoint per chain
- CHAIN_TO_EXPLORER = {1: 'https://explorer.cow.fi/ethereum', 100: 'https://explorer.cow.fi/gc', 8453: 'https://explorer.cow.fi/base', 42161: 'https://explorer.cow.fi/arb1'}
CowSwap explorer URLs per chain id