-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
47 lines (45 loc) · 1.43 KB
/
index.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
'use strict';
const AccountFactory = require('./factories/account-factory');
const NetworkAccountFactory = require('./factories/network-account-factory');
const { getNetwork, getNetworks } = require('./services/network-service');
const { getSwitches } = require('./services/switch-service');
const { getPathIndex } = require('./services/account-service');
const { getAvatar } = require('./services/avatar-service');
const { generateMnemonic } = require('./services/seed-service');
const { getMetadata } = require('./services/dapp-service');
const { getTopTokensByPlatform } = require('./services/price-service');
const { parseAmount, formatAmount } = require('./services/format');
const {
getBridgeSupportedTokens,
getBridgeAvailableTokens,
getBridgeFeaturedTokens,
getBridgeEstimatedAmount,
getBridgeMinimalAmount,
createBridgeExchange,
getBridgeTransaction,
} = require('./services/bridge-service');
const BLOCKCHAINS = require('./constants/blockchains');
const PLATFORMS = require('./constants/platforms');
module.exports = {
AccountFactory,
NetworkAccountFactory,
getNetwork,
getNetworks,
getSwitches,
getPathIndex,
getAvatar,
generateMnemonic,
getMetadata,
getTopTokensByPlatform,
parseAmount,
formatAmount,
getBridgeSupportedTokens,
getBridgeAvailableTokens,
getBridgeFeaturedTokens,
getBridgeEstimatedAmount,
getBridgeMinimalAmount,
createBridgeExchange,
getBridgeTransaction,
BLOCKCHAINS,
PLATFORMS,
};