2019-07-18 16:05:09 +02:00
|
|
|
require('dotenv').config()
|
|
|
|
|
|
|
|
module.exports = {
|
2019-12-23 17:38:44 +01:00
|
|
|
version: '1.1',
|
2019-11-26 16:01:37 +01:00
|
|
|
netId: Number(process.env.NET_ID) || 42,
|
2019-12-12 11:58:58 +01:00
|
|
|
redisUrl: process.env.REDIS_URL,
|
2019-12-23 17:38:44 +01:00
|
|
|
rpcUrl: process.env.RPC_URL || 'https://kovan.infura.io/',
|
|
|
|
oracleRpcUrl: process.env.ORACLE_RPC_URL || 'https://mainnet.infura.io/',
|
2019-12-23 20:40:08 +01:00
|
|
|
oracleAddress: '0xB5eE7907FF5f4c1FC9086Fc117E6c397431F39ad',
|
2019-07-18 16:05:09 +02:00
|
|
|
privateKey: process.env.PRIVATE_KEY,
|
2019-12-02 13:49:24 +01:00
|
|
|
mixers: {
|
|
|
|
netId1: {
|
|
|
|
dai: {
|
|
|
|
mixerAddress: {
|
2019-12-16 23:57:28 +01:00
|
|
|
'100': '0xD4B88Df4D29F5CedD6857912842cff3b20C8Cfa3',
|
2019-12-02 13:49:24 +01:00
|
|
|
'500': undefined,
|
|
|
|
'1000': undefined,
|
|
|
|
'5000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0x6b175474e89094c44da98b954eedeac495271d0f',
|
|
|
|
decimals: 18
|
|
|
|
},
|
2019-12-19 15:29:22 +01:00
|
|
|
cdai: {
|
|
|
|
mixerAddress: {
|
|
|
|
'5000': undefined,
|
|
|
|
'50000': undefined,
|
|
|
|
'500000': undefined,
|
|
|
|
'5000000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0x5d3a536e4d6dbd6114cc1ead35777bab948e3643',
|
|
|
|
symbol: 'cDAI',
|
|
|
|
decimals: 8
|
|
|
|
},
|
2019-12-18 20:25:09 +01:00
|
|
|
usdc: {
|
|
|
|
mixerAddress: {
|
|
|
|
'100': undefined,
|
|
|
|
'500': undefined,
|
|
|
|
'1000': undefined,
|
|
|
|
'5000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
|
|
|
|
decimals: 6
|
|
|
|
},
|
2019-12-19 10:03:28 +01:00
|
|
|
cusdc: {
|
|
|
|
mixerAddress: {
|
|
|
|
'5000': undefined,
|
|
|
|
'50000': undefined,
|
|
|
|
'100000': undefined,
|
|
|
|
'500000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0x39AA39c021dfbaE8faC545936693aC917d5E7563',
|
|
|
|
decimals: 8
|
|
|
|
},
|
2019-12-02 13:49:24 +01:00
|
|
|
eth: {
|
|
|
|
mixerAddress: {
|
2019-12-16 23:01:26 +01:00
|
|
|
'0.1': '0x12D66f87A04A9E220743712cE6d9bB1B5616B8Fc',
|
2019-12-16 23:57:28 +01:00
|
|
|
'1': '0x47CE0C6eD5B0Ce3d3A51fdb1C52DC66a7c3c2936',
|
|
|
|
'10': '0x910Cbd523D972eb0a6f4cAe4618aD62622b39DbF',
|
2019-12-02 13:49:24 +01:00
|
|
|
'100': undefined
|
|
|
|
},
|
|
|
|
decimals: 18
|
2019-12-19 15:29:22 +01:00
|
|
|
},
|
|
|
|
usdt: {
|
|
|
|
mixerAddress: {
|
|
|
|
'100': undefined,
|
|
|
|
'1000': undefined,
|
|
|
|
'10000': undefined,
|
|
|
|
'100000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
|
|
|
|
decimals: 6
|
2019-12-02 13:49:24 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
netId42: {
|
|
|
|
dai: {
|
|
|
|
mixerAddress: {
|
2019-12-19 10:03:28 +01:00
|
|
|
'100': '0xdf2d3cC5F361CF95b3f62c4bB66deFe3FDE47e3D',
|
|
|
|
'1000': '0xD96291dFa35d180a71964D0894a1Ae54247C4ccD',
|
|
|
|
'10000': '0xb192794f72EA45e33C3DF6fe212B9c18f6F45AE3',
|
|
|
|
'100000': undefined
|
2019-12-02 13:49:24 +01:00
|
|
|
},
|
2019-12-19 10:03:28 +01:00
|
|
|
tokenAddress: '0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa',
|
2019-12-02 13:49:24 +01:00
|
|
|
decimals: 18
|
|
|
|
},
|
2019-12-19 15:29:22 +01:00
|
|
|
cdai: {
|
|
|
|
mixerAddress: {
|
|
|
|
'5000': '0x6Fc9386ABAf83147b3a89C36D422c625F44121C8',
|
|
|
|
'50000': '0x7182EA067e0f050997444FCb065985Fd677C16b6',
|
|
|
|
'500000': '0xC22ceFd90fbd1FdEeE554AE6Cc671179BC3b10Ae',
|
|
|
|
'5000000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0xe7bc397dbd069fc7d0109c0636d06888bb50668c',
|
|
|
|
decimals: 8
|
|
|
|
},
|
2019-12-18 20:25:09 +01:00
|
|
|
usdc: {
|
|
|
|
mixerAddress: {
|
2019-12-19 10:03:28 +01:00
|
|
|
'100': '0x137E2B6d185018e7f09f6cf175a970e7fC73826C',
|
|
|
|
'1000': '0xcC7f1633A5068E86E3830e692e3e3f8f520525Af',
|
|
|
|
'10000': '0x28C8f149a0ab8A9bdB006B8F984fFFCCE52ef5EF',
|
|
|
|
'100000': undefined
|
2019-12-18 20:25:09 +01:00
|
|
|
},
|
2019-12-19 10:03:28 +01:00
|
|
|
tokenAddress: '0x75B0622Cec14130172EaE9Cf166B92E5C112FaFF',
|
2019-12-18 20:25:09 +01:00
|
|
|
decimals: 6
|
|
|
|
},
|
2019-12-19 10:03:28 +01:00
|
|
|
cusdc: {
|
|
|
|
mixerAddress: {
|
|
|
|
'5000': '0xc0648F28ABA385c8a1421Bbf1B59e3c474F89cB0',
|
|
|
|
'50000': '0x0C53853379c6b1A7B74E0A324AcbDD5Eabd4981D',
|
|
|
|
'500000': '0xf84016A0E03917cBe700D318EB1b7a53e6e3dEe1',
|
|
|
|
'5000000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0xcfC9bB230F00bFFDB560fCe2428b4E05F3442E35',
|
|
|
|
decimals: 8
|
|
|
|
},
|
2019-12-02 13:49:24 +01:00
|
|
|
eth: {
|
|
|
|
mixerAddress: {
|
2019-12-16 23:57:28 +01:00
|
|
|
'0.1': '0x8b3f5393bA08c24cc7ff5A66a832562aAB7bC95f',
|
|
|
|
'1': '0xD6a6AC46d02253c938B96D12BE439F570227aE8E',
|
|
|
|
'10': '0xe1BE96331391E519471100c3c1528B66B8F4e5a7',
|
2019-12-19 10:03:28 +01:00
|
|
|
'100': '0xd037E0Ac98Dab2fCb7E296c69C6e52767Ae5414D'
|
2019-12-02 13:49:24 +01:00
|
|
|
},
|
|
|
|
decimals: 18
|
2019-12-19 15:29:22 +01:00
|
|
|
},
|
|
|
|
usdt: {
|
|
|
|
mixerAddress: {
|
|
|
|
'100': '0x327853Da7916a6A0935563FB1919A48843036b42',
|
|
|
|
'1000': '0x531AA4DF5858EA1d0031Dad16e3274609DE5AcC0',
|
|
|
|
'10000': '0x0958275F0362cf6f07D21373aEE0cf37dFe415dD',
|
|
|
|
'100000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0x03c5f29e9296006876d8df210bcffd7ea5db1cf1',
|
|
|
|
decimals: 6
|
2019-12-02 13:49:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-07-23 18:07:33 +02:00
|
|
|
defaultGasPrice: 2,
|
2019-12-05 13:51:01 +01:00
|
|
|
gasOracleUrls: ['https://ethgasstation.info/json/ethgasAPI.json', 'https://gasprice.poa.network/'],
|
2019-11-23 09:18:54 +01:00
|
|
|
port: process.env.APP_PORT,
|
2019-11-28 20:04:21 +01:00
|
|
|
relayerServiceFee: Number(process.env.RELAYER_FEE)
|
2019-07-18 16:05:09 +02:00
|
|
|
}
|