fix: Add addresses to mumbai market config

This commit is contained in:
miguelmtzinf 2021-09-29 17:52:44 +02:00
parent 03c525314c
commit 69c826ba48
2 changed files with 14 additions and 14 deletions

View File

@ -77,27 +77,27 @@ export const CommonsConfig: ICommonConfiguration = {
[ePolygonNetwork.matic]: undefined, [ePolygonNetwork.matic]: undefined,
}, },
LendingPool: { LendingPool: {
[ePolygonNetwork.mumbai]: '', [ePolygonNetwork.mumbai]: '0x9198F13B08E299d85E096929fA9781A1E3d5d827',
[ePolygonNetwork.matic]: '', [ePolygonNetwork.matic]: '',
}, },
LendingPoolConfigurator: { LendingPoolConfigurator: {
[ePolygonNetwork.mumbai]: '', [ePolygonNetwork.mumbai]: '0xc3c37E2aA3dc66464fa3C29ce2a6EC85beFC45e1',
[ePolygonNetwork.matic]: '', [ePolygonNetwork.matic]: '',
}, },
ProviderRegistry: { ProviderRegistry: {
[ePolygonNetwork.mumbai]: ZERO_ADDRESS, [ePolygonNetwork.mumbai]: '0xE6ef11C967898F9525D550014FDEdCFAB63536B5',
[ePolygonNetwork.matic]: '0x3ac4e9aa29940770aeC38fe853a4bbabb2dA9C19', [ePolygonNetwork.matic]: '0x3ac4e9aa29940770aeC38fe853a4bbabb2dA9C19',
}, },
ProviderRegistryOwner: { ProviderRegistryOwner: {
[ePolygonNetwork.mumbai]: '', [ePolygonNetwork.mumbai]: '0x943E44157dC0302a5CEb172374d1749018a00994',
[ePolygonNetwork.matic]: '0xD7D86236d6c463521920fCC50A9CB56f8C8Bf008', [ePolygonNetwork.matic]: '0xD7D86236d6c463521920fCC50A9CB56f8C8Bf008',
}, },
LendingRateOracle: { LendingRateOracle: {
[ePolygonNetwork.mumbai]: '', [ePolygonNetwork.mumbai]: '0xC661e1445F9a8E5FD3C3dbCa0A0A2e8CBc79725D',
[ePolygonNetwork.matic]: '0x17F73aEaD876CC4059089ff815EDA37052960dFB', [ePolygonNetwork.matic]: '0x17F73aEaD876CC4059089ff815EDA37052960dFB',
}, },
LendingPoolCollateralManager: { LendingPoolCollateralManager: {
[ePolygonNetwork.mumbai]: '', [ePolygonNetwork.mumbai]: '0x2A7004B21c49253ca8DF923406Fed9a02AA86Ba0',
[ePolygonNetwork.matic]: '', [ePolygonNetwork.matic]: '',
}, },
TokenDistributor: { TokenDistributor: {
@ -105,11 +105,11 @@ export const CommonsConfig: ICommonConfiguration = {
[ePolygonNetwork.matic]: '', [ePolygonNetwork.matic]: '',
}, },
WethGateway: { WethGateway: {
[ePolygonNetwork.mumbai]: '', [ePolygonNetwork.mumbai]: '0xee9eE614Ad26963bEc1Bec0D2c92879ae1F209fA',
[ePolygonNetwork.matic]: '', [ePolygonNetwork.matic]: '',
}, },
AaveOracle: { AaveOracle: {
[ePolygonNetwork.mumbai]: '', [ePolygonNetwork.mumbai]: '0xC365C653f7229894F93994CD0b30947Ab69Ff1D5',
[ePolygonNetwork.matic]: '0x0229F777B0fAb107F9591a41d5F02E4e98dB6f2d', [ePolygonNetwork.matic]: '0x0229F777B0fAb107F9591a41d5F02E4e98dB6f2d',
}, },
FallbackOracle: { FallbackOracle: {
@ -157,7 +157,7 @@ export const CommonsConfig: ICommonConfiguration = {
[ePolygonNetwork.matic]: '0x7734280A4337F37Fbf4651073Db7c28C80B339e9', [ePolygonNetwork.matic]: '0x7734280A4337F37Fbf4651073Db7c28C80B339e9',
}, },
IncentivesController: { IncentivesController: {
[ePolygonNetwork.mumbai]: ZERO_ADDRESS, [ePolygonNetwork.mumbai]: '0xd41aE58e803Edf4304334acCE4DC4Ec34a63C644',
[ePolygonNetwork.matic]: '0x357D51124f59836DeD84c8a1730D72B749d8BC23', [ePolygonNetwork.matic]: '0x357D51124f59836DeD84c8a1730D72B749d8BC23',
}, },
}; };

View File

@ -40,11 +40,11 @@ export const MaticConfig: IMaticConfiguration = {
}, },
[ePolygonNetwork.mumbai]: { [ePolygonNetwork.mumbai]: {
// Mock tokens with a simple "mint" external function, except wmatic // Mock tokens with a simple "mint" external function, except wmatic
DAI: '0x13b3fda609C1eeb23b4F4b69257840760dCa6C4a', DAI: '0x001B3B4d0F3714Ca98ba10F6042DaEbF0B1B7b6F',
USDC: '0x52b63223994433FdE2F1350Ba69Dfd2779f06ABA', USDC: '0x2058A9D7613eEE744279e3856Ef0eAda5FCbaA7e',
USDT: '0xB3abd1912F586fDFFa13606882c28E27913853d2', USDT: '0xBD21A10F619BE90d6066c941b04e340841F1F989',
WBTC: '0x393E3512d45a956A628124665672312ea86930Ba', WBTC: '0x0d787a4a1548f673ed375445535a6c7A1EE56180',
WETH: '0x53CDb16B8C031B779e996406546614E5F05BC4Bf', WETH: '0x3C68CE8504087f89c640D02d133646d98e64ddd9',
WMATIC: '0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889', WMATIC: '0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889',
}, },
}, },