Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
carina-akaia committed Aug 15, 2024
1 parent b132855 commit 0d6960f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/donation/utils/converters.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { TOTAL_FEE_BASIS_POINTS } from "@/modules/core/constants";

export const donationFeeBasisPointsToPercents = (basisPoints: number) =>
basisPoints / 100;

export const donationFeePercentsToBasisPoints = (percent: number) =>
percent * 100;
percent * (TOTAL_FEE_BASIS_POINTS / 100);

0 comments on commit 0d6960f

Please sign in to comment.