Updated on 2026-08-14
This commit is contained in:
parent
808cd4a301
commit
9e1c8500cc
1 changed files with 3 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ internal class DefaultYieldSupplyTransactionRepository(
|
||||||
walletManager = walletManager,
|
walletManager = walletManager,
|
||||||
cryptoCurrency = cryptoCurrency,
|
cryptoCurrency = cryptoCurrency,
|
||||||
callData = callData,
|
callData = callData,
|
||||||
destinationAddress = walletManager.getYieldContract(),
|
destinationAddress = walletManager.getYieldModuleAddress(),
|
||||||
amount = BigDecimal.ZERO.convertToSdkAmount(cryptoCurrencyStatus),
|
amount = BigDecimal.ZERO.convertToSdkAmount(cryptoCurrencyStatus),
|
||||||
fee = fee,
|
fee = fee,
|
||||||
)
|
)
|
||||||
|
|
@ -175,7 +175,7 @@ internal class DefaultYieldSupplyTransactionRepository(
|
||||||
blockchain = cryptoCurrency.network.toBlockchain(),
|
blockchain = cryptoCurrency.network.toBlockchain(),
|
||||||
derivationPath = cryptoCurrency.network.derivationPath.value,
|
derivationPath = cryptoCurrency.network.derivationPath.value,
|
||||||
) ?: error("Wallet manager not found")
|
) ?: error("Wallet manager not found")
|
||||||
walletManager.calculateYieldContract()
|
walletManager.calculateYieldModuleAddress()
|
||||||
}.onFailure(Timber::e).getOrNull()
|
}.onFailure(Timber::e).getOrNull()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -188,7 +188,7 @@ internal class DefaultYieldSupplyTransactionRepository(
|
||||||
blockchain = cryptoCurrency.network.toBlockchain(),
|
blockchain = cryptoCurrency.network.toBlockchain(),
|
||||||
derivationPath = cryptoCurrency.network.derivationPath.value,
|
derivationPath = cryptoCurrency.network.derivationPath.value,
|
||||||
) ?: error("Wallet manager not found")
|
) ?: error("Wallet manager not found")
|
||||||
walletManager.getYieldContract()
|
walletManager.getYieldModuleAddress()
|
||||||
}.onFailure(Timber::e).getOrNull()
|
}.onFailure(Timber::e).getOrNull()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue