Skip to content

Commit 117a591

Browse files
authored
Merge pull request #695 from Adamant-im/trello.com/c/kie7Tdnq
[trello.com/c/kie7Tdnq] Create service to manage all alive secret wallets
2 parents b27dd3e + 212c7b4 commit 117a591

21 files changed

+391
-90
lines changed

Adamant.xcodeproj/project.pbxproj

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,12 @@
187187
41CA598C29A0D84F002BFDE4 /* TaskManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41CA598B29A0D84F002BFDE4 /* TaskManager.swift */; };
188188
41CE153A297FF98200CC9254 /* Web3Swift+Adamant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41CE1539297FF98200CC9254 /* Web3Swift+Adamant.swift */; };
189189
41E3C9CC2A0E20F500AF0985 /* AdamantCoinTools.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41E3C9CB2A0E20F500AF0985 /* AdamantCoinTools.swift */; };
190+
4803FC9A2D6715AF00452D2C /* SecretWalletsFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4803FC992D6715AF00452D2C /* SecretWalletsFactory.swift */; };
191+
481558702D65A7660011B470 /* SecretWalletsService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4815586F2D65A7660011B470 /* SecretWalletsService.swift */; };
192+
481558722D65A7BD0011B470 /* SecretWalletsManagerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 481558712D65A7BD0011B470 /* SecretWalletsManagerProtocol.swift */; };
193+
48B6A8EB2D5738D800326EE8 /* WalletsStoreService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48B6A8EA2D5738D800326EE8 /* WalletsStoreService.swift */; };
194+
48B6A8ED2D57390400326EE8 /* AdamantWalletsStoreService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48B6A8EC2D57390400326EE8 /* AdamantWalletsStoreService.swift */; };
195+
48B6A8EF2D573A3C00326EE8 /* AdamantWalletStoreServiceProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48B6A8EE2D573A3C00326EE8 /* AdamantWalletStoreServiceProvider.swift */; };
190196
48DA2FCF2D4A0519008F9FC1 /* AccountWalletsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48DA2FCE2D4A0519008F9FC1 /* AccountWalletsViewModel.swift */; };
191197
48DA2FD12D4A054E008F9FC1 /* AccountWalletsState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48DA2FD02D4A054E008F9FC1 /* AccountWalletsState.swift */; };
192198
48DA2FD62D4A58D8008F9FC1 /* WalletCollectionViewCell+Model.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48DA2FD52D4A58D8008F9FC1 /* WalletCollectionViewCell+Model.swift */; };
@@ -481,14 +487,14 @@
481487
AA8FFFC42D4C1174001D8576 /* NativeAdamantCoreTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA8FFFC32D4C1168001D8576 /* NativeAdamantCoreTests.swift */; };
482488
AA8FFFCA2D4E6435001D8576 /* CryptoSwift in Frameworks */ = {isa = PBXBuildFile; productRef = AA8FFFC92D4E6435001D8576 /* CryptoSwift */; };
483489
AA8FFFCC2D50D503001D8576 /* NodeOrigin+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA8FFFCB2D50D4F8001D8576 /* NodeOrigin+Extensions.swift */; };
484-
AA8FFFE32D513681001D8576 /* CustomFieldRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA8FFFE22D513670001D8576 /* CustomFieldRow.swift */; };
485-
AA8FFFE52D513787001D8576 /* EdgeInsetTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA8FFFE42D513780001D8576 /* EdgeInsetTextField.swift */; };
486490
AA8FFFD52D50DCEF001D8576 /* dash_send_transation_response.json in Resources */ = {isa = PBXBuildFile; fileRef = AA8FFFD42D50DCE4001D8576 /* dash_send_transation_response.json */; };
487491
AA8FFFD72D50DD0E001D8576 /* Data+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA8FFFD62D50DD07001D8576 /* Data+Extensions.swift */; };
488492
AA8FFFD82D50DF63001D8576 /* dash_unspent_transaction_intergration_test.json in Resources */ = {isa = PBXBuildFile; fileRef = AA8FFFD22D50DC0C001D8576 /* dash_unspent_transaction_intergration_test.json */; };
489493
AA8FFFDA2D50DFB2001D8576 /* dash_unspent_transaction_unit_test.json in Resources */ = {isa = PBXBuildFile; fileRef = AA8FFFD92D50DFA3001D8576 /* dash_unspent_transaction_unit_test.json */; };
490494
AA8FFFDC2D50E079001D8576 /* dash_unverified_unspent_transactions.json in Resources */ = {isa = PBXBuildFile; fileRef = AA8FFFDB2D50E063001D8576 /* dash_unverified_unspent_transactions.json */; };
491495
AA8FFFE12D50E175001D8576 /* dash_send_transaction_unit_response.json in Resources */ = {isa = PBXBuildFile; fileRef = AA8FFFDF2D50E13F001D8576 /* dash_send_transaction_unit_response.json */; };
496+
AA8FFFE32D513681001D8576 /* CustomFieldRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA8FFFE22D513670001D8576 /* CustomFieldRow.swift */; };
497+
AA8FFFE52D513787001D8576 /* EdgeInsetTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA8FFFE42D513780001D8576 /* EdgeInsetTextField.swift */; };
492498
AAB01CAD2D3AE44B007D6BF4 /* BitcoinKitTransactionFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = AAB01CAC2D3AE449007D6BF4 /* BitcoinKitTransactionFactory.swift */; };
493499
AAB01CAF2D3AECED007D6BF4 /* DogeWalletServiceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AAB01CAE2D3AECE6007D6BF4 /* DogeWalletServiceTests.swift */; };
494500
AAB01CB12D3AF01B007D6BF4 /* DogeApiServiceProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = AAB01CB02D3AF015007D6BF4 /* DogeApiServiceProtocol.swift */; };
@@ -913,6 +919,12 @@
913919
41CA598B29A0D84F002BFDE4 /* TaskManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TaskManager.swift; sourceTree = "<group>"; };
914920
41CE1539297FF98200CC9254 /* Web3Swift+Adamant.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Web3Swift+Adamant.swift"; sourceTree = "<group>"; };
915921
41E3C9CB2A0E20F500AF0985 /* AdamantCoinTools.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AdamantCoinTools.swift; sourceTree = "<group>"; };
922+
4803FC992D6715AF00452D2C /* SecretWalletsFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecretWalletsFactory.swift; sourceTree = "<group>"; };
923+
4815586F2D65A7660011B470 /* SecretWalletsService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecretWalletsService.swift; sourceTree = "<group>"; };
924+
481558712D65A7BD0011B470 /* SecretWalletsManagerProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecretWalletsManagerProtocol.swift; sourceTree = "<group>"; };
925+
48B6A8EA2D5738D800326EE8 /* WalletsStoreService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletsStoreService.swift; sourceTree = "<group>"; };
926+
48B6A8EC2D57390400326EE8 /* AdamantWalletsStoreService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AdamantWalletsStoreService.swift; sourceTree = "<group>"; };
927+
48B6A8EE2D573A3C00326EE8 /* AdamantWalletStoreServiceProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AdamantWalletStoreServiceProvider.swift; sourceTree = "<group>"; };
916928
48DA2FCE2D4A0519008F9FC1 /* AccountWalletsViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountWalletsViewModel.swift; sourceTree = "<group>"; };
917929
48DA2FD02D4A054E008F9FC1 /* AccountWalletsState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountWalletsState.swift; sourceTree = "<group>"; };
918930
48DA2FD52D4A58D8008F9FC1 /* WalletCollectionViewCell+Model.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WalletCollectionViewCell+Model.swift"; sourceTree = "<group>"; };
@@ -1175,14 +1187,14 @@
11751187
AA8FFFBF2D4AC00B001D8576 /* AdamantCoreMock.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AdamantCoreMock.swift; sourceTree = "<group>"; };
11761188
AA8FFFC32D4C1168001D8576 /* NativeAdamantCoreTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NativeAdamantCoreTests.swift; sourceTree = "<group>"; };
11771189
AA8FFFCB2D50D4F8001D8576 /* NodeOrigin+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NodeOrigin+Extensions.swift"; sourceTree = "<group>"; };
1178-
AA8FFFE22D513670001D8576 /* CustomFieldRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomFieldRow.swift; sourceTree = "<group>"; };
1179-
AA8FFFE42D513780001D8576 /* EdgeInsetTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EdgeInsetTextField.swift; sourceTree = "<group>"; };
11801190
AA8FFFD22D50DC0C001D8576 /* dash_unspent_transaction_intergration_test.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = dash_unspent_transaction_intergration_test.json; sourceTree = "<group>"; };
11811191
AA8FFFD42D50DCE4001D8576 /* dash_send_transation_response.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = dash_send_transation_response.json; sourceTree = "<group>"; };
11821192
AA8FFFD62D50DD07001D8576 /* Data+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Data+Extensions.swift"; sourceTree = "<group>"; };
11831193
AA8FFFD92D50DFA3001D8576 /* dash_unspent_transaction_unit_test.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = dash_unspent_transaction_unit_test.json; sourceTree = "<group>"; };
11841194
AA8FFFDB2D50E063001D8576 /* dash_unverified_unspent_transactions.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = dash_unverified_unspent_transactions.json; sourceTree = "<group>"; };
11851195
AA8FFFDF2D50E13F001D8576 /* dash_send_transaction_unit_response.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = dash_send_transaction_unit_response.json; sourceTree = "<group>"; };
1196+
AA8FFFE22D513670001D8576 /* CustomFieldRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomFieldRow.swift; sourceTree = "<group>"; };
1197+
AA8FFFE42D513780001D8576 /* EdgeInsetTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EdgeInsetTextField.swift; sourceTree = "<group>"; };
11861198
AAB01CAC2D3AE449007D6BF4 /* BitcoinKitTransactionFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BitcoinKitTransactionFactory.swift; sourceTree = "<group>"; };
11871199
AAB01CAE2D3AECE6007D6BF4 /* DogeWalletServiceTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DogeWalletServiceTests.swift; sourceTree = "<group>"; };
11881200
AAB01CB02D3AF015007D6BF4 /* DogeApiServiceProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DogeApiServiceProtocol.swift; sourceTree = "<group>"; };
@@ -2573,7 +2585,9 @@
25732585
E93D7ABD2052CEE1005D19DC /* NotificationsService.swift */,
25742586
E9215972206119FB0000CA5C /* ReachabilityMonitor.swift */,
25752587
9304F8C1292F895C00173F18 /* PushNotificationsTokenService.swift */,
2588+
481558712D65A7BD0011B470 /* SecretWalletsManagerProtocol.swift */,
25762589
41047B73294C61D10039E956 /* VisibleWalletsService.swift */,
2590+
48B6A8EA2D5738D800326EE8 /* WalletsStoreService.swift */,
25772591
4153045A29C09C6C000E4BEA /* IncreaseFeeService.swift */,
25782592
4184F1742A33106200D7B8B9 /* CrashlysticsService.swift */,
25792593
3A9015A42A614A18002A2464 /* EmojiService.swift */,
@@ -2608,8 +2622,11 @@
26082622
E9E7CDBF2003AF6D00DFC4DB /* AdamantCellFactory.swift */,
26092623
E93D7ABF2052CF63005D19DC /* AdamantNotificationService.swift */,
26102624
41047B75294C62710039E956 /* AdamantVisibleWalletsService.swift */,
2625+
4815586F2D65A7660011B470 /* SecretWalletsService.swift */,
26112626
4153045829C09902000E4BEA /* AdamantIncreaseFeeService.swift */,
2627+
4803FC992D6715AF00452D2C /* SecretWalletsFactory.swift */,
26122628
4184F1722A33102800D7B8B9 /* AdamantCrashlysticsService.swift */,
2629+
48B6A8EC2D57390400326EE8 /* AdamantWalletsStoreService.swift */,
26132630
3A9015A62A614A62002A2464 /* AdamantEmojiService.swift */,
26142631
3A7BD00F2AA9BD030045AAB0 /* AdamantVibroService.swift */,
26152632
E921597420611A6A0000CA5C /* AdamantReachability.swift */,
@@ -3040,6 +3057,7 @@
30403057
4164A9D828F17DA700EEF16D /* AdamantChatTransactionService.swift */,
30413058
E9722067201F42CC004F2AAD /* InMemoryCoreDataStack.swift */,
30423059
93760BD62C656CF8002507C3 /* DefaultNodesProvider.swift */,
3060+
48B6A8EE2D573A3C00326EE8 /* AdamantWalletStoreServiceProvider.swift */,
30433061
);
30443062
path = DataProviders;
30453063
sourceTree = "<group>";
@@ -3599,6 +3617,7 @@
35993617
4186B332294200B4006594A3 /* BtcWalletService+DynamicConstants.swift in Sources */,
36003618
3AFE7E432B19E4D900718739 /* WalletServiceCompose.swift in Sources */,
36013619
3A26D93D2C3C1CC3003AD832 /* KlyNodeApiService.swift in Sources */,
3620+
4803FC9A2D6715AF00452D2C /* SecretWalletsFactory.swift in Sources */,
36023621
93A118512993167500E144CC /* ChatMessageBackgroundColor.swift in Sources */,
36033622
93760BD72C656CF8002507C3 /* DefaultNodesProvider.swift in Sources */,
36043623
3A26D93B2C3C1C97003AD832 /* KlyApiCore.swift in Sources */,
@@ -3664,6 +3683,7 @@
36643683
AAC6413D2D40456700619DFE /* KlyNodeApiServiceProtocol.swift in Sources */,
36653684
932F77592989F999006D8801 /* ChatCellManager.swift in Sources */,
36663685
9377FBE2296C2ACA00C9211B /* ChatTransactionContentView+Model.swift in Sources */,
3686+
48B6A8EB2D5738D800326EE8 /* WalletsStoreService.swift in Sources */,
36673687
E933475B225539390083839E /* DogeGetTransactionsResponse.swift in Sources */,
36683688
9340078029AC341100A20622 /* ChatAction.swift in Sources */,
36693689
648DD7A02236A59200B811FD /* DogeTransactionDetailsViewController.swift in Sources */,
@@ -3735,12 +3755,14 @@
37353755
3A9015A92A615893002A2464 /* ChatMessagesListViewModel.swift in Sources */,
37363756
936658952B0AC15300BDB2D3 /* Node+UI.swift in Sources */,
37373757
26A976012B7E852E0095C367 /* ChatSelectTextViewFactory.swift in Sources */,
3758+
48B6A8ED2D57390400326EE8 /* AdamantWalletsStoreService.swift in Sources */,
37383759
41A1995429D56E340031AD75 /* ChatMessageReplyCell.swift in Sources */,
37393760
93294B872AAD0E0A00911109 /* AdmWallet.swift in Sources */,
37403761
6449BA6B235CA0930033B936 /* ERC20TransactionDetailsViewController.swift in Sources */,
37413762
E907350E2256779C00BF02CC /* DogeMainnet.swift in Sources */,
37423763
3A299C732B83975D00B54C61 /* ChatMediaContnentView+Model.swift in Sources */,
37433764
93ED214A2CC3555500AA1FC8 /* TxStatusServiceProtocol.swift in Sources */,
3765+
48B6A8EF2D573A3C00326EE8 /* AdamantWalletStoreServiceProvider.swift in Sources */,
37443766
41CE153A297FF98200CC9254 /* Web3Swift+Adamant.swift in Sources */,
37453767
93CC8DC9296F01DE003772BF /* ChatTransactionContainerView+Model.swift in Sources */,
37463768
E9147B6F205088DE00145913 /* LoginViewController+Pinpad.swift in Sources */,
@@ -3773,6 +3795,7 @@
37733795
A50A41142822FC35006BDFE1 /* BtcTransferViewController.swift in Sources */,
37743796
93294B8E2AAD2C6B00911109 /* SwiftyOnboardPage.swift in Sources */,
37753797
E971591A21681D6900A5F904 /* TransactionStatus.swift in Sources */,
3798+
481558702D65A7660011B470 /* SecretWalletsService.swift in Sources */,
37763799
648CE3A022999C890070A2CC /* BaseBtcTransaction.swift in Sources */,
37773800
A50A410A2822F8CE006BDFE1 /* BtcWallet.swift in Sources */,
37783801
E908472C2196FEA80095825D /* CoreDataAccount+CoreDataClass.swift in Sources */,
@@ -3977,6 +4000,7 @@
39774000
E98FC34420F920BD00032D65 /* UIFont+adamant.swift in Sources */,
39784001
644EC35720EFAAB700F40C73 /* DelegatesListViewController.swift in Sources */,
39794002
4153045B29C09C6C000E4BEA /* IncreaseFeeService.swift in Sources */,
4003+
481558722D65A7BD0011B470 /* SecretWalletsManagerProtocol.swift in Sources */,
39804004
E9C51EF12013F18000385EB7 /* NewChatViewController.swift in Sources */,
39814005
E9B4E1A8210F079E007E77FC /* DoubleDetailsTableViewCell.swift in Sources */,
39824006
E9502740202E257E002C1098 /* RepeaterService.swift in Sources */,

