Skip to content

Commit

Permalink
MEX-702: update user module services
Browse files Browse the repository at this point in the history
  • Loading branch information
mad2sm0key committed Feb 27, 2025
1 parent 753c5ac commit 7ecaacc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions src/modules/user/services/user.metaEsdt.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class UserMetaEsdtService {
'MetaESDT',
[lockedMEXTokenID],
);
return await Promise.all(
return Promise.all(
nfts.map((nft) =>
this.userComputeService.lockedAssetTokenUSD(
new LockedAssetToken(nft),
Expand Down Expand Up @@ -167,7 +167,7 @@ export class UserMetaEsdtService {
[lockedLpTokenID],
);

return await Promise.all(
return Promise.all(
nfts.map((nft) =>
this.userComputeService.lockedLpTokenUSD(
new LockedLpToken(nft),
Expand Down Expand Up @@ -221,7 +221,7 @@ export class UserMetaEsdtService {
'MetaESDT',
[lockedLpTokenID],
);
return await Promise.all(
return Promise.all(
nfts.map((nft) =>
this.userComputeService.lockedLpTokenV2USD(
new LockedLpTokenV2(nft),
Expand Down Expand Up @@ -300,7 +300,7 @@ export class UserMetaEsdtService {
);
}
});
return await Promise.all(promises);
return Promise.all(promises);
}

async getUserUnbondFarmTokens(
Expand Down Expand Up @@ -336,7 +336,7 @@ export class UserMetaEsdtService {
);
}
});
return await Promise.all(promises);
return Promise.all(promises);
}

async getUserDualYieldTokens(
Expand Down Expand Up @@ -394,7 +394,7 @@ export class UserMetaEsdtService {
'MetaESDT',
redeemTokenIDs,
);
return await Promise.all(
return Promise.all(
nfts.map((nft) => this.userComputeService.redeemTokenUSD(nft)),
);
}
Expand All @@ -421,7 +421,7 @@ export class UserMetaEsdtService {
'MetaESDT',
lockedEsdtTokenIDs,
);
return await Promise.all(
return Promise.all(
nfts.map((nft) => this.userComputeService.lockedEsdtTokenUSD(nft)),
);
}
Expand All @@ -448,7 +448,7 @@ export class UserMetaEsdtService {
'MetaESDT',
lockedSimpleLpTokenIDs,
);
return await Promise.all(
return Promise.all(
nfts.map((nft) =>
this.userComputeService.lockedSimpleLpTokenUSD(nft),
),
Expand Down Expand Up @@ -500,7 +500,7 @@ export class UserMetaEsdtService {
'MetaESDT',
[lockedTokenEnergyID],
);
return await Promise.all(
return Promise.all(
nfts.map((nft) =>
this.userComputeService.lockedTokenEnergyUSD(nft),
),
Expand Down Expand Up @@ -658,7 +658,7 @@ export class UserMetaEsdtService {
}
}

return await Promise.all(promises);
return Promise.all(promises);
}

@ErrorLoggerAsync({
Expand All @@ -669,7 +669,7 @@ export class UserMetaEsdtService {
remoteTtl: Constants.oneHour(),
})
private async nftTokenType(tokenID: string): Promise<NftTokenType> {
return await this.getNftTokenTypeRaw(tokenID);
return this.getNftTokenTypeRaw(tokenID);
}

private async getNftTokenTypeRaw(tokenID: string): Promise<NftTokenType> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class UserEnergyTransactionService {

endpointArgs.push(VariadicValue.fromItems(...farmAddresses));

return await this.mxProxy.getEnergyUpdateSmartContractTransaction(
return this.mxProxy.getEnergyUpdateSmartContractTransaction(
new TransactionOptions({
sender: userAddress,
gasLimit:
Expand Down

0 comments on commit 7ecaacc

Please sign in to comment.