Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/3.7.1 #1277

Open
wants to merge 144 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
c5a5384
liquidity pools list module
bnsports Mar 29, 2024
40fe4ae
lp list cell ui
bnsports Mar 30, 2024
1d33a16
tableview added
bnsports Apr 2, 2024
3c551ef
chainregistry spm
bnsports Apr 16, 2024
b78bfde
liquidity pools list
bnsports May 3, 2024
8419744
lp details ui
bnsports May 14, 2024
6165379
lps details
bnsports May 20, 2024
cbf4a80
lp supply module
bnsports May 20, 2024
a89e988
supply input
bnsports May 24, 2024
5db00a6
Merge pull request #1247 from soramitsu/release/3.6.1
DRadmir May 30, 2024
99a4b18
dependencies update
DRadmir May 30, 2024
2396dac
FLW-4635 New bridge route SORA <-> Liberland. Local data updated
DRadmir May 31, 2024
a9086f3
FLW-4635 New bridge route SORA <-> Liberland
DRadmir May 31, 2024
ada531f
llm min amount fix
DRadmir Jun 4, 2024
39f478d
[#FLW-4637] New bridge route SORA <-> Acala
DRadmir Jun 4, 2024
d294618
[#FLW-4664] There is wrong balance on the asset
DRadmir Jun 5, 2024
f4a41fd
update package
DRadmir Jun 5, 2024
a5e3b25
[#FLW-4667] We can see test networks on release version
DRadmir Jun 5, 2024
3ae631f
[#FLW-4664] There is wrong balance on the asset
DRadmir Jun 6, 2024
687d6aa
supply raw
bnsports Jun 6, 2024
87351c1
remote min amount for sora bridge
DRadmir Jun 6, 2024
e40cc31
[#FLW-4667] We can see test networks on release version
DRadmir Jun 6, 2024
04b694c
supply ui fixes
bnsports Jun 7, 2024
ed4c438
Merge pull request #1252 from soramitsu/feature/FLW-4635-New-bridge-r…
DRadmir Jun 7, 2024
413cef3
[#FLW-4676] XCM. No need to offer a default network
DRadmir Jun 7, 2024
b4e9740
[#FLW-4648] KSM. Staking. We can see two identical alerts
DRadmir Jun 7, 2024
f964a88
[#FLW-4616] GLMR Staking. There are eternal shimmers
DRadmir Jun 7, 2024
161d648
[#FLW-4515, #FLW-4514] There is wrong Extrinsic hash of Unstaking ope…
DRadmir Jun 7, 2024
a482899
[#FLW-4677] We have to pull a new balance using a pull to refresh
DRadmir Jun 7, 2024
033fdbc
[#FLW-4676] XCM. No need to offer a default network
DRadmir Jun 10, 2024
e868eb2
local chains.json updated
DRadmir Jun 11, 2024
8ae28ed
ChainModel equatable fix
DRadmir Jun 13, 2024
58868e6
smp has been updated
DRadmir Jun 13, 2024
741f53c
smp has been updated
DRadmir Jun 13, 2024
a0174ce
[#FLW-4633] New XCM route SORA <-> Astar
DRadmir Jun 14, 2024
1f4ae15
lp raw
bnsports Jun 14, 2024
805d1fd
libs update
bnsports Jun 17, 2024
b339c0d
cache reset
bnsports Jun 17, 2024
a63ef71
packages update
bnsports Jun 17, 2024
f0ab191
[#FLW-4683] We can’t read ETH QR with amount in it
DRadmir Jun 17, 2024
acf3c39
Merge branch 'develop' into feature/ssfqrservice-adoptation
DRadmir Jun 17, 2024
5ceefd6
[#FLW-4685] We can’t switch the nodes
DRadmir Jun 17, 2024
e65baf6
unused code has been removed
DRadmir Jun 17, 2024
9c4c72d
Merge commit 'acf3c397dbef45da44939dc9d1d74246d6d0b9c8' into feature/…
bnsports Jun 17, 2024
ceb6db3
Merge branch 'develop' into fixes/3.7.1-fixes
DRadmir Jun 18, 2024
f80f123
[#FLW-4682] The balance on the asset does not updating
DRadmir Jun 18, 2024
a1f03fd
Merge branch 'feature/ssfqrservice-adoptation' into fixes/3.7.1-fixes
DRadmir Jun 18, 2024
146c397
Merge branch 'feature/new-bridge-route' into fixes/3.7.1-fixes
DRadmir Jun 18, 2024
3630051
[#FLW-4699] Correct Moonpay onramp provider links and logic
DRadmir Jun 19, 2024
7dbd38c
[#FLW-4699] Correct Moonpay onramp provider links and logic
DRadmir Jun 19, 2024
f6dd997
Sync chains.json when did become active
DRadmir Jun 19, 2024
038c773
[#FLW-4683] We can’t read ETH QR with amount in it
DRadmir Jun 19, 2024
095d539
FLW-4696, FLW-4697, FLW-4698, FLW-4700, FLW-4701, FLW-4702, FLW-4703,…
bnsports Jun 20, 2024
4409996
Asset management. Logic for updating chains.json
DRadmir Jun 20, 2024
fd3651a
lp apy cache, bug fix
bnsports Jun 24, 2024
58c63e5
package update
bnsports Jun 24, 2024
d578ddb
[#FLW-4718] Reconnect socket after connection lost
DRadmir Jun 24, 2024
bdfc3a6
[#FLW-4718] Reconnect socket after connection lost.
DRadmir Jun 26, 2024
5d0973e
[#FLW-4718] Reconnect socket after connection lost.
DRadmir Jun 26, 2024
8c2c71e
[#FLW-4725] Liberland network. There is not possible to past "Send to…
DRadmir Jun 26, 2024
1908218
[#FLW-4683] We can’t read ETH QR with amount in it
DRadmir Jun 26, 2024
d9e8713
bug fix and optimisations for slow internet connection
bnsports Jun 27, 2024
dd90d5a
packages update
bnsports Jun 27, 2024
d0ed467
[#FLW-4717] There is an error when we are trying ti sign transaction …
DRadmir Jun 28, 2024
3c32bb1
pull to refresh added
bnsports Jun 28, 2024
a9ba470
[#FLW-4718] Reconnect socket after connection lost.
DRadmir Jun 28, 2024
b416009
[#FLW-4686] Pool Staking, Wrong data
DRadmir Jun 28, 2024
68b3b6c
[#FLW-4725] Liberland network. There is not possible to past "Send to…
DRadmir Jun 28, 2024
2e89fda
[#FLW-4716] Klaytn chain issue: fees aren't calculated
DRadmir Jul 1, 2024
9fc7337
[#FLW-4586] On the main screen we show wrong balance
DRadmir Jul 1, 2024
3b9d82d
[#FLW-4694] XCM. There is loader on the button after entering the amount
DRadmir Jul 1, 2024
2ba5c6f
[#FLW-4672] Subscan and Share buttons should be upper
DRadmir Jul 1, 2024
aa62c36
[#FLW-4671] Wallet backup banner does not disappear
DRadmir Jul 1, 2024
aef9b17
[#FLW-4586] On the main screen we show wrong balance
DRadmir Jul 1, 2024
d278e24
[#FLW-4662] NFT. Send. There should be paste but not copy button
DRadmir Jul 1, 2024
1429d88
[#FLW-4651] We can see Equilibrium network
DRadmir Jul 1, 2024
f838755
[#FLW-4627] Wallet details. Search. There is no sumimasen text
DRadmir Jul 1, 2024
dd8e267
[#FLW-4627] Wallet details. Search. There is no sumimasen text
DRadmir Jul 1, 2024
cbaf9c9
[#FLW-4517] There is random crash
DRadmir Jul 2, 2024
57233cf
Merge commit 'dd8e267219151730b004a5f39a83aa3b6d3c5e29' into release/…
bnsports Jul 2, 2024
0575666
packages update
bnsports Jul 2, 2024
6c977d8
code review fixes
DRadmir Jul 2, 2024
d2609a0
Merge branch 'fixes/3.7.1-fixes' into release/3.7.0
DRadmir Jul 2, 2024
dc1f925
package.resolved has been updated
DRadmir Jul 2, 2024
106e867
change package branch for merge build
DRadmir Jul 2, 2024
8f44e6e
Merge pull request #1253 from soramitsu/fixes/3.7.1-fixes
DRadmir Jul 2, 2024
72d3e08
Merge branch 'develop' into release/3.7.0
DRadmir Jul 2, 2024
a1d8504
package branch has been updated
DRadmir Jul 2, 2024
28a62d5
remote chains
DRadmir Jul 2, 2024
962361e
[#FLW-4716] Klaytn chain issue. AllDone explorer buttons
DRadmir Jul 3, 2024
fde2db5
Merge branch 'fixes/3.7.1-fixes' into release/3.7.0
DRadmir Jul 3, 2024
f50ff72
chains.json has been changed to v10 version
DRadmir Jul 3, 2024
62a134e
[#FLW-4517] There is random crash
DRadmir Jul 3, 2024
0bfb2ef
package branch has been updated
DRadmir Jul 4, 2024
940978e
Update price provider if currency has been changed
DRadmir Jul 4, 2024
181fd62
Merge pull request #1262 from soramitsu/fixes/price-fetching
DRadmir Jul 4, 2024
c56a905
handling for price local subscriber has been fixed
DRadmir Jul 4, 2024
f5a1f92
update chainAssets list after node selecting
DRadmir Jul 4, 2024
b3a9168
bugfix for liquidity pools
bnsports Jul 4, 2024
c9a853e
Merge commit 'f50ff7240d252410de590b975ce49854d3a2c97a' into release/…
bnsports Jul 4, 2024
4b21f56
packages update
bnsports Jul 4, 2024
3d1577d
Merge pull request #1263 from soramitsu/fixes/price-fetching
DRadmir Jul 4, 2024
278df9f
packages update
bnsports Jul 4, 2024
846450d
Merge commit '3d1577d8b255e837051edf896e36d24b07b68100' into release/…
bnsports Jul 4, 2024
b767de6
code review fixes
bnsports Jul 4, 2024
36bb910
Merge pull request #1264 from soramitsu/release/3.7.0-al-fixes
bnsports Jul 4, 2024
de62484
base transaction observing , liquidity pools transaction observing
bnsports Jul 5, 2024
be2e00f
pools loading fix, polkaswap freeze fix
bnsports Jul 5, 2024
a24320c
remove unused code
bnsports Jul 5, 2024
217eeae
background ui updates fix
bnsports Jul 5, 2024
3e02fa1
localizations
bnsports Jul 5, 2024
9d91ea6
code review fix
bnsports Jul 5, 2024
4e567e3
Merge pull request #1265 from soramitsu/release/3.7.0-al-fixes
bnsports Jul 5, 2024
fe7a854
Merge commit '4e567e3f6bc23ea5f88c80bd5a6b0e78719f64d1' into feature/…
bnsports Jul 5, 2024
0fd926b
Merge pull request #1266 from soramitsu/feature/transaction-observing
bnsports Jul 5, 2024
091fc20
FLW-4517 There is random crash
DRadmir Jul 5, 2024
4f4971a
Merge pull request #1267 from soramitsu/3.7.0-fixes
DRadmir Jul 5, 2024
b4c25ab
FLW-4517 There is random crash
DRadmir Jul 5, 2024
c085217
[#FLW-4517] There is random crash
DRadmir Jul 8, 2024
4a70a7c
[#FLW-4686] Pool Staking, Wrong data
DRadmir Jul 8, 2024
db39937
onboarding fetch timeout, prices fix
bnsports Jul 8, 2024
e5685c6
Merge pull request #1268 from soramitsu/fixes/3.7.0-fixes
bnsports Jul 8, 2024
c55f936
Merge pull request #1269 from soramitsu/release/3.7.0-al
bnsports Jul 8, 2024
bd1c2e4
Validate preview button
DRadmir Jul 8, 2024
dd1ecb3
pools submittandwatch
bnsports Jul 9, 2024
c299363
[#FLW-4766] Bridge. There is an error that we are going behind ED
DRadmir Jul 9, 2024
47dc28d
review fixes
DRadmir Jul 9, 2024
c882652
Merge pull request #1270 from soramitsu/fixes/3.7.0-fixes
DRadmir Jul 9, 2024
52b0564
[#FLW-4766] Bridge. There is an error that we are going behind ED
DRadmir Jul 10, 2024
046ecc1
Merge branch 'release/3.7.0' into fixes/3.7.0-fixes
DRadmir Jul 10, 2024
490cd87
Merge pull request #1271 from soramitsu/fixes/3.7.0-fixes
DRadmir Jul 10, 2024
278ef68
price fetching fixes
DRadmir Jul 10, 2024
bb153c7
Merge pull request #1272 from soramitsu/fixes/3.7.0-fixes
DRadmir Jul 10, 2024
a27560d
fix loader on migration
bnsports Jul 10, 2024
dd60f29
price providers fix
bnsports Jul 10, 2024
cbff6d3
qos test
bnsports Jul 10, 2024
c08a009
build fix
bnsports Jul 10, 2024
ad70630
fix staking initialization
bnsports Jul 11, 2024
5f1f5f1
app start freeze fix
bnsports Jul 11, 2024
396e5c2
price fetching after migration
bnsports Jul 15, 2024
ccaa9a6
crashfix
bnsports Jul 16, 2024
1a1f687
fixes
bnsports Jul 19, 2024
38daf70
Merge pull request #1275 from soramitsu/release/3.7.1-crashfix
bnsports Jul 24, 2024
626e2fc
Merge commit '1f062bf14b6895be84648f2691b808f71d0fa7de' into release/…
bnsports Jul 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ DEPENDENCIES:
- SwiftyBeaver

SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
https://github.com/cocoapods/Specs.git:
- Charts
- CocoaLumberjack
- Cuckoo
Expand Down
1,429 changes: 951 additions & 478 deletions fearless.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

43 changes: 21 additions & 22 deletions fearless.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"originHash" : "48bf9205e83b67ed7d81b2a0bcc8ef081189084205112c031b7823572f561e20",
"pins" : [
{
"identity" : "appauth-ios",
Expand Down Expand Up @@ -42,8 +41,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/google-api-objectivec-client-for-rest.git",
"state" : {
"revision" : "d46fb27cf61e08285a727c18a2ae0dbc20d91b2f",
"version" : "3.5.4"
"revision" : "a8c1e0b1173659d0be452680582c28556372ef74",
"version" : "3.5.5"
}
},
{
Expand All @@ -60,8 +59,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/gtm-session-fetcher.git",
"state" : {
"revision" : "0382ca27f22fb3494cf657d8dc356dc282cd1193",
"version" : "3.4.1"
"revision" : "a2ab612cb980066ee56d90d60d8462992c07f24b",
"version" : "3.5.0"
}
},
{
Expand Down Expand Up @@ -132,8 +131,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/soramitsu/shared-features-spm.git",
"state" : {
"branch" : "update-for-fearless-asset-management",
"revision" : "7beceb7253019a739f4322d74155cb428d308e7e"
"branch" : "fearless-wallet",
"revision" : "bb864277bcf22a6bd02d5abd7c8f07c5aa37236b"
}
},
{
Expand All @@ -150,53 +149,53 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections.git",
"state" : {
"revision" : "94cf62b3ba8d4bed62680a282d4c25f9c63c2efb",
"version" : "1.1.0"
"revision" : "3d2dc41a01f9e49d84f0a3925fb858bed64f702d",
"version" : "1.1.2"
}
},
{
"identity" : "swift-http-types",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-http-types",
"state" : {
"revision" : "9bee2fdb79cc740081abd8ebd80738063d632286",
"version" : "1.1.0"
"revision" : "1ddbea1ee34354a6a2532c60f98501c35ae8edfa",
"version" : "1.2.0"
}
},
{
"identity" : "swift-nio",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio.git",
"state" : {
"revision" : "359c461e5561d22c6334828806cc25d759ca7aa6",
"version" : "2.65.0"
"revision" : "fc79798d5a150d61361a27ce0c51169b889e23de",
"version" : "2.68.0"
}
},
{
"identity" : "swift-nio-extras",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-extras.git",
"state" : {
"revision" : "a3b640d7dc567225db7c94386a6e71aded1bfa63",
"version" : "1.22.0"
"revision" : "05c36b57453d23ea63785d58a7dbc7b70ba1745e",
"version" : "1.23.0"
}
},
{
"identity" : "swift-nio-http2",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-http2.git",
"state" : {
"revision" : "c6afe04165c865faaa687b42c32ed76dfcc91076",
"version" : "1.31.0"
"revision" : "a0224f3d20438635dd59c9fcc593520d80d131d0",
"version" : "1.33.0"
}
},
{
"identity" : "swift-nio-ssl",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-ssl.git",
"state" : {
"revision" : "7c381eb6083542b124a6c18fae742f55001dc2b5",
"version" : "2.26.0"
"revision" : "2b09805797f21c380f7dc9bedaab3157c5508efb",
"version" : "2.27.0"
}
},
{
Expand All @@ -222,8 +221,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-system.git",
"state" : {
"revision" : "f9266c85189c2751589a50ea5aec72799797e471",
"version" : "1.3.0"
"revision" : "6a9e38e7bd22a3b8ba80bddf395623cf68f57807",
"version" : "1.3.1"
}
},
{
Expand Down Expand Up @@ -299,5 +298,5 @@
}
}
],
"version" : 3
"version" : 2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import Foundation
import SSFUtils

struct SoraSubqueryPriceResponse: Decodable {
let entities: SoraSubqueryPricePage
}

struct SoraSubqueryPricePage: Decodable {
let nodes: [SoraSubqueryPrice]
let pageInfo: SubqueryPageInfo
}

struct SoraSubqueryPrice: Decodable {
enum CodingKeys: String, CodingKey {
case id
case priceUsd = "priceUSD"
case priceChangeDay
}

let id: String
let priceUsd: String?
let priceChangeDay: Decimal?
}
100 changes: 100 additions & 0 deletions fearless/ApplicationLayer/Pricing/SoraSubqueryPriceFetcher.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
import Foundation
import SSFModels
import RobinHood

final class SoraSubqueryPriceFetcherDefault: SoraSubqueryPriceFetcher {
func fetchPriceOperation(
for chainAssets: [ChainAsset]
) -> BaseOperation<[PriceData]> {
AwaitOperation { [weak self] in
guard let self else { return [] }

guard let blockExplorer = chainAssets.first(where: { chainAsset in
chainAsset.chain.knownChainEquivalent == .soraMain
})?.chain.externalApi?.pricing else {
throw SubqueryPriceFetcherError.missingBlockExplorer
}
let priceIds = chainAssets.map { $0.asset.priceProvider?.id }.compactMap { $0 }
let prices = try await self.fetch(priceIds: priceIds, url: blockExplorer.url)

return prices.compactMap { price in
let chainAsset = chainAssets.first(where: { $0.asset.currencyId == price.id })

guard
let chainAsset = chainAsset,
chainAsset.asset.priceProvider?.type == .sorasubquery,
let priceId = chainAsset.asset.priceId
else {
return nil
}

return PriceData(
currencyId: "usd",
priceId: priceId,
price: "\(price.priceUsd.or("0"))",
fiatDayChange: price.priceChangeDay,
coingeckoPriceId: chainAsset.asset.coingeckoPriceId
)
}
}
}

private func fetch(
priceIds: [String],
url: URL
) async throws -> [SoraSubqueryPrice] {
var prices: [SoraSubqueryPrice] = []
var cursor: String = ""
var allPricesFetched: Bool = false

while !allPricesFetched {
let response = try await loadNewPrices(url: url, priceIds: priceIds, cursor: cursor)
prices = prices + response.nodes
allPricesFetched = response.pageInfo.hasNextPage.or(false) == false
cursor = response.pageInfo.endCursor.or("")
}

return prices
}

private func loadNewPrices(
url: URL,
priceIds: [String],
cursor: String
) async throws -> SoraSubqueryPricePage {
let request = try StakingRewardsRequest(
baseURL: url,
query: queryString(priceIds: priceIds, cursor: cursor)
)
let worker = NetworkWorker()
let response: GraphQLResponse<SoraSubqueryPriceResponse> = try await worker.performRequest(with: request)

switch response {
case let .data(data):
return data.entities
case let .errors(error):
throw error
}
}

private func queryString(priceIds: [String], cursor: String) -> String {
"""
query FiatPriceQuery {
entities: assets(
first: 100
after: "\(cursor)",
filter: {id: {in: \(priceIds)}}) {
nodes {
id
priceUSD
priceChangeDay
}
pageInfo {
hasNextPage
endCursor
}
}
}
"""
}
}
13 changes: 13 additions & 0 deletions fearless/ApplicationLayer/Pricing/SubqueryPriceFetcher.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import Foundation
import SSFModels
import RobinHood

enum SubqueryPriceFetcherError: Error {
case missingBlockExplorer
}

protocol SoraSubqueryPriceFetcher {
func fetchPriceOperation(
for chainAssets: [ChainAsset]
) -> BaseOperation<[PriceData]>
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ import SSFModels
import SSFUtils
import RobinHood

protocol AccountInfoRemoteService {
func fetchAccountInfos(
for chain: ChainModel,
wallet: MetaAccountModel
) async throws -> [ChainAssetId: AccountInfo?]
}

final class AccountInfoRemoteServiceDefault: AccountInfoRemoteService {
private let runtimeItemRepository: AsyncAnyRepository<RuntimeMetadataItem>
private let ethereumRemoteBalanceFetching: EthereumRemoteBalanceFetching
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ final class WalletBalanceBuilder: WalletBalanceBuilderProtocol {

let splitedChainAssets = split(chainAssets, for: wallet)
let enabledChainAssets = splitedChainAssets.enabled
let disabledChainAssets = splitedChainAssets.disabled

let enabledAssetFiatBalanceInfo = countBalance(
for: enabledChainAssets,
Expand All @@ -32,24 +31,12 @@ final class WalletBalanceBuilder: WalletBalanceBuilderProtocol {
prices
)

let disabledAssetFiatBalanceInfo = countBalance(
for: disabledChainAssets,
wallet,
accountInfos,
prices
)

let enabledAssetFiatBalance = enabledAssetFiatBalanceInfo.totalBalance
let disabledAssetFiatBalance = disabledAssetFiatBalanceInfo.totalBalance
let totalFiatValue = enabledAssetFiatBalance + disabledAssetFiatBalance

let totalFiatValue = enabledAssetFiatBalance
let enabledTotalDayChange = enabledAssetFiatBalanceInfo.totalDayChange
let disabledTotalDayChange = disabledAssetFiatBalanceInfo.totalDayChange
let totalDayChange = enabledTotalDayChange + disabledTotalDayChange

let totalDayChange = enabledTotalDayChange
let dayChangePercent = (totalDayChange / totalFiatValue)

let isLoaded = enabledAssetFiatBalanceInfo.isLoaded && disabledAssetFiatBalanceInfo.isLoaded
let isLoaded = enabledAssetFiatBalanceInfo.isLoaded

guard isLoaded else {
return nil
Expand Down
Loading