Ejemplo n.º 1
0
 public WalletController(
     IWalletRepository walletRepository,
     ICryptoRepository cryptoRepository,
     IWalletOperationsService walletOperationsService)
 {
     _walletRepository        = walletRepository;
     _cryptoRepository        = cryptoRepository;
     _walletOperationsService = walletOperationsService;
 }
Ejemplo n.º 2
0
 public WalletsController(
     IWalletOperationsService walletOperationsService,
     IRequestContext requestContext,
     IOperationsHistoryClient operationsHistoryClient,
     IMapper mapper,
     IPublicWalletLinkingService publicWalletLinkingService,
     IPublicWalletTransferService publicWalletTransferService,
     IEthereumBridgeClient ethereumBridgeClient,
     ISettingsService settingsService,
     ICrossChainTransfersClient crossChainTransfersClient,
     ILogFactory logFactory)
 {
     _walletOperationsService = walletOperationsService;
     _requestContext          = requestContext;
     _operationsHistoryClient = operationsHistoryClient;
     _mapper = mapper;
     _publicWalletLinkingService  = publicWalletLinkingService;
     _publicWalletTransferService = publicWalletTransferService;
     _ethereumBridgeClient        = ethereumBridgeClient;
     _settingsService             = settingsService;
     _crossChainTransfersClient   = crossChainTransfersClient;
     _log = logFactory.CreateLog(this);
 }