-
Notifications
You must be signed in to change notification settings - Fork 4
/
environment.js
58 lines (55 loc) · 1.34 KB
/
environment.js
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
const ropstenContracts = require('./ropstenContracts.js');
const primaryCurrency = 'RCN';
const oracles = ['ETH', 'BTC', 'USD', 'ARS','DAI','MANA'];
const reutersUrl = 'https://www.reuters.com/assets/';
const percentageChange = 1;
const signersData = [
{
currency_from: 'RCN',
currency_to: 'ETH',
exchangesIds: ['binance', 'uniswap', 'huobipro', 'hitbtc'],
decimals: 18
},
{
currency_from: 'RCN',
currency_to: 'BTC',
exchangesIds: ['binance', 'huobipro', 'bittrex', 'upbit', 'hitbtc'],
decimals: 18
},
{
currency_from: 'BTC',
currency_to: 'USD',
exchangesIds: ['bittrex', 'kraken', 'gemini'],
decimals: 2
},
{
currency_from: 'USD',
currency_to: 'ARS',
exchangesIds: ['reuters'],
decimals: 2
},
{
currency_from: 'BTC',
currency_to: 'DAI',
exchangesIds: ['hitbtc'],
decimals: 2
},
{
currency_from: 'MANA',
currency_to: 'BTC',
exchangesIds: ['binance', 'huobipro', 'upbit'],
decimals: 18
}
];
module.exports = {
node: ropstenContracts.nodes.infura,
RCN: ropstenContracts.RCNToken,
oracleFactory: ropstenContracts.oracleFactory,
oracle: ropstenContracts.oracle,
signersData: signersData,
markets: ropstenContracts.markets,
primaryCurrency: primaryCurrency,
oracles: oracles,
reutersUrl: reutersUrl,
percentageChange: percentageChange
};