Initial commit: add .gitignore and README
This commit is contained in:
41
config/chains/polygon.ts
Normal file
41
config/chains/polygon.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
import type { ChainConfig } from '../types.js';
|
||||
|
||||
export const polygon: ChainConfig = {
|
||||
chainId: 137,
|
||||
name: 'Polygon',
|
||||
rpcUrl: process.env.POLYGON_RPC_URL || 'https://polygon-rpc.com',
|
||||
|
||||
// Aave v3
|
||||
aave: {
|
||||
poolAddressesProvider: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb',
|
||||
pool: '0x794a61358D6845594F94dc1DB02A252b5b4814aD',
|
||||
},
|
||||
|
||||
// Uniswap
|
||||
uniswap: {
|
||||
swapRouter02: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
||||
universalRouter: '0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5',
|
||||
permit2: '0x000000000022D473030F116dDEE9F6B43aC78BA3',
|
||||
quoterV2: '0x61fFE014bA17989E743c5F6cB21bF9697530B21e',
|
||||
},
|
||||
|
||||
// Protocolink
|
||||
protocolink: {
|
||||
router: '0xf7b10d603907658F690Da534E9b7dbC4dAB3E2D6',
|
||||
},
|
||||
|
||||
// Compound III
|
||||
compound3: {
|
||||
cometUsdc: '0xF25212E676D1F7F89Cd72fFEe66158f541246445',
|
||||
},
|
||||
|
||||
// Common Tokens
|
||||
tokens: {
|
||||
WETH: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619',
|
||||
USDC: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
|
||||
USDT: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F',
|
||||
DAI: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063',
|
||||
WBTC: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user