@@ -112,7 +112,10 @@ final class SupplyLiquidityViewModel {
112
112
view? . updateFirstAsset ( symbol: asset. symbol, image: image)
113
113
updateBalanceData ( )
114
114
if !firstAssetId. isEmpty, !secondAssetId. isEmpty {
115
- poolInfo = await poolsService? . getPool ( by: firstAssetId, targetAssetId: secondAssetId)
115
+ poolInfo = await poolsService? . getPool (
116
+ by: firstAssetId. kensetsuCase,
117
+ targetAssetId: secondAssetId//.kensetsuCase
118
+ )
116
119
}
117
120
view? . setAccessoryView ( isHidden: false )
118
121
recalculate ( field: . one)
@@ -128,7 +131,10 @@ final class SupplyLiquidityViewModel {
128
131
view? . updateSecondAsset ( symbol: asset. symbol, image: image)
129
132
updateBalanceData ( )
130
133
if !firstAssetId. isEmpty, !secondAssetId. isEmpty {
131
- poolInfo = await poolsService? . getPool ( by: firstAssetId, targetAssetId: secondAssetId)
134
+ poolInfo = await poolsService? . getPool (
135
+ by: firstAssetId. kensetsuCase,
136
+ targetAssetId: secondAssetId
137
+ )
132
138
}
133
139
view? . setAccessoryView ( isHidden: false )
134
140
recalculate ( field: . two)
@@ -410,8 +416,8 @@ extension SupplyLiquidityViewModel: LiquidityViewModelProtocol {
410
416
let fiatService = fiatService,
411
417
let assetManager = assetManager else { return }
412
418
wireframe? . showSupplyLiquidityConfirmation ( on: view? . controller. navigationController,
413
- baseAssetId: firstAssetId,
414
- targetAssetId: secondAssetId,
419
+ baseAssetId: firstAssetId, //.kensetsuCase,
420
+ targetAssetId: secondAssetId, //.kensetsuCase,
415
421
fiatService: fiatService,
416
422
poolsService: poolsService,
417
423
assetManager: assetManager,
@@ -506,7 +512,7 @@ extension SupplyLiquidityViewModel {
506
512
let group = DispatchGroup ( )
507
513
508
514
group. enter ( )
509
- poolsService? . isPairPresentedInNetwork ( baseAssetId: firstAssetId,
515
+ poolsService? . isPairPresentedInNetwork ( baseAssetId: firstAssetId. kensetsuCase ,
510
516
targetAssetId: secondAssetId,
511
517
accountId: " " ,
512
518
completion: { [ weak self] isPresented in
@@ -515,7 +521,7 @@ extension SupplyLiquidityViewModel {
515
521
} )
516
522
517
523
group. enter ( )
518
- poolsService? . isPairEnabled ( baseAssetId: firstAssetId,
524
+ poolsService? . isPairEnabled ( baseAssetId: firstAssetId. kensetsuCase ,
519
525
targetAssetId: secondAssetId,
520
526
accountId: " " ,
521
527
completion: { [ weak self] isEnabled in
0 commit comments