Пример #1
0
 public TradeController(
     ILogger <TradeController> logger,
     UserManager <ApplicationUser> userManager,
     ApplicationDbContext context,
     IOptions <ExchangeSettings> settings,
     ITripwire tripwire,
     IUserLocks userLocks) : base(logger, userManager, context, settings)
 {
     _tripwire  = tripwire;
     _userLocks = userLocks;
 }
Пример #2
0
 public WalletController(
     ILogger <WalletController> logger,
     UserManager <ApplicationUser> userManager,
     ApplicationDbContext context,
     IOptions <ExchangeSettings> settings,
     IWalletProvider walletProvider,
     IOptions <KycSettings> kycSettings,
     IEmailSender emailSender,
     ITripwire tripwire,
     IUserLocks userLocks) : base(logger, userManager, context, settings, walletProvider, kycSettings)
 {
     _emailSender = emailSender;
     _tripwire    = tripwire;
     _userLocks   = userLocks;
 }
Пример #3
0
 public InternalController(
     ILogger <InternalController> logger,
     UserManager <ApplicationUser> userManager,
     ApplicationDbContext context,
     IOptions <ExchangeSettings> settings,
     IOptions <WalletSettings> walletSettings,
     IWalletProvider walletProvider,
     IOptions <KycSettings> kycSettings,
     IWebsocketTokens websocketTokens,
     ITripwire tripwire,
     IOptions <TripwireSettings> tripwireSettings) : base(logger, userManager, context, settings, walletProvider, kycSettings)
 {
     _walletSettings   = walletSettings.Value;
     _websocketTokens  = websocketTokens;
     _tripwire         = tripwire;
     _tripwireSettings = tripwireSettings.Value;
 }
Пример #4
0
 public AccountController(
     ILogger <AccountController> logger,
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ApplicationDbContext context,
     IEmailSender emailSender,
     IOptions <ExchangeSettings> settings,
     RoleManager <IdentityRole> roleManager,
     IOptions <KycSettings> kycSettings,
     ITripwire tripwire,
     IOptions <ApiSettings> apiSettings) : base(logger, userManager, context, settings)
 {
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _roleManager   = roleManager;
     _kycSettings   = kycSettings.Value;
     _tripwire      = tripwire;
     _apiSettings   = apiSettings.Value;
 }
Пример #5
0
 public Broker(ILogger <Broker> logger,
               ApplicationDbContext context,
               IWalletProvider walletProvider,
               IOptions <ApiSettings> apiSettings,
               UserManager <ApplicationUser> userManager,
               IOptions <ExchangeSettings> settings,
               ITripwire tripwire,
               IOptions <FiatProcessorSettings> fiatSettings,
               IEmailSender emailSender)
 {
     _logger         = logger;
     _context        = context;
     _walletProvider = walletProvider;
     _apiSettings    = apiSettings.Value;
     _userManager    = userManager;
     _settings       = settings.Value;
     _tripwire       = tripwire;
     _fiatSettings   = fiatSettings.Value;
     _emailSender    = emailSender;
 }
Пример #6
0
 public DevApiController(
     IWebHostEnvironment webhostEnvironment,
     ILogger <ApiController> logger,
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ApplicationDbContext context,
     IEmailSender emailSender,
     IOptions <ExchangeSettings> settings,
     IOptions <ApiSettings> apiSettings,
     RoleManager <IdentityRole> roleManager,
     IOptions <KycSettings> kycSettings,
     IWalletProvider walletProvider,
     ITripwire tripwire) : base(logger, userManager, context, settings, walletProvider, kycSettings)
 {
     _webhostEnvironment = webhostEnvironment;
     _signInManager      = signInManager;
     _emailSender        = emailSender;
     _roleManager        = roleManager;
     _apiSettings        = apiSettings.Value;
     _tripwire           = tripwire;
 }
Пример #7
0
 public DepositsWithdrawals(IServiceProvider services, ITripwire tripwire, ILogger <DepositsWithdrawals> logger)
 {
     _services = services;
     _tripwire = tripwire;
     _logger   = logger;
 }