Ejemplo n.º 1
0
 public LykkePayErc20DepositContractService(
     [KeyFilter(Constants.LykkePayKey)] IErc223DepositContractRepository contractRepository,
     [KeyFilter(Constants.LykkePayKey)] IHotWalletOperationRepository operationsRepository,
     IContractService contractService,
     IErc20DepositContractQueueServiceFactory poolFactory,
     IBaseSettings settings,
     ILog log,
     IWeb3 web3,
     AppSettings appSettings,
     IQueueFactory factory,
     IErcInterfaceService ercInterfaceService,
     IUserTransferWalletRepository userTransferWalletRepository)
 {
     _contractRepository = contractRepository;
     _contractService    = contractService;
     _poolFactory        = poolFactory;
     _settings           = settings;
     _log                          = log;
     _web3                         = web3;
     _appSettings                  = appSettings;
     _transferQueue                = factory.Build(Constants.LykkePayErc223TransferQueue);
     _ercInterfaceService          = ercInterfaceService;
     _operationsRepository         = operationsRepository;
     _userTransferWalletRepository = userTransferWalletRepository;
 }
 public Erc20DepositContractPoolRenewJob(
     ILog logger,
     IErc20DepositContractQueueServiceFactory poolFactory)
 {
     _logger      = logger;
     _poolFactory = poolFactory;
 }
 public Erc20ContracAssigner(IErc20DepositContractQueueServiceFactory poolFactory,
                             [KeyFilter(Constants.DefaultKey)] IErc223DepositContractRepository contractRepository,
                             ICqrsEngine cqrsEngine)
 {
     _cqrsEngine         = cqrsEngine;
     _poolFactory        = poolFactory;
     _contractRepository = contractRepository;
 }
Ejemplo n.º 4
0
 public AirlinesErc20DepositContractPoolService(
     [KeyFilter(Constants.AirLinesKey)] IAirlinesErc20DepositContractService contractService,
     IErc20DepositContractQueueServiceFactory poolFactory,
     AppSettings settings)
 {
     _contractService = contractService;
     _poolFactory     = poolFactory;
     _settings        = settings;
 }
 public Erc20DepositContractPoolService(
     [KeyFilter(Constants.DefaultKey)] IErc20DepositContractService contractService,
     IErc20DepositContractQueueServiceFactory poolFactory,
     IBaseSettings settings)
 {
     _contractService = contractService;
     _poolFactory     = poolFactory;
     _settings        = settings;
 }
Ejemplo n.º 6
0
 public Erc223DepositAssignCommandHandler(
     [KeyFilter(Constants.DefaultKey)] IErc223DepositContractRepository contractRepository,
     IErc20DepositContractQueueServiceFactory poolFactory,
     ILog logger)
 {
     _contractRepository = contractRepository;
     //_contractService = contractService;
     _logger = logger;
 }
Ejemplo n.º 7
0
 public Erc20DepositContractPoolService(
     IErc20DepositContractService contractService,
     IErc20DepositContractQueueServiceFactory poolFactory,
     IBaseSettings settings)
 {
     _contractService = contractService;
     _poolFactory     = poolFactory;
     _settings        = settings;
 }
Ejemplo n.º 8
0
 public LykkePayErc20DepositContractPoolService(
     [KeyFilter(Constants.LykkePayKey)] IErc20DepositContractService contractService,
     IErc20DepositContractQueueServiceFactory poolFactory,
     IBaseSettings settings,
     ILog log)
 {
     _contractService = contractService;
     _poolFactory     = poolFactory;
     _settings        = settings;
     _log             = log.CreateComponentScope(nameof(LykkePayErc20DepositContractPoolService));
 }
Ejemplo n.º 9
0
 public Erc20DepositContractService(
     IErc20DepositContractRepository contractRepository,
     IContractService contractService,
     IErc20DepositContractQueueServiceFactory poolFactory,
     IBaseSettings settings,
     ILog log,
     IWeb3 web3)
 {
     _contractRepository = contractRepository;
     _contractService    = contractService;
     _poolFactory        = poolFactory;
     _settings           = settings;
     _log  = log;
     _web3 = web3;
 }
 public Erc20DepositContractService(
     IErc20DepositContractRepositoryOld oldContractRepository,
     [KeyFilter(Constants.DefaultKey)] IErc223DepositContractRepository contractRepository,
     IContractService contractService,
     IErc20DepositContractQueueServiceFactory poolFactory,
     IBaseSettings settings,
     ILog log,
     IWeb3 web3)
 {
     _oldContractRepository = oldContractRepository;
     _contractRepository    = contractRepository;
     _contractService       = contractService;
     _poolFactory           = poolFactory;
     _settings = settings;
     _log      = log;
     _web3     = web3;
 }