From 366fcb4f9ab8c69bc6cc210bbb3961e00fd3f1fa Mon Sep 17 00:00:00 2001 From: Iliyan Iliev Date: Fri, 8 May 2020 16:03:29 +0300 Subject: [PATCH] Closes #7 --- .../MAVN.Service.Staking.Client.csproj | 2 +- .../CustomerStakesInformationResponse.cs | 2 +- .../Models/ReferralStakeRequest.cs | 2 +- .../Models/ReferralStakeResponseModel.cs | 2 +- .../Events/ReferralStakeEventBase.cs | 2 +- .../MAVN.Service.Staking.Contract.csproj | 2 +- src/MAVN.Job.Staking/Modules/JobModule.cs | 10 +++---- .../Modules/RabbitMqModule.cs | 4 +-- src/MAVN.Job.Staking/Settings/AppSettings.cs | 10 +++---- .../MAVN.Service.Staking.Domain.csproj | 2 +- .../Models/ReferralStakeModel.cs | 2 +- .../Repositories/IReferralStakesRepository.cs | 2 +- .../Services/IBlockchainEncodingService.cs | 2 +- .../Services/IMoneyFormatter.cs | 2 +- .../Services/IReferralStakesService.cs | 2 +- .../Common/BlockchainEncodingService.cs | 2 +- ...MAVN.Service.Staking.DomainServices.csproj | 15 +++++------ ...rProfileDeactivationRequestedSubscriber.cs | 4 +-- .../TransactionFailedSubscriber.cs | 4 +-- .../TransactionSucceededSubscriber.cs | 4 +-- .../Services/MoneyFormatter.cs | 2 +- .../Services/ReferralStakesService.cs | 22 ++++++++-------- .../Services/ReferralStakesStatusUpdater.cs | 12 ++++----- .../Entities/ReferralStakeEntity.cs | 2 +- .../Repositories/ReferralStakesRepository.cs | 2 +- .../Modules/RabbitMqModule.cs | 8 +++--- .../Modules/ServiceModule.cs | 10 +++---- .../Settings/AppSettings.cs | 10 +++---- .../ReferralStakesServiceTests.cs | 26 +++++++++---------- .../ReferralStakesStatusUpdatedTests.cs | 12 ++++----- 30 files changed, 91 insertions(+), 92 deletions(-) diff --git a/client/MAVN.Service.Staking.Client/MAVN.Service.Staking.Client.csproj b/client/MAVN.Service.Staking.Client/MAVN.Service.Staking.Client.csproj index d1c0a6f..98362e7 100644 --- a/client/MAVN.Service.Staking.Client/MAVN.Service.Staking.Client.csproj +++ b/client/MAVN.Service.Staking.Client/MAVN.Service.Staking.Client.csproj @@ -13,9 +13,9 @@ - + \ No newline at end of file diff --git a/client/MAVN.Service.Staking.Client/Models/CustomerStakesInformationResponse.cs b/client/MAVN.Service.Staking.Client/Models/CustomerStakesInformationResponse.cs index 3fbb292..2be343c 100644 --- a/client/MAVN.Service.Staking.Client/Models/CustomerStakesInformationResponse.cs +++ b/client/MAVN.Service.Staking.Client/Models/CustomerStakesInformationResponse.cs @@ -1,4 +1,4 @@ -using Falcon.Numerics; +using MAVN.Numerics; namespace MAVN.Service.Staking.Client.Models { diff --git a/client/MAVN.Service.Staking.Client/Models/ReferralStakeRequest.cs b/client/MAVN.Service.Staking.Client/Models/ReferralStakeRequest.cs index a13b0f5..9cc2bca 100644 --- a/client/MAVN.Service.Staking.Client/Models/ReferralStakeRequest.cs +++ b/client/MAVN.Service.Staking.Client/Models/ReferralStakeRequest.cs @@ -1,5 +1,5 @@ using System.ComponentModel.DataAnnotations; -using Falcon.Numerics; +using MAVN.Numerics; namespace MAVN.Service.Staking.Client.Models { diff --git a/client/MAVN.Service.Staking.Client/Models/ReferralStakeResponseModel.cs b/client/MAVN.Service.Staking.Client/Models/ReferralStakeResponseModel.cs index 2f16607..28705d2 100644 --- a/client/MAVN.Service.Staking.Client/Models/ReferralStakeResponseModel.cs +++ b/client/MAVN.Service.Staking.Client/Models/ReferralStakeResponseModel.cs @@ -1,5 +1,5 @@ using System; -using Falcon.Numerics; +using MAVN.Numerics; namespace MAVN.Service.Staking.Client.Models { diff --git a/contract/MAVN.Service.Staking.Contract/Events/ReferralStakeEventBase.cs b/contract/MAVN.Service.Staking.Contract/Events/ReferralStakeEventBase.cs index aaf9f0a..3a73ecb 100644 --- a/contract/MAVN.Service.Staking.Contract/Events/ReferralStakeEventBase.cs +++ b/contract/MAVN.Service.Staking.Contract/Events/ReferralStakeEventBase.cs @@ -1,5 +1,5 @@ using System; -using Falcon.Numerics; +using MAVN.Numerics; namespace MAVN.Service.Staking.Contract.Events { diff --git a/contract/MAVN.Service.Staking.Contract/MAVN.Service.Staking.Contract.csproj b/contract/MAVN.Service.Staking.Contract/MAVN.Service.Staking.Contract.csproj index d1f56a8..86637f6 100644 --- a/contract/MAVN.Service.Staking.Contract/MAVN.Service.Staking.Contract.csproj +++ b/contract/MAVN.Service.Staking.Contract/MAVN.Service.Staking.Contract.csproj @@ -5,6 +5,6 @@ 1.0.0 - + diff --git a/src/MAVN.Job.Staking/Modules/JobModule.cs b/src/MAVN.Job.Staking/Modules/JobModule.cs index 67fa183..55c3243 100644 --- a/src/MAVN.Job.Staking/Modules/JobModule.cs +++ b/src/MAVN.Job.Staking/Modules/JobModule.cs @@ -1,19 +1,19 @@ -using Autofac; +using Autofac; using Common; using JetBrains.Annotations; using Lykke.Job.Staking.Services; using Lykke.Job.Staking.Settings; using Lykke.Sdk; using Lykke.Sdk.Health; -using Lykke.Service.Campaign.Client; -using Lykke.Service.CustomerProfile.Client; -using Lykke.Service.PrivateBlockchainFacade.Client; +using MAVN.Service.Campaign.Client; +using MAVN.Service.CustomerProfile.Client; +using MAVN.Service.PrivateBlockchainFacade.Client; using MAVN.Service.Staking.Domain.RabbitMq.Handlers; using MAVN.Service.Staking.Domain.Services; using MAVN.Service.Staking.DomainServices.Common; using MAVN.Service.Staking.DomainServices.RabbitMq.Handlers; using MAVN.Service.Staking.DomainServices.Services; -using Lykke.Service.WalletManagement.Client; +using MAVN.Service.WalletManagement.Client; using Lykke.SettingsReader; namespace Lykke.Job.Staking.Modules diff --git a/src/MAVN.Job.Staking/Modules/RabbitMqModule.cs b/src/MAVN.Job.Staking/Modules/RabbitMqModule.cs index 08cd91f..4932e62 100644 --- a/src/MAVN.Job.Staking/Modules/RabbitMqModule.cs +++ b/src/MAVN.Job.Staking/Modules/RabbitMqModule.cs @@ -1,10 +1,10 @@ -using Autofac; +using Autofac; using JetBrains.Annotations; using Lykke.Common; using Lykke.Job.Staking.Settings; using Lykke.Job.Staking.Settings.JobSettings; using Lykke.RabbitMqBroker.Publisher; -using Lykke.Service.NotificationSystem.SubscriberContract; +using MAVN.Service.NotificationSystem.SubscriberContract; using MAVN.Service.Staking.Contract.Events; using MAVN.Service.Staking.DomainServices.RabbitMq.Subscribers; using Lykke.SettingsReader; diff --git a/src/MAVN.Job.Staking/Settings/AppSettings.cs b/src/MAVN.Job.Staking/Settings/AppSettings.cs index a60b9db..4e94f78 100644 --- a/src/MAVN.Job.Staking/Settings/AppSettings.cs +++ b/src/MAVN.Job.Staking/Settings/AppSettings.cs @@ -1,10 +1,10 @@ -using Lykke.Job.Staking.Settings.JobSettings; +using Lykke.Job.Staking.Settings.JobSettings; using Lykke.Job.Staking.Settings.Notifications; using Lykke.Sdk.Settings; -using Lykke.Service.Campaign.Client; -using Lykke.Service.CustomerProfile.Client; -using Lykke.Service.PrivateBlockchainFacade.Client; -using Lykke.Service.WalletManagement.Client; +using MAVN.Service.Campaign.Client; +using MAVN.Service.CustomerProfile.Client; +using MAVN.Service.PrivateBlockchainFacade.Client; +using MAVN.Service.WalletManagement.Client; namespace Lykke.Job.Staking.Settings { diff --git a/src/MAVN.Service.Staking.Domain/MAVN.Service.Staking.Domain.csproj b/src/MAVN.Service.Staking.Domain/MAVN.Service.Staking.Domain.csproj index c98dd18..b96278f 100644 --- a/src/MAVN.Service.Staking.Domain/MAVN.Service.Staking.Domain.csproj +++ b/src/MAVN.Service.Staking.Domain/MAVN.Service.Staking.Domain.csproj @@ -4,8 +4,8 @@ 1.0.0 - + diff --git a/src/MAVN.Service.Staking.Domain/Models/ReferralStakeModel.cs b/src/MAVN.Service.Staking.Domain/Models/ReferralStakeModel.cs index cebbadd..14fdfbb 100644 --- a/src/MAVN.Service.Staking.Domain/Models/ReferralStakeModel.cs +++ b/src/MAVN.Service.Staking.Domain/Models/ReferralStakeModel.cs @@ -1,5 +1,5 @@ using System; -using Falcon.Numerics; +using MAVN.Numerics; using MAVN.Service.Staking.Domain.Enums; namespace MAVN.Service.Staking.Domain.Models diff --git a/src/MAVN.Service.Staking.Domain/Repositories/IReferralStakesRepository.cs b/src/MAVN.Service.Staking.Domain/Repositories/IReferralStakesRepository.cs index 466abfd..a0018c5 100644 --- a/src/MAVN.Service.Staking.Domain/Repositories/IReferralStakesRepository.cs +++ b/src/MAVN.Service.Staking.Domain/Repositories/IReferralStakesRepository.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Falcon.Numerics; +using MAVN.Numerics; using Lykke.Common.MsSql; using MAVN.Service.Staking.Domain.Enums; using MAVN.Service.Staking.Domain.Models; diff --git a/src/MAVN.Service.Staking.Domain/Services/IBlockchainEncodingService.cs b/src/MAVN.Service.Staking.Domain/Services/IBlockchainEncodingService.cs index 40debad..6653c19 100644 --- a/src/MAVN.Service.Staking.Domain/Services/IBlockchainEncodingService.cs +++ b/src/MAVN.Service.Staking.Domain/Services/IBlockchainEncodingService.cs @@ -1,4 +1,4 @@ -using Falcon.Numerics; +using MAVN.Numerics; namespace MAVN.Service.Staking.Domain.Services { diff --git a/src/MAVN.Service.Staking.Domain/Services/IMoneyFormatter.cs b/src/MAVN.Service.Staking.Domain/Services/IMoneyFormatter.cs index 4c2342a..88bb02e 100644 --- a/src/MAVN.Service.Staking.Domain/Services/IMoneyFormatter.cs +++ b/src/MAVN.Service.Staking.Domain/Services/IMoneyFormatter.cs @@ -1,4 +1,4 @@ -using Falcon.Numerics; +using MAVN.Numerics; namespace MAVN.Service.Staking.Domain.Services { diff --git a/src/MAVN.Service.Staking.Domain/Services/IReferralStakesService.cs b/src/MAVN.Service.Staking.Domain/Services/IReferralStakesService.cs index da09910..76e2385 100644 --- a/src/MAVN.Service.Staking.Domain/Services/IReferralStakesService.cs +++ b/src/MAVN.Service.Staking.Domain/Services/IReferralStakesService.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Falcon.Numerics; +using MAVN.Numerics; using MAVN.Service.Staking.Domain.Enums; using MAVN.Service.Staking.Domain.Models; diff --git a/src/MAVN.Service.Staking.DomainServices/Common/BlockchainEncodingService.cs b/src/MAVN.Service.Staking.DomainServices/Common/BlockchainEncodingService.cs index 68ed269..b1eb409 100644 --- a/src/MAVN.Service.Staking.DomainServices/Common/BlockchainEncodingService.cs +++ b/src/MAVN.Service.Staking.DomainServices/Common/BlockchainEncodingService.cs @@ -1,4 +1,4 @@ -using Falcon.Numerics; +using MAVN.Numerics; using MAVN.PrivateBlockchain.Definitions; using MAVN.Service.Staking.Domain.Services; using Nethereum.ABI.FunctionEncoding; diff --git a/src/MAVN.Service.Staking.DomainServices/MAVN.Service.Staking.DomainServices.csproj b/src/MAVN.Service.Staking.DomainServices/MAVN.Service.Staking.DomainServices.csproj index 7397df7..23541e6 100644 --- a/src/MAVN.Service.Staking.DomainServices/MAVN.Service.Staking.DomainServices.csproj +++ b/src/MAVN.Service.Staking.DomainServices/MAVN.Service.Staking.DomainServices.csproj @@ -6,17 +6,16 @@ - - - - - - - - + + + + + + + diff --git a/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/CustomerProfileDeactivationRequestedSubscriber.cs b/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/CustomerProfileDeactivationRequestedSubscriber.cs index 53ca54b..e669721 100644 --- a/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/CustomerProfileDeactivationRequestedSubscriber.cs +++ b/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/CustomerProfileDeactivationRequestedSubscriber.cs @@ -1,8 +1,8 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Common.Log; using Lykke.Common.Log; using Lykke.RabbitMqBroker.Subscriber; -using Lykke.Service.CustomerProfile.Contract; +using MAVN.Service.CustomerProfile.Contract; using MAVN.Service.Staking.Domain.RabbitMq.Handlers; namespace MAVN.Service.Staking.DomainServices.RabbitMq.Subscribers diff --git a/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/TransactionFailedSubscriber.cs b/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/TransactionFailedSubscriber.cs index 66facb9..c0a451e 100644 --- a/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/TransactionFailedSubscriber.cs +++ b/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/TransactionFailedSubscriber.cs @@ -1,8 +1,8 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Common.Log; using Lykke.Common.Log; using Lykke.RabbitMqBroker.Subscriber; -using Lykke.Service.PrivateBlockchainFacade.Contract.Events; +using MAVN.Service.PrivateBlockchainFacade.Contract.Events; using MAVN.Service.Staking.Domain.RabbitMq.Handlers; namespace MAVN.Service.Staking.DomainServices.RabbitMq.Subscribers diff --git a/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/TransactionSucceededSubscriber.cs b/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/TransactionSucceededSubscriber.cs index 7735fc5..704c8d2 100644 --- a/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/TransactionSucceededSubscriber.cs +++ b/src/MAVN.Service.Staking.DomainServices/RabbitMq/Subscribers/TransactionSucceededSubscriber.cs @@ -1,8 +1,8 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Common.Log; using Lykke.Common.Log; using Lykke.RabbitMqBroker.Subscriber; -using Lykke.Service.PrivateBlockchainFacade.Contract.Events; +using MAVN.Service.PrivateBlockchainFacade.Contract.Events; using MAVN.Service.Staking.Domain.RabbitMq.Handlers; namespace MAVN.Service.Staking.DomainServices.RabbitMq.Subscribers diff --git a/src/MAVN.Service.Staking.DomainServices/Services/MoneyFormatter.cs b/src/MAVN.Service.Staking.DomainServices/Services/MoneyFormatter.cs index 26bdd3d..420904b 100644 --- a/src/MAVN.Service.Staking.DomainServices/Services/MoneyFormatter.cs +++ b/src/MAVN.Service.Staking.DomainServices/Services/MoneyFormatter.cs @@ -1,5 +1,5 @@ using System.Globalization; -using Falcon.Numerics; +using MAVN.Numerics; using MAVN.Service.Staking.Domain.Services; namespace MAVN.Service.Staking.DomainServices.Services diff --git a/src/MAVN.Service.Staking.DomainServices/Services/ReferralStakesService.cs b/src/MAVN.Service.Staking.DomainServices/Services/ReferralStakesService.cs index b57da15..17a3314 100644 --- a/src/MAVN.Service.Staking.DomainServices/Services/ReferralStakesService.cs +++ b/src/MAVN.Service.Staking.DomainServices/Services/ReferralStakesService.cs @@ -1,25 +1,25 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; using Common.Log; -using Falcon.Numerics; +using MAVN.Numerics; using Lykke.Common; using Lykke.Common.Log; using Lykke.Common.MsSql; using Lykke.RabbitMqBroker.Publisher; -using Lykke.Service.Campaign.Client; -using Lykke.Service.Campaign.Client.Models.Enums; -using Lykke.Service.CustomerProfile.Client; -using Lykke.Service.CustomerProfile.Client.Models.Enums; -using Lykke.Service.NotificationSystem.SubscriberContract; -using Lykke.Service.PrivateBlockchainFacade.Client; -using Lykke.Service.PrivateBlockchainFacade.Client.Models; +using MAVN.Service.Campaign.Client; +using MAVN.Service.Campaign.Client.Models.Enums; +using MAVN.Service.CustomerProfile.Client; +using MAVN.Service.CustomerProfile.Client.Models.Enums; +using MAVN.Service.NotificationSystem.SubscriberContract; +using MAVN.Service.PrivateBlockchainFacade.Client; +using MAVN.Service.PrivateBlockchainFacade.Client.Models; using MAVN.Service.Staking.Domain.Enums; using MAVN.Service.Staking.Domain.Models; using MAVN.Service.Staking.Domain.Repositories; using MAVN.Service.Staking.Domain.Services; -using Lykke.Service.WalletManagement.Client; -using Lykke.Service.WalletManagement.Client.Enums; +using MAVN.Service.WalletManagement.Client; +using MAVN.Service.WalletManagement.Client.Enums; namespace MAVN.Service.Staking.DomainServices.Services { diff --git a/src/MAVN.Service.Staking.DomainServices/Services/ReferralStakesStatusUpdater.cs b/src/MAVN.Service.Staking.DomainServices/Services/ReferralStakesStatusUpdater.cs index 7115b7e..5dd6fa6 100644 --- a/src/MAVN.Service.Staking.DomainServices/Services/ReferralStakesStatusUpdater.cs +++ b/src/MAVN.Service.Staking.DomainServices/Services/ReferralStakesStatusUpdater.cs @@ -1,17 +1,17 @@ -using System; +using System; using System.Threading.Tasks; -using Falcon.Numerics; +using MAVN.Numerics; using Lykke.Common.MsSql; using Lykke.RabbitMqBroker.Publisher; -using Lykke.Service.PrivateBlockchainFacade.Client; -using Lykke.Service.PrivateBlockchainFacade.Client.Models; +using MAVN.Service.PrivateBlockchainFacade.Client; +using MAVN.Service.PrivateBlockchainFacade.Client.Models; using MAVN.Service.Staking.Contract.Events; using MAVN.Service.Staking.Domain.Enums; using MAVN.Service.Staking.Domain.Models; using MAVN.Service.Staking.Domain.Repositories; using MAVN.Service.Staking.Domain.Services; -using Lykke.Service.WalletManagement.Client; -using Lykke.Service.WalletManagement.Client.Enums; +using MAVN.Service.WalletManagement.Client; +using MAVN.Service.WalletManagement.Client.Enums; namespace MAVN.Service.Staking.DomainServices.Services { diff --git a/src/MAVN.Service.Staking.MsSqlRepositories/Entities/ReferralStakeEntity.cs b/src/MAVN.Service.Staking.MsSqlRepositories/Entities/ReferralStakeEntity.cs index 885faba..a5f3ac4 100644 --- a/src/MAVN.Service.Staking.MsSqlRepositories/Entities/ReferralStakeEntity.cs +++ b/src/MAVN.Service.Staking.MsSqlRepositories/Entities/ReferralStakeEntity.cs @@ -1,7 +1,7 @@ using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; -using Falcon.Numerics; +using MAVN.Numerics; using MAVN.Service.Staking.Domain.Enums; using MAVN.Service.Staking.Domain.Models; diff --git a/src/MAVN.Service.Staking.MsSqlRepositories/Repositories/ReferralStakesRepository.cs b/src/MAVN.Service.Staking.MsSqlRepositories/Repositories/ReferralStakesRepository.cs index 845c725..b1f359d 100644 --- a/src/MAVN.Service.Staking.MsSqlRepositories/Repositories/ReferralStakesRepository.cs +++ b/src/MAVN.Service.Staking.MsSqlRepositories/Repositories/ReferralStakesRepository.cs @@ -3,7 +3,7 @@ using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; -using Falcon.Numerics; +using MAVN.Numerics; using Lykke.Common.MsSql; using MAVN.Service.Staking.Domain.Enums; using MAVN.Service.Staking.Domain.Models; diff --git a/src/MAVN.Service.Staking/Modules/RabbitMqModule.cs b/src/MAVN.Service.Staking/Modules/RabbitMqModule.cs index 63089d9..4d65bb5 100644 --- a/src/MAVN.Service.Staking/Modules/RabbitMqModule.cs +++ b/src/MAVN.Service.Staking/Modules/RabbitMqModule.cs @@ -1,10 +1,10 @@ -using Autofac; +using Autofac; using JetBrains.Annotations; using Lykke.RabbitMqBroker.Publisher; using Lykke.RabbitMqBroker.Subscriber; -using Lykke.Service.CustomerProfile.Contract; -using Lykke.Service.NotificationSystem.SubscriberContract; -using Lykke.Service.PrivateBlockchainFacade.Contract.Events; +using MAVN.Service.CustomerProfile.Contract; +using MAVN.Service.NotificationSystem.SubscriberContract; +using MAVN.Service.PrivateBlockchainFacade.Contract.Events; using MAVN.Service.Staking.Contract.Events; using MAVN.Service.Staking.DomainServices.RabbitMq.Subscribers; using MAVN.Service.Staking.Settings; diff --git a/src/MAVN.Service.Staking/Modules/ServiceModule.cs b/src/MAVN.Service.Staking/Modules/ServiceModule.cs index 048a76a..62908f1 100644 --- a/src/MAVN.Service.Staking/Modules/ServiceModule.cs +++ b/src/MAVN.Service.Staking/Modules/ServiceModule.cs @@ -1,9 +1,9 @@ -using Autofac; +using Autofac; using JetBrains.Annotations; using Lykke.Sdk; -using Lykke.Service.Campaign.Client; -using Lykke.Service.CustomerProfile.Client; -using Lykke.Service.PrivateBlockchainFacade.Client; +using MAVN.Service.Campaign.Client; +using MAVN.Service.CustomerProfile.Client; +using MAVN.Service.PrivateBlockchainFacade.Client; using MAVN.Service.Staking.Domain.RabbitMq.Handlers; using MAVN.Service.Staking.Domain.Services; using MAVN.Service.Staking.DomainServices.Common; @@ -11,7 +11,7 @@ using MAVN.Service.Staking.DomainServices.Services; using MAVN.Service.Staking.Services; using MAVN.Service.Staking.Settings; -using Lykke.Service.WalletManagement.Client; +using MAVN.Service.WalletManagement.Client; using Lykke.SettingsReader; namespace MAVN.Service.Staking.Modules diff --git a/src/MAVN.Service.Staking/Settings/AppSettings.cs b/src/MAVN.Service.Staking/Settings/AppSettings.cs index db4a5d4..58caf62 100644 --- a/src/MAVN.Service.Staking/Settings/AppSettings.cs +++ b/src/MAVN.Service.Staking/Settings/AppSettings.cs @@ -1,10 +1,10 @@ -using JetBrains.Annotations; +using JetBrains.Annotations; using Lykke.Sdk.Settings; -using Lykke.Service.Campaign.Client; -using Lykke.Service.CustomerProfile.Client; -using Lykke.Service.PrivateBlockchainFacade.Client; +using MAVN.Service.Campaign.Client; +using MAVN.Service.CustomerProfile.Client; +using MAVN.Service.PrivateBlockchainFacade.Client; using MAVN.Service.Staking.Settings.Notifications; -using Lykke.Service.WalletManagement.Client; +using MAVN.Service.WalletManagement.Client; namespace MAVN.Service.Staking.Settings { diff --git a/tests/MAVN.Service.Staking.Tests/ReferralStakesServiceTests.cs b/tests/MAVN.Service.Staking.Tests/ReferralStakesServiceTests.cs index 90cd1a3..a6eb065 100644 --- a/tests/MAVN.Service.Staking.Tests/ReferralStakesServiceTests.cs +++ b/tests/MAVN.Service.Staking.Tests/ReferralStakesServiceTests.cs @@ -1,26 +1,26 @@ -using System; +using System; using System.Threading.Tasks; using Lykke.Common.MsSql; using Lykke.Logs; using Lykke.RabbitMqBroker.Publisher; -using Lykke.Service.Campaign.Client; -using Lykke.Service.Campaign.Client.Models.Campaign.Responses; -using Lykke.Service.Campaign.Client.Models.Enums; -using Lykke.Service.CustomerProfile.Client; -using Lykke.Service.CustomerProfile.Client.Models.Enums; -using Lykke.Service.CustomerProfile.Client.Models.Responses; -using Lykke.Service.NotificationSystem.SubscriberContract; -using Lykke.Service.PrivateBlockchainFacade.Client; -using Lykke.Service.PrivateBlockchainFacade.Client.Models; +using MAVN.Service.Campaign.Client; +using MAVN.Service.Campaign.Client.Models.Campaign.Responses; +using MAVN.Service.Campaign.Client.Models.Enums; +using MAVN.Service.CustomerProfile.Client; +using MAVN.Service.CustomerProfile.Client.Models.Enums; +using MAVN.Service.CustomerProfile.Client.Models.Responses; +using MAVN.Service.NotificationSystem.SubscriberContract; +using MAVN.Service.PrivateBlockchainFacade.Client; +using MAVN.Service.PrivateBlockchainFacade.Client.Models; using MAVN.Service.Staking.Domain.Enums; using MAVN.Service.Staking.Domain.Models; using MAVN.Service.Staking.Domain.Repositories; using MAVN.Service.Staking.Domain.Services; using MAVN.Service.Staking.DomainServices.Services; using MAVN.Service.Staking.MsSqlRepositories; -using Lykke.Service.WalletManagement.Client; -using Lykke.Service.WalletManagement.Client.Enums; -using Lykke.Service.WalletManagement.Client.Models.Responses; +using MAVN.Service.WalletManagement.Client; +using MAVN.Service.WalletManagement.Client.Enums; +using MAVN.Service.WalletManagement.Client.Models.Responses; using Moq; using Xunit; diff --git a/tests/MAVN.Service.Staking.Tests/ReferralStakesStatusUpdatedTests.cs b/tests/MAVN.Service.Staking.Tests/ReferralStakesStatusUpdatedTests.cs index 162a761..cf56ec7 100644 --- a/tests/MAVN.Service.Staking.Tests/ReferralStakesStatusUpdatedTests.cs +++ b/tests/MAVN.Service.Staking.Tests/ReferralStakesStatusUpdatedTests.cs @@ -1,9 +1,9 @@ -using System; +using System; using System.Threading.Tasks; using Lykke.Common.MsSql; using Lykke.RabbitMqBroker.Publisher; -using Lykke.Service.PrivateBlockchainFacade.Client; -using Lykke.Service.PrivateBlockchainFacade.Client.Models; +using MAVN.Service.PrivateBlockchainFacade.Client; +using MAVN.Service.PrivateBlockchainFacade.Client.Models; using MAVN.Service.Staking.Contract.Events; using MAVN.Service.Staking.Domain.Enums; using MAVN.Service.Staking.Domain.Models; @@ -11,9 +11,9 @@ using MAVN.Service.Staking.Domain.Services; using MAVN.Service.Staking.DomainServices.Services; using MAVN.Service.Staking.MsSqlRepositories; -using Lykke.Service.WalletManagement.Client; -using Lykke.Service.WalletManagement.Client.Enums; -using Lykke.Service.WalletManagement.Client.Models.Responses; +using MAVN.Service.WalletManagement.Client; +using MAVN.Service.WalletManagement.Client.Enums; +using MAVN.Service.WalletManagement.Client.Models.Responses; using Moq; using Xunit;