From 671a6878bfc61d6b5b33a063ea3276d1405213c7 Mon Sep 17 00:00:00 2001 From: David Racero Date: Wed, 10 Mar 2021 18:17:52 +0100 Subject: [PATCH] Update LP oracles with latest oracle interface --- hardhat.config.ts | 2 +- markets/amm/commons.ts | 64 +++++++++++++++++++++--------------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 0c6fa1e1..234be8f2 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -58,7 +58,7 @@ const getCommonNetworkConfig = (networkName: eNetwork, networkId: number) => ({ const mainnetFork = MAINNET_FORK ? { - blockNumber: 11739065, + blockNumber: 12012081, url: NETWORKS_RPC_URL['main'], } : undefined; diff --git a/markets/amm/commons.ts b/markets/amm/commons.ts index b892064d..3a676eda 100644 --- a/markets/amm/commons.ts +++ b/markets/amm/commons.ts @@ -253,22 +253,22 @@ export const CommonsConfig: ICommonConfiguration = { WBTC: '0xdeb288F737066589598e9214E782fa5A8eD689e8', USDC: '0x986b5E1e1755e3C2440e960477f25201B0a8bbD4', DAI: '0x773616E4d11A78F511299002da57A0a94577F1f4', - UniDAIWETH: '0xf4071801C4421Db7e63DaC15B9432e50C44a7F42', - UniWBTCWETH: '0x55EF7F1226507cFd846DE009C2f097c2211b6Fb8', - UniAAVEWETH: '0x5671387d56eAB334A2D65d6D0BB4D907898C7abA', - UniBATWETH: '0xA61ca04DF33B72b235a8A28CfB535bb7A5271B70', - UniDAIUSDC: '0xFd8dFc92B030e6BA957336e9f08C2a711e19069A', - UniCRVWETH: '0xd4D344D076256Fdf806375983b2cab2Db52FD506', - UniLINKWETH: '0x8C0e5df19B998F06e57A1Db1a38232F7590abe4b', - UniMKRWETH: '0x92f2A28fE33E0b6Ea218057EEe004E3B2B6de45d', - UniRENWETH: '0xFc0398b247107138dB494395600fB0d075b72C9A', - UniSNXWETH: '0xF5CB13c859383B5fb070bd111Cae7a900c00BA07', - UniUNIWETH: '0xE50e47E37DCF55dE1c5F2c32d346BB52064f7CE6', - UniUSDCWETH: '0xBE6ac123799572c98eFdE48895465AB392534AFD', - UniWBTCUSDC: '0xd6b8b08a0d13994A5f4a1949F4870DE57e9B40d9', - UniYFIWETH: '0x94daB35789f05f54224F6851921160DE21318072', - BptWBTCWETH: '0x4a2731c9f3B4355922c676f9b538278D79C299C5', - BptBALWETH: '0xD9400999f38E1877a6dDDb0090A327F19257f9AE', + UniDAIWETH: '0x66a6b87a18db78086acda75b7720dc47cdabcc05', + UniWBTCWETH: '0x7004BB6F2013F13C54899309cCa029B49707E547', + UniAAVEWETH: '0xB525547968610395B60085bDc8033FFeaEaa5F64', + UniBATWETH: '0xB394D8a1CE721630Cbea8Ec110DCEf0D283EDE3a', + UniDAIUSDC: '0x3B148Fa5E8297DB64262442052b227328730EA81', + UniCRVWETH: '0x10F7078e2f29802D2AC78045F61A69aE0883535A', + UniLINKWETH: '0x30adCEfA5d483284FD79E1eFd54ED3e0A8eaA632', + UniMKRWETH: '0xEBF4A448ff3D835F8FA883941a3E9D5E74B40B5E', + UniRENWETH: '0xe2f7C06906A9dB063C28EB5c71B6Ab454e5222dD', + UniSNXWETH: '0x29bfee7E90572Abf1088a58a145a10D051b78E46', + UniUNIWETH: '0xC2E93e8121237A885A00627975eB06C7BF9808d6', + UniUSDCWETH: '0x71c4a2173CE3620982DC8A7D870297533360Da4E', + UniWBTCUSDC: '0x11f4ba2227F21Dc2A9F0b0e6Ea740369d580a212', + UniYFIWETH: '0x664223b8Bb0934aE0970e601F452f75AaCe9Aa2A', + BptWBTCWETH: '0x4CA8D8fC2b4fCe8A2dcB71Da884bba042d48E067', + BptBALWETH: '0x2e4e78936b100be6Ef85BCEf7FB25bC770B02B85', USD: '0x9326BFA02ADD2366b30bacB125260Af641031331', }, [eEthereumNetwork.tenderlyMain]: { @@ -276,22 +276,22 @@ export const CommonsConfig: ICommonConfiguration = { WBTC: '0xdeb288F737066589598e9214E782fa5A8eD689e8', USDC: '0x986b5E1e1755e3C2440e960477f25201B0a8bbD4', DAI: '0x773616E4d11A78F511299002da57A0a94577F1f4', - UniDAIWETH: '0xf4071801C4421Db7e63DaC15B9432e50C44a7F42', - UniWBTCWETH: '0x55EF7F1226507cFd846DE009C2f097c2211b6Fb8', - UniAAVEWETH: '0x5671387d56eAB334A2D65d6D0BB4D907898C7abA', - UniBATWETH: '0xA61ca04DF33B72b235a8A28CfB535bb7A5271B70', - UniDAIUSDC: '0xFd8dFc92B030e6BA957336e9f08C2a711e19069A', - UniCRVWETH: '0xd4D344D076256Fdf806375983b2cab2Db52FD506', - UniLINKWETH: '0x8C0e5df19B998F06e57A1Db1a38232F7590abe4b', - UniMKRWETH: '0x92f2A28fE33E0b6Ea218057EEe004E3B2B6de45d', - UniRENWETH: '0xFc0398b247107138dB494395600fB0d075b72C9A', - UniSNXWETH: '0xF5CB13c859383B5fb070bd111Cae7a900c00BA07', - UniUNIWETH: '0xE50e47E37DCF55dE1c5F2c32d346BB52064f7CE6', - UniUSDCWETH: '0xBE6ac123799572c98eFdE48895465AB392534AFD', - UniWBTCUSDC: '0xd6b8b08a0d13994A5f4a1949F4870DE57e9B40d9', - UniYFIWETH: '0x94daB35789f05f54224F6851921160DE21318072', - BptWBTCWETH: '0x4a2731c9f3B4355922c676f9b538278D79C299C5', - BptBALWETH: '0xD9400999f38E1877a6dDDb0090A327F19257f9AE', + UniDAIWETH: '0x66a6b87a18db78086acda75b7720dc47cdabcc05', + UniWBTCWETH: '0x7004BB6F2013F13C54899309cCa029B49707E547', + UniAAVEWETH: '0xB525547968610395B60085bDc8033FFeaEaa5F64', + UniBATWETH: '0xB394D8a1CE721630Cbea8Ec110DCEf0D283EDE3a', + UniDAIUSDC: '0x3B148Fa5E8297DB64262442052b227328730EA81', + UniCRVWETH: '0x10F7078e2f29802D2AC78045F61A69aE0883535A', + UniLINKWETH: '0x30adCEfA5d483284FD79E1eFd54ED3e0A8eaA632', + UniMKRWETH: '0xEBF4A448ff3D835F8FA883941a3E9D5E74B40B5E', + UniRENWETH: '0xe2f7C06906A9dB063C28EB5c71B6Ab454e5222dD', + UniSNXWETH: '0x29bfee7E90572Abf1088a58a145a10D051b78E46', + UniUNIWETH: '0xC2E93e8121237A885A00627975eB06C7BF9808d6', + UniUSDCWETH: '0x71c4a2173CE3620982DC8A7D870297533360Da4E', + UniWBTCUSDC: '0x11f4ba2227F21Dc2A9F0b0e6Ea740369d580a212', + UniYFIWETH: '0x664223b8Bb0934aE0970e601F452f75AaCe9Aa2A', + BptWBTCWETH: '0x4CA8D8fC2b4fCe8A2dcB71Da884bba042d48E067', + BptBALWETH: '0x2e4e78936b100be6Ef85BCEf7FB25bC770B02B85', USD: '0x9326BFA02ADD2366b30bacB125260Af641031331', }, },