velora.constants
Documentation for eth_defi.velora.constants Python module.
Velora (ParaSwap) contract addresses and constants.
See Velora developer documentation for more details.
Module Attributes
Velora API endpoint (still uses ParaSwap domain) |
|
Augustus Swapper v5 contract addresses per chain |
|
TokenTransferProxy contract addresses per chain |
|
Supported chain IDs for Velora |
- VELORA_API_URL = 'https://api.paraswap.io'
Velora API endpoint (still uses ParaSwap domain)
- VELORA_AUGUSTUS_SWAPPER: dict[int, eth_typing.evm.HexAddress] = {1: '0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57', 10: '0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57', 56: '0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57', 137: '0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57', 8453: '0x59C7C832e96D2568bea6db468C1aAdcbbDa08A52', 42161: '0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57', 43114: '0xDEF171Fe48CF0115B1d80b88dc8eAB59176FEe57'}
Augustus Swapper v5 contract addresses per chain
This is the main router contract that executes swaps. Calldata from Velora API is executed on this contract.
- VELORA_TOKEN_TRANSFER_PROXY: dict[int, eth_typing.evm.HexAddress] = {1: '0x216b4b4ba9f3e719726886d34a177484278bfcae', 10: '0x216B4B4Ba9F3e719726886d34a177484278Bfcae', 56: '0x216b4b4ba9f3e719726886d34a177484278bfcae', 137: '0x216b4b4ba9f3e719726886d34a177484278bfcae', 8453: '0x93aAAe79a53759cD164340E4C8766E4Db5331cD7', 42161: '0x216B4B4Ba9F3e719726886d34a177484278Bfcae', 43114: '0x216b4b4ba9f3e719726886d34a177484278bfcae'}
TokenTransferProxy contract addresses per chain
IMPORTANT: Users must approve THIS contract for token spending, NOT Augustus Swapper. Funds may be lost if approved to Augustus directly.
- VELORA_SUPPORTED_CHAINS = frozenset({1, 10, 56, 137, 8453, 42161, 43114})
Supported chain IDs for Velora