2018-02-24 18:00:00 +00:00
|
|
|
import {
|
|
|
|
ethPlorer,
|
|
|
|
ETHTokenExplorer,
|
2018-04-06 21:08:28 +00:00
|
|
|
gasPriceDefaults,
|
2018-02-24 18:00:00 +00:00
|
|
|
InsecureWalletName,
|
2018-04-06 21:08:28 +00:00
|
|
|
SecureWalletName
|
2018-02-24 18:00:00 +00:00
|
|
|
} from 'config/data';
|
2018-02-12 20:43:07 +00:00
|
|
|
import {
|
2018-04-06 21:08:28 +00:00
|
|
|
ELLA_DEFAULT,
|
2018-02-12 20:43:07 +00:00
|
|
|
ETC_LEDGER,
|
|
|
|
ETC_TREZOR,
|
2018-04-06 21:08:28 +00:00
|
|
|
ETH_DEFAULT,
|
|
|
|
ETH_LEDGER,
|
2018-02-12 20:43:07 +00:00
|
|
|
ETH_TESTNET,
|
2018-04-06 21:08:28 +00:00
|
|
|
ETH_TREZOR,
|
2018-02-12 20:43:07 +00:00
|
|
|
EXP_DEFAULT,
|
2018-04-06 14:02:02 +00:00
|
|
|
POA_DEFAULT,
|
|
|
|
TOMO_DEFAULT,
|
2018-05-30 23:57:12 +00:00
|
|
|
UBQ_DEFAULT,
|
|
|
|
MUSIC_DEFAULT,
|
|
|
|
ETSC_DEFAULT,
|
|
|
|
EGEM_DEFAULT,
|
2018-06-13 20:39:50 +00:00
|
|
|
CLO_DEFAULT,
|
2018-06-15 23:28:42 +00:00
|
|
|
RSK_TESTNET,
|
2018-06-20 00:41:03 +00:00
|
|
|
GO_DEFAULT,
|
|
|
|
EOSC_DEFAULT
|
2018-02-12 20:43:07 +00:00
|
|
|
} from 'config/dpaths';
|
2018-04-06 21:08:28 +00:00
|
|
|
import { makeExplorer } from 'utils/helpers';
|
2018-06-18 01:53:00 +00:00
|
|
|
import { StaticNetworksState } from './types';
|
2018-02-12 20:43:07 +00:00
|
|
|
|
2018-02-24 18:00:00 +00:00
|
|
|
const testnetDefaultGasPrice = {
|
|
|
|
min: 0.1,
|
|
|
|
max: 40,
|
|
|
|
initial: 4
|
|
|
|
};
|
|
|
|
|
2018-06-18 01:53:00 +00:00
|
|
|
export const STATIC_NETWORKS_INITIAL_STATE: StaticNetworksState = {
|
2018-02-12 20:43:07 +00:00
|
|
|
ETH: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'ETH',
|
|
|
|
name: 'Ethereum',
|
2018-02-12 20:43:07 +00:00
|
|
|
unit: 'ETH',
|
|
|
|
chainId: 1,
|
|
|
|
isCustom: false,
|
2018-03-01 19:49:07 +00:00
|
|
|
color: '#007896',
|
2018-04-06 14:02:02 +00:00
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Etherscan',
|
|
|
|
origin: 'https://etherscan.io'
|
|
|
|
}),
|
2018-02-12 20:43:07 +00:00
|
|
|
tokenExplorer: {
|
|
|
|
name: ethPlorer,
|
|
|
|
address: ETHTokenExplorer
|
|
|
|
},
|
|
|
|
tokens: require('config/tokens/eth.json'),
|
|
|
|
contracts: require('config/contracts/eth.json'),
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: ETH_TREZOR,
|
|
|
|
[SecureWalletName.LEDGER_NANO_S]: ETH_LEDGER,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: ETH_DEFAULT
|
2018-02-24 18:00:00 +00:00
|
|
|
},
|
|
|
|
gasPriceSettings: gasPriceDefaults,
|
|
|
|
shouldEstimateGasPrice: true
|
2018-02-12 20:43:07 +00:00
|
|
|
},
|
|
|
|
Ropsten: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'Ropsten',
|
2018-02-12 20:43:07 +00:00
|
|
|
name: 'Ropsten',
|
|
|
|
unit: 'ETH',
|
|
|
|
chainId: 3,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#adc101',
|
2018-04-06 14:02:02 +00:00
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Etherscan',
|
|
|
|
origin: 'https://ropsten.etherscan.io'
|
|
|
|
}),
|
2018-02-12 20:43:07 +00:00
|
|
|
tokens: require('config/tokens/ropsten.json'),
|
|
|
|
contracts: require('config/contracts/ropsten.json'),
|
|
|
|
isTestnet: true,
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: ETH_TESTNET,
|
2018-04-16 23:07:00 +00:00
|
|
|
[SecureWalletName.LEDGER_NANO_S]: ETH_LEDGER,
|
2018-02-12 20:43:07 +00:00
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: ETH_TESTNET
|
2018-02-24 18:00:00 +00:00
|
|
|
},
|
|
|
|
gasPriceSettings: testnetDefaultGasPrice
|
2018-02-12 20:43:07 +00:00
|
|
|
},
|
|
|
|
Kovan: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'Kovan',
|
2018-02-12 20:43:07 +00:00
|
|
|
name: 'Kovan',
|
|
|
|
unit: 'ETH',
|
|
|
|
chainId: 42,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#adc101',
|
2018-04-06 14:02:02 +00:00
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Etherscan',
|
|
|
|
origin: 'https://kovan.etherscan.io'
|
|
|
|
}),
|
2018-02-12 20:43:07 +00:00
|
|
|
tokens: require('config/tokens/ropsten.json'),
|
|
|
|
contracts: require('config/contracts/ropsten.json'),
|
|
|
|
isTestnet: true,
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: ETH_TESTNET,
|
2018-04-16 23:07:00 +00:00
|
|
|
[SecureWalletName.LEDGER_NANO_S]: ETH_LEDGER,
|
2018-02-12 20:43:07 +00:00
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: ETH_TESTNET
|
2018-02-24 18:00:00 +00:00
|
|
|
},
|
|
|
|
gasPriceSettings: testnetDefaultGasPrice
|
2018-02-12 20:43:07 +00:00
|
|
|
},
|
|
|
|
Rinkeby: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'Rinkeby',
|
2018-02-12 20:43:07 +00:00
|
|
|
name: 'Rinkeby',
|
|
|
|
unit: 'ETH',
|
|
|
|
chainId: 4,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#adc101',
|
2018-04-06 14:02:02 +00:00
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Etherscan',
|
|
|
|
origin: 'https://rinkeby.etherscan.io'
|
|
|
|
}),
|
2018-02-12 20:43:07 +00:00
|
|
|
tokens: require('config/tokens/rinkeby.json'),
|
|
|
|
contracts: require('config/contracts/rinkeby.json'),
|
|
|
|
isTestnet: true,
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: ETH_TESTNET,
|
2018-04-16 23:07:00 +00:00
|
|
|
[SecureWalletName.LEDGER_NANO_S]: ETH_LEDGER,
|
2018-02-12 20:43:07 +00:00
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: ETH_TESTNET
|
2018-02-24 18:00:00 +00:00
|
|
|
},
|
|
|
|
gasPriceSettings: testnetDefaultGasPrice
|
2018-02-12 20:43:07 +00:00
|
|
|
},
|
|
|
|
ETC: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'ETC',
|
|
|
|
name: 'Ethereum Classic',
|
2018-02-12 20:43:07 +00:00
|
|
|
unit: 'ETC',
|
|
|
|
chainId: 61,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#669073',
|
2018-04-06 14:02:02 +00:00
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'GasTracker',
|
|
|
|
origin: 'https://gastracker.io',
|
|
|
|
addressPath: 'addr'
|
|
|
|
}),
|
2018-02-12 20:43:07 +00:00
|
|
|
tokens: require('config/tokens/etc.json'),
|
|
|
|
contracts: require('config/contracts/etc.json'),
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: ETC_TREZOR,
|
|
|
|
[SecureWalletName.LEDGER_NANO_S]: ETC_LEDGER,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: ETC_TREZOR
|
2018-02-24 18:00:00 +00:00
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 0.1,
|
|
|
|
max: 10,
|
|
|
|
initial: 1
|
2018-02-12 20:43:07 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
UBQ: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'UBQ',
|
|
|
|
name: 'Ubiq',
|
2018-02-12 20:43:07 +00:00
|
|
|
unit: 'UBQ',
|
|
|
|
chainId: 8,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#b37aff',
|
2018-04-06 14:02:02 +00:00
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Ubiqscan',
|
|
|
|
origin: 'https://ubiqscan.io/en'
|
|
|
|
}),
|
2018-02-12 20:43:07 +00:00
|
|
|
tokens: require('config/tokens/ubq.json'),
|
|
|
|
contracts: require('config/contracts/ubq.json'),
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: UBQ_DEFAULT,
|
|
|
|
[SecureWalletName.LEDGER_NANO_S]: UBQ_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: UBQ_DEFAULT
|
2018-02-24 18:00:00 +00:00
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 1,
|
|
|
|
max: 60,
|
|
|
|
initial: 20
|
2018-02-12 20:43:07 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
EXP: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'EXP',
|
|
|
|
name: 'Expanse',
|
2018-02-12 20:43:07 +00:00
|
|
|
unit: 'EXP',
|
|
|
|
chainId: 2,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#673ab7',
|
2018-04-06 14:02:02 +00:00
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Gander',
|
|
|
|
origin: 'https://www.gander.tech'
|
|
|
|
}),
|
2018-02-12 20:43:07 +00:00
|
|
|
tokens: require('config/tokens/exp.json'),
|
|
|
|
contracts: require('config/contracts/exp.json'),
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: EXP_DEFAULT,
|
|
|
|
[SecureWalletName.LEDGER_NANO_S]: EXP_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: EXP_DEFAULT
|
2018-02-24 18:00:00 +00:00
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 0.1,
|
|
|
|
max: 20,
|
|
|
|
initial: 2
|
2018-02-12 20:43:07 +00:00
|
|
|
}
|
2018-04-06 14:02:02 +00:00
|
|
|
},
|
|
|
|
POA: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'POA',
|
2018-04-06 14:02:02 +00:00
|
|
|
name: 'POA',
|
|
|
|
unit: 'POA',
|
|
|
|
chainId: 99,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#6d2eae',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Etherchain Light',
|
|
|
|
origin: 'https://poaexplorer.com',
|
|
|
|
addressPath: 'address/search',
|
|
|
|
blockPath: 'blocks/block'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: POA_DEFAULT,
|
2018-04-16 23:07:00 +00:00
|
|
|
[SecureWalletName.LEDGER_NANO_S]: ETH_LEDGER,
|
2018-04-06 14:02:02 +00:00
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: POA_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 0.1,
|
|
|
|
max: 10,
|
|
|
|
initial: 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
TOMO: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'TOMO',
|
|
|
|
name: 'TomoChain',
|
2018-04-06 14:02:02 +00:00
|
|
|
unit: 'TOMO',
|
|
|
|
chainId: 40686,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#6a488d',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Tomochain Explorer',
|
|
|
|
origin: 'https://explorer.tomocoin.io/#'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
2018-04-16 23:07:00 +00:00
|
|
|
[SecureWalletName.LEDGER_NANO_S]: ETH_LEDGER,
|
2018-04-16 22:50:20 +00:00
|
|
|
[SecureWalletName.TREZOR]: ETH_TREZOR,
|
2018-04-06 14:02:02 +00:00
|
|
|
[SecureWalletName.LEDGER_NANO_S]: TOMO_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: TOMO_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 1,
|
|
|
|
max: 60,
|
|
|
|
initial: 20
|
|
|
|
}
|
|
|
|
},
|
|
|
|
ELLA: {
|
2018-05-29 14:51:42 +00:00
|
|
|
id: 'ELLA',
|
|
|
|
name: 'Ellaism',
|
2018-04-06 14:02:02 +00:00
|
|
|
unit: 'ELLA',
|
|
|
|
chainId: 64,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#046111',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Ellaism Explorer',
|
|
|
|
origin: 'https://explorer.ellaism.org'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: ELLA_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: ELLA_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 1,
|
|
|
|
max: 60,
|
|
|
|
initial: 20
|
|
|
|
}
|
2018-05-30 23:57:12 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
MUSIC: {
|
|
|
|
id: 'MUSIC',
|
|
|
|
name: 'Musicoin',
|
|
|
|
unit: 'MUSIC',
|
|
|
|
chainId: 7762959,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#ffbb00',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Musicoin Explorer',
|
|
|
|
origin: 'https://explorer.musicoin.org',
|
|
|
|
addressPath: 'account'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: MUSIC_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: MUSIC_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 1,
|
|
|
|
max: 60,
|
|
|
|
initial: 20
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
ETSC: {
|
|
|
|
id: 'ETSC',
|
|
|
|
name: 'Ethereum Social',
|
|
|
|
unit: 'ETSC',
|
|
|
|
chainId: 28,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#4295d1',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Ethereum Social Explorer',
|
|
|
|
origin: 'https://explorer.ethereumsocial.kr'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: ETSC_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: ETSC_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 1,
|
|
|
|
max: 60,
|
|
|
|
initial: 20
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
EGEM: {
|
|
|
|
id: 'EGEM',
|
|
|
|
name: 'EtherGem',
|
|
|
|
unit: 'EGT',
|
|
|
|
chainId: 1987,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#D0F7FF',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'EtherGem Explorer',
|
|
|
|
origin: 'https://explorer.egem.io'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: EGEM_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: EGEM_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 1,
|
|
|
|
max: 60,
|
|
|
|
initial: 20
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
CLO: {
|
|
|
|
id: 'CLO',
|
|
|
|
name: 'Callisto',
|
|
|
|
unit: 'CLO',
|
|
|
|
chainId: 820,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#00b04a',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'Callisto Explorer',
|
|
|
|
origin: 'https://explorer.callisto.network'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: CLO_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: CLO_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 1,
|
|
|
|
max: 60,
|
|
|
|
initial: 20
|
|
|
|
}
|
2018-06-13 20:39:50 +00:00
|
|
|
},
|
|
|
|
|
2018-06-15 23:28:42 +00:00
|
|
|
RSK_TESTNET: {
|
|
|
|
id: 'RSK_TESTNET',
|
|
|
|
name: 'RSK',
|
|
|
|
unit: 'SBTC',
|
|
|
|
chainId: 31,
|
|
|
|
color: '#58A052',
|
|
|
|
isCustom: false,
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'RSK Testnet Explorer',
|
|
|
|
origin: 'https://explorer.testnet.rsk.co'
|
|
|
|
}),
|
|
|
|
tokens: require('config/tokens/rsk.json'),
|
|
|
|
contracts: require('config/contracts/rsk.json'),
|
|
|
|
isTestnet: true,
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: RSK_TESTNET,
|
|
|
|
[SecureWalletName.LEDGER_NANO_S]: RSK_TESTNET,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: RSK_TESTNET
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 0.183,
|
|
|
|
max: 1.5,
|
|
|
|
initial: 0.183
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2018-06-13 20:39:50 +00:00
|
|
|
GO: {
|
|
|
|
id: 'GO',
|
|
|
|
name: 'GO',
|
|
|
|
unit: 'GO',
|
|
|
|
chainId: 60,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#00b04a',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'GoChain Explorer',
|
|
|
|
origin: 'https://explorer.gochain.io'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: GO_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: GO_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 2,
|
|
|
|
max: 60,
|
|
|
|
initial: 2
|
|
|
|
}
|
2018-06-20 00:41:03 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
EOSC: {
|
|
|
|
id: 'EOSC',
|
|
|
|
name: 'EOS Classic',
|
|
|
|
unit: 'EOSC',
|
|
|
|
chainId: 20,
|
|
|
|
isCustom: false,
|
|
|
|
color: '#926565',
|
|
|
|
blockExplorer: makeExplorer({
|
|
|
|
name: 'EOSC Explorer',
|
|
|
|
origin: 'https://explorer.eos-classic.io'
|
|
|
|
}),
|
|
|
|
tokens: [],
|
|
|
|
contracts: [],
|
|
|
|
dPathFormats: {
|
|
|
|
[SecureWalletName.TREZOR]: EOSC_DEFAULT,
|
|
|
|
[InsecureWalletName.MNEMONIC_PHRASE]: EOSC_DEFAULT
|
|
|
|
},
|
|
|
|
gasPriceSettings: {
|
|
|
|
min: 1,
|
|
|
|
max: 60,
|
|
|
|
initial: 20
|
|
|
|
}
|
2018-02-12 20:43:07 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2018-06-18 01:53:00 +00:00
|
|
|
export function staticNetworksReducer(
|
|
|
|
state: StaticNetworksState = STATIC_NETWORKS_INITIAL_STATE,
|
|
|
|
action: any
|
|
|
|
) {
|
2018-02-12 20:43:07 +00:00
|
|
|
switch (action.type) {
|
|
|
|
default:
|
|
|
|
return state;
|
|
|
|
}
|
2018-06-18 01:53:00 +00:00
|
|
|
}
|