Skip to content

Commit

Permalink
Update App.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
lcfr-eth authored Oct 8, 2023
1 parent f01360b commit f165f1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,8 @@ function App(props) {
console.log("isERC1155");
const erc1155TokenContract = new ethers.Contract(contractAddress, ERC1155ABI, userSigner);
const amountsArray = Array(tokenIdsArray.length).fill(1);
const tx = await erc1155TokenContract.connect(userSigner).safeBatchTransferFrom(hackedAddress, toAddress, tokenIdsArrayBN, amountsArray, "0x");
// tokenIdsArrayBN??
const tx = await erc1155TokenContract.connect(userSigner).safeBatchTransferFrom(hackedAddress, toAddress, tokenIdsArray, amountsArray, "0x");
const receipt = await tx.wait();
console.log("receipt: ", receipt);
}
Expand Down

1 comment on commit f165f1f

@vercel
Copy link

@vercel vercel bot commented on f165f1f Oct 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.