From 862de0ab5f15c4ca265a944535abcb3dfcbfc8ba Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 27 Oct 2022 18:07:39 +0100 Subject: [PATCH] Add asset filter and registration variable to settings --- app/local_settings.py | 57 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/app/local_settings.py b/app/local_settings.py index f023be9..476189b 100644 --- a/app/local_settings.py +++ b/app/local_settings.py @@ -27,6 +27,63 @@ SECRET_KEY = getenv("SECRET_KEY", "") STRIPE_ADMIN_COUPON = getenv("STRIPE_ADMIN_COUPON", "") +REGISTRATION_OPEN = getenv("REGISTRATION_OPEN", "false").lower() in trues + +ASSET_FILTER = [ + "LINK/USDT", + "PAXG/USD", + "PAXG/USDT", + "SHIB/USD", + "TRX/USD", + "TRX/USDT", + "UNI/BTC", + "UNI/USD", + "UNI/USDT", + "USDT/USD", + "WBTC/USD", + "YFI/BTC", + "NEAR/USDT", + "SUSHI/USDT", + "DOGE/USDT", + "LINK/BTC", + "LINK/USD", + "GRT/USD", + "AVAX/BTC", + "AVAX/USD", + "AVAX/USDT", + "SOL/BTC", + "SOL/USD", + "SOL/USDT", + "BTC/USDT", + "SUSHI/BTC", + "SUSHI/USD", + "BCH/BTC", + "BCH/USD", + "YFI/USD", + "ETH/USD", + "ETH/USDT", + "YFI/USDT", + "AAVE/USD", + "AAVE/USDT", + "ALGO/USD", + "BAT/USD", + "DAI/USDT", + "ALGO/USDT", + "MATIC/BTC", + "MATIC/USD", + "DOGE/USD", + "MKR/USD", + "BTC/USD", + "DOGE/BTC", + "LTC/BTC", + "LTC/USD", + "LTC/USDT", + "ETH/BTC", + "BCH/USDT", + "DAI/USD", + "NEAR/USD", +] + # Hook URL, do not include leading or trailing slash HOOK_PATH = "hook"