Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sc 4728 maple js add address constants to the repo #2

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions src/addresses/kovan-dev.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
export default {
AAVE: '0x1111111111111111111111111111111111111111',
BFactory: '0xF5648e2A8C63432a44c8f6FC0345e6A072091878',
BPool: '0x75c0BFDE147b721414c1680152232ab22324c650',
CollateralLockerFactory: '0x2176AdDda5Ad20200416478180ffbF6CEE51c2e9',
DAI: '0xa36f5cCEB38Fc3b94732B4DDcD68bA42C55383E4',
DebtLockerFactory: '0x639bC98CCA19c111BF58DBf04f166C085393B7CD',
DebtLockerV2Factory: '0x5b85BD12B7DF56Ad1aFB5D22799c91088A2Fa880',
michaelsmueller marked this conversation as resolved.
Show resolved Hide resolved
DebtLockerV2Initializer: '0x31AFd8220e375834003d5658ddC67e93aFb90B8f',
FundingLockerFactory: '0x99f7b1CeF21190896557ABbb3DB81080CD1a6eBA',
LINK: '0x514910771af9ca656af840dff83e8264ecf986ca',
LateFeeCalc: '0x972b0AF114A9aE7caFBBC1E166f95B5813e15f39',
LiquidityLockerFactory: '0xfDA9a616E0d70429D2BB060374Cbd2F0F49C4A60',
LoanFactory: '0xc97EDe21fbe580CefB934676A81cBB6a77AE4185',
LoanLib: '0x67d1DCd9a229E3cB699f8B2e63D9b520829b5185',
LoanV2Factory: '0x625f7dA14f5528888944E5DAcaBc201774BEBdaA',
LoanV2Initializer: '0x46388705D3c0050BedD21A5598cB6ae4dbA4EabF',
LoanV2Refinancer: '0x0E701631404d4195a624a0bBed693dC43389f44C',
MapleGlobals: '0x440482A416780a9cC50807f369D49f1a7a203ed0',
MapleToken: '0xa7AEfD116f5A2469a5972AC62a23A14400eFE084',
MapleTreasury: '0xD73C2D9602C1C9f2533AA289A2e9e7E060cd1E28',
MplRewardsFactory: '0x623715c59729c269A008966719401b3D003b9cEa',
PoolFactory: '0xDa013Ea2afFf12aCD266De17D88C3CfD8572D53F',
PoolLib: '0x1083A44a4d6a5748FA201d79fd62D11E90d8381e',
PremiumCalc: '0xE51e1C5A8868e7eE06Eb96372d15a872c079177e',
RepaymentCalc: '0xC69388aA571cb14D6Bf278501D9cFc6d111B1bbD',
StakeLockerFactory: '0x876c6b4Be5f76CbCf650DE6Fe63F43259ECcCcd7',
USDC: '0x3B0003f204bCC66766bDBb212Ac79Bf471607cE2',
UniswapV2Router02: '0x1111111111111111111111111111111111111111',
Util: '0xf9b1f2e5c1960A0b673b88f3aB246c7131eDdAF0',
WBTC: '0x13a480e9aF6AeD5b3F4c11137099AAacAB70B880',
WETH: '0x4A4A649493F09C83e9e308DE75Da06bD4Be4eEcF',
manifest: {
network: 'kovan-dev',
blockheight: 27670616,
date: '2021-10-13T18:41:17.405Z'
}
}
38 changes: 38 additions & 0 deletions src/addresses/kovan.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
export default {
AAVE: '0x1111111111111111111111111111111111111111',
BFactory: '0xcc2b26B354DA8a0d4678CB5E09919984096e6Eb7',
BPool: '0xF6672cd98d45EDDd7aB0D8349EF4d27B421FD510',
CollateralLockerFactory: '0x0e3F178a03bf81B306C465e352E4816d44d4BfC7',
DAI: '0xFc38643a841A221e666E204e939C98f51154e759',
DebtLockerFactory: '0xA163026A79ae8Dccc5b8149B2A54A39616Ebefd3',
DebtLockerV2Factory: '0xA059f86e3edEA8a35227133d066BD03f3b1074B3',
DebtLockerV2Initializer: '0xFd8Bd329dE631E03f2Cc108aD8b4d1179CE0E95e',
FundingLockerFactory: '0x0158F13173e7A6D5d14e4d460149e70de9F78156',
LINK: '0x1111111111111111111111111111111111111111',
LateFeeCalc: '0xcdaba62d053bE1B88C86369699008cf5c070C7C9',
LiquidityLockerFactory: '0x677591dFa4ecb3731316c52A6c21C6d8eC141160',
LoanFactory: '0x542636582b4EEEA4ecF6aD93c40a816730E9D06E',
LoanLib: '0xb020Bc4A31850c710dd64e04a2b9B84F0f359b46',
LoanV2Factory: '0xCaE5ffA9752290b653C5165461aA6a1CB0E7BF17',
LoanV2Initializer: '0xa222F9B0A3388f680518e73F187A6fA8Ec113C64',
LoanV2Refinancer: '0x515b894e5E900031A9F89eFf77b58904201443B8',
MapleGlobals: '0x4283F570Ea2525430d9D264CEC3F68ae472F8769',
MapleToken: '0xA9c8BAd8c901ad37e337dCc3D745116Da6196B2B',
MapleTreasury: '0x69b039182398C68F2dbf5790af65926C24240000',
MplRewardsFactory: '0x5bfF5600f0c5a4D21E7ef3aCD1e1B260848273fD',
PoolFactory: '0x9176ACb2EB8dD2663CC8cD0f280B26d053D2F0a7',
PoolLib: '0x9323C479e3c333f6acca61F9Eb9740383FA3A936',
PremiumCalc: '0x7cbC23A77623ecD2eEf3bDAaac042bFC86668d94',
RepaymentCalc: '0x0eA2e032194DEc6D225C5A8aB8eE12ebDf77c641',
StakeLockerFactory: '0xD84DcE066C64068cffC70ea9fD7C85a54c30068f',
USDC: '0xa3F92B469D45492F787594F8E41De5e4CbCc096E',
UniswapV2Router02: '0x1111111111111111111111111111111111111111',
Util: '0x17d31395563E14e4B0d12d489bb011883e78A5f6',
WBTC: '0x22c2dbD1C02415fFce1A14DbccB0028681229681',
WETH: '0x3843b16Afdd8b00B0Ac8B4183BE54A5c4C765B09',
manifest: {
network: 'kovan',
blockheight: 27669764,
date: '2021-10-13T22:22:51.155Z'
}
}
38 changes: 38 additions & 0 deletions src/addresses/mainnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
export default {
AAVE: '0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9',
BFactory: '0x9424B1412450D0f8Fc2255FAf6046b98213B76Bd',
BPool: '0xc1b10e536CD611aCFf7a7c32A9E29cE6A02Ef6ef',
CollateralLockerFactory: '0xEE3e59D381968f4F9C92460D9d5Cfcf5d3A67987',
DAI: '0x6b175474e89094c44da98b954eedeac495271d0f',
DebtLockerFactory: '0x2a7705594899Db6c3924A872676E54f041d1f9D8',
DebtLockerV2Factory: '0xA83404CAA79989FfF1d84bA883a1b8187397866C',
DebtLockerV2Initializer: '0x3D01aE38be6D81BD7c8De0D5Cd558eAb3F4cb79b',
FundingLockerFactory: '0x0eB96A53EC793a244876b018073f33B23000F25b',
LINK: '0x514910771af9ca656af840dff83e8264ecf986ca',
LateFeeCalc: '0x8dC5aa328142aa8a008c25F66a77eaA8E4B46f3c',
LiquidityLockerFactory: '0x966528BB1C44f96b3AA8Fbf411ee896116b068C9',
LoanFactory: '0x908cC851Bc757248514E060aD8Bd0a03908308ee',
LoanLib: '0x51A189ccD2eB5e1168DdcA7e59F7c8f39AA52232',
LoanV2Factory: '0x36a7350309B2Eb30F3B908aB0154851B5ED81db0',
LoanV2Initializer: '0xCba99a6648450a7bE7f20B1C3258F74Adb662020',
LoanV2Refinancer: '0x2cF4C679bc9B6073A3f68f7584809E5F177cC59A',
MapleGlobals: '0xC234c62c8C09687DFf0d9047e40042cd166F3600',
MapleToken: '0x33349B282065b0284d756F0577FB39c158F935e6',
MapleTreasury: '0xa9466EaBd096449d650D5AEB0dD3dA6F52FD0B19',
MplRewardsFactory: '0x0155729EbCd47Cb1fBa02bF5a8DA20FaF3860535',
PoolFactory: '0x2Cd79F7f8b38B9c0D80EA6B230441841A31537eC',
PoolLib: '0x2c1C30fb8cC313Ef3cfd2E2bBf2da88AdD902C30',
PremiumCalc: '0xe88Ab4Cf1Ec06840d16feD69c964aD9DAFf5c6c2',
xhad marked this conversation as resolved.
Show resolved Hide resolved
RepaymentCalc: '0x7d622bB6Ed13a599ec96366Fa95f2452c64ce602',
StakeLockerFactory: '0x53a597A4730Eb02095dD798B203Dcc306348B8d6',
USDC: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
UniswapV2Router02: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D',
Util: '0x95f9676A34aF2675B63948dDba8F8c798741A52a',
WBTC: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
WETH: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
manifest: {
network: 'mainnet',
blockheight: 12428577,
date: '2021-05-13T22:22:51.155Z'
}
}
38 changes: 38 additions & 0 deletions src/addresses/rinkeby-dev.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
export default {
AAVE: '0x1111111111111111111111111111111111111111',
BFactory: '0xfCDbfc957AFB54740e4e4623246db77b04BEa1a5',
BPool: '0xbcf7746792CEE2FeF60F28b85Cc653090DD54B3f',
CollateralLockerFactory: '0xb19F1f4823d3796D5e62E9Af116f3496AA150b4a',
DAI: '0xad90f3bBFBB0e1D97ed8fCEf6BEbD2404dB23781',
DebtLockerFactory: '0xC92F9B490f837149D18436Dd9550cD2afadcb11d',
DebtLockerV2Factory: '0x6127f31742c00e13B1aF0cD746e5E3b8b3F24c74',
DebtLockerV2Initializer: '0x145A17F163B56803C760aDE0c9E88a8B79557876',
FundingLockerFactory: '0x8367C294088ECd2651d708f2D25578AfFc5C1A4F',
LINK: '0x1111111111111111111111111111111111111111',
LateFeeCalc: '0xe402BBBC887F28F93AD1E0cE30D47Cd09e2E881d',
LiquidityLockerFactory: '0x8261364b85edae085aaB8C21A71D59284aC913eB',
LoanFactory: '0x14B0c54fc68d3bd936A3A30F2A93489716F1Ff5E',
LoanLib: '0xd5148075E527A6B607215B1B2291040E87E3A9EB',
LoanV2Factory: '0x31e8B940dF1490186b140DA06B41Fe6b42E6B637',
LoanV2Initializer: '0xE01Ac57E9A3FfB589Bfd4AF1f929cE0357bC5578',
LoanV2Refinancer: '0xa6FCD18dE85c3182cc3C68CdF4e2709d5368bbB1',
MapleGlobals: '0x1bF1F1d5579D0F24eAFB11Eb475aAEC97C6F7094',
MapleToken: '0xAeECBaebEEEEF8F55cb7756019F6f8A80BAB657A',
MapleTreasury: '0xD076c22f1e7A8f67A42D189a6d2BC33a8519d10E',
MplRewardsFactory: '0x45A90D2CCeb80872075a28A2bCAAF8E509dE0fc1',
PoolFactory: '0x0Ec6DD2483b1d0d07392D13145CD00a1FF817247',
PoolLib: '0x6c2ee0A490F47c658Df104fDA1827E11703a26Ba',
PremiumCalc: '0x04c6053Aa42146b0163e84056A446299068FCcfE',
RepaymentCalc: '0x4fbb9bfcaF674FC069c6D48E2b63dd60b65133A0',
StakeLockerFactory: '0x1a865627F4D87EA0d9ccA6FaDd685Bf5C2B7AdBC',
USDC: '0x9784a33c3dC1Ba3bEB0C6aF7947203341710d965',
xhad marked this conversation as resolved.
Show resolved Hide resolved
UniswapV2Router02: '0x1111111111111111111111111111111111111111',
Util: '0x4c729887C6538485B32A63c6Eb29feBC7a5A5656',
WBTC: '0xDEd32223ceDcf3f4655D36ed829Baeb1d916510e',
WETH: '0xbd7d6a9d4520E611113AaE5CddF3f1AC1ceCffD8',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note in deploy, subgraph and webapp there has some confusion in naming between WETH vs. WETH9

This led to the withdrawal bug (where Apollo couldn't post collateral) so we should probably decide and standardize

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this WETH9 has been a real bother. I would say we go with WETH everywhere.

manifest: {
network: 'rinkeby-dev',
blockheight: 9454162,
date: '2021-10-13T18:41:17.405Z'
}
}
34 changes: 34 additions & 0 deletions src/addresses/rinkeby.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
export default {
AAVE: '0x1111111111111111111111111111111111111111',
BFactory: '0x2997d69E0f55325203071Ef497Cf6c82f1985A58',
BPool: '0x5eFE885B9BbA185A55c7aa9Fa59893d76136e523',
CollateralLockerFactory: '0x6b45ba9AA0F39Aa55bD4dfAc3978f1Ae61C54c63',
DAI: '0xbafC9F65733102b9F4aDFF8d432FB55FFdcCE27F',
DebtLockerFactory: '0xc82473e771BD7C95623C2D168858b75bE07Cd65E',
DebtLockerV2Factory: '0xfCB7BF40045f4723091786BBF2e17f4F59278087',
DebtLockerV2Initializer: '0xcC34727715259e260936E80FAFD69Be73b4872AB',
FundingLockerFactory: '0xC6ecFB53FB2CE88Ec2023Ac0e9DCCa5e77eB52Ee',
LINK: '0x1111111111111111111111111111111111111111',
LateFeeCalc: '0x0BAc9a29bAcbB545453A141FddE9Fd56178B9cb4',
LiquidityLockerFactory: '0xD84be7cB7C7541EDCdec3D0f3a0CdB802Ff7DE59',
LoanFactory: '0x21C30110751D4696D4f111329Caa9055E4d17492',
LoanLib: '0x0764951d0E51445926F4d0344B95812199D5433B',
LoanV2Factory: '0x162C4ff4c1b901311d2bA608A4dE85BB9f7794ce',
LoanV2Initializer: '0x3B1C6f5f14854b76Da76DDec69397624232eD058',
LoanV2Refinancer: '0x405D4a0aB5d20b2f6295154DDE3C07a95187F030',
MapleGlobals: '0xf4927f97037E342c8e4b1e122Ca591475C21F61a',
MapleToken: '0xCF39C58596a3624209a9657a0830dDc6225d6c9c',
MapleTreasury: '0x423c1f69b840dA9AcDAA82893D72fB75b6f5a65B',
MplRewardsFactory: '0x32096D377332fCb1A260f3E8A05e0EF181682871',
PoolFactory: '0x7f1Be6C117c028Ac3d0977Bab2eAE52EbAE97eD1',
PoolLib: '0x77f8e940534c52DA6a6ef6d23427542473a69894',
PremiumCalc: '0x20BB8cE6b3B0CAe913D65aD5E30C95805F49E356',
RepaymentCalc: '0xAfc8af364f3B0AAc40C8622a3985F5b5aBc20220',
StakeLockerFactory: '0x19Cf154B94E23d7F9105ca1437eC132349DC95bd',
USDC: '0xD73132E83d01fca5102d678a168dD777b890D57f',
UniswapV2Router02: '0x1111111111111111111111111111111111111111',
Util: '0xf9dFE7b47B0d5fEcbde535d18662a6Ea8fdEfA55',
WBTC: '0x8859DA2c9f06B5A3860f018d3E277AE7329EDD8e',
WETH: '0xAEB90749a2fd35E5dbd403439BB45c72aE8D9818',
manifest: { network: 'rinkeby', blockheight: 9474869, date: '2021-10-16' }
}