Adamant/App/AppDelegate.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
5757
var dialogService: DialogService!
5858
var addressBookService: AddressBookService!
5959
var pushNotificationsTokenService: PushNotificationsTokenService!
60-
var visibleWalletsService: VisibleWalletsService!
6160

6261
// MARK: - Lifecycle
6362

@@ -70,7 +69,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
7069
dialogService = container.resolve(DialogService.self)
7170
addressBookService = container.resolve(AddressBookService.self)
7271
pushNotificationsTokenService = container.resolve(PushNotificationsTokenService.self)
73-
visibleWalletsService = container.resolve(VisibleWalletsService.self)
7472

7573
// MARK: 1.1 Configure Firebase if needed
7674

Adamant/App/DI/AppAssembly.swift

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ struct AppAssembly: MainThreadAssembly {
2626
}
2727

2828
// MARK: CellFactory
29-
container.register(CellFactory.self) { _ in AdamantCellFactory() }.inObjectScope(.container)
29+
container.register(CellFactory.self) { _ in
30+
AdamantCellFactory()
31+
}.inObjectScope(.container)
3032

3133
// MARK: Secured Store
3234
container.register(SecuredStore.self) { _ in
@@ -72,6 +74,36 @@ struct AppAssembly: MainThreadAssembly {
7274
)
7375
}.inObjectScope(.container)
7476

