feat: advanced wallet settings

This commit is contained in:
José Oliveira 2021-06-21 17:24:33 +01:00
parent b99f98982b
commit 9ec7f6f296
6 changed files with 193 additions and 42 deletions

View file

@ -113,6 +113,10 @@ const getCryptosFromWalletNamespace = config => {
const getCashInSettings = config => fromNamespace(namespaces.CASH_IN)(config)
const getCryptoUnits = (crypto, config) => {
return getWalletSettings(crypto, config).cryptoUnits
}
module.exports = {
getWalletSettings,
getCashInSettings,
@ -129,5 +133,6 @@ module.exports = {
getAllCryptoCurrencies,
getTriggers,
getCashOut,
getCryptosFromWalletNamespace
getCryptosFromWalletNamespace,
getCryptoUnits
}