2021-04-24 19:49:21 +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,
|
2021-05-19 08:59:42 +02:00
|
|
|
'name': self.default_token_name,
|
|
|
|
'decimals': self.default_token_decimals,
|
2021-04-24 19:49:21 +02:00
|
|
|
}
|