From f8d7248469ee4acbdfdb904f7016e4cb86cf3b82 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 12 Oct 2022 11:57:08 -0500 Subject: [PATCH] chore: add partial addresses for goerli --- artifacts/goerli/addresses/AAVE.address.js | 1 + .../goerli/addresses/BFactory.address.js | 1 + artifacts/goerli/addresses/BPool.address.js | 1 + .../goerli/addresses/BPoolWETH.address.js | 1 + .../ChainLinkEmulatorFactory.address.js | 1 + .../CollateralLockerFactory.address.js | 1 + artifacts/goerli/addresses/DAI.address.js | 1 + .../addresses/DebtLockerFactory.address.js | 1 + .../goerli/addresses/DebtLockerV2.address.js | 1 + .../addresses/DebtLockerV2Factory.address.js | 1 + .../DebtLockerV2Initializer.address.js | 1 + .../goerli/addresses/DebtLockerV3.address.js | 1 + .../DebtLockerV3Initializer.address.js | 1 + .../goerli/addresses/FeeManager.address.js | 1 + .../addresses/FundingLockerFactory.address.js | 1 + artifacts/goerli/addresses/LINK.address.js | 1 + .../goerli/addresses/LateFeeCalc.address.js | 1 + .../LiquidityLockerFactory.address.js | 1 + .../goerli/addresses/LoanFactory.address.js | 1 + artifacts/goerli/addresses/LoanLib.address.js | 1 + .../goerli/addresses/LoanManager.address.js | 1 + .../addresses/LoanManagerFactory.address.js | 1 + .../LoanManagerInitializer.address.js | 1 + artifacts/goerli/addresses/LoanV2.address.js | 1 + .../goerli/addresses/LoanV2Factory.address.js | 1 + .../addresses/LoanV2Initializer.address.js | 1 + .../addresses/LoanV2Refinancer.address.js | 1 + artifacts/goerli/addresses/LoanV3.address.js | 1 + .../goerli/addresses/LoanV3Factory.address.js | 1 + .../addresses/LoanV3Initializer.address.js | 1 + .../addresses/LoanV3Refinancer.address.js | 1 + artifacts/goerli/addresses/LoanV4.address.js | 1 + .../addresses/LoanV4Initializer.address.js | 1 + .../goerli/addresses/MapleGlobals.address.js | 1 + .../addresses/MapleGlobalsV2.address.js | 1 + .../goerli/addresses/MapleToken.address.js | 1 + .../goerli/addresses/MapleTreasury.address.js | 1 + .../addresses/MplRewardsFactory.address.js | 1 + .../addresses/NonTransparentProxy.address.js | 1 + .../goerli/addresses/PoolDeployer.address.js | 1 + .../goerli/addresses/PoolFactory.address.js | 1 + artifacts/goerli/addresses/PoolLib.address.js | 1 + .../goerli/addresses/PoolManager.address.js | 1 + .../addresses/PoolManagerFactory.address.js | 1 + .../PoolManagerInitializer.address.js | 1 + .../goerli/addresses/PremiumCalc.address.js | 1 + .../addresses/PriceOracleAAVE.address.js | 1 + .../addresses/PriceOracleLINK.address.js | 1 + .../addresses/PriceOracleUSDC.address.js | 1 + .../addresses/PriceOracleWBTC.address.js | 1 + .../addresses/PriceOracleWETH.address.js | 1 + .../goerli/addresses/RepaymentCalc.address.js | 1 + .../addresses/StakeLockerFactory.address.js | 1 + artifacts/goerli/addresses/USDC.address.js | 1 + .../addresses/UniswapV2Router02.address.js | 1 + artifacts/goerli/addresses/Util.address.js | 1 + artifacts/goerli/addresses/WBTC.address.js | 1 + artifacts/goerli/addresses/WETH9.address.js | 1 + .../addresses/WithdrawalManager.address.js | 1 + .../WithdrawalManagerFactory.address.js | 1 + .../WithdrawalManagerInitializer.address.js | 1 + artifacts/goerli/addresses/xMPL.address.js | 1 + artifacts/goerli/manifest.json | 5 ++ scripts/build-addresses.js | 2 +- src/addresses/goerli.ts | 64 +++++++++++++++++++ src/index.ts | 3 +- 66 files changed, 134 insertions(+), 2 deletions(-) create mode 100644 artifacts/goerli/addresses/AAVE.address.js create mode 100644 artifacts/goerli/addresses/BFactory.address.js create mode 100644 artifacts/goerli/addresses/BPool.address.js create mode 100644 artifacts/goerli/addresses/BPoolWETH.address.js create mode 100644 artifacts/goerli/addresses/ChainLinkEmulatorFactory.address.js create mode 100644 artifacts/goerli/addresses/CollateralLockerFactory.address.js create mode 100644 artifacts/goerli/addresses/DAI.address.js create mode 100644 artifacts/goerli/addresses/DebtLockerFactory.address.js create mode 100644 artifacts/goerli/addresses/DebtLockerV2.address.js create mode 100644 artifacts/goerli/addresses/DebtLockerV2Factory.address.js create mode 100644 artifacts/goerli/addresses/DebtLockerV2Initializer.address.js create mode 100644 artifacts/goerli/addresses/DebtLockerV3.address.js create mode 100644 artifacts/goerli/addresses/DebtLockerV3Initializer.address.js create mode 100644 artifacts/goerli/addresses/FeeManager.address.js create mode 100644 artifacts/goerli/addresses/FundingLockerFactory.address.js create mode 100644 artifacts/goerli/addresses/LINK.address.js create mode 100644 artifacts/goerli/addresses/LateFeeCalc.address.js create mode 100644 artifacts/goerli/addresses/LiquidityLockerFactory.address.js create mode 100644 artifacts/goerli/addresses/LoanFactory.address.js create mode 100644 artifacts/goerli/addresses/LoanLib.address.js create mode 100644 artifacts/goerli/addresses/LoanManager.address.js create mode 100644 artifacts/goerli/addresses/LoanManagerFactory.address.js create mode 100644 artifacts/goerli/addresses/LoanManagerInitializer.address.js create mode 100644 artifacts/goerli/addresses/LoanV2.address.js create mode 100644 artifacts/goerli/addresses/LoanV2Factory.address.js create mode 100644 artifacts/goerli/addresses/LoanV2Initializer.address.js create mode 100644 artifacts/goerli/addresses/LoanV2Refinancer.address.js create mode 100644 artifacts/goerli/addresses/LoanV3.address.js create mode 100644 artifacts/goerli/addresses/LoanV3Factory.address.js create mode 100644 artifacts/goerli/addresses/LoanV3Initializer.address.js create mode 100644 artifacts/goerli/addresses/LoanV3Refinancer.address.js create mode 100644 artifacts/goerli/addresses/LoanV4.address.js create mode 100644 artifacts/goerli/addresses/LoanV4Initializer.address.js create mode 100644 artifacts/goerli/addresses/MapleGlobals.address.js create mode 100644 artifacts/goerli/addresses/MapleGlobalsV2.address.js create mode 100644 artifacts/goerli/addresses/MapleToken.address.js create mode 100644 artifacts/goerli/addresses/MapleTreasury.address.js create mode 100644 artifacts/goerli/addresses/MplRewardsFactory.address.js create mode 100644 artifacts/goerli/addresses/NonTransparentProxy.address.js create mode 100644 artifacts/goerli/addresses/PoolDeployer.address.js create mode 100644 artifacts/goerli/addresses/PoolFactory.address.js create mode 100644 artifacts/goerli/addresses/PoolLib.address.js create mode 100644 artifacts/goerli/addresses/PoolManager.address.js create mode 100644 artifacts/goerli/addresses/PoolManagerFactory.address.js create mode 100644 artifacts/goerli/addresses/PoolManagerInitializer.address.js create mode 100644 artifacts/goerli/addresses/PremiumCalc.address.js create mode 100644 artifacts/goerli/addresses/PriceOracleAAVE.address.js create mode 100644 artifacts/goerli/addresses/PriceOracleLINK.address.js create mode 100644 artifacts/goerli/addresses/PriceOracleUSDC.address.js create mode 100644 artifacts/goerli/addresses/PriceOracleWBTC.address.js create mode 100644 artifacts/goerli/addresses/PriceOracleWETH.address.js create mode 100644 artifacts/goerli/addresses/RepaymentCalc.address.js create mode 100644 artifacts/goerli/addresses/StakeLockerFactory.address.js create mode 100644 artifacts/goerli/addresses/USDC.address.js create mode 100644 artifacts/goerli/addresses/UniswapV2Router02.address.js create mode 100644 artifacts/goerli/addresses/Util.address.js create mode 100644 artifacts/goerli/addresses/WBTC.address.js create mode 100644 artifacts/goerli/addresses/WETH9.address.js create mode 100644 artifacts/goerli/addresses/WithdrawalManager.address.js create mode 100644 artifacts/goerli/addresses/WithdrawalManagerFactory.address.js create mode 100644 artifacts/goerli/addresses/WithdrawalManagerInitializer.address.js create mode 100644 artifacts/goerli/addresses/xMPL.address.js create mode 100644 artifacts/goerli/manifest.json create mode 100644 src/addresses/goerli.ts diff --git a/artifacts/goerli/addresses/AAVE.address.js b/artifacts/goerli/addresses/AAVE.address.js new file mode 100644 index 0000000..158116f --- /dev/null +++ b/artifacts/goerli/addresses/AAVE.address.js @@ -0,0 +1 @@ +module.exports = '0x1111111111111111111111111111111111111111' diff --git a/artifacts/goerli/addresses/BFactory.address.js b/artifacts/goerli/addresses/BFactory.address.js new file mode 100644 index 0000000..88dbbcf --- /dev/null +++ b/artifacts/goerli/addresses/BFactory.address.js @@ -0,0 +1 @@ +module.exports = "0xD9CBc14d76079244513D10d71EcC53cB4C75Dcf8"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/BPool.address.js b/artifacts/goerli/addresses/BPool.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/BPool.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/BPoolWETH.address.js b/artifacts/goerli/addresses/BPoolWETH.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/BPoolWETH.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/ChainLinkEmulatorFactory.address.js b/artifacts/goerli/addresses/ChainLinkEmulatorFactory.address.js new file mode 100644 index 0000000..fff2abb --- /dev/null +++ b/artifacts/goerli/addresses/ChainLinkEmulatorFactory.address.js @@ -0,0 +1 @@ +module.exports = "0xa0bB4714D9E7E277A904c253b5a7BF8B0B435d4E"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/CollateralLockerFactory.address.js b/artifacts/goerli/addresses/CollateralLockerFactory.address.js new file mode 100644 index 0000000..de0b690 --- /dev/null +++ b/artifacts/goerli/addresses/CollateralLockerFactory.address.js @@ -0,0 +1 @@ +module.exports = "0x94B8F6467945E9F436a478f74e8c8838bd93F9d0"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/DAI.address.js b/artifacts/goerli/addresses/DAI.address.js new file mode 100644 index 0000000..38a7185 --- /dev/null +++ b/artifacts/goerli/addresses/DAI.address.js @@ -0,0 +1 @@ +module.exports = "0xb11d7CCe40D2b30759A79798E0B4d921FB72bbEA"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/DebtLockerFactory.address.js b/artifacts/goerli/addresses/DebtLockerFactory.address.js new file mode 100644 index 0000000..8809782 --- /dev/null +++ b/artifacts/goerli/addresses/DebtLockerFactory.address.js @@ -0,0 +1 @@ +module.exports = "0x167051Fe3c5EeE005F444518eE21678Bbd0d0E65"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/DebtLockerV2.address.js b/artifacts/goerli/addresses/DebtLockerV2.address.js new file mode 100644 index 0000000..59fa789 --- /dev/null +++ b/artifacts/goerli/addresses/DebtLockerV2.address.js @@ -0,0 +1 @@ +module.exports = "0x04422257e1e0E97B4369e5532D4A7a6df6470CAb"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/DebtLockerV2Factory.address.js b/artifacts/goerli/addresses/DebtLockerV2Factory.address.js new file mode 100644 index 0000000..d04a153 --- /dev/null +++ b/artifacts/goerli/addresses/DebtLockerV2Factory.address.js @@ -0,0 +1 @@ +module.exports = "0x3adfF5De2e715C7A0576A174be900ded5FbD4075"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/DebtLockerV2Initializer.address.js b/artifacts/goerli/addresses/DebtLockerV2Initializer.address.js new file mode 100644 index 0000000..6be1795 --- /dev/null +++ b/artifacts/goerli/addresses/DebtLockerV2Initializer.address.js @@ -0,0 +1 @@ +module.exports = "0xfCDd6690307A1E5997Ee7e27aC969eF7287fD486"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/DebtLockerV3.address.js b/artifacts/goerli/addresses/DebtLockerV3.address.js new file mode 100644 index 0000000..aa7252a --- /dev/null +++ b/artifacts/goerli/addresses/DebtLockerV3.address.js @@ -0,0 +1 @@ +module.exports = "0x350e3185A7E8adE88833bA204e33E468c4254D55"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/DebtLockerV3Initializer.address.js b/artifacts/goerli/addresses/DebtLockerV3Initializer.address.js new file mode 100644 index 0000000..ed504c8 --- /dev/null +++ b/artifacts/goerli/addresses/DebtLockerV3Initializer.address.js @@ -0,0 +1 @@ +module.exports = "0x358D32aFEE1d7781ADa10f31FD024646c631E0Bc"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/FeeManager.address.js b/artifacts/goerli/addresses/FeeManager.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/FeeManager.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/FundingLockerFactory.address.js b/artifacts/goerli/addresses/FundingLockerFactory.address.js new file mode 100644 index 0000000..2b92fa5 --- /dev/null +++ b/artifacts/goerli/addresses/FundingLockerFactory.address.js @@ -0,0 +1 @@ +module.exports = "0xD6c077Db8E8e33890953471691acbbbb199E3a73"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LINK.address.js b/artifacts/goerli/addresses/LINK.address.js new file mode 100644 index 0000000..158116f --- /dev/null +++ b/artifacts/goerli/addresses/LINK.address.js @@ -0,0 +1 @@ +module.exports = '0x1111111111111111111111111111111111111111' diff --git a/artifacts/goerli/addresses/LateFeeCalc.address.js b/artifacts/goerli/addresses/LateFeeCalc.address.js new file mode 100644 index 0000000..3cae7c9 --- /dev/null +++ b/artifacts/goerli/addresses/LateFeeCalc.address.js @@ -0,0 +1 @@ +module.exports = "0x5EE6c2775b073a17298eE0Ca5f0DCEed751EE6FC"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LiquidityLockerFactory.address.js b/artifacts/goerli/addresses/LiquidityLockerFactory.address.js new file mode 100644 index 0000000..6543533 --- /dev/null +++ b/artifacts/goerli/addresses/LiquidityLockerFactory.address.js @@ -0,0 +1 @@ +module.exports = "0xA67783F4bfde43AdfAe214F3E0cfd1F7E6acFfaE"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanFactory.address.js b/artifacts/goerli/addresses/LoanFactory.address.js new file mode 100644 index 0000000..0927084 --- /dev/null +++ b/artifacts/goerli/addresses/LoanFactory.address.js @@ -0,0 +1 @@ +module.exports = "0x3b4d7120c510F1a83f2d5a3B53B91eb7472D8c0f"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanLib.address.js b/artifacts/goerli/addresses/LoanLib.address.js new file mode 100644 index 0000000..1131c03 --- /dev/null +++ b/artifacts/goerli/addresses/LoanLib.address.js @@ -0,0 +1 @@ +module.exports = "0xfc7622498FB5a039a495c831Fb0de79607Cf8E6E"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanManager.address.js b/artifacts/goerli/addresses/LoanManager.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/LoanManager.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanManagerFactory.address.js b/artifacts/goerli/addresses/LoanManagerFactory.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/LoanManagerFactory.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanManagerInitializer.address.js b/artifacts/goerli/addresses/LoanManagerInitializer.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/LoanManagerInitializer.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV2.address.js b/artifacts/goerli/addresses/LoanV2.address.js new file mode 100644 index 0000000..e46c1d6 --- /dev/null +++ b/artifacts/goerli/addresses/LoanV2.address.js @@ -0,0 +1 @@ +module.exports = "0x87c3f9d0232a00344ecB8671262221FDaBd52680"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV2Factory.address.js b/artifacts/goerli/addresses/LoanV2Factory.address.js new file mode 100644 index 0000000..4225ca7 --- /dev/null +++ b/artifacts/goerli/addresses/LoanV2Factory.address.js @@ -0,0 +1 @@ +module.exports = "0x77D86632d2629a7C28CB0C811ba3C7244d4fC726"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV2Initializer.address.js b/artifacts/goerli/addresses/LoanV2Initializer.address.js new file mode 100644 index 0000000..c2e6770 --- /dev/null +++ b/artifacts/goerli/addresses/LoanV2Initializer.address.js @@ -0,0 +1 @@ +module.exports = "0xcF09Aa73Ab88eF0E384BaD47AAAEfAee44a78280"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV2Refinancer.address.js b/artifacts/goerli/addresses/LoanV2Refinancer.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/LoanV2Refinancer.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV3.address.js b/artifacts/goerli/addresses/LoanV3.address.js new file mode 100644 index 0000000..59b446d --- /dev/null +++ b/artifacts/goerli/addresses/LoanV3.address.js @@ -0,0 +1 @@ +module.exports = "0x2708a93Ec38D33465fccfD4b5D2269c17b886013"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV3Factory.address.js b/artifacts/goerli/addresses/LoanV3Factory.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/LoanV3Factory.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV3Initializer.address.js b/artifacts/goerli/addresses/LoanV3Initializer.address.js new file mode 100644 index 0000000..16c3e1c --- /dev/null +++ b/artifacts/goerli/addresses/LoanV3Initializer.address.js @@ -0,0 +1 @@ +module.exports = "0x7c5dc32DE8a89f5E51b9FC85273C759307b231A4"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV3Refinancer.address.js b/artifacts/goerli/addresses/LoanV3Refinancer.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/LoanV3Refinancer.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV4.address.js b/artifacts/goerli/addresses/LoanV4.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/LoanV4.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/LoanV4Initializer.address.js b/artifacts/goerli/addresses/LoanV4Initializer.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/LoanV4Initializer.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/MapleGlobals.address.js b/artifacts/goerli/addresses/MapleGlobals.address.js new file mode 100644 index 0000000..67a3592 --- /dev/null +++ b/artifacts/goerli/addresses/MapleGlobals.address.js @@ -0,0 +1 @@ +module.exports = "0xDF6682678b838fDB2F40cD4390CD7BD0C9f1767c"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/MapleGlobalsV2.address.js b/artifacts/goerli/addresses/MapleGlobalsV2.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/MapleGlobalsV2.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/MapleToken.address.js b/artifacts/goerli/addresses/MapleToken.address.js new file mode 100644 index 0000000..03a00cf --- /dev/null +++ b/artifacts/goerli/addresses/MapleToken.address.js @@ -0,0 +1 @@ +module.exports = "0x07032C7d4061aa8401CE3b0A9ecd43A645d8fC0C"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/MapleTreasury.address.js b/artifacts/goerli/addresses/MapleTreasury.address.js new file mode 100644 index 0000000..1aebdfa --- /dev/null +++ b/artifacts/goerli/addresses/MapleTreasury.address.js @@ -0,0 +1 @@ +module.exports = "0xfB7E15227b1e26355C7110a21C3C0fb78f94e866"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/MplRewardsFactory.address.js b/artifacts/goerli/addresses/MplRewardsFactory.address.js new file mode 100644 index 0000000..96da2ac --- /dev/null +++ b/artifacts/goerli/addresses/MplRewardsFactory.address.js @@ -0,0 +1 @@ +module.exports = "0x77eAb884d817F888bbA5DFdA4B1436D677880c5F"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/NonTransparentProxy.address.js b/artifacts/goerli/addresses/NonTransparentProxy.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/NonTransparentProxy.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/PoolDeployer.address.js b/artifacts/goerli/addresses/PoolDeployer.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/PoolDeployer.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/PoolFactory.address.js b/artifacts/goerli/addresses/PoolFactory.address.js new file mode 100644 index 0000000..97b27e0 --- /dev/null +++ b/artifacts/goerli/addresses/PoolFactory.address.js @@ -0,0 +1 @@ +module.exports = "0xdbF55A819dCe9349F7f907c2Db4F733eE98A5Ed9"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/PoolLib.address.js b/artifacts/goerli/addresses/PoolLib.address.js new file mode 100644 index 0000000..be957f0 --- /dev/null +++ b/artifacts/goerli/addresses/PoolLib.address.js @@ -0,0 +1 @@ +module.exports = "0xB6eBbe5C68cC3aEbFbc356bF6d15a6540236Df05"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/PoolManager.address.js b/artifacts/goerli/addresses/PoolManager.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/PoolManager.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/PoolManagerFactory.address.js b/artifacts/goerli/addresses/PoolManagerFactory.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/PoolManagerFactory.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/PoolManagerInitializer.address.js b/artifacts/goerli/addresses/PoolManagerInitializer.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/PoolManagerInitializer.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/PremiumCalc.address.js b/artifacts/goerli/addresses/PremiumCalc.address.js new file mode 100644 index 0000000..dbc41bc --- /dev/null +++ b/artifacts/goerli/addresses/PremiumCalc.address.js @@ -0,0 +1 @@ +module.exports = "0xC7E9b1c18dCd0cA99d3c54f79091B0929dF09929"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/PriceOracleAAVE.address.js b/artifacts/goerli/addresses/PriceOracleAAVE.address.js new file mode 100644 index 0000000..158116f --- /dev/null +++ b/artifacts/goerli/addresses/PriceOracleAAVE.address.js @@ -0,0 +1 @@ +module.exports = '0x1111111111111111111111111111111111111111' diff --git a/artifacts/goerli/addresses/PriceOracleLINK.address.js b/artifacts/goerli/addresses/PriceOracleLINK.address.js new file mode 100644 index 0000000..158116f --- /dev/null +++ b/artifacts/goerli/addresses/PriceOracleLINK.address.js @@ -0,0 +1 @@ +module.exports = '0x1111111111111111111111111111111111111111' diff --git a/artifacts/goerli/addresses/PriceOracleUSDC.address.js b/artifacts/goerli/addresses/PriceOracleUSDC.address.js new file mode 100644 index 0000000..158116f --- /dev/null +++ b/artifacts/goerli/addresses/PriceOracleUSDC.address.js @@ -0,0 +1 @@ +module.exports = '0x1111111111111111111111111111111111111111' diff --git a/artifacts/goerli/addresses/PriceOracleWBTC.address.js b/artifacts/goerli/addresses/PriceOracleWBTC.address.js new file mode 100644 index 0000000..158116f --- /dev/null +++ b/artifacts/goerli/addresses/PriceOracleWBTC.address.js @@ -0,0 +1 @@ +module.exports = '0x1111111111111111111111111111111111111111' diff --git a/artifacts/goerli/addresses/PriceOracleWETH.address.js b/artifacts/goerli/addresses/PriceOracleWETH.address.js new file mode 100644 index 0000000..158116f --- /dev/null +++ b/artifacts/goerli/addresses/PriceOracleWETH.address.js @@ -0,0 +1 @@ +module.exports = '0x1111111111111111111111111111111111111111' diff --git a/artifacts/goerli/addresses/RepaymentCalc.address.js b/artifacts/goerli/addresses/RepaymentCalc.address.js new file mode 100644 index 0000000..7bdec36 --- /dev/null +++ b/artifacts/goerli/addresses/RepaymentCalc.address.js @@ -0,0 +1 @@ +module.exports = "0x23Cb9052b6D80879f98119A04D3dC6b6Af38a07a"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/StakeLockerFactory.address.js b/artifacts/goerli/addresses/StakeLockerFactory.address.js new file mode 100644 index 0000000..08920b0 --- /dev/null +++ b/artifacts/goerli/addresses/StakeLockerFactory.address.js @@ -0,0 +1 @@ +module.exports = "0x81f2A2E2916acfB7C51Ee0A2891b6e3D9c8FdfFc"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/USDC.address.js b/artifacts/goerli/addresses/USDC.address.js new file mode 100644 index 0000000..c6c0f00 --- /dev/null +++ b/artifacts/goerli/addresses/USDC.address.js @@ -0,0 +1 @@ +module.exports = "0x0b5A5F8C399E7B69b6F2dBB1B778905712d32e3A"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/UniswapV2Router02.address.js b/artifacts/goerli/addresses/UniswapV2Router02.address.js new file mode 100644 index 0000000..0bda4c5 --- /dev/null +++ b/artifacts/goerli/addresses/UniswapV2Router02.address.js @@ -0,0 +1 @@ +module.exports = "0x1111111111111111111111111111111111111111"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/Util.address.js b/artifacts/goerli/addresses/Util.address.js new file mode 100644 index 0000000..aafd739 --- /dev/null +++ b/artifacts/goerli/addresses/Util.address.js @@ -0,0 +1 @@ +module.exports = "0x39F54C898292848EB0BBa738e56cF22baf6Ff801"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/WBTC.address.js b/artifacts/goerli/addresses/WBTC.address.js new file mode 100644 index 0000000..cf1f3c5 --- /dev/null +++ b/artifacts/goerli/addresses/WBTC.address.js @@ -0,0 +1 @@ +module.exports = "0x1893bC3e3bb1406fd5532bb5Bd6AB3660F085c91"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/WETH9.address.js b/artifacts/goerli/addresses/WETH9.address.js new file mode 100644 index 0000000..86a5480 --- /dev/null +++ b/artifacts/goerli/addresses/WETH9.address.js @@ -0,0 +1 @@ +module.exports = "0x684d113887DDea41d9c82ad7b6C1fd2EcF9eC3FE"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/WithdrawalManager.address.js b/artifacts/goerli/addresses/WithdrawalManager.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/WithdrawalManager.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/WithdrawalManagerFactory.address.js b/artifacts/goerli/addresses/WithdrawalManagerFactory.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/WithdrawalManagerFactory.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/WithdrawalManagerInitializer.address.js b/artifacts/goerli/addresses/WithdrawalManagerInitializer.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/WithdrawalManagerInitializer.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/addresses/xMPL.address.js b/artifacts/goerli/addresses/xMPL.address.js new file mode 100644 index 0000000..680340d --- /dev/null +++ b/artifacts/goerli/addresses/xMPL.address.js @@ -0,0 +1 @@ +module.exports = "0x0000000000000000000000000000000000000000"; \ No newline at end of file diff --git a/artifacts/goerli/manifest.json b/artifacts/goerli/manifest.json new file mode 100644 index 0000000..5ffbe75 --- /dev/null +++ b/artifacts/goerli/manifest.json @@ -0,0 +1,5 @@ +{ + "network": "goerli", + "blockheight": 0, + "date": "2022-10-12" +} diff --git a/scripts/build-addresses.js b/scripts/build-addresses.js index 31a33bf..6dafb1e 100644 --- a/scripts/build-addresses.js +++ b/scripts/build-addresses.js @@ -3,7 +3,7 @@ and ensure that all addresses have been updated or added accurately. */ -const build = (project = 'mainnet') => { +const build = (project = 'goerli') => { const addresses = { manifest: require(`../artifacts/${project}/manifest.json`), // Pool v1 Factories diff --git a/src/addresses/goerli.ts b/src/addresses/goerli.ts new file mode 100644 index 0000000..0d070f6 --- /dev/null +++ b/src/addresses/goerli.ts @@ -0,0 +1,64 @@ +export default { + AAVE: '0x1111111111111111111111111111111111111111', + BFactory: '0xD9CBc14d76079244513D10d71EcC53cB4C75Dcf8', + BPool: '0x0000000000000000000000000000000000000000', + BPoolWETH: '0x0000000000000000000000000000000000000000', + CollateralLockerFactory: '0x94B8F6467945E9F436a478f74e8c8838bd93F9d0', + DAI: '0xb11d7CCe40D2b30759A79798E0B4d921FB72bbEA', + DebtLockerFactory: '0x167051Fe3c5EeE005F444518eE21678Bbd0d0E65', + DebtLockerV2: '0x04422257e1e0E97B4369e5532D4A7a6df6470CAb', + DebtLockerV2Factory: '0x3adfF5De2e715C7A0576A174be900ded5FbD4075', + DebtLockerV2Initializer: '0xfCDd6690307A1E5997Ee7e27aC969eF7287fD486', + DebtLockerV3: '0x350e3185A7E8adE88833bA204e33E468c4254D55', + DebtLockerV3Initializer: '0x358D32aFEE1d7781ADa10f31FD024646c631E0Bc', + FeeManager: '0x0000000000000000000000000000000000000000', + FundingLockerFactory: '0xD6c077Db8E8e33890953471691acbbbb199E3a73', + LINK: '0x1111111111111111111111111111111111111111', + LateFeeCalc: '0x5EE6c2775b073a17298eE0Ca5f0DCEed751EE6FC', + LiquidityLockerFactory: '0xA67783F4bfde43AdfAe214F3E0cfd1F7E6acFfaE', + LoanFactory: '0x3b4d7120c510F1a83f2d5a3B53B91eb7472D8c0f', + LoanLib: '0xfc7622498FB5a039a495c831Fb0de79607Cf8E6E', + LoanManager: '0x0000000000000000000000000000000000000000', + LoanManagerFactory: '0x0000000000000000000000000000000000000000', + LoanManagerInitializer: '0x0000000000000000000000000000000000000000', + LoanV2: '0x87c3f9d0232a00344ecB8671262221FDaBd52680', + LoanV2Factory: '0x77D86632d2629a7C28CB0C811ba3C7244d4fC726', + LoanV2Initializer: '0xcF09Aa73Ab88eF0E384BaD47AAAEfAee44a78280', + LoanV2Refinancer: '0x0000000000000000000000000000000000000000', + LoanV3: '0x2708a93Ec38D33465fccfD4b5D2269c17b886013', + LoanV3Initializer: '0x7c5dc32DE8a89f5E51b9FC85273C759307b231A4', + LoanV3Refinancer: '0x0000000000000000000000000000000000000000', + LoanV4: '0x0000000000000000000000000000000000000000', + LoanV4Initializer: '0x0000000000000000000000000000000000000000', + LoanV4Refinancer: '0x0000000000000000000000000000000000000000', + MapleGlobals: '0xDF6682678b838fDB2F40cD4390CD7BD0C9f1767c', + MapleGlobalsV2: '0x0000000000000000000000000000000000000000', + MapleToken: '0x07032C7d4061aa8401CE3b0A9ecd43A645d8fC0C', + MapleTreasury: '0xfB7E15227b1e26355C7110a21C3C0fb78f94e866', + MplRewardsFactory: '0x77eAb884d817F888bbA5DFdA4B1436D677880c5F', + NonTransparentProxy: '0x0000000000000000000000000000000000000000', + PoolDeployer: '0x0000000000000000000000000000000000000000', + PoolFactory: '0xdbF55A819dCe9349F7f907c2Db4F733eE98A5Ed9', + PoolLib: '0xB6eBbe5C68cC3aEbFbc356bF6d15a6540236Df05', + PoolManager: '0x0000000000000000000000000000000000000000', + PoolManagerFactory: '0x0000000000000000000000000000000000000000', + PoolManagerInitializer: '0x0000000000000000000000000000000000000000', + PremiumCalc: '0xC7E9b1c18dCd0cA99d3c54f79091B0929dF09929', + PriceOracleAAVE: '0x1111111111111111111111111111111111111111', + PriceOracleLINK: '0x1111111111111111111111111111111111111111', + PriceOracleUSDC: '0x1111111111111111111111111111111111111111', + PriceOracleWBTC: '0x1111111111111111111111111111111111111111', + PriceOracleWETH: '0x1111111111111111111111111111111111111111', + RepaymentCalc: '0x23Cb9052b6D80879f98119A04D3dC6b6Af38a07a', + StakeLockerFactory: '0x81f2A2E2916acfB7C51Ee0A2891b6e3D9c8FdfFc', + USDC: '0x0b5A5F8C399E7B69b6F2dBB1B778905712d32e3A', + UniswapV2Router02: '0x1111111111111111111111111111111111111111', + Util: '0x39F54C898292848EB0BBa738e56cF22baf6Ff801', + WBTC: '0x1893bC3e3bb1406fd5532bb5Bd6AB3660F085c91', + WETH9: '0x684d113887DDea41d9c82ad7b6C1fd2EcF9eC3FE', + WithdrawalManager: '0x0000000000000000000000000000000000000000', + WithdrawalManagerFactory: '0x0000000000000000000000000000000000000000', + WithdrawalManagerInitializer: '0x0000000000000000000000000000000000000000', + xMPL: '0x0000000000000000000000000000000000000000', + manifest: { network: 'goerli', blockheight: 0, date: '2022-10-12' } +} diff --git a/src/index.ts b/src/index.ts index 22f3777..8f29ced 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,6 +24,7 @@ import * as withdrawalManagerImports from './typechain/withdrawalManager' import * as environmentMocksImports from './typechain/environmentMocks' // Addresses +import goerliAddresses from './addresses/goerli' import goerliDevAddresses from './addresses/goerli-dev' import rinkebyAddresses from './addresses/rinkeby' import rinkebyDevAddresses from './addresses/rinkeby-dev' @@ -184,7 +185,7 @@ type MapleAddressMapping = { } const addresses: Record = { - goerli: goerliDevAddresses, // TODO - deploy goerli-prod + goerli: goerliAddresses, 'goerli-dev': goerliDevAddresses, rinkeby: rinkebyAddresses, 'rinkeby-dev': rinkebyDevAddresses,