cic-internal-integration/apps/cic-eth/cic_eth/admin/token.py

20 lines
376 B
Python
Raw Normal View History

2021-04-23 22:51:51 +02:00
# standard imports
import logging
# external imports
import celery
# local imports
from cic_eth.task import BaseTask
celery_app = celery.current_app
logg = logging.getLogger()
@celery_app.task(bind=True, base=BaseTask)
def default_token(self):
return {
'symbol': self.default_token_symbol,
'address': self.default_token_address,
}