77+
// MARK: WalletStoreServiceProtocol
78+
container.register(WalletStoreServiceProtocol.self) { r in
79+
AdamantWalletStoreService(
80+
visibleWalletsService: r.resolve(VisibleWalletsService.self)!,
81+
walletServiceCompose: r.resolve(WalletServiceCompose.self)!
82+
)
83+
}.inObjectScope(.container)
84+
85+
// MARK: Secret Wallets
86+
container.register(SecretWalletsFactory.self) { r in
87+
SecretWalletsFactory(
88+
visibleWalletsService: r.resolve(VisibleWalletsService.self)!,
89+
accountService: r.resolve(AccountService.self)!,
90+
securedStore: r.resolve(SecuredStore.self)!
91+
)
92+
}.inObjectScope(.container)
93+
94+
container.register(SecretWalletsManagerProtocol.self) { r in
95+
AdamantSecretWalletsManager(
96+
walletsStoreService: r.resolve(WalletStoreServiceProtocol.self)!,
97+
secretWalletsFactory: r.resolve(SecretWalletsFactory.self)!
98+
)
99+
}.inObjectScope(.container)
100+
101+
container.register(WalletStoreServiceProviderProtocol.self) { r in
102+
AdamantWalletStoreServiceProvider(
103+
secretWalletsManager: r.resolve(SecretWalletsManagerProtocol.self)!
104+
)
105+
}.inObjectScope(.container)
106+
75107
// MARK: IncreaseFeeService
76108
container.register(IncreaseFeeService.self) { r in
77109
AdamantIncreaseFeeService(
@@ -275,7 +307,7 @@ struct AppAssembly: MainThreadAssembly {
275307
guard let service = c as? AdamantAccountService else { return }
276308
service.notificationsService = r.resolve(NotificationsService.self)!
277309
service.pushNotificationsTokenService = r.resolve(PushNotificationsTokenService.self)!
278-
service.visibleWalletService = r.resolve(VisibleWalletsService.self)!
310+
service.walletsStoreService = r.resolve(WalletStoreServiceProtocol.self)!
279311
}
280312

281313
// MARK: AddressBookServeice

Adamant/Modules/Account/AccountFactory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ struct AccountFactory {
1515

1616
func makeViewController(screensFactory: ScreensFactory) -> UIViewController {
1717
AccountViewController(
18-
visibleWalletsService: assembler.resolve(VisibleWalletsService.self)!,
18+
walletStoreServiceProvider: assembler.resolve(WalletStoreServiceProviderProtocol.self)!,
1919
accountService: assembler.resolve(AccountService.self)!,
2020
dialogService: assembler.resolve(DialogService.self)!,
2121
screensFactory: screensFactory,

0 commit comments

Comments
 (0)