Skip to content

Commit

Permalink
remove %
Browse files Browse the repository at this point in the history
  • Loading branch information
njokuScript committed Dec 13, 2023
1 parent bce2684 commit d6611cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const getCollateralData = async (collateral: ICollateral, chainId: string, signe
return {
totalDepositedCollateral: ethers.formatUnits(returnData[0].toString(), 6),
totalBorrowedAmount: ethers.formatUnits(returnData[1].toString(), 18),
liquidationThreshold: `${ethers.formatUnits(returnData[2].toString(), 16)}%`,
liquidationThreshold: `${ethers.formatUnits(returnData[2].toString(), 16)}`,
debtCeiling: ethers.formatUnits(returnData[3].toString(), 18),
rate: ethers.formatUnits(BigInt(returnData[4].toString()) * BigInt(31536000), 16),
minDeposit: ethers.formatUnits(returnData[5].toString(), 18),
Expand Down

0 comments on commit d6611cd

Please sign in to comment.