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