Fix Matic commons to bring up to speed

This commit is contained in:
Zer0dot 2021-02-19 16:45:33 -05:00
parent 71c5d7b080
commit 093007c247

View File

@ -23,35 +23,38 @@ const MOCK_CHAINLINK_AGGREGATORS_PRICES = {
WBTC: oneEther.multipliedBy('47.332685').toFixed(),
YFI: oneEther.multipliedBy('22.407436').toFixed(),
ZRX: oneEther.multipliedBy('0.001151').toFixed(),
LpDAI: oneEther.multipliedBy('0.00369068412860').toFixed(),
LpUSDC: oneEther.multipliedBy('0.00367714136416').toFixed(),
LpUSDT: oneEther.multipliedBy('0.00369068412860').toFixed(),
LpWBTC: oneEther.multipliedBy('47.332685').toFixed(),
LpWETH: oneEther.toFixed(),
LpUniDAIWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniWBTCWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniAAVEWETH: oneEther.multipliedBy('0.003620948469').toFixed(),
LpUniBATWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniUSDCDAI: oneEther.multipliedBy('22.407436').toFixed(),
LpUniCRVWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniLINKWETH: oneEther.multipliedBy('0.009955').toFixed(),
LpUniMKRWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniRENWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniSNXWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniUNIWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniUSDCWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpUniWBTCUSDC: oneEther.multipliedBy('22.407436').toFixed(),
LpUniYFIWETH: oneEther.multipliedBy('22.407436').toFixed(),
LpBalWBTCWETH: oneEther.multipliedBy('22.407436').toFixed(),
// LpDAI: oneEther.multipliedBy('0.00369068412860').toFixed(),
// LpUSDC: oneEther.multipliedBy('0.00367714136416').toFixed(),
// LpUSDT: oneEther.multipliedBy('0.00369068412860').toFixed(),
// LpWBTC: oneEther.multipliedBy('47.332685').toFixed(),
// LpWETH: oneEther.toFixed(),
UniDAIWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniWBTCWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniAAVEWETH: oneEther.multipliedBy('0.003620948469').toFixed(),
UniBATWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniUSDCDAI: oneEther.multipliedBy('22.407436').toFixed(),
UniCRVWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniLINKWETH: oneEther.multipliedBy('0.009955').toFixed(),
UniMKRWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniRENWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniSNXWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniUNIWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniUSDCWETH: oneEther.multipliedBy('22.407436').toFixed(),
UniWBTCUSDC: oneEther.multipliedBy('22.407436').toFixed(),
UniYFIWETH: oneEther.multipliedBy('22.407436').toFixed(),
BptWBTCWETH: oneEther.multipliedBy('22.407436').toFixed(),
USD: '5848466240000000',
};
// ----------------
// PROTOCOL GLOBAL PARAMS
// ----------------
export const CommonsConfig: ICommonConfiguration = {
MarketId: 'Commons',
ATokenNamePrefix: 'Aave interest bearing',
StableDebtTokenNamePrefix: 'Aave stable debt bearing',
VariableDebtTokenNamePrefix: 'Aave variable debt bearing',
SymbolPrefix: '',
ProviderId: 0,
ProtocolGlobalParams: {
TokenDistributorPercentageBase: '10000',