UNPKG

flashloan-profit-calculator

Version:

A library for analyzing flashloan transactions and calculating profits

16 lines (15 loc) 841 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FLASHLOAN_PROTOCOLS = exports.WETH_LIKE_TOKENS = exports.WETH_ADDRESS = exports.NULL_ADDRESS = exports.ETH_ADDRESS = void 0; exports.ETH_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"; exports.NULL_ADDRESS = "0x0000000000000000000000000000000000000000"; exports.WETH_ADDRESS = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"; exports.WETH_LIKE_TOKENS = new Set([exports.WETH_ADDRESS]); // Flashloan protocol addresses exports.FLASHLOAN_PROTOCOLS = { AAVE_V2: "0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9", AAVE_V3: "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", UNISWAP_V2: "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D", UNISWAP_V3: "0xE592427A0AEce92De3Edee1F18E0157C05861564", DYDX: "0x1E0447b19BB6EcFdAe1e4AE1694b0C3659614e4e", };