LiquidationPenaltyTooltip.tsx
1 import { Trans } from '@lingui/macro'; 2 3 import { TextWithTooltip, TextWithTooltipProps } from '../TextWithTooltip'; 4 5 export const LiquidationPenaltyTooltip = ({ ...rest }: TextWithTooltipProps) => { 6 return ( 7 <TextWithTooltip {...rest}> 8 <Trans> 9 When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on 10 behalf of the borrower. In return, they can buy the collateral at a discount and keep the 11 difference (liquidation penalty) as a bonus. 12 </Trans> 13 </TextWithTooltip> 14 ); 15 };