Skip to content

Commit e961bbd

Browse files
committed
Update transaction source to use different tx urls.
1 parent fe21813 commit e961bbd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

UnstoppableWallet/UnstoppableWallet.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14463,7 +14463,7 @@
1446314463
repositoryURL = "https://github.com/horizontalsystems/EvmKit.Swift";
1446414464
requirement = {
1446514465
kind = exactVersion;
14466-
version = 2.4.1;
14466+
version = 2.4.2;
1446714467
};
1446814468
};
1446914469
D3604E4828F02A8B0066C366 /* XCRemoteSwiftPackageReference "Eip20Kit" */ = {

UnstoppableWallet/UnstoppableWallet/Core/Managers/EvmSyncSourceManager.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ class EvmSyncSourceManager {
2121
private func defaultTransactionSource(blockchainType: BlockchainType) -> EvmKit.TransactionSource {
2222
switch blockchainType {
2323
case .ethereum: return .ethereumEtherscan(apiKeys: AppConfig.etherscanKeys)
24-
case .binanceSmartChain: return .ethereumEtherscan(apiKeys: AppConfig.bscscanKeys)
25-
case .polygon: return .ethereumEtherscan(apiKeys: AppConfig.polygonscanKeys)
24+
case .binanceSmartChain: return .bscscan(apiKeys: AppConfig.bscscanKeys)
25+
case .polygon: return .polygonscan(apiKeys: AppConfig.polygonscanKeys)
2626
case .avalanche: return .snowtrace(apiKeys: AppConfig.snowtraceKeys)
27-
case .optimism: return .ethereumEtherscan(apiKeys: AppConfig.optimismEtherscanKeys)
28-
case .arbitrumOne: return .ethereumEtherscan(apiKeys: AppConfig.arbiscanKeys)
29-
case .gnosis: return .ethereumEtherscan(apiKeys: AppConfig.gnosisscanKeys)
30-
case .fantom: return .ethereumEtherscan(apiKeys: AppConfig.ftmscanKeys)
31-
case .base: return .ethereumEtherscan(apiKeys: AppConfig.basescanKeys)
32-
case .zkSync: return .ethereumEtherscan(apiKeys: AppConfig.eraZkSyncKeys)
27+
case .optimism: return .optimisticEtherscan(apiKeys: AppConfig.optimismEtherscanKeys)
28+
case .arbitrumOne: return .arbiscan(apiKeys: AppConfig.arbiscanKeys)
29+
case .gnosis: return .gnosis(apiKeys: AppConfig.gnosisscanKeys)
30+
case .fantom: return .fantom(apiKeys: AppConfig.ftmscanKeys)
31+
case .base: return .basescan(apiKeys: AppConfig.basescanKeys)
32+
case .zkSync: return .eraZkSync(apiKeys: AppConfig.eraZkSyncKeys)
3333
default: fatalError("Non-supported EVM blockchain")
3434
}
3535
}

0 commit comments

Comments
 (0)