-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.ts
34 lines (26 loc) · 1.13 KB
/
config.ts
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
const devMode = !(process.env.NEXT_PUBLIC_ENV_MODE === 'production');
export const INFURA_ID = process.env.NEXT_PUBLIC_INFURA_ID;
export const ALCHEMY_KEY = process.env.NEXT_PUBLIC_ALCHEMY_KEY;
export const RAID_CONTRACT_ADDRESS = {
100: '0x18e9262e68cc6c6004db93105cc7c001bb103e49',
};
export const DAO_ADDRESS = {
100: devMode ? '0x26ff888b86d18793fb1420f2a4108c19bfc65a6e' : '0xfe1084bc16427e5eb7f13fc19bcd4e641f7d571f',
};
export const SUBGRAPH_URL = {
4: 'https://api.thegraph.com/subgraphs/name/slgraham/guildauctionqueues-rinkeby',
100: 'https://api.thegraph.com/subgraphs/name/slgraham/guildauctionqueues-xdai',
};
export const BLOCK_EXPLORER_URL = {
4: 'https://rinkeby.etherscan.io/',
100: 'https://blockscout.com/xdai/mainnet/',
};
export const SUBMISSION_REQUEST_FEE = devMode ? 0.001 : 500;
export const CONSULTATION_REQUEST_FEE = devMode ? 0.001 : 15000;
export const RG_XDAI_DAO = '0xfe1084bc16427e5eb7f13fc19bcd4e641f7d571f'.toLowerCase();
export const explorerUrls = {
1: 'https://etherscan.io',
4: 'https://rinkeby.etherscan.io',
42: 'https://kovan.etherscan.io',
100: 'https://blockscout.com/poa/xdai',
};