whallets upgrade function

This commit is contained in:
NW
2024-12-16 23:43:44 +00:00
parent d51bc9f0b9
commit 21465022b3
4 changed files with 108 additions and 92 deletions

View File

@@ -1,6 +1,6 @@
import axios from 'axios';
export default class WalletService {
export default class WalletUtils{
constructor(btcAddress, ltcAddress, trxAddress, ethAddress, userId, minTimestamp) {
this.btcAddress = btcAddress;
this.ltcAddress = ltcAddress;
@@ -148,7 +148,7 @@ export default class WalletService {
this.getUsdcErc20Balance(),
this.getUsdtTrc20Balance(),
this.getUsddTrc20Balance(),
WalletService.getCryptoPrices()
WalletUtils.getCryptoPrices()
]);
return {