Skip to content

Commit

Permalink
fee
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Dec 5, 2024
1 parent d2367c4 commit 6e63487
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,17 @@ export default function AcceptOfferDialog({
<div className="text-xl font-semibold">
<div className="flex items-center justify-between">
<p>Earning details</p>
<p>--- LORDS</p>
</div>
<div className="mt-2 flex items-center justify-between text-sm font-medium text-muted-foreground">
<p>Arkmarket fees 2%</p>
<p>-- LORDS</p>
<p>{formattedAmount} LORDS</p>
</div>
<div className="mt-0.5 flex items-center justify-between text-sm font-medium text-muted-foreground">
<p>Creator royalties 2%</p>
<p>-- LORDS</p>
<p>Fee 5%</p>
<p>
{(
(BigInt(formattedAmount) * BigInt(5)) /
BigInt(100)
).toString()}{" "}
LORDS
</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 6e63487

Please sign in to comment.