Vim�UnDo��~����(e����n~�����Q߄"&^A�K_�&����]���('    SupportMinerService.update_wallets(5�_�����^A�C�        bitcoin.usd_value,5�_�����^A�D�'=from apscheduler.schedulers.blocking import BlockingScheduler	import osimport logging
import djangodjango.setup()Efrom coinmine.worker.support_miner.service import SupportMinerService%from coinmine.coin.models import Coin,from coinmine.user.models import UserProfile8logger = logging.getLogger("worker.support_miner.clock")scheduler = BlockingScheduler()Spolling_interval_secs = int(os.getenv("SUPPORT_MINER_POLLING_INTERVAL_SECS", 1800))def job(polling_interval_secs):W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))2    logger.info("Running Support Miner Worker...")    default_fee = float(        os.getenv(U            "FEE_PERCENTAGE_DECIMAL", UserProfile.lookup_fee(UserProfile.GENERAL_FEE)	        )    )0    bitcoin = Coin.objects.get(short_name="btc")'    SupportMinerService.update_credits(.        SupportMinerService.filtered_miners(),        polling_interval_secs,        default_fee,    )# scheduler.add_job(R#    lambda: job(polling_interval_secs), "interval", seconds=polling_interval_secs# )# scheduler.start()5�_�����^A�F�0    bitcoin = Coin.objects.get(short_name="btc")5�_�����^A�G�5�_�����^A�J�%from coinmine.coin.models import Coin5��
VimЯUnDoеВU>Kњж.w`±ЋDzљЯють.Й} ]Иџ=@3•й     def run(self, coin, period):
^s«@_–¤¤¤¤^s∆Яхх5Б_–¤¤¤¤^s∆ћх    def __init__(self, coin)5Б_–¤¤¤¤^s∆”х        х5Б_–¤¤¤¤^s∆№х    def run(self)5Б_–¤¤¤¤^s∆Ёхх5Б_–¤¤¤¤^s∆ях5Б_–¤¤¤¤^s∆вх1        coin = Coin.objects.get(short_name="hns")5Б_–	@¤¤¤¤^s∆дхW        logger.info("Running {} Accounting ({} secs)...".format(coin.name, hns_period))5Б_–
	¤¤¤¤^s∆их    def run(self):5Б_–	
¤¤¤¤V^s∆ух    def __init__(self, coin):        self.coin = coin5Б_–
¤¤¤¤V^s∆хх    def run(self, period):5Б_–
D¤¤¤¤V^s∆ъх\        logger.info("Running {} Accounting ({} secs)...".format(self.coin.name, hns_period))5Б_–
A¤¤¤¤V^s∆ыхX        logger.info("Running {} Accounting ({} secs)...".format(.coin.name, hns_period))5Б_–
?¤¤¤¤V^s∆ыхclass BaseCoinAccounting:     def run(self,coin,  period):W        logger.info("Running {} Accounting ({} secs)...".format(coin.name, hns_period)).        CoinAccountingService.update_balances(8            CoinAccountingService.filtered_miners(coin),            coin.coin_per_day,            hns_period,C            float(UserProfile.lookup_fee(UserProfile.GENERAL_FEE)),	        )5Б_–¤¤¤¤V^s«х
х
5Б_–¤¤¤¤V^s«х5Б_–¤¤¤¤V^s«хх5Б_–¤¤¤¤V^s«х
5Б_–¤¤¤¤V^s«х,from celery.utils.log import get_task_logger"logger = get_task_logger(__name__)class BaseCoinAccounting:     def run(self, coin, period):W        logger.info("Running {} Accounting ({} secs)...".format(coin.name, hns_period)).        CoinAccountingService.update_balances(8            CoinAccountingService.filtered_miners(coin),            coin.coin_per_day,            hns_period,C            float(UserProfile.lookup_fee(UserProfile.GENERAL_FEE)),	        )5Б_–O¤¤¤¤V^s«х	W        logger.info("Running {} Accounting ({} secs)...".format(coin.name, hns_period))5Б_–
¤¤¤¤V^s«х            hns_period,5Б_–¤¤¤¤V^s«&ххх5Б_–¤¤¤¤V^s«+хх5Б_–
¤¤¤¤V^s«?х	     def run(self, coin, period):5Б_–
¤¤¤¤V^s«?х,from celery.utils.log import get_task_logger,from coinmine.user.models import UserProfileCfrom coinmine.accounting.services.coin import CoinAccountingService"logger = get_task_logger(__name__)class BaseCoinAccounting:    def run( coin, period):S        logger.info("Running {} Accounting ({} secs)...".format(coin.name, period)).        CoinAccountingService.update_balances(8            CoinAccountingService.filtered_miners(coin),            coin.coin_per_day,            period,C            float(UserProfile.lookup_fee(UserProfile.GENERAL_FEE)),	        )5Бз™
Example #3
0
Vim�UnDo�"#LfO�][脛��6�����%���d�@4((((^N�k_�3����33 v ^�w�23"        btc_mode_coin.btc_per_day,5�_�����V^���%    btc_mode_coin = Coin.objects.get(;        name__iexact=os.getenv("BTC_MODE_COIN", "ethereum")    )5�_�����V^���C    sats_general = BTCModeService._adjusted_sats_earned_per_second(F        btc_mode_coin.btc_per_day, btc_coin.smallest_unit, general_fee    )C    sats_founder = BTCModeService._adjusted_sats_earned_per_second(F        btc_mode_coin.btc_per_day, btc_coin.smallest_unit, founder_fee    )5�_�����#V^���	    logger.info(        "current_payout "H        "coin={} period_secs={} sats_founder={} sats_general={}".format(%            btc_mode_coin.short_name,"            polling_interval_secs,1            sats_founder * polling_interval_secs,1            sats_general * polling_interval_secs,	        )    )5�_�����V^���5�_�����V^���A    founder_fee = UserProfile.lookup_fee(UserProfile.FOUNDER_FEE)5�_�	����^���"'�'�&5�_�
	����^���/5�_�	
����^���1�05�_�
����^���2    �15�_�
����$V^���%2	    logger.info(        "current_payout "H        "coin={} period_secs={} sats_founder={} sats_general={}".format(%            btc_mode_coin.short_name,"            polling_interval_secs,1            sats_founder * polling_interval_secs,1            sats_general * polling_interval_secs,	        )    )5�_�
����$V^��	� 2)                btc_mode_coin.short_name,5�_�
����$V^���3�3�25�_�����V^��
�8B   sats_general = BTCModeService._adjusted_sats_earned_per_second(5�_�����V^���85�_�����V^��C    sats_general = BTCModeService._adjusted_sats_earned_per_second(F        btc_mode_coin.btc_per_day, btc_coin.smallest_unit, general_fee    )C    sats_founder = BTCModeService._adjusted_sats_earned_per_second(F        btc_mode_coin.btc_per_day, btc_coin.smallest_unit, founder_fee    )5�_�����V^��$4�4�35�_�����#V^��$:C    sats_general = BTCModeService._adjusted_sats_earned_per_second(F        btc_mode_coin.btc_per_day, btc_coin.smallest_unit, general_fee    )C    sats_founder = BTCModeService._adjusted_sats_earned_per_second(F        btc_mode_coin.btc_per_day, btc_coin.smallest_unit, founder_fee    )5�_�����#V^��5�_�����"V^��9J            btc_mode_coin.btc_per_day, btc_coin.smallest_unit, general_fee5�_�����"V^��9H            c_mode_coin.btc_per_day, btc_coin.smallest_unit, general_fee5�_�!����"V^�� "9J            btc_mode_coin.btc_per_day, btc_coin.smallest_unit, founder_fee5�_�!����"V^�� "9H            c_mode_coin.btc_per_day, btc_coin.smallest_unit, founder_fee5�_�!����"V^�� "9A            coin.btc_per_day, btc_coin.smallest_unit, founder_fee5�_�!����"V^�� "9?            coin.btc_per_day, c_coin.smallest_unit, founder_fee5�_�����"V^��9A            coin.btc_per_day, btc_coin.smallest_unit, general_fee5�_�����"V^��9?            coin.btc_per_day, c_coin.smallest_unit, general_fee5�_�����"V^��9=from apscheduler.schedulers.blocking import BlockingScheduler	import osimport logging
import djangodjango.setup();from coinmine.worker.btc_mode.service import BTCModeService%from coinmine.coin.models import Coin,from coinmine.user.models import UserProfile3logger = logging.getLogger("worker.btc_mode.clock")scheduler = BlockingScheduler()Npolling_interval_secs = int(os.getenv("BTC_MODE_POLLING_INTERVAL_SECS", 1800))def job(polling_interval_secs):R    logger.info("BTC Mode Polling Interval {} secs".format(polling_interval_secs))-    logger.info("Running BTC Mode Worker...")A    general_fee = UserProfile.lookup_fee(UserProfile.GENERAL_FEE)I    default_fee = float(os.getenv("FEE_PERCENTAGE_DECIMAL", general_fee))1    btc_coin = Coin.objects.get(short_name="btc")    coins = Coin.objects.all()    for coin in coins:G        sats_general = BTCModeService._adjusted_sats_earned_per_second(=            coin.btc_per_day, coin.smallest_unit, general_fee	        )G        sats_founder = BTCModeService._adjusted_sats_earned_per_second(=            coin.btc_per_day, coin.smallest_unit, founder_fee	        )        logger.info(            "current_payout "L            "coin={} period_secs={} sats_founder={} sats_general={}".format(                 coin.short_name,&                polling_interval_secs,5                sats_founder * polling_interval_secs,5                sats_general * polling_interval_secs,
            )	        )"    BTCModeService.update_wallets()        BTCModeService.filtered_miners(),        btc_coin.usd_value,        btc_coin.smallest_unit,        polling_interval_secs,        default_fee,    )# scheduler.add_job(R#    lambda: job(polling_interval_secs), "interval", seconds=polling_interval_secs# )# scheduler.start()5�_�����V^��9�9�85�_� ����AAVA^� 
�9B     founder_fee = UserProfile.lookup_fee(UserProfile.FOUNDER_FEE)5�_�" ����^��9=            coin.btc_per_day, coin.smallest_unit, general_fee5�_� #!"!����^�� "9=            coin.btc_per_day, coin.smallest_unit, founder_fee5�_�"$#&����^Aд�9G        sats_general = BTCModeService._adjusted_sats_earned_per_second(5�_�#%$3����^Aж�9F        sats_general = BTCModeService.adjusted_sats_earned_per_second(5�_�$&% 4����^Aи�!9G        sats_founder = BTCModeService._adjusted_sats_earned_per_second(5�_�%'& &����^Aй�!9H        sats_founder = BTCModeService._adjusted_units_earned_per_second(5�_�&('����3V^N�j�3=from apscheduler.schedulers.blocking import BlockingScheduler	import osimport logging
import djangodjango.setup();from coinmine.worker.btc_mode.service import BTCModeService%from coinmine.coin.models import Coin,from coinmine.user.models import UserProfile3logger = logging.getLogger("worker.btc_mode.clock")scheduler = BlockingScheduler()Npolling_interval_secs = int(os.getenv("BTC_MODE_POLLING_INTERVAL_SECS", 1800))def job(polling_interval_secs):R    logger.info("BTC Mode Polling Interval {} secs".format(polling_interval_secs))-    logger.info("Running BTC Mode Worker...")A    general_fee = UserProfile.lookup_fee(UserProfile.GENERAL_FEE)I    default_fee = float(os.getenv("FEE_PERCENTAGE_DECIMAL", general_fee))A    founder_fee = UserProfile.lookup_fee(UserProfile.FOUNDER_FEE)1    btc_coin = Coin.objects.get(short_name="btc")    coins = Coin.objects.all()    for coin in coins:G        sats_general = BTCModeService.adjusted_units_earned_per_second(A            coin.btc_per_day, btc_coin.smallest_unit, general_fee	        )G        sats_founder = BTCModeService.adjusted_units_earned_per_second(A            coin.btc_per_day, btc_coin.smallest_unit, founder_fee	        )        logger.info(            "current_payout "L            "coin={} period_secs={} sats_founder={} sats_general={}".format(                 coin.short_name,&                polling_interval_secs,5                sats_founder * polling_interval_secs,5                sats_general * polling_interval_secs,
            )	        )"    BTCModeService.update_wallets()        BTCModeService.filtered_miners(),        btc_coin.usd_value,        btc_coin.smallest_unit,        polling_interval_secs,        default_fee,    )5�_�'(����V^N�j�# scheduler.add_job(R#    lambda: job(polling_interval_secs), "interval", seconds=polling_interval_secs# )# scheduler.start()5�_� "!!����^�� "9A            coin.btc_per_day, cbtc_oin.smallest_unit, founder_fee5�_�����V^Ū�5��
Example #4
0
Vim�UnDo�a���;�U�to��xaK;Ptg���Ǭz8�����^t�L_�����^s���
5�_�����^s����5�_�����^s���
6period = settings.SUPPORT_MINER_ACCOUNTING_PERIOD_SECS5�_�����^s����
5�_�����^s���;hns_period = accounting_configuration.handshake_period_secs5�_�	����^s���
6period = settings.SUPPORT_MINER_ACCOUNTING_PERIOD_SECS5�_�		����^s���
	period = 5�_�
	:����^s���	�5�_�	
����^s���+from celery.decorators import periodic_task,from celery.utils.log import get_task_loggerfrom datetime import timedelta from django.conf import settings,from coinmine.user.models import UserProfileTfrom coinmine.accounting.services.support_miner import SupportMinerAccountingService>from coinmine.accounting.models import AccountingConfiguration"logger = get_task_logger(__name__)=accounting_configuration = AccountingConfiguration.get_solo();period = accounting_configuration.support_miner_period_secsT@periodic_task(run_every=timedelta(seconds=period), name="accounting.support_miner")def support_miner_accounting():O    logger.info("Running Support Miner Accounting ({} secs)...".format(period))1    SupportMinerAccountingService.update_credits(8        SupportMinerAccountingService.filtered_miners(),        period,?        float(UserProfile.lookup_fee(UserProfile.GENERAL_FEE)),    )5�_�
����^s��� from django.conf import settings5�_�
����^t�7�
�
�
5�_�
����66V6^t�8�
7 period = settings.SUPPORT_MINER_ACCOUNTING_PERIOD_SECS5�_�

����66V6^t�9�
;period = accounting_configuration.support_miner_period_secs5�_�����66V6^t�A��5�_�����
6
6V6^t�J�=accounting_configuration = AccountingConfiguration.get_solo()5�_�����66V6^t�K�>from coinmine.accounting.models import AccountingConfiguration5�_�����^s���� from django.conf import settings5��
Example #5
0
Vim�UnDo���8�ƀ'q����Vؚvdw
’"@�d�
7w�9W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))@AAAA^D<�_�����V^C�E�import logging5�_�	����V^C�G�	'�	
'5�_�����V^C�K�=from apscheduler.schedulers.blocking import BlockingScheduler	import os
import django5�_�����V^C�K�5�_�����V^C�L�django.setup()5�_�����V^C�O�#Efrom coinmine.worker.support_miner.service import SupportMinerService5�_�����V^C�T�#Ofrom coinmine.devices.services.support_miner.service import SupportMinerService5�_�	����V^C�W�#Bfrom coinmine.devices.services..service import SupportMinerService5�_�
	����V^C�X�#:from coinmine.devices.services. import SupportMinerService5�_�	
2����V^C�\�#9from coinmine.devices.services import SupportMinerService5�_�
;����V^C�^�#Cfrom coinmine.devices.services import SupportMinerAccountingService%from coinmine.coin.models import Coin,from coinmine.user.models import UserProfileimport logging8logger = logging.getLogger("worker.support_miner.clock")scheduler = BlockingScheduler()Spolling_interval_secs = int(os.getenv("SUPPORT_MINER_POLLING_INTERVAL_SECS", 1800))def job(polling_interval_secs):W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))2    logger.info("Running Support Miner Worker...")    default_fee = float(        os.getenv(U            "FEE_PERCENTAGE_DECIMAL", UserProfile.lookup_fee(UserProfile.GENERAL_FEE)	        )    )0    bitcoin = Coin.objects.get(short_name="btc")'    SupportMinerService.update_credits(.        SupportMinerService.filtered_miners(),        bitcoin.usd_value,        polling_interval_secs,        default_fee,    )# scheduler.add_job(R#    lambda: job(polling_interval_secs), "interval", seconds=polling_interval_secs# )# scheduler.start()5�_�
����V^C�e�$'    SupportMinerService.update_credits(5�_�
����V^C�h�        bitcoin.usd_value,5�_�
����V^C�h�#Cfrom coinmine.devices.services import SupportMinerAccountingService%from coinmine.coin.models import Coin,from coinmine.user.models import UserProfileimport logging8logger = logging.getLogger("worker.support_miner.clock")scheduler = BlockingScheduler()Spolling_interval_secs = int(os.getenv("SUPPORT_MINER_POLLING_INTERVAL_SECS", 1800))def job(polling_interval_secs):W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))2    logger.info("Running Support Miner Worker...")    default_fee = float(        os.getenv(U            "FEE_PERCENTAGE_DECIMAL", UserProfile.lookup_fee(UserProfile.GENERAL_FEE)	        )    )0    bitcoin = Coin.objects.get(short_name="btc")1    SupportMinerAccountingService.update_credits(.        SupportMinerService.filtered_miners(),        polling_interval_secs,        default_fee,    )# scheduler.add_job(R#    lambda: job(polling_interval_secs), "interval", seconds=polling_interval_secs# )# scheduler.start()5�_�����!V^C�k�# scheduler.add_job(R#    lambda: job(polling_interval_secs), "interval", seconds=polling_interval_secs# )# scheduler.start()5�_�����V^C�m�0    bitcoin = Coin.objects.get(short_name="btc")5�_�����V^C�n�Cfrom coinmine.devices.services import SupportMinerAccountingService%from coinmine.coin.models import Coin,from coinmine.user.models import UserProfileimport logging8logger = logging.getLogger("worker.support_miner.clock")scheduler = BlockingScheduler()Spolling_interval_secs = int(os.getenv("SUPPORT_MINER_POLLING_INTERVAL_SECS", 1800))def job(polling_interval_secs):W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))2    logger.info("Running Support Miner Worker...")    default_fee = float(        os.getenv(U            "FEE_PERCENTAGE_DECIMAL", UserProfile.lookup_fee(UserProfile.GENERAL_FEE)	        )    )1    SupportMinerAccountingService.update_credits(Q        SupportMinerService.filtered_miners(), polling_interval_secs, default_fee    )5�_�����V^C�}�%from coinmine.coin.models import Coin5�_�����V^C��,from coinmine.user.models import UserProfile5�_�����V^C����5�_�����V^C���scheduler = BlockingScheduler()5�_�����V^C����5�_�����V^C���5�_�����V^C���import logging5�_�����V^C��	��5�_�����V^C����
5�_�����  V^C��
�def job(polling_interval_secs):5�_�����  V^C����5�_� ����""V^C���)from celery.task.schedules import crontab5�_�! ����!!V^C��� � 5�_� "!&����""V^C��
!Spolling_interval_secs = int(os.getenv("SUPPORT_MINER_POLLING_INTERVAL_SECS", 1800))5�_�!#""����""V^C�	�
!Npolling_interval_secs = settings."SUPPORT_MINER_POLLING_INTERVAL_SECS", 1800))5�_�"$#M����""V^C�

�
!Mpolling_interval_secs = settings.SUPPORT_MINER_POLLING_INTERVAL_SECS", 1800))5�_�#%$
����""V^C�)�!;    run_every=crontab(hour=0, minute=10, day_of_month="1"),�!5�_�$&%2����""V^C�*�!_    run_every=timedelta(seconds=accounting_period)crontab(hour=0, minute=10, day_of_month="1"),5�_�%'&3����""V^C�0�!Q    run_every=timedelta(seconds=accounting_period), minute=10, day_of_month="1"),5�_�&)'.����2.V2^C�2�.    # execute on the first day of every month.B    # after the interests calculation, prepping for the next month5�_�'+()����2.V2^C�;��5�_�),*+	����2.V2^C�B� %    name="create_balanced_snapshots",� 5�_�+-,'����2.V2^C�C� B    name="update_support_miner_balancescreate_balanced_snapshots",5�_�,.-'����2.V2^C�D� import loggingfrom datetime import timedelta from django.conf import settings)from celery.task.schedules import crontab+from celery.decorators import periodic_task,from coinmine.user.models import UserProfileCfrom coinmine.devices.services import SupportMinerAccountingService8logger = logging.getLogger("worker.support_miner.clock")Dpolling_interval_secs = settings.SUPPORT_MINER_POLLING_INTERVAL_SECS@periodic_task(3    run_every=timedelta(seconds=accounting_period),)    name="update_support_miner_balances",)9def update_support_miner_balances(polling_interval_secs):W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))2    logger.info("Running Support Miner Worker...")    default_fee = float(        os.getenv(U            "FEE_PERCENTAGE_DECIMAL", UserProfile.lookup_fee(UserProfile.GENERAL_FEE)	        )    )1    SupportMinerAccountingService.update_credits(Q        SupportMinerService.filtered_miners(), polling_interval_secs, default_fee    )5�_�-/.
����2.V2^C�L�Dpolling_interval_secs = settings.SUPPORT_MINER_POLLING_INTERVAL_SECS5�_�.0/
����2.V2^C�M�/ = settings.SUPPORT_MINER_POLLING_INTERVAL_SECS5�_�/10����2.V2^C�U�)from celery.task.schedules import crontab5�_�021����2.V2^C�c�        os.getenv(5�_�132����2.V2^C�e�U            "FEE_PERCENTAGE_DECIMAL", UserProfile.lookup_fee(UserProfile.GENERAL_FEE)5�_�243����2.V2^C�g�	        )5�_�354����2.V2^C�g�import loggingfrom datetime import timedelta from django.conf import settings+from celery.decorators import periodic_task,from coinmine.user.models import UserProfileCfrom coinmine.devices.services import SupportMinerAccountingService8logger = logging.getLogger("worker.support_miner.clock")@accounting_period = settings.SUPPORT_MINER_POLLING_INTERVAL_SECS@periodic_task(X    run_every=timedelta(seconds=accounting_period), name="update_support_miner_balances")9def update_support_miner_balances(polling_interval_secs):W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))2    logger.info("Running Support Miner Worker...")    default_fee = float(;            UserProfile.lookup_fee(UserProfile.GENERAL_FEE)    )1    SupportMinerAccountingService.update_credits(Q        SupportMinerService.filtered_miners(), polling_interval_secs, default_fee    )5�_�465/����2.V2^C�v�Q        SupportMinerService.filtered_miners(), polling_interval_secs, default_fee5�_�576/����2.V2^C�w�<        SupportMinerService.filtered_miners(), , default_fee5�_�687����2.V2^C���M        SupportMinerService.filtered_miners(), accounting_period, default_fee5�_�798����2.V2^C���    �5�_�8:9����2.V2^C���
    miners = �5�_�9;:����2.V2^C���(        , accounting_period, default_fee5�_�:<;
����2.V2^C���import loggingfrom datetime import timedelta from django.conf import settings+from celery.decorators import periodic_task,from coinmine.user.models import UserProfileCfrom coinmine.devices.services import SupportMinerAccountingService8logger = logging.getLogger("worker.support_miner.clock")@accounting_period = settings.SUPPORT_MINER_POLLING_INTERVAL_SECS@periodic_task(X    run_every=timedelta(seconds=accounting_period), name="update_support_miner_balances")9def update_support_miner_balances(polling_interval_secs):W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))2    logger.info("Running Support Miner Worker...")H    default_fee = float(UserProfile.lookup_fee(UserProfile.GENERAL_FEE))2    miners = SupportMinerService.filtered_miners()1    SupportMinerAccountingService.update_credits(.        miners, accounting_period, default_fee    )5�_�;=<����2.V2^C���2    miners = SupportMinerService.filtered_miners()5�_�<?=����2.V2^C���4    miners = SupportMinerAcService.filtered_miners()5�_�=@>?"����^D<��9def update_support_miner_balances(polling_interval_secs):5�_�?A@@����^D<��W    logger.info("Support Miner Polling Interval {} secs".format(polling_interval_secs))5�_�@A@����^D<��B    logger.info("Support Miner Polling Interval {} secs".format())5�_�=?>����^D8
�
accounting_period = settings.5�_�)+*����2.V2^C�@� def (polling_interval_secs):5�_�')(����2.V2^C�:��from datetime import timedelta5�_�����V^C����,from coinmine.user.models import UserProfile5�_�����V^C�o�5��