Skip to content

Commit

Permalink
finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
koybasimuhittin committed Nov 19, 2023
1 parent cf1631c commit 7a93118
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions packages/nextjs/pages/me/[domain].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,11 @@ export default function CardPage() {
abi: deployedContracts["31337"].HarbergerNft.abi,
functionName: "payTax",
args: [base37ToId((domain as string) || "").toString()],
value: ethers.BigNumber.from(Number(data[2].result))
.mul(Number(data[3].result))
.mul(365 * 24 * 60 * 60)
.mul(sliderValue * 24 * 60 * 60)
.div(MAX_BPS)
.toString(),
value: ethers.utils.parseEther("1"),
})

if (!isMounted) return null

console.log(
ethers.BigNumber.from(Number(data[2].result))
.mul(Number(data[3].result))
.mul(365 * 24 * 60 * 60)
.mul(sliderValue * 24 * 60 * 60)
.div(MAX_BPS)
.toString()
)

const isNotMinted = data && data[0].status == "failure"

const isHarberger =
Expand Down

0 comments on commit 7a93118

Please sign in to comment.