-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontractAddress.js
More file actions
67 lines (61 loc) · 2.26 KB
/
contractAddress.js
File metadata and controls
67 lines (61 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Contract address
current_net = 'ropsten'
// current_net = 'local'
// develop address
const testNetContract = {
'mdex': {
'factory': "0x223a74cab41a9AE8ca339c7F0c1a99E6AF7D8d6C",
'router': "0xED7d5F38C79115ca12fe6C0041abb22F0A06C300",
},
'itokens': {
'rETH': "0x8c5677b4FEaff533daB4638D7BEd7FFc972c4E84",
'rBTC': "0x7d1E2717322a9155242A1853a28A0148a10Efb61",
'rUSD': "0x4d97D3bf4A0bD87F9DEBb16873BdfE24127C9307",
},
'tokens': {
'HUSD': '0xe5737F0f694897331FE28640D2164B1404F23Dc0',
'HBTC': '0xe65b25FE4bec1F5aC9364304a175d68b582f5d0a',
'WHT': '0x9004529746a3d2496E46248929a3a57Cd30B0d0f',
'IFA': '0x567E6A969170217862632cFE93b6e36B9565e262',
}
}
// ropsten address
const mainNetContract = {
'uniswapsAddress': {
'uniswapV2Factory': "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
'uniswapV2Router': "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
},
'itokensAddress': {
'iETH': "0x3B10CE8EE476353E90e432a8B046D7557A175caE",
'iBTC': "0x72021548D50aE9650474f0e44e1b97A1fDa7ec62",
'iUSD': "0x396a3BD7dD826870505532122109f8c59253F34f",
},
'tokensAddress': {
'DAI': '0x995382d6B2C6007357948e7bF6e7ed6D162E67Ea',
'wBTC': '0x8c5677b4FEaff533daB4638D7BEd7FFc972c4E84',
'wETH': '0xc778417E063141139Fce010982780140Aa0cD5Ab',
'IFA': '0x58eABbc7438bd1e025868bD75d55aDEe1c1A1995',
'USD': '0x4d97D3bf4A0bD87F9DEBb16873BdfE24127C9307',
},
"lpTokenAddress": {
"iUSD_DAI": "0xaa90c4a0032b42751666a701bD41fd7bCE35ac34",
"iBTC_wBTC": "0x1C10314AA6e4f9EFD8B4fa82298a25F1102106aC",
"iETH_ETH": "0x89D35AefEE47fbB1C5B7aE37aF31dEE90afc815A",
"IFA_DAI": "0x364f980cbC06e5773c933C7266A812215B626974",
"IFA_wBTC": "0xE66F6273De1481d4dd19F45303613072128B1400",
"IFA_ETH": "0xFb598ccaaBB3296E0515c88fec9969E8D67057aE",
"USD_ETH":"0x5726E41D8DF650F28d4369718dFDa120BdB4962d",
"iUSD_ETH":"0xA5004b0771AB7063018013050905eB64a03B6072",
"iBTC_ETH":"0x10b34e5f4FD66E9185b69EF3cEdC89336B26c5d9",
}
}
let net_items = {
'develop': allDevelopContract,
'ropsten': allRopstenContract,
}
let getDeployedContract = () => {
return net_items[current_net]
}
module.exports = {
'getDeployedContract': getDeployedContract
}