aave-protocol-v2/markets/avalanche/index.ts

59 lines
1.7 KiB
TypeScript
Raw Normal View History

2021-07-16 08:47:16 +00:00
import { oneRay, ZERO_ADDRESS } from '../../helpers/constants';
2021-08-27 11:22:07 +00:00
import {
IAaveConfiguration,
eEthereumNetwork,
eAvalancheNetwork,
IAvalancheConfiguration,
} from '../../helpers/types';
2021-07-16 08:47:16 +00:00
import { CommonsConfig } from './commons';
import {
strategyWETH,
strategyDAI,
strategyUSDC,
strategyUSDT,
strategyAAVE,
strategyWBTC,
2021-08-27 11:22:07 +00:00
strategyWAVAX,
2021-07-16 08:47:16 +00:00
} from './reservesConfigs';
// ----------------
// POOL--SPECIFIC PARAMS
// ----------------
export const AvalancheConfig: IAvalancheConfiguration = {
...CommonsConfig,
MarketId: 'Avalanche market',
2021-08-24 08:38:24 +00:00
ProviderId: 4,
2021-07-16 08:47:16 +00:00
ReservesConfig: {
WETH: strategyWETH,
DAI: strategyDAI,
USDT: strategyUSDT,
2021-08-27 11:22:07 +00:00
USDC: strategyUSDC,
2021-07-16 08:47:16 +00:00
AAVE: strategyAAVE,
WBTC: strategyWBTC,
2021-08-27 11:22:07 +00:00
WAVAX: strategyWAVAX,
2021-07-16 08:47:16 +00:00
},
ReserveAssets: {
2021-08-27 11:22:07 +00:00
[eAvalancheNetwork.avalanche]: {
WETH: '0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab',
DAI: '0xd586e7f844cea2f87f50152665bcbc2c279d8d70',
USDT: '0xc7198437980c041c805a1edcba50c1ce5db95118',
USDC: '0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664',
AAVE: '0x63a72806098bd3d9520cc43356dd78afe5d386d9',
WBTC: '0x50b7545627a5162f82a992c33b87adc75187b218',
WAVAX: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7',
2021-07-16 08:47:16 +00:00
},
[eAvalancheNetwork.fuji]: {
WETH: '0x9668f5f55f2712Dd2dfa316256609b516292D554', // MintableERC20 token
2021-08-27 11:22:07 +00:00
DAI: '0x51BC2DfB9D12d9dB50C855A5330fBA0faF761D15',
USDT: '0x02823f9B469960Bb3b1de0B3746D4b95B7E35543', // MintableERC20 token
2021-08-27 11:22:07 +00:00
AAVE: '0x47183584aCbc1C45608d7B61cce1C562Ee180E7e',
WBTC: '0x9C1DCacB57ADa1E9e2D3a8280B7cfC7EB936186F', // MintableERC20 token
2021-08-27 11:22:07 +00:00
WAVAX: '0xd00ae08403B9bbb9124bB305C09058E32C39A48c', // Official WAVAX
2021-07-16 08:47:16 +00:00
},
},
};
export default AvalancheConfig;