Skip to content

Commit

Permalink
add vault type to title
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Jan 15, 2025
1 parent 4fc1be8 commit fa4202d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liquidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const liquidatableVaults = async (wallet, vaultManager) => {
if (collateralPercentage.lt(125)) {
const formattedDebt = ethers.utils.formatEther(minted);
const formattedVaultType = ethers.utils.parseBytes32String(vaultType);
embeds.push({author: {name: `ID: ${tokenID}`, url: arbiscanURL}, title: vaultAddress, description: `debt: ${formattedDebt} ${formattedVaultType}, collateral: ${collateralPercentage}%`, url: arbiscanURL});
embeds.push({author: {name: `ID: ${tokenID} ${formattedVaultType}`, url: arbiscanURL}, title: vaultAddress, description: `debt: ${formattedDebt} ${formattedVaultType}, collateral: ${collateralPercentage}%`, url: arbiscanURL});
}
}
} catch (e) {
Expand Down

0 comments on commit fa4202d

Please sign in to comment.