Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove direct requests to coinpaprika #2413

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/app/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include "atomicdex/services/mm2/auto.update.maker.order.service.hpp"
#include "atomicdex/services/price/komodo_prices/komodo.prices.provider.hpp"
#include "atomicdex/services/price/coingecko/coingecko.wallet.charts.hpp"
#include "atomicdex/services/price/coinpaprika/coinpaprika.provider.hpp"
#include "atomicdex/services/price/orderbook.scanner.service.hpp"

namespace
Expand Down Expand Up @@ -347,7 +346,6 @@ namespace atomic_dex
{
system_manager_.create_system<mm2_service>(system_manager_);

// system_manager_.create_system<coinpaprika_provider>(system_manager_);
// system_manager_.create_system<coingecko_provider>(system_manager_);
connect_signals();
m_event_actions[events_action::need_a_full_refresh_of_mm2] = false;
Expand Down Expand Up @@ -500,7 +498,6 @@ namespace atomic_dex
system_manager_.create_system<global_price_service>(system_manager_, settings_page_system.get_cfg());
system_manager_.create_system<global_defi_stats_service>(system_manager_);
system_manager_.create_system<orderbook_scanner_service>(system_manager_);
//system_manager_.create_system<coinpaprika_provider>(system_manager_);
//system_manager_.create_system<coingecko_provider>(system_manager_);
system_manager_.create_system<komodo_prices_provider>();
system_manager_.create_system<update_checker_service>();
Expand Down
133 changes: 0 additions & 133 deletions src/core/atomicdex/api/coinpaprika/coinpaprika.cpp

This file was deleted.

139 changes: 0 additions & 139 deletions src/core/atomicdex/api/coinpaprika/coinpaprika.hpp

This file was deleted.

1 change: 0 additions & 1 deletion src/core/atomicdex/events/events.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ namespace atomic_dex
using mm2_initialized = entt::tag<"mm2_running_and_enabling"_hs>;
using default_coins_enabled = entt::tag<"default_coins_enabled"_hs>;
using current_currency_changed = entt::tag<"update_orders_and_swap_values"_hs>;
using force_update_providers = entt::tag<"force_update_providers"_hs>;
using force_update_defi_stats = entt::tag<"force_update_defi_stats"_hs>;
using download_started = entt::tag<"download_started"_hs>;
using download_complete = entt::tag<"download_complete"_hs>;
Expand Down
1 change: 0 additions & 1 deletion src/core/atomicdex/pages/qt.settings.page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ namespace atomic_dex
SPDLOG_INFO("change currency {} to {}", m_config.current_currency, current_currency.toStdString());
atomic_dex::change_currency(m_config, current_currency.toStdString());

// this->dispatcher_.trigger<force_update_providers>();
this->dispatcher_.trigger<update_portfolio_values>();
this->dispatcher_.trigger<current_currency_changed>();
emit onCurrencyChanged();
Expand Down
1 change: 0 additions & 1 deletion src/core/atomicdex/services/mm2/mm2.service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2221,7 +2221,6 @@ namespace atomic_dex
SPDLOG_DEBUG("{} l{} f[{}]", __FUNCTION__, __LINE__, std::filesystem::path(__FILE__).filename().string());
this->m_current_wallet_name = std::move(wallet_name);
this->dispatcher_.trigger<coin_cfg_parsed>(this->retrieve_coins_informations());
this->dispatcher_.trigger<force_update_providers>();
this->dispatcher_.trigger<force_update_defi_stats>();
mm2_config cfg{
.passphrase = std::move(passphrase),
Expand Down
Loading
Loading