2020-12-22 23:48:02 +00:00
|
|
|
import { oneRay, ZERO_ADDRESS } from '../../helpers/constants';
|
2021-02-08 16:05:10 +00:00
|
|
|
import { ILpConfiguration, EthereumNetwork, eEthereumNetwork } from '../../helpers/types';
|
2020-12-22 23:48:02 +00:00
|
|
|
|
|
|
|
import { CommonsConfig } from './commons';
|
|
|
|
import {
|
|
|
|
strategyDAI,
|
|
|
|
strategyUSDC,
|
|
|
|
strategyUSDT,
|
|
|
|
strategyWETH,
|
|
|
|
strategyWBTC,
|
2021-01-20 01:58:21 +00:00
|
|
|
strategyWBTCWETH,
|
|
|
|
strategyDAIWETH,
|
|
|
|
strategyAAVEWETH,
|
|
|
|
strategyBATWETH,
|
|
|
|
strategyUSDCDAI,
|
|
|
|
strategyCRVWETH,
|
|
|
|
strategyLINKWETH,
|
|
|
|
strategyMKRWETH,
|
|
|
|
strategyRENWETH,
|
|
|
|
strategySNXWETH,
|
|
|
|
strategyUNIWETH,
|
|
|
|
strategyUSDCWETH,
|
|
|
|
strategyWBTCUSDC,
|
|
|
|
strategyYFIWETH,
|
2020-12-22 23:48:02 +00:00
|
|
|
} from './reservesConfigs';
|
|
|
|
|
|
|
|
// ----------------
|
|
|
|
// POOL--SPECIFIC PARAMS
|
|
|
|
// ----------------
|
|
|
|
|
2021-02-08 16:05:10 +00:00
|
|
|
export const lpConfig: ILpConfiguration = {
|
2020-12-22 23:48:02 +00:00
|
|
|
...CommonsConfig,
|
2021-02-08 16:05:10 +00:00
|
|
|
MarketId: 'Aave LP market',
|
2020-12-22 23:48:02 +00:00
|
|
|
ProviderId: 2,
|
|
|
|
ReservesConfig: {
|
2021-02-08 16:24:01 +00:00
|
|
|
LpWETH: strategyWETH,
|
|
|
|
LpDAI: strategyDAI,
|
|
|
|
LpUSDC: strategyUSDC,
|
|
|
|
LpUSDT: strategyUSDT,
|
|
|
|
LpWBTC: strategyWBTC,
|
2021-02-16 03:50:16 +00:00
|
|
|
LpUniDAIWETH: strategyDAIWETH,
|
|
|
|
LpUniWBTCWETH: strategyWBTCWETH,
|
|
|
|
LpUniAAVEWETH: strategyAAVEWETH,
|
|
|
|
LpUniBATWETH: strategyBATWETH,
|
|
|
|
LpUniUSDCDAI: strategyUSDCDAI,
|
|
|
|
LpUniCRVWETH: strategyCRVWETH,
|
|
|
|
LpUniLINKWETH: strategyLINKWETH,
|
|
|
|
LpUniMKRWETH: strategyMKRWETH,
|
|
|
|
LpUniRENWETH: strategyRENWETH,
|
|
|
|
LpUniSNXWETH: strategySNXWETH,
|
|
|
|
LpUniUNIWETH: strategyUNIWETH,
|
|
|
|
LpUniUSDCWETH: strategyUSDCWETH,
|
|
|
|
LpUniWBTCUSDC: strategyWBTCUSDC,
|
|
|
|
LpUniYFIWETH: strategyYFIWETH,
|
|
|
|
LpBalWBTCWETH: strategyWBTCWETH,
|
2020-12-22 23:48:02 +00:00
|
|
|
},
|
|
|
|
ReserveAssets: {
|
|
|
|
[eEthereumNetwork.buidlerevm]: {},
|
|
|
|
[eEthereumNetwork.hardhat]: {},
|
|
|
|
[eEthereumNetwork.coverage]: {},
|
|
|
|
[EthereumNetwork.kovan]: {
|
2021-02-08 16:24:01 +00:00
|
|
|
LpDAI: '0xFf795577d9AC8bD7D90Ee22b6C1703490b6512FD',
|
|
|
|
LpUSDC: '0xe22da380ee6B445bb8273C81944ADEB6E8450422',
|
|
|
|
LpUSDT: '0x13512979ADE267AB5100878E2e0f485B568328a4',
|
|
|
|
LpWBTC: '0xD1B98B6607330172f1D991521145A22BCe793277',
|
|
|
|
LpWETH: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
|
2021-02-16 03:50:16 +00:00
|
|
|
LpUniDAIWETH: '0x7e48b02B21D784e79E17b06988fc150c8b5945df',
|
|
|
|
LpUniWBTCWETH: '0x4Fd18882730dc5f945d5049C3f99Ee43CCA1F3d9',
|
|
|
|
LpUniAAVEWETH: '0xC173038224d47e11962bb0Bd10e036c573C57dF0',
|
|
|
|
LpUniBATWETH: '0xfC482c56A91Cc92019FF6522B2FB76F41B7e2535',
|
|
|
|
LpUniUSDCDAI: '0xFD0795980D4c37Fd867228C86A1f7693C9219142',
|
|
|
|
LpUniCRVWETH: '0xC7f1899F8B5861d8A3Ce1385194bc130A15C8a74',
|
|
|
|
LpUniLINKWETH: '0xCe2355F9249ced9E51ecc35AbB749352C2557D0d',
|
|
|
|
LpUniMKRWETH: '0xDCf7A28f4102B7f5813148cCEFb02134648E6F0C',
|
|
|
|
LpUniRENWETH: '0xe46C9459833bBa061471DF2a383D27a20FE97E23',
|
|
|
|
LpUniSNXWETH: '0xAa5826dea7cfEc02AcB644b24387bE2648feAbB9',
|
|
|
|
LpUniUNIWETH: '0xD4C255B5500cFB262EB5F9105Ea546Aa0610A0d3',
|
|
|
|
LpUniUSDCWETH: '0x509f6ce2F9718E3dd854cCE1857FabCc59C6dd5e',
|
|
|
|
LpUniWBTCUSDC: '0x9D15e3A14926A16C9B285A5c6bd6c9e82d5F8031',
|
|
|
|
LpUniYFIWETH: '0xC6Dc783B3C2E2Cbf71791d253f8b4993D40DBf98',
|
|
|
|
LpBalWBTCWETH: '0x930087451C5940B28bE556d32a4CF22D5d9754A1',
|
2020-12-22 23:48:02 +00:00
|
|
|
},
|
|
|
|
[EthereumNetwork.ropsten]: {
|
|
|
|
},
|
|
|
|
[EthereumNetwork.main]: {
|
2021-02-08 16:24:01 +00:00
|
|
|
LpDAI: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
|
|
LpUSDC: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
|
|
LpUSDT: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
|
|
|
|
LpWBTC: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
|
|
|
|
LpWETH: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
2021-02-16 03:50:16 +00:00
|
|
|
LpUniDAIWETH: '0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11',
|
|
|
|
LpUniWBTCWETH: '0xBb2b8038a1640196FbE3e38816F3e67Cba72D940',
|
|
|
|
LpUniAAVEWETH: '0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f',
|
|
|
|
LpUniBATWETH: '0xB6909B960DbbE7392D405429eB2b3649752b4838',
|
|
|
|
LpUniUSDCDAI: '0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5',
|
|
|
|
LpUniCRVWETH: '0x3dA1313aE46132A397D90d95B1424A9A7e3e0fCE',
|
|
|
|
LpUniLINKWETH: '0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974',
|
|
|
|
LpUniMKRWETH: '0xC2aDdA861F89bBB333c90c492cB837741916A225',
|
|
|
|
LpUniRENWETH: '0x8Bd1661Da98EBDd3BD080F0bE4e6d9bE8cE9858c',
|
|
|
|
LpUniSNXWETH: '0x43AE24960e5534731Fc831386c07755A2dc33D47',
|
|
|
|
LpUniUNIWETH: '0xd3d2E2692501A5c9Ca623199D38826e513033a17',
|
|
|
|
LpUniUSDCWETH: '0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc',
|
|
|
|
LpUniWBTCUSDC: '0x004375Dff511095CC5A197A54140a24eFEF3A416',
|
|
|
|
LpUniYFIWETH: '0x2fDbAdf3C4D5A8666Bc06645B8358ab803996E28',
|
|
|
|
LpBalWBTCWETH: '0x1efF8aF5D577060BA4ac8A29A13525bb0Ee2A3D5',
|
2020-12-22 23:48:02 +00:00
|
|
|
},
|
|
|
|
[EthereumNetwork.tenderlyMain]: {
|
2021-02-16 03:50:16 +00:00
|
|
|
LpDAI: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
|
|
LpUSDC: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
|
|
LpUSDT: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
|
|
|
|
LpWBTC: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
|
|
|
|
LpWETH: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
|
|
LpUniDAIWETH: '0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11',
|
|
|
|
LpUniWBTCWETH: '0xBb2b8038a1640196FbE3e38816F3e67Cba72D940',
|
|
|
|
LpUniAAVEWETH: '0xDFC14d2Af169B0D36C4EFF567Ada9b2E0CAE044f',
|
|
|
|
LpUniBATWETH: '0xB6909B960DbbE7392D405429eB2b3649752b4838',
|
|
|
|
LpUniUSDCDAI: '0xAE461cA67B15dc8dc81CE7615e0320dA1A9aB8D5',
|
|
|
|
LpUniCRVWETH: '0x3dA1313aE46132A397D90d95B1424A9A7e3e0fCE',
|
|
|
|
LpUniLINKWETH: '0xa2107FA5B38d9bbd2C461D6EDf11B11A50F6b974',
|
|
|
|
LpUniMKRWETH: '0xC2aDdA861F89bBB333c90c492cB837741916A225',
|
|
|
|
LpUniRENWETH: '0x8Bd1661Da98EBDd3BD080F0bE4e6d9bE8cE9858c',
|
|
|
|
LpUniSNXWETH: '0x43AE24960e5534731Fc831386c07755A2dc33D47',
|
|
|
|
LpUniUNIWETH: '0xd3d2E2692501A5c9Ca623199D38826e513033a17',
|
|
|
|
LpUniUSDCWETH: '0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc',
|
|
|
|
LpUniWBTCUSDC: '0x004375Dff511095CC5A197A54140a24eFEF3A416',
|
|
|
|
LpUniYFIWETH: '0x2fDbAdf3C4D5A8666Bc06645B8358ab803996E28',
|
|
|
|
LpBalWBTCWETH: '0x1efF8aF5D577060BA4ac8A29A13525bb0Ee2A3D5',
|
2020-12-22 23:48:02 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2021-02-08 16:05:10 +00:00
|
|
|
export default lpConfig;
|