forked from EdgeApp/edge-exchange-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
63 lines (58 loc) · 2.39 KB
/
index.js
File metadata and controls
63 lines (58 loc) · 2.39 KB
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
59
60
61
62
63
// @flow
import { makeBitMaxPlugin } from './rate/bitmax.js'
import { makeCoinbasePlugin } from './rate/coinbase.js'
import { makeCoincapPlugin } from './rate/coincap.js'
import { makeCoinGeckoPlugin } from './rate/coingecko.js'
import { makeCoinmonitorPlugin } from './rate/coinmonitor.js'
import { makeCompoundPlugin } from './rate/compound.js'
import { makeConstantRatePlugin } from './rate/constantRate.js'
import { makeCurrencyconverterapiPlugin } from './rate/currencyconverterapi.js'
import { makeEdgeRatesPlugin } from './rate/edgeRates.js'
import { makeNomicsPlugin } from './rate/nomics.js'
import { makeWazirxPlugin } from './rate/wazirx'
import { makeChangellyPlugin } from './swap/changelly.js'
import { makeChangeNowPlugin } from './swap/changenow.js'
import { makeCriptointercambioPlugin } from './swap/criptointercambio.js'
import { makeSpookySwapPlugin } from './swap/defi/uni-v2-based/plugins/spookySwap.js'
import { makeTombSwapPlugin } from './swap/defi/uni-v2-based/plugins/tombSwap.js'
import { makeExolixPlugin } from './swap/exolix.js'
import { makeFoxExchangePlugin } from './swap/foxExchange.js'
import { makeGodexPlugin } from './swap/godex.js'
import { makeLetsExchangePlugin } from './swap/letsexchange.js'
import { makeSideshiftPlugin } from './swap/sideshift.js'
import { makeSwitchainPlugin } from './swap/switchain.js'
import { makeTransferPlugin } from './swap/transfer.js'
const edgeCorePlugins = {
// Rate plugins:
bitmax: makeBitMaxPlugin,
coinbase: makeCoinbasePlugin,
coincap: makeCoincapPlugin,
coingecko: makeCoinGeckoPlugin,
coinmonitor: makeCoinmonitorPlugin,
compound: makeCompoundPlugin,
constantRate: makeConstantRatePlugin,
currencyconverterapi: makeCurrencyconverterapiPlugin,
edgeRates: makeEdgeRatesPlugin,
nomics: makeNomicsPlugin,
wazirx: makeWazirxPlugin,
// Swap plugins:
changelly: makeChangellyPlugin,
changenow: makeChangeNowPlugin,
criptointercambio: makeCriptointercambioPlugin,
exolix: makeExolixPlugin,
foxExchange: makeFoxExchangePlugin,
godex: makeGodexPlugin,
sideshift: makeSideshiftPlugin,
spookySwap: makeSpookySwapPlugin,
tombSwap: makeTombSwapPlugin,
switchain: makeSwitchainPlugin,
transfer: makeTransferPlugin,
letsexchange: makeLetsExchangePlugin
}
if (
typeof window !== 'undefined' &&
typeof window.addEdgeCorePlugins === 'function'
) {
window.addEdgeCorePlugins(edgeCorePlugins)
}
export default edgeCorePlugins