Skip to content

Commit

Permalink
Merge commit 'e518bcc332c6366b8e4437c7a3884c35b767e0eb' into feature/…
Browse files Browse the repository at this point in the history
…nomis-integration

# Conflicts:
#	fearless.xcodeproj/project.pbxproj
#	fearless.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	fearless/Common/View/TitleValueView.swift
#	fearless/CoreLayer/CoreComponents/Network/RequestConfigurators/RESTRequestConfigurator.swift
#	fearless/Modules/WalletConnectSession/WalletConnectSessionAssembly.swift
  • Loading branch information
bnsports committed Aug 6, 2024
2 parents 8b538e2 + e518bcc commit eea06fc
Showing 289 changed files with 607 additions and 9,313 deletions.
5 changes: 5 additions & 0 deletions .periphery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
schemes:
- fearless
targets:
- fearless
workspace: fearless.xcworkspace
770 changes: 9 additions & 761 deletions fearless.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

11 changes: 0 additions & 11 deletions fearless/ApplicationLayer/Alchemy/AlchemyService.swift
Original file line number Diff line number Diff line change
@@ -3,17 +3,6 @@ import SSFUtils
import BigInt
import SSFNetwork

struct EthereumBalanceRequestParams: Encodable {
let address: String
let smartContracts: [String]

func encode(to encoder: Encoder) throws {
var container = encoder.unkeyedContainer()
try container.encode(address)
try container.encode(smartContracts)
}
}

final class AlchemyService {
func fetchTransactionHistory(request: AlchemyHistoryRequest) async throws -> AlchemyResponse<AlchemyHistory> {
let body = JSONRPCInfo(identifier: 1, jsonrpc: "2.0", method: AlchemyEndpoint.getAssetTransfers.rawValue, params: [request])
Original file line number Diff line number Diff line change
@@ -104,11 +104,6 @@ extension BalanceLocksFetchingDefault: BalanceLocksFetching {
throw BalanceLocksFetchingError.stakingNotFound
}

let controller = try await fetchStakingController(accountId: accountId)
guard let controller else {
throw BalanceLocksFetchingError.stakingNotFound
}

let accountIdVariant = try AccountIdVariant.build(raw: accountId, chain: chainAsset.chain)
let ledgerRequest = StakingLedgerRequest(accountId: accountIdVariant)
let eraRequest = StakingCurrentEraRequest()

This file was deleted.

Loading

0 comments on commit eea06fc

Please sign in to comment.